More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 116 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Remove Liq | 21244743 | 23 hrs ago | IN | 0 ETH | 0.00259097 | ||||
Remove Liq | 21180662 | 9 days ago | IN | 0 ETH | 0.01845749 | ||||
Remove Liq | 21170523 | 11 days ago | IN | 0 ETH | 0.004861 | ||||
Remove Liq | 21066312 | 25 days ago | IN | 0 ETH | 0.00252065 | ||||
Remove Liq | 21020412 | 32 days ago | IN | 0 ETH | 0.00148376 | ||||
Remove Liq | 20850499 | 55 days ago | IN | 0 ETH | 0.0014488 | ||||
Remove Liq | 20797090 | 63 days ago | IN | 0 ETH | 0.00186525 | ||||
Remove Liq | 20627204 | 87 days ago | IN | 0 ETH | 0.00076716 | ||||
Remove Liq | 20585997 | 92 days ago | IN | 0 ETH | 0.00029687 | ||||
Remove Liq | 20563362 | 96 days ago | IN | 0 ETH | 0.00079538 | ||||
Remove Liq | 20404703 | 118 days ago | IN | 0 ETH | 0.00036289 | ||||
Remove Liq | 17295931 | 553 days ago | IN | 0 ETH | 0.00916539 | ||||
Remove Liq | 17260162 | 558 days ago | IN | 0 ETH | 0.00694145 | ||||
Remove Liq | 17192107 | 568 days ago | IN | 0 ETH | 0.01531789 | ||||
Remove Liq | 17192069 | 568 days ago | IN | 0 ETH | 0.0197551 | ||||
Remove Liq | 17129342 | 577 days ago | IN | 0 ETH | 0.00639484 | ||||
Remove Liq | 17068538 | 585 days ago | IN | 0 ETH | 0.00900304 | ||||
Remove Liq | 16969517 | 600 days ago | IN | 0 ETH | 0.00639965 | ||||
Remove Liq | 16825728 | 620 days ago | IN | 0 ETH | 0.00312205 | ||||
Remove Liq | 16777709 | 626 days ago | IN | 0 ETH | 0.00649269 | ||||
Remove Liq | 16726438 | 634 days ago | IN | 0 ETH | 0.00307506 | ||||
Remove Liq | 16626299 | 648 days ago | IN | 0 ETH | 0.00263912 | ||||
Remove Liq | 16575871 | 655 days ago | IN | 0 ETH | 0.0041495 | ||||
Remove Liq | 16525323 | 662 days ago | IN | 0 ETH | 0.0026599 | ||||
Remove Liq | 16472268 | 669 days ago | IN | 0 ETH | 0.00311252 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
10712645 | 1553 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
LiqController3D
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-08-22 */ contract UniswapV2Router02 { function addLiquidityETH ( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint, uint, uint); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); address public WETH; } interface IUniswapV2ERC20 { function balanceOf(address owner) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); } contract LiqController3D { uint constant rate = 1; uint lastClaim; address routerAddr = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address tokenAddr; address owner; UniswapV2Router02 router; IUniswapV2ERC20 liq; constructor(address _tokenAddr, address _poolAddr) public { owner = tx.origin; lastClaim = now; tokenAddr = _tokenAddr; router = UniswapV2Router02(routerAddr); liq = IUniswapV2ERC20(_poolAddr); } function removeLiq(uint _withdrawType) external { require(msg.sender==owner); require(now - lastClaim > 1 days); require(_withdrawType==1 || _withdrawType==2, 'Invalid Withdraw Type'); uint bal = liq.balanceOf(address(this)); uint liqAmount; if (bal < 100){ liqAmount = bal; } // Collect remaining dust else { liqAmount = (bal * rate) / 100; } if (_withdrawType == 1) { router.removeLiquidityETH(tokenAddr, liqAmount, 1, 1, owner, now); } else if (_withdrawType == 2) { liq.transfer(owner, liqAmount); } lastClaim = now; } function approveLiqTokens() external { liq.approve(routerAddr, uint(-1)); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_tokenAddr","type":"address"},{"internalType":"address","name":"_poolAddr","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"constant":false,"inputs":[],"name":"approveLiqTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_withdrawType","type":"uint256"}],"name":"removeLiq","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052737a250d5630b4cf539739df2c5dacb4c659f2488d600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561006557600080fd5b5060405161084e38038061084e8339818101604052604081101561008857600080fd5b81019080805190602001909291908051906020019092919050505032600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504260008190555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505061066d806101e16000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806316db342f1461003b578063a00cdf1914610069575b600080fd5b6100676004803603602081101561005157600080fd5b8101908080359060200190929190505050610073565b005b61007161050f565b005b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146100cd57600080fd5b620151806000544203116100e057600080fd5b60018114806100ef5750600281145b610161576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f496e76616c69642057697468647261772054797065000000000000000000000081525060200191505060405180910390fd5b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561020257600080fd5b505afa158015610216573d6000803e3d6000fd5b505050506040513d602081101561022c57600080fd5b810190808051906020019092919050505090506000606482101561025257819050610263565b6064600183028161025f57fe5b0490505b60018314156103f157600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302751cec600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683600180600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518763ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200196505050505050506040805180830381600087803b1580156103a557600080fd5b505af11580156103b9573d6000803e3d6000fd5b505050506040513d60408110156103cf57600080fd5b8101908080519060200190929190805190602001909291905050505050610503565b600283141561050257600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156104c557600080fd5b505af11580156104d9573d6000803e3d6000fd5b505050506040513d60208110156104ef57600080fd5b8101908080519060200190929190505050505b5b42600081905550505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156105fa57600080fd5b505af115801561060e573d6000803e3d6000fd5b505050506040513d602081101561062457600080fd5b81019080805190602001909291905050505056fea265627a7a72315820b57ae9bcfec2c50357ec43cbf66427b9abb25d97369a97a74292fc283a99213564736f6c634300051100320000000000000000000000003d3d35bb9bec23b06ca00fe472b50e7a4c692c30000000000000000000000000da3706c9a099077e6bc389d1baf918565212a54d
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100365760003560e01c806316db342f1461003b578063a00cdf1914610069575b600080fd5b6100676004803603602081101561005157600080fd5b8101908080359060200190929190505050610073565b005b61007161050f565b005b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146100cd57600080fd5b620151806000544203116100e057600080fd5b60018114806100ef5750600281145b610161576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f496e76616c69642057697468647261772054797065000000000000000000000081525060200191505060405180910390fd5b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561020257600080fd5b505afa158015610216573d6000803e3d6000fd5b505050506040513d602081101561022c57600080fd5b810190808051906020019092919050505090506000606482101561025257819050610263565b6064600183028161025f57fe5b0490505b60018314156103f157600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302751cec600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683600180600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518763ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200196505050505050506040805180830381600087803b1580156103a557600080fd5b505af11580156103b9573d6000803e3d6000fd5b505050506040513d60408110156103cf57600080fd5b8101908080519060200190929190805190602001909291905050505050610503565b600283141561050257600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156104c557600080fd5b505af11580156104d9573d6000803e3d6000fd5b505050506040513d60208110156104ef57600080fd5b8101908080519060200190929190505050505b5b42600081905550505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156105fa57600080fd5b505af115801561060e573d6000803e3d6000fd5b505050506040513d602081101561062457600080fd5b81019080805190602001909291905050505056fea265627a7a72315820b57ae9bcfec2c50357ec43cbf66427b9abb25d97369a97a74292fc283a99213564736f6c63430005110032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003d3d35bb9bec23b06ca00fe472b50e7a4c692c30000000000000000000000000da3706c9a099077e6bc389d1baf918565212a54d
-----Decoded View---------------
Arg [0] : _tokenAddr (address): 0x3D3D35bb9bEC23b06Ca00fe472b50E7A4c692C30
Arg [1] : _poolAddr (address): 0xDA3706c9A099077e6BC389D1baf918565212A54D
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000003d3d35bb9bec23b06ca00fe472b50e7a4c692c30
Arg [1] : 000000000000000000000000da3706c9a099077e6bc389d1baf918565212a54d
Deployed Bytecode Sourcemap
805:1297:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;805:1297:0;;;;;;;;;;;;;;;;;;;;;;;;1318:684;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1318:684:0;;;;;;;;;;;;;;;;;:::i;:::-;;2010:89;;;:::i;:::-;;1318:684;1397:5;;;;;;;;;;;1385:17;;:10;:17;;;1377:26;;;;;;1440:6;1428:9;;1422:3;:15;:24;1414:33;;;;;;1481:1;1466:13;:16;:36;;;;1501:1;1486:13;:16;1466:36;1458:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1549:8;1560:3;;;;;;;;;;;:13;;;1582:4;1560:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1560:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1560:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1560:28:0;;;;;;;;;;;;;;;;1549:39;;1599:14;1636:3;1630;:9;1626:111;;;1654:3;1642:15;;1626:111;;;1731:3;858:1;1717:3;:10;1716:18;;;;;;1704:30;;1626:111;1770:1;1753:13;:18;1749:218;;;1788:6;;;;;;;;;;;:25;;;1814:9;;;;;;;;;;;1825;1836:1;1839;1842:5;;;;;;;;;;;1849:3;1788:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1788:65:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1788:65:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1788:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;1749:218;;;1903:1;1886:13;:18;1882:85;;;1922:3;;;;;;;;;;;:12;;;1935:5;;;;;;;;;;;1942:9;1922:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1922:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1922:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1922:30:0;;;;;;;;;;;;;;;;;1882:85;1749:218;1991:3;1979:9;:15;;;;1318:684;;;:::o;2010:89::-;2058:3;;;;;;;;;;;:11;;;2070:10;;;;;;;;;;;2087:2;2058:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2058:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2058:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2058:33:0;;;;;;;;;;;;;;;;;2010:89::o
Swarm Source
bzzr://b57ae9bcfec2c50357ec43cbf66427b9abb25d97369a97a74292fc283a992135
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.