Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 54 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Remove Liquidity... | 20787865 | 133 days ago | IN | 0 ETH | 0.00087355 | ||||
Add Liquidity ET... | 20787745 | 133 days ago | IN | 0.0015 ETH | 0.00062004 | ||||
Add Liquidity ET... | 20667693 | 150 days ago | IN | 0.0008 ETH | 0.00006845 | ||||
Remove Liquidity... | 20530001 | 169 days ago | IN | 0 ETH | 0.000352 | ||||
Add Liquidity ET... | 20529990 | 169 days ago | IN | 0.05 ETH | 0.00022954 | ||||
Remove Liquidity... | 18850552 | 404 days ago | IN | 0 ETH | 0.00357417 | ||||
Add Liquidity ET... | 18850508 | 404 days ago | IN | 0.00541893 ETH | 0.00208818 | ||||
Remove Liquidity... | 17433204 | 603 days ago | IN | 0 ETH | 0.00293688 | ||||
Add Liquidity ET... | 17433149 | 603 days ago | IN | 0.016 ETH | 0.00206171 | ||||
Add Liquidity ET... | 16150273 | 783 days ago | IN | 0.00023716 ETH | 0.00034486 | ||||
Remove Liquidity... | 12662811 | 1322 days ago | IN | 0 ETH | 0.00123341 | ||||
Remove Liquidity... | 12662806 | 1322 days ago | IN | 0 ETH | 0.00105947 | ||||
Remove Liquidity... | 12662797 | 1322 days ago | IN | 0 ETH | 0.00121275 | ||||
Remove Liquidity... | 12662796 | 1322 days ago | IN | 0 ETH | 0.00129142 | ||||
Remove Liquidity... | 12662786 | 1322 days ago | IN | 0 ETH | 0.00111844 | ||||
Remove Liquidity... | 12662779 | 1322 days ago | IN | 0 ETH | 0.00085627 | ||||
Remove Liquidity... | 12662771 | 1322 days ago | IN | 0 ETH | 0.00138733 | ||||
Remove Liquidity... | 12352734 | 1370 days ago | IN | 0 ETH | 0.00297182 | ||||
Remove Liquidity... | 12352668 | 1370 days ago | IN | 0 ETH | 0.00822471 | ||||
Remove Liquidity... | 12352663 | 1370 days ago | IN | 0 ETH | 0.00377385 | ||||
Remove Liquidity... | 12352663 | 1370 days ago | IN | 0 ETH | 0.00327371 | ||||
Remove Liquidity... | 12352658 | 1370 days ago | IN | 0 ETH | 0.00293287 | ||||
Remove Liquidity... | 12352658 | 1370 days ago | IN | 0 ETH | 0.00475858 | ||||
Remove Liquidity... | 12352649 | 1370 days ago | IN | 0 ETH | 0.00356729 | ||||
Remove Liquidity... | 12352639 | 1370 days ago | IN | 0 ETH | 0.00369372 |
Latest 19 internal transactions
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
20787865 | 133 days ago | 0.0015 ETH | ||||
20787865 | 133 days ago | 0.0015 ETH | ||||
20787745 | 133 days ago | 0.0015 ETH | ||||
20667693 | 150 days ago | 0.0008 ETH | ||||
20530001 | 169 days ago | 0.05 ETH | ||||
20530001 | 169 days ago | 0.05 ETH | ||||
20529990 | 169 days ago | 0.05 ETH | ||||
18850552 | 404 days ago | 0.00541893 ETH | ||||
18850552 | 404 days ago | 0.00541893 ETH | ||||
18850508 | 404 days ago | 0.00541893 ETH | ||||
17433204 | 603 days ago | 0.016 ETH | ||||
17433204 | 603 days ago | 0.016 ETH | ||||
17433149 | 603 days ago | 0.016 ETH | ||||
12662779 | 1322 days ago | 59.99999999 ETH | ||||
12662779 | 1322 days ago | 59.99999999 ETH | ||||
11899970 | 1440 days ago | 950 ETH | ||||
11899970 | 1440 days ago | 950 ETH | ||||
11734891 | 1465 days ago | 1,000 ETH | ||||
11733373 | 1465 days ago | 10 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
FlashLoanV1Router01
Compiler Version
v0.6.6+commit.6c089d02
Optimization Enabled:
Yes with 999999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-01-24 */ pragma solidity =0.6.6; interface IFlashLoanV1Factory { event PoolCreated(address indexed token, address pool, uint); function feeInBips() external view returns (uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPool(address token) external view returns (address pool); function allPools(uint) external view returns (address pool); function allPoolsLength() external view returns (uint); function createPool(address token) external returns (address pool); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IFlashLoanV1Pool { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount); event Burn(address indexed sender, uint amount, address indexed to); event FlashLoan( address indexed target, address indexed initiator, address indexed asset, uint amount, uint premium ); event Sync(uint reserve); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token() external view returns (address); function reserve() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount); function flashLoan(address target, uint amount, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address) external; } // SPDX-License-Identifier: GPL-3.0-or-later // 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, uint256 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::safeApprove: approve failed' ); } function safeTransfer( address token, address to, uint256 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::safeTransfer: transfer failed' ); } function safeTransferFrom( address token, address from, address to, uint256 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::transferFrom: transferFrom failed' ); } function safeTransferETH(address to, uint256 value) internal { (bool success, ) = to.call{value: value}(new bytes(0)); require(success, 'TransferHelper::safeTransferETH: ETH transfer failed'); } } interface IFlashLoanV1Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address token, uint amount, address to, uint deadline ) external returns (uint liquidity); function addLiquidityETH( address to, uint deadline ) external payable returns (uint liquidity); function removeLiquidity( address token, uint liquidity, address to, uint deadline ) external returns (uint amount); function removeLiquidityETH( uint liquidity, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityWithPermit( address token, uint liquidity, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amount); function removeLiquidityETHWithPermit( uint liquidity, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function flashLoan( address token, address target, uint amount, uint deadline, bytes calldata data ) external; } // a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math) library SafeMath { function add(uint x, uint y) internal pure returns (uint z) { require((z = x + y) >= x, 'ds-math-add-overflow'); } function sub(uint x, uint y) internal pure returns (uint z) { require((z = x - y) <= x, 'ds-math-sub-underflow'); } function mul(uint x, uint y) internal pure returns (uint z) { require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow'); } } library FlashLoanV1Library { using SafeMath for uint; // calculates the CREATE2 address for a pool without making any external calls function poolFor(address factory, address token) internal pure returns (address pool) { pool = address(uint(keccak256(abi.encodePacked( hex'ff', factory, keccak256(abi.encodePacked(token)), hex'6c57ed802dc5d4d6ce04dc39f66e6d2a6cebf8b7efbc068ce7b0419f5ee4ade1' // init code hash )))); } } interface IERC20 { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); } interface IWETH { function deposit() external payable; function transfer(address to, uint value) external returns (bool); function withdraw(uint) external; } contract FlashLoanV1Router01 is IFlashLoanV1Router01 { using SafeMath for uint; address public immutable override factory; address public immutable override WETH; modifier ensure(uint deadline) { require(deadline >= block.timestamp, 'FlashLoanV1Router: EXPIRED'); _; } constructor(address _factory, address _WETH) public { factory = _factory; WETH = _WETH; } receive() external payable { assert(msg.sender == WETH); // only accept ETH via fallback from the WETH contract } // **** ADD LIQUIDITY **** function addLiquidity( address token, uint amount, address to, uint deadline ) external virtual override ensure(deadline) returns (uint liquidity) { if (IFlashLoanV1Factory(factory).getPool(token) == address(0)) { IFlashLoanV1Factory(factory).createPool(token); } address pool = FlashLoanV1Library.poolFor(factory, token); TransferHelper.safeTransferFrom(token, msg.sender, pool, amount); liquidity = IFlashLoanV1Pool(pool).mint(to); } function addLiquidityETH( address to, uint deadline ) external virtual override payable ensure(deadline) returns (uint liquidity) { if (IFlashLoanV1Factory(factory).getPool(WETH) == address(0)) { IFlashLoanV1Factory(factory).createPool(WETH); } address pool = FlashLoanV1Library.poolFor(factory, WETH); IWETH(WETH).deposit{value: msg.value}(); assert(IWETH(WETH).transfer(pool, msg.value)); liquidity = IFlashLoanV1Pool(pool).mint(to); } // **** REMOVE LIQUIDITY **** function removeLiquidity( address token, uint liquidity, address to, uint deadline ) public virtual override ensure(deadline) returns (uint amount) { address pool = FlashLoanV1Library.poolFor(factory, token); IFlashLoanV1Pool(pool).transferFrom(msg.sender, pool, liquidity); amount = IFlashLoanV1Pool(pool).burn(to); } function removeLiquidityETH( uint liquidity, address to, uint deadline ) public virtual override ensure(deadline) returns (uint amountETH) { amountETH = removeLiquidity(WETH, liquidity, address(this), deadline); IWETH(WETH).withdraw(amountETH); TransferHelper.safeTransferETH(to, amountETH); } function removeLiquidityWithPermit( address token, uint liquidity, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external virtual override returns (uint amount) { address pool = FlashLoanV1Library.poolFor(factory, token); uint value = approveMax ? uint(-1) : liquidity; IFlashLoanV1Pool(pool).permit(msg.sender, address(this), value, deadline, v, r, s); amount = removeLiquidity(token, liquidity, to, deadline); } function removeLiquidityETHWithPermit( uint liquidity, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external virtual override returns (uint amountETH) { address pool = FlashLoanV1Library.poolFor(factory, WETH); uint value = approveMax ? uint(-1) : liquidity; IFlashLoanV1Pool(pool).permit(msg.sender, address(this), value, deadline, v, r, s); amountETH = removeLiquidityETH(liquidity, to, deadline); } // **** FLASH LOAN **** function flashLoan( address token, address target, uint amount, uint deadline, bytes calldata data ) external virtual override ensure(deadline) { address pool = FlashLoanV1Library.poolFor(factory, token); IFlashLoanV1Pool(pool).flashLoan(target, amount, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_WETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidity","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidityETH","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"flashLoan","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeLiquidity","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"removeLiquidityETH","outputs":[{"internalType":"uint256","name":"amountETH","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bool","name":"approveMax","type":"bool"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"removeLiquidityETHWithPermit","outputs":[{"internalType":"uint256","name":"amountETH","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bool","name":"approveMax","type":"bool"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"removeLiquidityWithPermit","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c060405234801561001057600080fd5b5060405161182a38038061182a8339818101604052604081101561003357600080fd5b5080516020909101516001600160601b0319606092831b8116608052911b1660a05260805160601c60a05160601c61174e6100dc6000398060b7528061047852806104a35280610a225280610b1b5280610bf15280610c195280610ce35280610e1752806110015250806105fb528061068b528061075c528061084d5280610a4f5280610adf5280610bd05280610eb05280610fb65280610fe0528061119c525061174e6000f3fe60806040526004361061009a5760003560e01c8063ad5c464811610069578063c45a01551161004e578063c45a01551461032f578063d0a2f4b014610344578063fb1da1d6146103ad576100e0565b8063ad5c464814610242578063bf575fa114610280576100e0565b80632b6df14a146100e5578063376d3d5d146101435780635479946b146101975780637282d54814610209576100e0565b366100e0573373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146100de57fe5b005b600080fd5b3480156100f157600080fd5b506101316004803603606081101561010857600080fd5b5080359073ffffffffffffffffffffffffffffffffffffffff6020820135169060400135610401565b60408051918252519081900360200190f35b34801561014f57600080fd5b506101316004803603608081101561016657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013591604082013516906060013561053e565b3480156101a357600080fd5b5061013160048036036101008110156101bb57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359160408201351690606081013590608081013515159060ff60a0820135169060c08101359060e00135610845565b6101316004803603604081101561021f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610972565b34801561024e57600080fd5b50610257610e15565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561028c57600080fd5b506100de600480360360a08110156102a357600080fd5b73ffffffffffffffffffffffffffffffffffffffff823581169260208101359091169160408201359160608101359181019060a0810160808201356401000000008111156102f057600080fd5b82018360208201111561030257600080fd5b8035906020019184600183028401116401000000008311171561032457600080fd5b509092509050610e39565b34801561033b57600080fd5b50610257610fb4565b34801561035057600080fd5b50610131600480360360e081101561036757600080fd5b5080359073ffffffffffffffffffffffffffffffffffffffff60208201351690604081013590606081013515159060ff6080820135169060a08101359060c00135610fd8565b3480156103b957600080fd5b50610131600480360360808110156103d057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135169060600135611123565b6000814281101561047357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f466c6173684c6f616e5631526f757465723a2045585049524544000000000000604482015290519081900360640190fd5b61049f7f0000000000000000000000000000000000000000000000000000000000000000863086611123565b91507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561051457600080fd5b505af1158015610528573d6000803e3d6000fd5b5050505061053684836112e0565b509392505050565b600081428110156105b057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f466c6173684c6f616e5631526f757465723a2045585049524544000000000000604482015290519081900360640190fd5b604080517fbbe4f6db00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff888116600483015291516000927f0000000000000000000000000000000000000000000000000000000000000000169163bbe4f6db916024808301926020929190829003018186803b15801561064157600080fd5b505afa158015610655573d6000803e3d6000fd5b505050506040513d602081101561066b57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff161415610755577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16639049f9d2876040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561072857600080fd5b505af115801561073c573d6000803e3d6000fd5b505050506040513d602081101561075257600080fd5b50505b60006107817f00000000000000000000000000000000000000000000000000000000000000008861141d565b905061078f873383896114e3565b8073ffffffffffffffffffffffffffffffffffffffff16636a627842866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561080e57600080fd5b505af1158015610822573d6000803e3d6000fd5b505050506040513d602081101561083857600080fd5b5051979650505050505050565b6000806108727f00000000000000000000000000000000000000000000000000000000000000008b61141d565b905060008661088157896108a3565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b604080517fd505accf00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052606481018b905260ff8916608482015260a4810188905260c48101879052905191925073ffffffffffffffffffffffffffffffffffffffff84169163d505accf9160e48082019260009290919082900301818387803b15801561093f57600080fd5b505af1158015610953573d6000803e3d6000fd5b505050506109638b8b8b8b611123565b9b9a5050505050505050505050565b600081428110156109e457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f466c6173684c6f616e5631526f757465723a2045585049524544000000000000604482015290519081900360640190fd5b604080517fbbe4f6db00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116600483015291516000927f0000000000000000000000000000000000000000000000000000000000000000169163bbe4f6db916024808301926020929190829003018186803b158015610a9557600080fd5b505afa158015610aa9573d6000803e3d6000fd5b505050506040513d6020811015610abf57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff161415610bc9577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16639049f9d27f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015610b9c57600080fd5b505af1158015610bb0573d6000803e3d6000fd5b505050506040513d6020811015610bc657600080fd5b50505b6000610c157f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061141d565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b158015610c7f57600080fd5b505af1158015610c93573d6000803e3d6000fd5b5050604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015234602483015291517f0000000000000000000000000000000000000000000000000000000000000000909216945063a9059cbb935060448082019350602092918290030181600087803b158015610d2f57600080fd5b505af1158015610d43573d6000803e3d6000fd5b505050506040513d6020811015610d5957600080fd5b5051610d6157fe5b8073ffffffffffffffffffffffffffffffffffffffff16636a627842866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015610de057600080fd5b505af1158015610df4573d6000803e3d6000fd5b505050506040513d6020811015610e0a57600080fd5b505195945050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b8242811015610ea957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f466c6173684c6f616e5631526f757465723a2045585049524544000000000000604482015290519081900360640190fd5b6000610ed57f00000000000000000000000000000000000000000000000000000000000000008961141d565b90508073ffffffffffffffffffffffffffffffffffffffff1663e0232b42888887876040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f82011690508083019250505095505050505050600060405180830381600087803b158015610f9257600080fd5b505af1158015610fa6573d6000803e3d6000fd5b505050505050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806110257f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061141d565b90506000866110345789611056565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b604080517fd505accf00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052606481018b905260ff8916608482015260a4810188905260c48101879052905191925073ffffffffffffffffffffffffffffffffffffffff84169163d505accf9160e48082019260009290919082900301818387803b1580156110f257600080fd5b505af1158015611106573d6000803e3d6000fd5b505050506111158a8a8a610401565b9a9950505050505050505050565b6000814281101561119557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f466c6173684c6f616e5631526f757465723a2045585049524544000000000000604482015290519081900360640190fd5b60006111c17f00000000000000000000000000000000000000000000000000000000000000008861141d565b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff831660248201819052604482018a9052915192935090916323b872dd916064808201926020929091908290030181600087803b15801561124257600080fd5b505af1158015611256573d6000803e3d6000fd5b505050506040513d602081101561126c57600080fd5b5050604080517f89afcb4400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff87811660048301529151918316916389afcb44916024808201926020929091908290030181600087803b15801561080e57600080fd5b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040518082805190602001908083835b6020831061135757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161131a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146113b9576040519150601f19603f3d011682016040523d82523d6000602084013e6113be565b606091505b5050905080611418576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806116e56034913960400191505060405180910390fd5b505050565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606093841b8116602080840191909152835180840360140181526034840185528051908201207fff0000000000000000000000000000000000000000000000000000000000000060548501529590941b16605582015260698101939093527f6c57ed802dc5d4d6ce04dc39f66e6d2a6cebf8b7efbc068ce7b0419f5ee4ade16089808501919091528151808503909101815260a99093019052815191012090565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b602083106115c157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611584565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611623576040519150601f19603f3d011682016040523d82523d6000602084013e611628565b606091505b5091509150818015611656575080511580611656575080806020019051602081101561165357600080fd5b50515b6116ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806116b46031913960400191505060405180910390fd5b50505050505056fe5472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c65645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c6564a26469706673582212202264a6a1bc03d1fd5777bca8194fe7946e03ed023b6a8f8d9a634d8dbe2551b364736f6c63430006060033000000000000000000000000a22f8cf50d9827daef24dcb5bac92c147a9d342e000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Deployed Bytecode
0x60806040526004361061009a5760003560e01c8063ad5c464811610069578063c45a01551161004e578063c45a01551461032f578063d0a2f4b014610344578063fb1da1d6146103ad576100e0565b8063ad5c464814610242578063bf575fa114610280576100e0565b80632b6df14a146100e5578063376d3d5d146101435780635479946b146101975780637282d54814610209576100e0565b366100e0573373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216146100de57fe5b005b600080fd5b3480156100f157600080fd5b506101316004803603606081101561010857600080fd5b5080359073ffffffffffffffffffffffffffffffffffffffff6020820135169060400135610401565b60408051918252519081900360200190f35b34801561014f57600080fd5b506101316004803603608081101561016657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013591604082013516906060013561053e565b3480156101a357600080fd5b5061013160048036036101008110156101bb57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359160408201351690606081013590608081013515159060ff60a0820135169060c08101359060e00135610845565b6101316004803603604081101561021f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610972565b34801561024e57600080fd5b50610257610e15565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561028c57600080fd5b506100de600480360360a08110156102a357600080fd5b73ffffffffffffffffffffffffffffffffffffffff823581169260208101359091169160408201359160608101359181019060a0810160808201356401000000008111156102f057600080fd5b82018360208201111561030257600080fd5b8035906020019184600183028401116401000000008311171561032457600080fd5b509092509050610e39565b34801561033b57600080fd5b50610257610fb4565b34801561035057600080fd5b50610131600480360360e081101561036757600080fd5b5080359073ffffffffffffffffffffffffffffffffffffffff60208201351690604081013590606081013515159060ff6080820135169060a08101359060c00135610fd8565b3480156103b957600080fd5b50610131600480360360808110156103d057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040820135169060600135611123565b6000814281101561047357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f466c6173684c6f616e5631526f757465723a2045585049524544000000000000604482015290519081900360640190fd5b61049f7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2863086611123565b91507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561051457600080fd5b505af1158015610528573d6000803e3d6000fd5b5050505061053684836112e0565b509392505050565b600081428110156105b057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f466c6173684c6f616e5631526f757465723a2045585049524544000000000000604482015290519081900360640190fd5b604080517fbbe4f6db00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff888116600483015291516000927f000000000000000000000000a22f8cf50d9827daef24dcb5bac92c147a9d342e169163bbe4f6db916024808301926020929190829003018186803b15801561064157600080fd5b505afa158015610655573d6000803e3d6000fd5b505050506040513d602081101561066b57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff161415610755577f000000000000000000000000a22f8cf50d9827daef24dcb5bac92c147a9d342e73ffffffffffffffffffffffffffffffffffffffff16639049f9d2876040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561072857600080fd5b505af115801561073c573d6000803e3d6000fd5b505050506040513d602081101561075257600080fd5b50505b60006107817f000000000000000000000000a22f8cf50d9827daef24dcb5bac92c147a9d342e8861141d565b905061078f873383896114e3565b8073ffffffffffffffffffffffffffffffffffffffff16636a627842866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561080e57600080fd5b505af1158015610822573d6000803e3d6000fd5b505050506040513d602081101561083857600080fd5b5051979650505050505050565b6000806108727f000000000000000000000000a22f8cf50d9827daef24dcb5bac92c147a9d342e8b61141d565b905060008661088157896108a3565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b604080517fd505accf00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052606481018b905260ff8916608482015260a4810188905260c48101879052905191925073ffffffffffffffffffffffffffffffffffffffff84169163d505accf9160e48082019260009290919082900301818387803b15801561093f57600080fd5b505af1158015610953573d6000803e3d6000fd5b505050506109638b8b8b8b611123565b9b9a5050505050505050505050565b600081428110156109e457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f466c6173684c6f616e5631526f757465723a2045585049524544000000000000604482015290519081900360640190fd5b604080517fbbe4f6db00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28116600483015291516000927f000000000000000000000000a22f8cf50d9827daef24dcb5bac92c147a9d342e169163bbe4f6db916024808301926020929190829003018186803b158015610a9557600080fd5b505afa158015610aa9573d6000803e3d6000fd5b505050506040513d6020811015610abf57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff161415610bc9577f000000000000000000000000a22f8cf50d9827daef24dcb5bac92c147a9d342e73ffffffffffffffffffffffffffffffffffffffff16639049f9d27f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015610b9c57600080fd5b505af1158015610bb0573d6000803e3d6000fd5b505050506040513d6020811015610bc657600080fd5b50505b6000610c157f000000000000000000000000a22f8cf50d9827daef24dcb5bac92c147a9d342e7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc261141d565b90507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b158015610c7f57600080fd5b505af1158015610c93573d6000803e3d6000fd5b5050604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015234602483015291517f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2909216945063a9059cbb935060448082019350602092918290030181600087803b158015610d2f57600080fd5b505af1158015610d43573d6000803e3d6000fd5b505050506040513d6020811015610d5957600080fd5b5051610d6157fe5b8073ffffffffffffffffffffffffffffffffffffffff16636a627842866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015610de057600080fd5b505af1158015610df4573d6000803e3d6000fd5b505050506040513d6020811015610e0a57600080fd5b505195945050505050565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b8242811015610ea957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f466c6173684c6f616e5631526f757465723a2045585049524544000000000000604482015290519081900360640190fd5b6000610ed57f000000000000000000000000a22f8cf50d9827daef24dcb5bac92c147a9d342e8961141d565b90508073ffffffffffffffffffffffffffffffffffffffff1663e0232b42888887876040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f82011690508083019250505095505050505050600060405180830381600087803b158015610f9257600080fd5b505af1158015610fa6573d6000803e3d6000fd5b505050505050505050505050565b7f000000000000000000000000a22f8cf50d9827daef24dcb5bac92c147a9d342e81565b6000806110257f000000000000000000000000a22f8cf50d9827daef24dcb5bac92c147a9d342e7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc261141d565b90506000866110345789611056565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b604080517fd505accf00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052606481018b905260ff8916608482015260a4810188905260c48101879052905191925073ffffffffffffffffffffffffffffffffffffffff84169163d505accf9160e48082019260009290919082900301818387803b1580156110f257600080fd5b505af1158015611106573d6000803e3d6000fd5b505050506111158a8a8a610401565b9a9950505050505050505050565b6000814281101561119557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f466c6173684c6f616e5631526f757465723a2045585049524544000000000000604482015290519081900360640190fd5b60006111c17f000000000000000000000000a22f8cf50d9827daef24dcb5bac92c147a9d342e8861141d565b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff831660248201819052604482018a9052915192935090916323b872dd916064808201926020929091908290030181600087803b15801561124257600080fd5b505af1158015611256573d6000803e3d6000fd5b505050506040513d602081101561126c57600080fd5b5050604080517f89afcb4400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff87811660048301529151918316916389afcb44916024808201926020929091908290030181600087803b15801561080e57600080fd5b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040518082805190602001908083835b6020831061135757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161131a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146113b9576040519150601f19603f3d011682016040523d82523d6000602084013e6113be565b606091505b5050905080611418576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806116e56034913960400191505060405180910390fd5b505050565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606093841b8116602080840191909152835180840360140181526034840185528051908201207fff0000000000000000000000000000000000000000000000000000000000000060548501529590941b16605582015260698101939093527f6c57ed802dc5d4d6ce04dc39f66e6d2a6cebf8b7efbc068ce7b0419f5ee4ade16089808501919091528151808503909101815260a99093019052815191012090565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b602083106115c157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611584565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611623576040519150601f19603f3d011682016040523d82523d6000602084013e611628565b606091505b5091509150818015611656575080511580611656575080806020019051602081101561165357600080fd5b50515b6116ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806116b46031913960400191505060405180910390fd5b50505050505056fe5472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c65645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c6564a26469706673582212202264a6a1bc03d1fd5777bca8194fe7946e03ed023b6a8f8d9a634d8dbe2551b364736f6c63430006060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a22f8cf50d9827daef24dcb5bac92c147a9d342e000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
-----Decoded View---------------
Arg [0] : _factory (address): 0xa22F8cf50D9827Daef24dCb5BAC92C147a9D342e
Arg [1] : _WETH (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a22f8cf50d9827daef24dcb5bac92c147a9d342e
Arg [1] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.