Source Code
Latest 25 from a total of 386 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Sweep All | 15565118 | 1260 days ago | IN | 0 ETH | 0.00014166 | ||||
| Sweep All | 15565116 | 1260 days ago | IN | 0 ETH | 0.00016827 | ||||
| Transfer | 15547237 | 1263 days ago | IN | 0.00580912 ETH | 0.00037982 | ||||
| Transfer | 15516386 | 1268 days ago | IN | 0.04966975 ETH | 0.00025634 | ||||
| Transfer | 15483156 | 1273 days ago | IN | 0.04977119 ETH | 0.00020965 | ||||
| Transfer | 15450678 | 1278 days ago | IN | 0.20013221 ETH | 0.00027226 | ||||
| Transfer | 15297285 | 1303 days ago | IN | 0.20014663 ETH | 0.00021373 | ||||
| Sweep All | 15247434 | 1310 days ago | IN | 0 ETH | 0.00016838 | ||||
| Transfer | 15129836 | 1329 days ago | IN | 0.20002046 ETH | 0.00068297 | ||||
| Transfer | 14962710 | 1357 days ago | IN | 0.20017911 ETH | 0.00124827 | ||||
| Transfer | 14791159 | 1385 days ago | IN | 0.20015467 ETH | 0.00068829 | ||||
| Sweep All | 14622716 | 1412 days ago | IN | 0 ETH | 0.00229762 | ||||
| Transfer | 14619378 | 1412 days ago | IN | 0.20000836 ETH | 0.00128344 | ||||
| Transfer | 14537436 | 1425 days ago | IN | 0.11005137 ETH | 0.0007364 | ||||
| Transfer | 14466213 | 1436 days ago | IN | 0.11338073 ETH | 0.00037872 | ||||
| Transfer | 14351656 | 1454 days ago | IN | 0.09214859 ETH | 0.00066059 | ||||
| Transfer | 14279250 | 1465 days ago | IN | 0.19841304 ETH | 0.00154503 | ||||
| Transfer | 14146519 | 1486 days ago | IN | 0.19955693 ETH | 0.00086272 | ||||
| Transfer | 14021391 | 1505 days ago | IN | 0.20478069 ETH | 0.00178156 | ||||
| Sweep All | 13917721 | 1521 days ago | IN | 0 ETH | 0.004145 | ||||
| Transfer | 13896719 | 1524 days ago | IN | 0.19842401 ETH | 0.00158302 | ||||
| Transfer | 13779686 | 1543 days ago | IN | 0.19845237 ETH | 0.00158878 | ||||
| Transfer | 13669718 | 1560 days ago | IN | 0.20626838 ETH | 0.00179577 | ||||
| Transfer | 13560911 | 1577 days ago | IN | 0.24203844 ETH | 0.00175285 | ||||
| Transfer | 13442952 | 1596 days ago | IN | 0.22000703 ETH | 0.00170534 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 15565116 | 1260 days ago | 0.50552893 ETH | ||||
| Transfer | 15247434 | 1310 days ago | 0.60035426 ETH | ||||
| - | 14622716 | 1412 days ago | 1.11833973 ETH | ||||
| - | 13917721 | 1521 days ago | 1.06519025 ETH | ||||
| - | 13436532 | 1597 days ago | 1.65343131 ETH | ||||
| - | 13154600 | 1641 days ago | 1.43447734 ETH | ||||
| - | 12566889 | 1732 days ago | 1.40126979 ETH | ||||
| - | 12258934 | 1780 days ago | 0.60053136 ETH | ||||
| - | 12163795 | 1794 days ago | 0.79468073 ETH | ||||
| - | 11988265 | 1821 days ago | 0.80117406 ETH | ||||
| - | 11857673 | 1841 days ago | 0.74911475 ETH | ||||
| - | 11767504 | 1855 days ago | 0.79555873 ETH | ||||
| - | 11668967 | 1870 days ago | 0.61429463 ETH | ||||
| - | 11605482 | 1880 days ago | 1.14445325 ETH | ||||
| - | 11589720 | 1883 days ago | 1.00340543 ETH | ||||
| - | 11488011 | 1898 days ago | 1.17973581 ETH | ||||
| - | 11344138 | 1920 days ago | 0.7938538 ETH | ||||
| - | 11244314 | 1936 days ago | 1.00621815 ETH | ||||
| - | 11103425 | 1957 days ago | 1.12103125 ETH | ||||
| - | 10965211 | 1979 days ago | 1.01916532 ETH | ||||
| - | 10856486 | 1995 days ago | 1.70017011 ETH | ||||
| - | 10697650 | 2020 days ago | 1.20167908 ETH | ||||
| - | 10564932 | 2040 days ago | 1.02714072 ETH | ||||
| - | 9794934 | 2160 days ago | 1.05118836 ETH | ||||
| - | 9469806 | 2210 days ago | 0.90163057 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xF2f313A4...Fd1BF0dA9 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
UserWallet
Compiler Version
v0.4.24+commit.e67f0147
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2021-02-27
*/
pragma solidity ^0.4.24;
contract AbstractSweeper {
function sweepAll(address token) public returns (bool);
function() public { revert(); }
Controller controller;
constructor(address _controller) public {
controller = Controller(_controller);
}
modifier canSweep() {
if(msg.sender != controller.authorizedCaller() && msg.sender != controller.owner()){ revert(); }
if(controller.halted()){ revert(); }
_;
}
}
contract Token {
function balanceOf(address a) public pure returns (uint) {
(a);
return 0;
}
function transfer(address a, uint val) public pure returns (bool) {
(a);
(val);
return false;
}
}
contract DefaultSweeper is AbstractSweeper {
constructor(address controller) AbstractSweeper(controller) public { }
function sweepAll(address _token) public canSweep returns (bool) {
bool success = false;
address destination = controller.destination();
if(_token != address(0)){
Token token = Token(_token);
success = token.transfer(destination, token.balanceOf(this));
}else{
success = destination.send(address(this).balance);
}
return success;
}
}
contract UserWallet {
AbstractSweeperList sweeperList;
constructor(address _sweeperlist) public {
sweeperList = AbstractSweeperList(_sweeperlist);
}
function() public payable { }
function tokenFallback(address _from, uint _value, bytes _data) public pure {
(_from);
(_value);
(_data);
}
function sweepAll(address _token) public returns (bool) {
return sweeperList.sweeperOf(_token).delegatecall(msg.data);
}
}
contract AbstractSweeperList {
function sweeperOf(address _token) public returns (address);
}
contract Controller is AbstractSweeperList {
address public owner;
address public authorizedCaller;
address public destination;
bool public halted;
event NewWalletCreated(address receiver);
modifier onlyOwner() {
if(msg.sender != owner){ revert(); }
_;
}
modifier onlyAuthorizedCaller() {
if(msg.sender != authorizedCaller){ revert(); }
_;
}
modifier onlyAdmins() {
if(msg.sender != authorizedCaller && msg.sender != owner){ revert(); }
_;
}
constructor() public {
owner = msg.sender;
destination = msg.sender;
authorizedCaller = msg.sender;
}
function setAuthorizedCaller(address _newCaller) public onlyOwner {
authorizedCaller = _newCaller;
}
function setDestination(address _dest) public onlyOwner {
destination = _dest;
}
function setOwner(address _owner) public onlyOwner {
owner = _owner;
}
function newWallet() public onlyAdmins returns (address wallet) {
wallet = address(new UserWallet(this));
emit NewWalletCreated(wallet);
}
function halt() public onlyAdmins {
halted = true;
}
function start() public onlyOwner {
halted = false;
}
address public defaultSweeper = address(new DefaultSweeper(this));
mapping (address => address) sweepers;
function addSweeper(address _token, address _sweeper) public onlyOwner {
sweepers[_token] = _sweeper;
}
function sweeperOf(address _token) public returns (address) {
address sweeper = sweepers[_token];
if(sweeper == 0){ sweeper = defaultSweeper; }
return sweeper;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":true,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"tokenFallback","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"sweepAll","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_sweeperlist","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]Contract Creation Code
0x608060405234801561001057600080fd5b5060405160208061026e833981016040525160008054600160a060020a03909216600160a060020a031990921691909117905561021c806100526000396000f30060806040526004361061004b5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663c0ee0b8a811461004d578063c18cfe86146100c3575b005b34801561005957600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261004b94823573ffffffffffffffffffffffffffffffffffffffff169460248035953695946064949201919081908401838280828437509497506101059650505050505050565b3480156100cf57600080fd5b506100f173ffffffffffffffffffffffffffffffffffffffff6004351661010a565b604080519115158252519081900360200190f35b505050565b60008054604080517f3c18d31800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015291519190921691633c18d31891602480830192602092919082900301818787803b15801561017f57600080fd5b505af1158015610193573d6000803e3d6000fd5b505050506040513d60208110156101a957600080fd5b505160405173ffffffffffffffffffffffffffffffffffffffff90911690600090369080838380828437820191505092505050600060405180830381855af49493505050505600a165627a7a72305820ec90d4e55fb69f839fa555767145d6ac7a8f1aa98ed098b09c220c4a34f02ba100290000000000000000000000007142eb34d2220152dedc5868745079bc6ffa0fdd
Deployed Bytecode
0x60806040526004361061004b5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663c0ee0b8a811461004d578063c18cfe86146100c3575b005b34801561005957600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261004b94823573ffffffffffffffffffffffffffffffffffffffff169460248035953695946064949201919081908401838280828437509497506101059650505050505050565b3480156100cf57600080fd5b506100f173ffffffffffffffffffffffffffffffffffffffff6004351661010a565b604080519115158252519081900360200190f35b505050565b60008054604080517f3c18d31800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015291519190921691633c18d31891602480830192602092919082900301818787803b15801561017f57600080fd5b505af1158015610193573d6000803e3d6000fd5b505050506040513d60208110156101a957600080fd5b505160405173ffffffffffffffffffffffffffffffffffffffff90911690600090369080838380828437820191505092505050600060405180830381855af49493505050505600a165627a7a72305820ec90d4e55fb69f839fa555767145d6ac7a8f1aa98ed098b09c220c4a34f02ba10029
Deployed Bytecode Sourcemap
1322:501:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;1539:139;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1539:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1539:139:0;;-1:-1:-1;1539:139:0;;-1:-1:-1;;;;;;;1539:139:0;1686:134;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1686:134:0;;;;;;;;;;;;;;;;;;;;;;;;;1539:139;;;;:::o;1686:134::-;1736:4;1760:11;;:29;;;;;;:11;:29;;;;;;;;;:11;;;;;:21;;:29;;;;;;;;;;;;;;1736:4;1760:11;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;1760:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1760:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1760:29:0;:52;;:42;;;;;1803:8;;;;1760:52;1803:8;;;;1760:52;;;;;;;;;;;;;;;;;;;;;;1686:134;-1:-1:-1;;;;1686:134:0:o
Swarm Source
bzzr://ec90d4e55fb69f839fa555767145d6ac7a8f1aa98ed098b09c220c4a34f02ba1
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.