Contract 0x0570B8fB23d6B295a2a57aDc58e6590a8C8B5284 1

 
 
Txn Hash
Method
Block
From
To
Value
0x99b444b22cdf272ddf137ac06739e7280dd45fc2f4103c9ed0d1a3fcb7aa8465Remove Liq151167252022-07-10 19:19:4731 days 18 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍01101682 61.‍83806808
0xbfa640b9dc42781795fc74cd0d5ec6acab9da66a0f864e596b18fcfd2aa75899Remove Liq148496592022-05-26 18:57:4276 days 19 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍01715379 96.‍28526309
0x5c3c0b6d68df52a10a9ef988e622501f615fe3d22cf22a27d3517724a584839aRemove Liq147312992022-05-07 18:07:3095 days 19 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0061348 34.‍43501089
0xc96f9fdb70cb51734277c0acf7d8cf3bd996f796ec1f2af110d8f3d5747de27bRemove Liq145901872022-04-15 13:22:31118 days 40 mins ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍00202891 31.‍22843963
0x57a4a66092372736e198c6f568a12e3821cac6e26de7e29ae1a07ed25502e1e5Remove Liq144753522022-03-28 15:03:09135 days 22 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍01087739 61.‍05543417
0xcba73dfdbed2f7fae7ce21e94ce493b7fc70e5c9ec898ade90b40659e35297e1Remove Liq141134992022-01-31 11:56:59192 days 2 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0166183 93.‍27948981
0x8ea30aeb1d1f2b5559f4d0b859fd85d61473a8ad1e452b8a210ed7080860c355Remove Liq138634642021-12-23 20:04:06230 days 17 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍01615034 90.‍65283295
0xd423e912d4e20b893b0f7cb49ffa4682c8d04f07a907e4d39e8697c9b66189adRemove Liq133899602021-10-10 8:51:48305 days 5 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍00909329 51.‍04120036
0x239ea08f824881bdd44bd5534793dfb7a9bd75b648ef3a8f3a8939d16f7c8a57Remove Liq133356192021-10-01 20:31:27313 days 17 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍01779817 99.‍9021938
0x536dae02495bdbaba183b4820ea9aa6f7aba81062412cb2f1cf52ede5180c538Remove Liq133170332021-09-28 22:49:28316 days 15 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍01036083 58.‍15597429
0xc2a559d22bb8d7d9be6c27885b57a8c5c2d943ac62e6ec3120577eeedc59d8ffRemove Liq130027142021-08-11 8:08:23365 days 5 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0128272372
0xfe2c7f74d6754db076f26b335e4466fcd4f3a479519bd7abe46ecb9476b3a7bbRemove Liq129799392021-08-07 19:47:05368 days 18 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0092641152
0xee217aeb3fc71da4ca7048968b1977bba83ac56f1bfddee5cd22f1fd3112006aRemove Liq129663802021-08-05 17:46:51370 days 20 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍03242439182
0xf7ce0d5cc0deffef8e102a1ace4af820e8c934a088ff5b71b0c02b1b6fa24f15Remove Liq129515102021-08-03 9:31:14373 days 4 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0052864333
0x9f806e1b25ba1042ea32f5075878d4cae75781e4bbbfd06121cfeade61423b27Remove Liq129420952021-08-01 21:42:43374 days 16 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0060874138
0x40b4f93bf4ba9ce38df0aa5568a742a12b791e8c12d82bac2f27c24ad112e0d8Remove Liq126542492021-06-17 21:00:11419 days 17 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0028835118
0x9f43da77fee283bce8996ba3eedcfdfff54a9eed2edfffff365e7bb1f39756d1Remove Liq126392332021-06-15 13:14:15422 days 48 mins ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0035242922
0x6dbe3f556159b8feed3882518bde1db76605f0babf180798f1369d71357b1fe0Remove Liq126283552021-06-13 20:46:21423 days 17 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0036844823
0xb6ac7278a45e69855998948255a9eae3ab57ccfa29cb65a2969b5db2991ff5e3Remove Liq126193572021-06-12 11:21:34425 days 2 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0028835118
0x4c0bf0d82f2833acdc34b32d735351e8e722d0fa673ca0621e5e30bd6afa2853Remove Liq126082602021-06-10 17:56:37426 days 20 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0049660431
0x7b68138007c26852f476a2a0f44b54d2b037e111ad85dfad4c004ba942cf0f20Remove Liq125993702021-06-09 8:43:36428 days 5 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0025631216
0x9f0a517496cbec46429e4ba7968114542c26b46ea1277441e652caea3c5393faRemove Liq125706382021-06-04 22:09:12432 days 15 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍003203920
0x4fd48c4f360c48ffeefe4132d63975ccba7b039fc393525af34a88c8010fea26Remove Liq125574882021-06-02 21:17:40434 days 16 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0038446824
0x8ade522c56f64246dfea14fd4d274bffcf1619b1dd7507b0f3aa9325d69b95ceRemove Liq125502742021-06-01 18:43:36435 days 19 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0070485844
0x0415773c8934d927de89bbf3e9ac021df6434cbc55f446f0c85bd5bb945e137cRemove Liq125374672021-05-30 19:06:13437 days 18 hrs ago0x3d4bc6b5442ff605a7b705b5b4ee150a3953d9e9 IN  0x0570b8fb23d6b295a2a57adc58e6590a8c8b52840 Ether0.‍0054466334
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x669c48efdacba9e63d50883467eef692c4d6798be66d1cad1b178be3a150fa1d107126452020-08-22 21:59:56718 days 16 hrs ago Team3d: Deployer 1  Contract Creation0 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LiqController3D

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *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

Contract ABI

[{"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"}]

6080604052737a250d5630b4cf539739df2c5dacb4c659f2488d600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561006557600080fd5b5060405161084e38038061084e8339818101604052604081101561008857600080fd5b81019080805190602001909291908051906020019092919050505032600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504260008190555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505061066d806101e16000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806316db342f1461003b578063a00cdf1914610069575b600080fd5b6100676004803603602081101561005157600080fd5b8101908080359060200190929190505050610073565b005b61007161050f565b005b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146100cd57600080fd5b620151806000544203116100e057600080fd5b60018114806100ef5750600281145b610161576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f496e76616c69642057697468647261772054797065000000000000000000000081525060200191505060405180910390fd5b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561020257600080fd5b505afa158015610216573d6000803e3d6000fd5b505050506040513d602081101561022c57600080fd5b810190808051906020019092919050505090506000606482101561025257819050610263565b6064600183028161025f57fe5b0490505b60018314156103f157600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302751cec600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683600180600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518763ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200196505050505050506040805180830381600087803b1580156103a557600080fd5b505af11580156103b9573d6000803e3d6000fd5b505050506040513d60408110156103cf57600080fd5b8101908080519060200190929190805190602001909291905050505050610503565b600283141561050257600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156104c557600080fd5b505af11580156104d9573d6000803e3d6000fd5b505050506040513d60208110156104ef57600080fd5b8101908080519060200190929190505050505b5b42600081905550505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156105fa57600080fd5b505af115801561060e573d6000803e3d6000fd5b505050506040513d602081101561062457600080fd5b81019080805190602001909291905050505056fea265627a7a72315820b57ae9bcfec2c50357ec43cbf66427b9abb25d97369a97a74292fc283a99213564736f6c634300051100320000000000000000000000003d3d35bb9bec23b06ca00fe472b50e7a4c692c30000000000000000000000000da3706c9a099077e6bc389d1baf918565212a54d

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
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.