ETH Price: $3,267.56 (+1.88%)

Contract

0x0570B8fB23d6B295a2a57aDc58e6590a8C8B5284
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Remove Liq215820862025-01-08 20:15:472 days ago1736367347IN
0x0570B8fB...a8C8B5284
0 ETH0.0036008820.21195732
Remove Liq215627492025-01-06 3:29:354 days ago1736134175IN
0x0570B8fB...a8C8B5284
0 ETH0.001209826.79080428
Remove Liq215113602024-12-29 23:17:4711 days ago1735514267IN
0x0570B8fB...a8C8B5284
0 ETH0.000861874.83776331
Remove Liq215039022024-12-28 22:19:1112 days ago1735424351IN
0x0570B8fB...a8C8B5284
0 ETH0.000872134.89535029
Remove Liq214812362024-12-25 18:20:2316 days ago1735150823IN
0x0570B8fB...a8C8B5284
0 ETH0.001151896.46567449
Remove Liq214592682024-12-22 16:36:1119 days ago1734885371IN
0x0570B8fB...a8C8B5284
0 ETH0.001597588.96732403
Remove Liq214515372024-12-21 14:39:3520 days ago1734791975IN
0x0570B8fB...a8C8B5284
0 ETH0.0020001211.22680126
Remove Liq214318252024-12-18 20:33:1123 days ago1734553991IN
0x0570B8fB...a8C8B5284
0 ETH0.0101349956.88831779
Remove Liq214239312024-12-17 18:04:5924 days ago1734458699IN
0x0570B8fB...a8C8B5284
0 ETH0.005127628.78155755
Remove Liq214166912024-12-16 17:51:3525 days ago1734371495IN
0x0570B8fB...a8C8B5284
0 ETH0.0060106833.73835148
Remove Liq213105562024-12-01 22:09:3539 days ago1733090975IN
0x0570B8fB...a8C8B5284
0 ETH0.0034627219.43647068
Remove Liq212761182024-11-27 2:31:2344 days ago1732674683IN
0x0570B8fB...a8C8B5284
0 ETH0.0015598.75077953
Remove Liq212447432024-11-22 17:24:4749 days ago1732296287IN
0x0570B8fB...a8C8B5284
0 ETH0.0025909714.5432671
Remove Liq211806622024-11-13 18:48:3558 days ago1731523715IN
0x0570B8fB...a8C8B5284
0 ETH0.01845749103.60298494
Remove Liq211705232024-11-12 8:51:3559 days ago1731401495IN
0x0570B8fB...a8C8B5284
0 ETH0.00486127.28511599
Remove Liq210663122024-10-28 19:46:5974 days ago1730144819IN
0x0570B8fB...a8C8B5284
0 ETH0.0025206514.14859626
Remove Liq210204122024-10-22 10:05:5980 days ago1729591559IN
0x0570B8fB...a8C8B5284
0 ETH0.001483768.32845974
Remove Liq208504992024-09-28 17:02:23104 days ago1727542943IN
0x0570B8fB...a8C8B5284
0 ETH0.00144888.13222634
Remove Liq207970902024-09-21 6:13:23111 days ago1726899203IN
0x0570B8fB...a8C8B5284
0 ETH0.0018652510.46980919
Remove Liq206272042024-08-28 12:51:47135 days ago1724849507IN
0x0570B8fB...a8C8B5284
0 ETH0.000767164.30616131
Remove Liq205859972024-08-22 18:40:35141 days ago1724352035IN
0x0570B8fB...a8C8B5284
0 ETH0.000296871.5475686
Remove Liq205633622024-08-19 14:46:47144 days ago1724078807IN
0x0570B8fB...a8C8B5284
0 ETH0.000795384.46453258
Remove Liq204047032024-07-28 11:19:23166 days ago1722165563IN
0x0570B8fB...a8C8B5284
0 ETH0.000362892.0369319
Remove Liq172959312023-05-19 20:34:59602 days ago1684528499IN
0x0570B8fB...a8C8B5284
0 ETH0.0091653951.44590258
Remove Liq172601622023-05-14 19:27:35607 days ago1684092455IN
0x0570B8fB...a8C8B5284
0 ETH0.0069414538.9627851
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
107126452020-08-22 21:59:561601 days ago1598133596  Contract Creation0 ETH
Loading...
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

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

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.