More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
24177189 | 1183 days ago | 35 POL | ||||
24177189 | 1183 days ago | 35 POL | ||||
23827373 | 1191 days ago | 1 POL | ||||
23827373 | 1191 days ago | 1 POL | ||||
23768631 | 1193 days ago | 1 POL | ||||
23768631 | 1193 days ago | 1 POL | ||||
23758744 | 1193 days ago | 7.13888542 POL | ||||
23758744 | 1193 days ago | 7.13888542 POL | ||||
23725331 | 1194 days ago | 10 POL | ||||
23725331 | 1194 days ago | 10 POL | ||||
23475105 | 1201 days ago | 0.12 POL | ||||
23475105 | 1201 days ago | 0.12 POL | ||||
23475090 | 1201 days ago | 40 POL | ||||
23475090 | 1201 days ago | 40 POL | ||||
22880841 | 1216 days ago | 300 POL | ||||
22880841 | 1216 days ago | 300 POL | ||||
22878088 | 1216 days ago | 22 POL | ||||
22878088 | 1216 days ago | 22 POL | ||||
22130794 | 1235 days ago | 2.72537713 POL | ||||
22130794 | 1235 days ago | 2.72537713 POL | ||||
21846539 | 1243 days ago | 2.86697191 POL | ||||
21846539 | 1243 days ago | 2.86697191 POL | ||||
21632820 | 1248 days ago | 70 POL | ||||
21632820 | 1248 days ago | 70 POL | ||||
21618052 | 1249 days ago | 2.74809808 POL |
Loading...
Loading
Contract Name:
UniswapV3RouterFork
Compiler Version
v0.7.5+commit.eb77ed08
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-06-09 */ // File: @uniswap/lib/contracts/libraries/TransferHelper.sol pragma solidity >=0.6.0; // helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false library TransferHelper { function safeApprove(address token, address to, uint value) internal { // bytes4(keccak256(bytes('approve(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED'); } function safeTransfer(address token, address to, uint value) internal { // bytes4(keccak256(bytes('transfer(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED'); } function safeTransferFrom(address token, address from, address to, uint value) internal { // bytes4(keccak256(bytes('transferFrom(address,address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED'); } function safeTransferETH(address to, uint value) internal { (bool success,) = to.call{value:value}(new bytes(0)); require(success, 'TransferHelper: ETH_TRANSFER_FAILED'); } } // File: original_contracts/lib/IUniswapV2Pair.sol pragma solidity 0.7.5; interface IUniswapV2Pair { function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function swap( uint amount0Out, uint amount1Out, address to, bytes calldata data ) external; } // File: openzeppelin-solidity/contracts/math/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: original_contracts/lib/UniswapV3LibFork.sol pragma solidity >=0.5.0; library UniswapV3LibFork { using SafeMath for uint256; function checkAndConvertETHToWETH(address token) internal pure returns(address) { if(token == address(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE)) { return address(0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270); } return token; } // returns sorted token addresses, used to handle return values from pairs sorted in this order function sortTokens(address tokenA, address tokenB) internal pure returns (address, address) { return(tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA)); } // calculates the CREATE2 address for a pair without making any external calls function pairFor(address factory, address tokenA, address tokenB, bytes32 initCode) internal pure returns (address) { (address token0, address token1) = sortTokens(tokenA, tokenB); return(address(uint(keccak256(abi.encodePacked( hex"ff", factory, keccak256(abi.encodePacked(token0, token1)), initCode // init code hash ))))); } function getReservesByPair(address pair, address tokenA, address tokenB) internal view returns (uint256 reserveA, uint256 reserveB) { (address token0,) = sortTokens(tokenA, tokenB); (uint256 reserve0, uint256 reserve1,) = IUniswapV2Pair(pair).getReserves(); (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0); } // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut, uint256 fee) internal pure returns (uint256 amountOut) { require(amountIn > 0, "UniswapV3Library: INSUFFICIENT_INPUT_AMOUNT"); uint256 amountInWithFee = amountIn.mul(fee); uint256 numerator = amountInWithFee.mul(reserveOut); uint256 denominator = reserveIn.mul(1000).add(amountInWithFee); amountOut = uint256(numerator / denominator); } // given an output amount of an asset and pair reserves, returns a required input amount of the other asset function getAmountInAndPair(address factory, uint amountOut, address tokenA, address tokenB, bytes32 initCode, uint256 fee) internal view returns (uint256 amountIn, address pair) { tokenA = checkAndConvertETHToWETH(tokenA); tokenB = checkAndConvertETHToWETH(tokenB); pair = pairFor(factory, tokenA, tokenB, initCode); (uint256 reserveIn, uint256 reserveOut) = getReservesByPair(pair, tokenA, tokenB); require(amountOut > 0, "UniswapV3Library: INSUFFICIENT_OUTPUT_AMOUNT"); require(reserveOut > amountOut, "UniswapV3Library: reserveOut should be greater than amountOut"); uint numerator = reserveIn.mul(amountOut).mul(1000); uint denominator = reserveOut.sub(amountOut).mul(fee); amountIn = (numerator / denominator).add(1); } function getAmountOutByPair(uint256 amountIn, address pair, address tokenA, address tokenB, uint256 fee) internal view returns(uint256 amountOut) { (uint256 reserveIn, uint256 reserveOut) = getReservesByPair(pair, tokenA, tokenB); return (getAmountOut(amountIn, reserveIn, reserveOut, fee)); } } // File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: original_contracts/IWETH.sol pragma solidity 0.7.5; abstract contract IWETH is IERC20 { function deposit() external virtual payable; function withdraw(uint256 amount) external virtual; } // File: original_contracts/UniswapV3RouterFork.sol pragma solidity =0.7.5; contract UniswapV3RouterFork { using SafeMath for uint; address public immutable factory; address public immutable WETH; address public constant ETH_IDENTIFIER = address(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE); bytes32 public immutable initCode; uint256 public immutable fee; constructor(address _factory, address _WETH, bytes32 _initCode, uint256 _fee) public { factory = _factory; WETH = _WETH; initCode = _initCode; fee = _fee; } receive() external payable { } function swap( uint256 amountIn, uint256 amountOutMin, address[] calldata path ) external payable returns (uint256 tokensBought) { require(path.length > 1, "More than 1 token required"); uint8 pairs = uint8(path.length - 1); bool tokensBoughtEth; tokensBought = amountIn; address receiver; for(uint8 i = 0; i < pairs; i++) { address tokenSold = path[i]; address tokenBought = path[i+1]; address currentPair = receiver; if (i == pairs - 1) { if (tokenBought == ETH_IDENTIFIER) { tokenBought = WETH; tokensBoughtEth = true; } } if (i == 0) { if (tokenSold == ETH_IDENTIFIER) { tokenSold = WETH; currentPair = UniswapV3LibFork.pairFor(factory, tokenSold, tokenBought, initCode); uint256 amount = msg.value; IWETH(WETH).deposit{value: amount}(); assert(IWETH(WETH).transfer(currentPair, amount)); } else { currentPair = UniswapV3LibFork.pairFor(factory, tokenSold, tokenBought, initCode); TransferHelper.safeTransferFrom( tokenSold, msg.sender, currentPair, amountIn ); } } //AmountIn for this hop is amountOut of previous hop tokensBought = UniswapV3LibFork.getAmountOutByPair(tokensBought, currentPair, tokenSold, tokenBought, fee); if ((i + 1) == pairs) { if ( tokensBoughtEth ) { receiver = address(this); } else { receiver = msg.sender; } } else { receiver = UniswapV3LibFork.pairFor(factory, tokenBought, path[i+2] == ETH_IDENTIFIER ? WETH : path[i+2], initCode); } (address token0,) = UniswapV3LibFork.sortTokens(tokenSold, tokenBought); (uint256 amount0Out, uint256 amount1Out) = tokenSold == token0 ? (uint256(0), tokensBought) : (tokensBought, uint256(0)); IUniswapV2Pair(currentPair).swap( amount0Out, amount1Out, receiver, new bytes(0) ); } if (tokensBoughtEth) { IWETH(WETH).withdraw(tokensBought); TransferHelper.safeTransferETH(msg.sender, tokensBought); } require(tokensBought >= amountOutMin, "UniswapV2Router: INSUFFICIENT_OUTPUT_AMOUNT"); } function buy( uint256 amountInMax, uint256 amountOut, address[] calldata path ) external payable returns (uint256 tokensSold) { require(path.length > 1, "More than 1 token required"); bool tokensBoughtEth; uint8 length = uint8(path.length); uint256[] memory amounts = new uint256[](length); address[] memory pairs = new address[](length - 1); amounts[length - 1] = amountOut; for (uint8 i = length - 1; i > 0; i--) { (amounts[i - 1], pairs[i - 1]) = UniswapV3LibFork.getAmountInAndPair( factory, amounts[i], path[i-1], path[i], initCode, fee ); } tokensSold = amounts[0]; require(tokensSold <= amountInMax, "UniswapV3Router: INSUFFICIENT_INPUT_AMOUNT"); for(uint8 i = 0; i < length - 1; i++) { address tokenSold = path[i]; address tokenBought = path[i+1]; if (i == length - 2) { if (tokenBought == ETH_IDENTIFIER) { tokenBought = WETH; tokensBoughtEth = true; } } if (i == 0) { if (tokenSold == ETH_IDENTIFIER) { tokenSold = WETH; TransferHelper.safeTransferETH(msg.sender, msg.value.sub(tokensSold)); IWETH(WETH).deposit{value: tokensSold}(); assert(IWETH(WETH).transfer(pairs[i], tokensSold)); } else { TransferHelper.safeTransferFrom( tokenSold, msg.sender, pairs[i], tokensSold ); } } address receiver; if (i == length - 2) { if (tokensBoughtEth) { receiver = address(this); } else { receiver = msg.sender; } } else { receiver = pairs[i+1]; } (address token0,) = UniswapV3LibFork.sortTokens(tokenSold, tokenBought); (uint256 amount0Out, uint256 amount1Out) = tokenSold == token0 ? (uint256(0), amounts[i+1]) : (amounts[i+1], uint256(0)); IUniswapV2Pair(pairs[i]).swap( amount0Out, amount1Out, receiver, new bytes(0) ); } if (tokensBoughtEth) { IWETH(WETH).withdraw(amountOut); TransferHelper.safeTransferETH(msg.sender, amountOut); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_WETH","type":"address"},{"internalType":"bytes32","name":"_initCode","type":"bytes32"},{"internalType":"uint256","name":"_fee","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ETH_IDENTIFIER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"buy","outputs":[{"internalType":"uint256","name":"tokensSold","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initCode","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"swap","outputs":[{"internalType":"uint256","name":"tokensBought","type":"uint256"}],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
61010060405234801561001157600080fd5b50604051611f0b380380611f0b8339818101604052608081101561003457600080fd5b508051602082015160408301516060938401516001600160601b031993851b84166080529190931b90911660a05260c09190915260e05260805160601c60a05160601c60c05160e051611dfc61010f600039806104295280610ebe52806112f75250806104085280610ce65280610e835280610fe8528061128b5250806105fa5280610656528061068c528061070d5280610a465280610c3b5280610c9d5280610d135280610d945280610fc6528061119252806112af5250806103755280610cc35280610e605280610f1152806112d35250611dfc6000f3fe6080604052600436106100745760003560e01c8063ad5c46481161004e578063ad5c46481461019f578063c45a0155146101dd578063ddca3f43146101f2578063fda27740146102075761007b565b80635e1f417e1461008057806399585aac1461010e578063a926e7c71461018a5761007b565b3661007b57005b600080fd5b6100fc6004803603606081101561009657600080fd5b8135916020810135918101906060810160408201356401000000008111156100bd57600080fd5b8201836020820111156100cf57600080fd5b803590602001918460208302840111640100000000831117156100f157600080fd5b50909250905061021c565b60408051918252519081900360200190f35b6100fc6004803603606081101561012457600080fd5b81359160208101359181019060608101604082013564010000000081111561014b57600080fd5b82018360208201111561015d57600080fd5b8035906020019184602083028401116401000000008311171561017f57600080fd5b509092509050610ae5565b34801561019657600080fd5b506100fc611289565b3480156101ab57600080fd5b506101b46112ad565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156101e957600080fd5b506101b46112d1565b3480156101fe57600080fd5b506100fc6112f5565b34801561021357600080fd5b506101b4611319565b60006001821161028d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4d6f7265207468616e203120746f6b656e207265717569726564000000000000604482015290519081900360640190fd5b600082606060ff821667ffffffffffffffff811180156102ac57600080fd5b506040519080825280602002602001820160405280156102d6578160200160208202803683370190505b50905060606001830360ff1667ffffffffffffffff811180156102f857600080fd5b50604051908082528060200260200182016040528015610322578160200160208202803683370190505b50905087826001850360ff168151811061033857fe5b60209081029190910101527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83015b60ff8116156104c85761044d7f0000000000000000000000000000000000000000000000000000000000000000848360ff16815181106103a357fe5b60200260200101518a8a6001860360ff168181106103bd57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff168b8b8660ff168181106103e957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611331565b846001840360ff168151811061045f57fe5b60200260200101846001850360ff168151811061047857fe5b73ffffffffffffffffffffffffffffffffffffffff90931660209384029190910190920191909152527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610367565b50816000815181106104d657fe5b6020026020010151945088851115610539576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611d00602a913960400191505060405180910390fd5b60005b6001840360ff168160ff161015610a3d57600088888360ff1681811061055e57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff169050600089898460010160ff1681811061059157fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1690506002860360ff168360ff16141561061a5773ffffffffffffffffffffffffffffffffffffffff811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee141561061a5750600195507f00000000000000000000000000000000000000000000000000000000000000005b60ff831661080b5773ffffffffffffffffffffffffffffffffffffffff821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156107e9577f0000000000000000000000000000000000000000000000000000000000000000915061068a33610685348b61146d565b6114b8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0896040518263ffffffff1660e01b81526004016000604051808303818588803b1580156106f257600080fd5b505af1158015610706573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb858560ff168151811061075657fe5b60200260200101518a6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156107b257600080fd5b505af11580156107c6573d6000803e3d6000fd5b505050506040513d60208110156107dc57600080fd5b50516107e457fe5b61080b565b61080b8233868660ff16815181106107fd57fe5b60200260200101518b6115f5565b60006002870360ff168460ff16141561083357871561082b57503061082e565b50335b610850565b848460010160ff168151811061084557fe5b602002602001015190505b600061085c84846117c5565b5090506000808273ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16146108b657888760010160ff16815181106108a757fe5b602002602001015160006108d3565b6000898860010160ff16815181106108ca57fe5b60200260200101515b91509150878760ff16815181106108e657fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1663022c0d9f838387600067ffffffffffffffff8111801561092457600080fd5b506040519080825280601f01601f19166020018201604052801561094f576020820181803683370190505b506040518563ffffffff1660e01b8152600401808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b838110156109c45781810151838201526020016109ac565b50505050905090810190601f1680156109f15780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015610a1357600080fd5b505af1158015610a27573d6000803e3d6000fd5b50506001909801975061053c9650505050505050565b508315610ad9577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d896040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610ab757600080fd5b505af1158015610acb573d6000803e3d6000fd5b50505050610ad933896114b8565b50505050949350505050565b600060018211610b5657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4d6f7265207468616e203120746f6b656e207265717569726564000000000000604482015290519081900360640190fd5b50837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201600080805b8360ff168160ff16101561118957600087878360ff16818110610b9f57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff169050600088888460010160ff16818110610bd257fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16905060008490506001870360ff168460ff161415610c615773ffffffffffffffffffffffffffffffffffffffff821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610c61577f00000000000000000000000000000000000000000000000000000000000000009150600195505b60ff8416610eb55773ffffffffffffffffffffffffffffffffffffffff831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610e5b577f00000000000000000000000000000000000000000000000000000000000000009250610d0a7f000000000000000000000000000000000000000000000000000000000000000084847f0000000000000000000000000000000000000000000000000000000000000000611810565b905060003490507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015610d7957600080fd5b505af1158015610d8d573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610e2357600080fd5b505af1158015610e37573d6000803e3d6000fd5b505050506040513d6020811015610e4d57600080fd5b5051610e5557fe5b50610eb5565b610ea77f000000000000000000000000000000000000000000000000000000000000000084847f0000000000000000000000000000000000000000000000000000000000000000611810565b9050610eb58333838f6115f5565b610ee2888285857f00000000000000000000000000000000000000000000000000000000000000006118d6565b97508660ff168460010160ff161415610f0c578515610f0357309450610f07565b3394505b61100f565b61100c7f00000000000000000000000000000000000000000000000000000000000000008373eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8d8d60ff60028b0116818110610f5857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fc4578c8c8860020160ff16818110610fa257fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16610fe6565b7f00000000000000000000000000000000000000000000000000000000000000005b7f0000000000000000000000000000000000000000000000000000000000000000611810565b94505b600061101b84846117c5565b5090506000808273ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161461105c578a6000611060565b60008b5b6040805160008082526020820190925292945090925073ffffffffffffffffffffffffffffffffffffffff86169163022c0d9f91859185918d9190506040518563ffffffff1660e01b8152600401808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b838110156111105781810151838201526020016110f8565b50505050905090810190601f16801561113d5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561115f57600080fd5b505af1158015611173573d6000803e3d6000fd5b505060019098019750610b809650505050505050565b508115611225577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d856040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561120357600080fd5b505af1158015611217573d6000803e3d6000fd5b5050505061122533856114b8565b8684101561127e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180611d4d602b913960400191505060405180910390fd5b505050949350505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b60008061133d86611902565b955061134885611902565b945061135688878787611810565b9050600080611366838989611959565b91509150600089116113c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180611c76602c913960400191505060405180910390fd5b88811161141b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d815260200180611cc3603d913960400191505060405180910390fd5b60006114336103e861142d858d611a37565b90611a37565b905060006114458761142d858e61146d565b905061145c600182848161145557fe5b0490611aaa565b955050505050965096945050505050565b60006114af83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b1e565b90505b92915050565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040518082805190602001908083835b6020831061152f57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016114f2565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611591576040519150601f19603f3d011682016040523d82523d6000602084013e611596565b606091505b50509050806115f0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611d2a6023913960400191505060405180910390fd5b505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b602083106116d357805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611696565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611735576040519150601f19603f3d011682016040523d82523d6000602084013e61173a565b606091505b5091509150818015611768575080511580611768575080806020019051602081101561176557600080fd5b50515b6117bd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611d786024913960400191505060405180910390fd5b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1610611802578284611805565b83835b915091509250929050565b600080600061181f86866117c5565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff000000000000000000000000000000000000000000000000000000000000006068840152948c901b166069820152607d810193909352609d8084018890528151808503909101815260bd9093019052815191012092505050949350505050565b60008060006118e6878787611959565b915091506118f688838387611bcf565b98975050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156119515750730d500b1d8e8ef31e21c99d1db9a6444d3adf1270611954565b50805b919050565b600080600061196885856117c5565b5090506000808773ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156119b457600080fd5b505afa1580156119c8573d6000803e3d6000fd5b505050506040513d60608110156119de57600080fd5b5080516020909101516dffffffffffffffffffffffffffff918216935016905073ffffffffffffffffffffffffffffffffffffffff87811690841614611a25578082611a28565b81815b90999098509650505050505050565b600082611a46575060006114b2565b82820282848281611a5357fe5b04146114af576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611ca26021913960400191505060405180910390fd5b6000828201838110156114af57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008184841115611bc7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b8c578181015183820152602001611b74565b50505050905090810190601f168015611bb95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000808511611c29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180611d9c602b913960400191505060405180910390fd5b6000611c358684611a37565b90506000611c438286611a37565b90506000611c5d83611c57896103e8611a37565b90611aaa565b9050808281611c6857fe5b049897505050505050505056fe556e697377617056334c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e54536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77556e697377617056334c6962726172793a20726573657276654f75742073686f756c642062652067726561746572207468616e20616d6f756e744f7574556e69737761705633526f757465723a20494e53554646494349454e545f494e5055545f414d4f554e545472616e7366657248656c7065723a204554485f5452414e534645525f4641494c4544556e69737761705632526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e545472616e7366657248656c7065723a205452414e534645525f46524f4d5f4641494c4544556e697377617056334c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a264697066735822122008707721dd38a09e2256eb765847f020e44bd4d849eb4d5add1e96deac7d632864736f6c63430007050033000000000000000000000000800b052609c355ca8103e06f022aa30647ead60a0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270499154cad90a3563f914a25c3710ed01b9a43b8471a35ba8a66a056f3763854200000000000000000000000000000000000000000000000000000000000003e3
Deployed Bytecode
0x6080604052600436106100745760003560e01c8063ad5c46481161004e578063ad5c46481461019f578063c45a0155146101dd578063ddca3f43146101f2578063fda27740146102075761007b565b80635e1f417e1461008057806399585aac1461010e578063a926e7c71461018a5761007b565b3661007b57005b600080fd5b6100fc6004803603606081101561009657600080fd5b8135916020810135918101906060810160408201356401000000008111156100bd57600080fd5b8201836020820111156100cf57600080fd5b803590602001918460208302840111640100000000831117156100f157600080fd5b50909250905061021c565b60408051918252519081900360200190f35b6100fc6004803603606081101561012457600080fd5b81359160208101359181019060608101604082013564010000000081111561014b57600080fd5b82018360208201111561015d57600080fd5b8035906020019184602083028401116401000000008311171561017f57600080fd5b509092509050610ae5565b34801561019657600080fd5b506100fc611289565b3480156101ab57600080fd5b506101b46112ad565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156101e957600080fd5b506101b46112d1565b3480156101fe57600080fd5b506100fc6112f5565b34801561021357600080fd5b506101b4611319565b60006001821161028d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4d6f7265207468616e203120746f6b656e207265717569726564000000000000604482015290519081900360640190fd5b600082606060ff821667ffffffffffffffff811180156102ac57600080fd5b506040519080825280602002602001820160405280156102d6578160200160208202803683370190505b50905060606001830360ff1667ffffffffffffffff811180156102f857600080fd5b50604051908082528060200260200182016040528015610322578160200160208202803683370190505b50905087826001850360ff168151811061033857fe5b60209081029190910101527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83015b60ff8116156104c85761044d7f000000000000000000000000800b052609c355ca8103e06f022aa30647ead60a848360ff16815181106103a357fe5b60200260200101518a8a6001860360ff168181106103bd57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff168b8b8660ff168181106103e957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff167f499154cad90a3563f914a25c3710ed01b9a43b8471a35ba8a66a056f376385427f00000000000000000000000000000000000000000000000000000000000003e3611331565b846001840360ff168151811061045f57fe5b60200260200101846001850360ff168151811061047857fe5b73ffffffffffffffffffffffffffffffffffffffff90931660209384029190910190920191909152527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610367565b50816000815181106104d657fe5b6020026020010151945088851115610539576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611d00602a913960400191505060405180910390fd5b60005b6001840360ff168160ff161015610a3d57600088888360ff1681811061055e57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff169050600089898460010160ff1681811061059157fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1690506002860360ff168360ff16141561061a5773ffffffffffffffffffffffffffffffffffffffff811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee141561061a5750600195507f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf12705b60ff831661080b5773ffffffffffffffffffffffffffffffffffffffff821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156107e9577f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270915061068a33610685348b61146d565b6114b8565b7f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0896040518263ffffffff1660e01b81526004016000604051808303818588803b1580156106f257600080fd5b505af1158015610706573d6000803e3d6000fd5b50505050507f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb858560ff168151811061075657fe5b60200260200101518a6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156107b257600080fd5b505af11580156107c6573d6000803e3d6000fd5b505050506040513d60208110156107dc57600080fd5b50516107e457fe5b61080b565b61080b8233868660ff16815181106107fd57fe5b60200260200101518b6115f5565b60006002870360ff168460ff16141561083357871561082b57503061082e565b50335b610850565b848460010160ff168151811061084557fe5b602002602001015190505b600061085c84846117c5565b5090506000808273ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16146108b657888760010160ff16815181106108a757fe5b602002602001015160006108d3565b6000898860010160ff16815181106108ca57fe5b60200260200101515b91509150878760ff16815181106108e657fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1663022c0d9f838387600067ffffffffffffffff8111801561092457600080fd5b506040519080825280601f01601f19166020018201604052801561094f576020820181803683370190505b506040518563ffffffff1660e01b8152600401808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b838110156109c45781810151838201526020016109ac565b50505050905090810190601f1680156109f15780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015610a1357600080fd5b505af1158015610a27573d6000803e3d6000fd5b50506001909801975061053c9650505050505050565b508315610ad9577f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d896040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610ab757600080fd5b505af1158015610acb573d6000803e3d6000fd5b50505050610ad933896114b8565b50505050949350505050565b600060018211610b5657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4d6f7265207468616e203120746f6b656e207265717569726564000000000000604482015290519081900360640190fd5b50837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201600080805b8360ff168160ff16101561118957600087878360ff16818110610b9f57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff169050600088888460010160ff16818110610bd257fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16905060008490506001870360ff168460ff161415610c615773ffffffffffffffffffffffffffffffffffffffff821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610c61577f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf12709150600195505b60ff8416610eb55773ffffffffffffffffffffffffffffffffffffffff831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610e5b577f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf12709250610d0a7f000000000000000000000000800b052609c355ca8103e06f022aa30647ead60a84847f499154cad90a3563f914a25c3710ed01b9a43b8471a35ba8a66a056f37638542611810565b905060003490507f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015610d7957600080fd5b505af1158015610d8d573d6000803e3d6000fd5b50505050507f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610e2357600080fd5b505af1158015610e37573d6000803e3d6000fd5b505050506040513d6020811015610e4d57600080fd5b5051610e5557fe5b50610eb5565b610ea77f000000000000000000000000800b052609c355ca8103e06f022aa30647ead60a84847f499154cad90a3563f914a25c3710ed01b9a43b8471a35ba8a66a056f37638542611810565b9050610eb58333838f6115f5565b610ee2888285857f00000000000000000000000000000000000000000000000000000000000003e36118d6565b97508660ff168460010160ff161415610f0c578515610f0357309450610f07565b3394505b61100f565b61100c7f000000000000000000000000800b052609c355ca8103e06f022aa30647ead60a8373eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8d8d60ff60028b0116818110610f5857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fc4578c8c8860020160ff16818110610fa257fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16610fe6565b7f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf12705b7f499154cad90a3563f914a25c3710ed01b9a43b8471a35ba8a66a056f37638542611810565b94505b600061101b84846117c5565b5090506000808273ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161461105c578a6000611060565b60008b5b6040805160008082526020820190925292945090925073ffffffffffffffffffffffffffffffffffffffff86169163022c0d9f91859185918d9190506040518563ffffffff1660e01b8152600401808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b838110156111105781810151838201526020016110f8565b50505050905090810190601f16801561113d5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561115f57600080fd5b505af1158015611173573d6000803e3d6000fd5b505060019098019750610b809650505050505050565b508115611225577f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d856040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561120357600080fd5b505af1158015611217573d6000803e3d6000fd5b5050505061122533856114b8565b8684101561127e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180611d4d602b913960400191505060405180910390fd5b505050949350505050565b7f499154cad90a3563f914a25c3710ed01b9a43b8471a35ba8a66a056f3763854281565b7f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127081565b7f000000000000000000000000800b052609c355ca8103e06f022aa30647ead60a81565b7f00000000000000000000000000000000000000000000000000000000000003e381565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b60008061133d86611902565b955061134885611902565b945061135688878787611810565b9050600080611366838989611959565b91509150600089116113c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180611c76602c913960400191505060405180910390fd5b88811161141b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d815260200180611cc3603d913960400191505060405180910390fd5b60006114336103e861142d858d611a37565b90611a37565b905060006114458761142d858e61146d565b905061145c600182848161145557fe5b0490611aaa565b955050505050965096945050505050565b60006114af83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b1e565b90505b92915050565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040518082805190602001908083835b6020831061152f57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016114f2565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611591576040519150601f19603f3d011682016040523d82523d6000602084013e611596565b606091505b50509050806115f0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611d2a6023913960400191505060405180910390fd5b505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b602083106116d357805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611696565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611735576040519150601f19603f3d011682016040523d82523d6000602084013e61173a565b606091505b5091509150818015611768575080511580611768575080806020019051602081101561176557600080fd5b50515b6117bd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611d786024913960400191505060405180910390fd5b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1610611802578284611805565b83835b915091509250929050565b600080600061181f86866117c5565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff000000000000000000000000000000000000000000000000000000000000006068840152948c901b166069820152607d810193909352609d8084018890528151808503909101815260bd9093019052815191012092505050949350505050565b60008060006118e6878787611959565b915091506118f688838387611bcf565b98975050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156119515750730d500b1d8e8ef31e21c99d1db9a6444d3adf1270611954565b50805b919050565b600080600061196885856117c5565b5090506000808773ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156119b457600080fd5b505afa1580156119c8573d6000803e3d6000fd5b505050506040513d60608110156119de57600080fd5b5080516020909101516dffffffffffffffffffffffffffff918216935016905073ffffffffffffffffffffffffffffffffffffffff87811690841614611a25578082611a28565b81815b90999098509650505050505050565b600082611a46575060006114b2565b82820282848281611a5357fe5b04146114af576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611ca26021913960400191505060405180910390fd5b6000828201838110156114af57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008184841115611bc7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b8c578181015183820152602001611b74565b50505050905090810190601f168015611bb95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000808511611c29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180611d9c602b913960400191505060405180910390fd5b6000611c358684611a37565b90506000611c438286611a37565b90506000611c5d83611c57896103e8611a37565b90611aaa565b9050808281611c6857fe5b049897505050505050505056fe556e697377617056334c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e54536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77556e697377617056334c6962726172793a20726573657276654f75742073686f756c642062652067726561746572207468616e20616d6f756e744f7574556e69737761705633526f757465723a20494e53554646494349454e545f494e5055545f414d4f554e545472616e7366657248656c7065723a204554485f5452414e534645525f4641494c4544556e69737761705632526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e545472616e7366657248656c7065723a205452414e534645525f46524f4d5f4641494c4544556e697377617056334c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a264697066735822122008707721dd38a09e2256eb765847f020e44bd4d849eb4d5add1e96deac7d632864736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000800b052609c355ca8103e06f022aa30647ead60a0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270499154cad90a3563f914a25c3710ed01b9a43b8471a35ba8a66a056f3763854200000000000000000000000000000000000000000000000000000000000003e3
-----Decoded View---------------
Arg [0] : _factory (address): 0x800b052609c355cA8103E06F022aA30647eAd60a
Arg [1] : _WETH (address): 0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270
Arg [2] : _initCode (bytes32): 0x499154cad90a3563f914a25c3710ed01b9a43b8471a35ba8a66a056f37638542
Arg [3] : _fee (uint256): 995
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000800b052609c355ca8103e06f022aa30647ead60a
Arg [1] : 0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270
Arg [2] : 499154cad90a3563f914a25c3710ed01b9a43b8471a35ba8a66a056f37638542
Arg [3] : 00000000000000000000000000000000000000000000000000000000000003e3
Deployed Bytecode Sourcemap
13944:6084:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17281:2744;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17281:2744:0;;-1:-1:-1;17281:2744:0;-1:-1:-1;17281:2744:0;:::i;:::-;;;;;;;;;;;;;;;;14511:2762;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14511:2762:0;;-1:-1:-1;14511:2762:0;-1:-1:-1;14511:2762:0;:::i;14186:33::-;;;;;;;;;;;;;:::i;14051:29::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14012:32;;;;;;;;;;;;;:::i;14226:28::-;;;;;;;;;;;;;:::i;14087:92::-;;;;;;;;;;;;;:::i;17281:2744::-;17446:18;17504:1;17490:15;;17482:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17547:20;17599:4;17624:24;17651:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17651:21:0;;17624:48;;17683:22;17731:1;17722:6;:10;17708:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17708:25:0;;17683:50;;17768:9;17746:7;17763:1;17754:6;:10;17746:19;;;;;;;;;;;;;;;;;;;:31;17805:10;;;17790:307;17817:5;;;;17790:307;;17877:208;17931:7;17957;17965:1;17957:10;;;;;;;;;;;;;;;;17986:4;;17993:1;17991;:3;17986:9;;;;;;;;;;;;;;;;;18014:4;;18019:1;18014:7;;;;;;;;;;;;;;;;;18040:8;18067:3;17877:35;:208::i;:::-;17845:7;17857:1;17853;:5;17845:14;;;;;;;;;;;;;;;17861:5;17871:1;17867;:5;17861:12;;;;;;;;;;17844:241;;;;17861:12;;;;;;;;;;;17844:241;;;;;17824:3;;17790:307;;;;18122:7;18130:1;18122:10;;;;;;;;;;;;;;18109:23;;18165:11;18151:10;:25;;18143:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18240:7;18236:1623;18266:1;18257:6;:10;18253:14;;:1;:14;;;18236:1623;;;18289:17;18309:4;;18314:1;18309:7;;;;;;;;;;;;;;;;;18289:27;;18331:19;18353:4;;18358:1;18360;18358:3;18353:9;;;;;;;;;;;;;;;;;18331:31;;18397:1;18388:6;:10;18383:15;;:1;:15;;;18379:196;;;18423:29;;;14136:42;18423:29;18419:141;;;-1:-1:-1;18536:4:0;;-1:-1:-1;18491:4:0;18419:141;18593:6;;;18589:556;;18624:27;;;14136:42;18624:27;18620:510;;;18688:4;;-1:-1:-1;18715:69:0;18746:10;18758:25;:9;18772:10;18758:13;:25::i;:::-;18715:30;:69::i;:::-;18813:4;18807:19;;;18834:10;18807:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18883:4;18877:20;;;18898:5;18904:1;18898:8;;;;;;;;;;;;;;;;18908:10;18877:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18877:42:0;18870:50;;;;18620:510;;;18986:124;19044:9;19055:10;19067:5;19073:1;19067:8;;;;;;;;;;;;;;;;19077:10;18986:31;:124::i;:::-;19161:16;19212:1;19203:6;:10;19198:15;;:1;:15;;;19194:305;;;19238:15;19234:175;;;-1:-1:-1;19297:4:0;19234:175;;;-1:-1:-1;19379:10:0;19234:175;19194:305;;;19473:5;19479:1;19481;19479:3;19473:10;;;;;;;;;;;;;;;;19462:21;;19194:305;19516:14;19535:51;19563:9;19574:11;19535:27;:51::i;:::-;19515:71;;;19602:18;19622;19657:6;19644:19;;:9;:19;;;:77;;19696:7;19704:1;19706;19704:3;19696:12;;;;;;;;;;;;;;;;19718:1;19644:77;;;19675:1;19679:7;19687:1;19689;19687:3;19679:12;;;;;;;;;;;;;;;;19644:77;19601:120;;;;19751:5;19757:1;19751:8;;;;;;;;;;;;;;;;19736:29;;;19784:10;19796;19808:8;19828:1;19818:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19818:12:0;;19736:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;18269:3:0;;;;;-1:-1:-1;18236:1623:0;;-1:-1:-1;;;;;;;18236:1623:0;;;19875:15;19871:147;;;19913:4;19907:20;;;19928:9;19907:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19953:53;19984:10;19996:9;19953:30;:53::i;:::-;17281:2744;;;;;;;;;;:::o;14511:2762::-;14677:20;14737:1;14723:15;;14715:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14873:8:0;14800:15;;;14780:11;;;14921:2081;14942:5;14938:9;;:1;:9;;;14921:2081;;;14969:17;14989:4;;14994:1;14989:7;;;;;;;;;;;;;;;;;14969:27;;15011:19;15033:4;;15038:1;15040;15038:3;15033:9;;;;;;;;;;;;;;;;;15011:31;;15059:19;15081:8;15059:30;;15123:1;15115:5;:9;15110:14;;:1;:14;;;15106:195;;;15149:29;;;14136:42;15149:29;15145:141;;;15217:4;15203:18;;15262:4;15244:22;;15145:141;15319:6;;;15315:717;;15350:27;;;14136:42;15350:27;15346:671;;;15414:4;15402:16;;15455:67;15480:7;15489:9;15500:11;15513:8;15455:24;:67::i;:::-;15441:81;;15545:14;15562:9;15545:26;;15600:4;15594:19;;;15621:6;15594:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15666:4;15660:20;;;15681:11;15694:6;15660:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15660:41:0;15653:49;;;;15346:671;;;;15782:67;15807:7;15816:9;15827:11;15840:8;15782:24;:67::i;:::-;15768:81;;15872:125;15930:9;15941:10;15953:11;15966:8;15872:31;:125::i;:::-;16129:91;16165:12;16179:11;16192:9;16203:11;16216:3;16129:35;:91::i;:::-;16114:106;;16252:5;16241:16;;16242:1;16246;16242:5;16241:16;;;16237:402;;;16283:15;16278:177;;;16343:4;16324:24;;16278:177;;;16425:10;16414:21;;16278:177;16237:402;;;16519:104;16544:7;16553:11;14136:42;16566:4;;:9;16573:1;16571:3;;16566:9;;;;;;;;;;;;;;;;:27;;;:46;;16603:4;;16608:1;16610;16608:3;16603:9;;;;;;;;;;;;;;;;;16566:46;;;16596:4;16566:46;16614:8;16519:24;:104::i;:::-;16508:115;;16237:402;16656:14;16675:51;16703:9;16714:11;16675:27;:51::i;:::-;16655:71;;;16742:18;16762;16797:6;16784:19;;:9;:19;;;:77;;16836:12;16858:1;16784:77;;;16815:1;16819:12;16784:77;16961:12;;;16971:1;16961:12;;;;;;;;;16741:120;;-1:-1:-1;16741:120:0;;-1:-1:-1;16876:32:0;;;;;;16741:120;;;;16951:8;;16961:12;;16876:112;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14949:3:0;;;;;-1:-1:-1;14921:2081:0;;-1:-1:-1;;;;;;;14921:2081:0;;;17018:15;17014:153;;;17056:4;17050:20;;;17071:12;17050:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17099:56;17130:10;17142:12;17099:30;:56::i;:::-;17203:12;17187;:28;;17179:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14511:2762;;;;;;;;;:::o;14186:33::-;;;:::o;14051:29::-;;;:::o;14012:32::-;;;:::o;14226:28::-;;;:::o;14087:92::-;14136:42;14087:92;:::o;9671:813::-;9818:16;9836:12;9870:32;9895:6;9870:24;:32::i;:::-;9861:41;;9922:32;9947:6;9922:24;:32::i;:::-;9913:41;;9974:42;9982:7;9991:6;9999;10007:8;9974:7;:42::i;:::-;9967:49;;10028:17;10047:18;10069:39;10087:4;10093:6;10101;10069:17;:39::i;:::-;10027:81;;;;10139:1;10127:9;:13;10119:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10221:9;10208:10;:22;10200:96;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10307:14;10324:34;10353:4;10324:24;:9;10338;10324:13;:24::i;:::-;:28;;:34::i;:::-;10307:51;-1:-1:-1;10369:16:0;10388:34;10418:3;10388:25;:10;10403:9;10388:14;:25::i;:34::-;10369:53;;10444:32;10474:1;10457:11;10445:9;:23;;;;;;;10444:29;:32::i;:::-;10433:43;;9671:813;;;;;;;;;;;;;:::o;3364:136::-;3422:7;3449:43;3453:1;3456;3449:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;3442:50;;3364:136;;;;;:::o;1379:195::-;1487:12;;;1449;1487;;;;;;;;;1466:7;;;;1480:5;;1466:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1448:52;;;1519:7;1511:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1379:195;;;:::o;969:402::-;1194:51;;;1183:10;1194:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1183:63;;;;1148:12;;1162:17;;1183:10;;;;1194:51;1183:63;;;1194:51;1183:63;;1194:51;1183:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1147:99;;;;1265:7;:57;;;;-1:-1:-1;1277:11:0;;:16;;:44;;;1308:4;1297:24;;;;;;;;;;;;;;;-1:-1:-1;1297:24:0;1277:44;1257:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;969:402;;;;;;:::o;7899:175::-;7974:7;7983;8021:6;8012:15;;:6;:15;;;:53;;8050:6;8058;8012:53;;;8031:6;8039;8012:53;8005:61;;;;7899:175;;;;;:::o;8166:411::-;8273:7;8294:14;8310;8328:26;8339:6;8347;8328:10;:26::i;:::-;8480:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8470:43;;;;;;8395:170;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8385:181;;;;;;-1:-1:-1;;;8166:411:0;;;;;;:::o;10492:316::-;10619:17;10650;10669:18;10691:39;10709:4;10715:6;10723;10691:17;:39::i;:::-;10649:81;;;;10749:50;10762:8;10772:9;10783:10;10795:3;10749:12;:50::i;:::-;10741:59;10492:316;-1:-1:-1;;;;;;;;10492:316:0:o;7517:273::-;7588:7;7613:60;;;7630:42;7613:60;7610:150;;;-1:-1:-1;7705:42:0;7690:58;;7610:150;-1:-1:-1;7777:5:0;7517:273;;;;:::o;8585:378::-;8681:16;8699;8729:14;8748:26;8759:6;8767;8748:10;:26::i;:::-;8728:46;;;8786:16;8804;8840:4;8825:32;;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8825:34:0;;;;;;;8785:74;;;;;-1:-1:-1;8785:74:0;;-1:-1:-1;8893:16:0;;;;;;;;:62;;8936:8;8946;8893:62;;;8913:8;8923;8893:62;8870:85;;;;-1:-1:-1;8585:378:0;-1:-1:-1;;;;;;;8585:378:0:o;4254:471::-;4312:7;4557:6;4553:47;;-1:-1:-1;4587:1:0;4580:8;;4553:47;4624:5;;;4628:1;4624;:5;:1;4648:5;;;;;:10;4640:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2900:181;2958:7;2990:5;;;3014:6;;;;3006:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3803:192;3889:7;3925:12;3917:6;;;;3909:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3961:5:0;;;3803:192::o;9085:465::-;9200:17;9249:1;9238:8;:12;9230:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9309:23;9335:17;:8;9348:3;9335:12;:17::i;:::-;9309:43;-1:-1:-1;9363:17:0;9383:31;9309:43;9403:10;9383:19;:31::i;:::-;9363:51;-1:-1:-1;9425:19:0;9447:40;9471:15;9447:19;:9;9461:4;9447:13;:19::i;:::-;:23;;:40::i;:::-;9425:62;;9530:11;9518:9;:23;;;;;;;9085:465;-1:-1:-1;;;;;;;;9085:465:0:o
Swarm Source
ipfs://08707721dd38a09e2256eb765847f020e44bd4d849eb4d5add1e96deac7d6328
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.