ETH Price: $3,189.65 (-2.93%)

Contract

0x20985cf999A28829ed6d1F1f525D04d8435b91C1
 

Overview

ETH Balance

0.00270182 ETH

Eth Value

$8.62 (@ $3,189.65/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer168456462023-03-17 6:06:35607 days ago1679033195IN
0x20985cf9...8435b91C1
0.00270182 ETH0.000315615
Sweep All168098852023-03-12 5:31:23612 days ago1678599083IN
0x20985cf9...8435b91C1
0 ETH0.0009602918.4455
Transfer167524602023-03-04 3:37:35620 days ago1677901055IN
0x20985cf9...8435b91C1
0.00274044 ETH0.0003576817
Transfer162522272022-12-24 4:32:23690 days ago1671856343IN
0x20985cf9...8435b91C1
0.00275252 ETH0.0002524812
Transfer158586462022-10-30 4:59:59745 days ago1667105999IN
0x20985cf9...8435b91C1
0.00335668 ETH0.000147287
Transfer158012202022-10-22 4:21:23753 days ago1666412483IN
0x20985cf9...8435b91C1
0.00395015 ETH0.0003366416
Transfer156605672022-10-02 12:49:47772 days ago1664714987IN
0x20985cf9...8435b91C1
0.00783985 ETH0.00010525
Transfer154400952022-08-30 11:23:15806 days ago1661858595IN
0x20985cf9...8435b91C1
0.00461809 ETH0.0002945614
Transfer154275962022-08-28 11:43:42807 days ago1661687022IN
0x20985cf9...8435b91C1
0.00382458 ETH0.00052625
Transfer154275942022-08-28 11:43:17807 days ago1661686997IN
0x20985cf9...8435b91C1
0.00424132 ETH0.00052625
Transfer154028002022-08-24 12:01:49811 days ago1661342509IN
0x20985cf9...8435b91C1
0.0042411 ETH0.00052625
Transfer154027952022-08-24 12:00:47811 days ago1661342447IN
0x20985cf9...8435b91C1
0.0043785 ETH0.00052625
Transfer154027922022-08-24 12:00:11811 days ago1661342411IN
0x20985cf9...8435b91C1
0.0036764 ETH0.00052625
Transfer153939192022-08-23 2:16:31813 days ago1661220991IN
0x20985cf9...8435b91C1
0.00418663 ETH0.00052625
Transfer153879262022-08-22 3:31:13814 days ago1661139073IN
0x20985cf9...8435b91C1
0.00598877 ETH0.00052625
Transfer153879242022-08-22 3:30:28814 days ago1661139028IN
0x20985cf9...8435b91C1
0.00577687 ETH0.00052625
Transfer153806152022-08-20 23:50:33815 days ago1661039433IN
0x20985cf9...8435b91C1
0.00664299 ETH0.00052625
Transfer153591072022-08-17 13:58:39818 days ago1660744719IN
0x20985cf9...8435b91C1
0.00628745 ETH0.000420820
Transfer143582592022-03-10 9:17:20979 days ago1646903840IN
0x20985cf9...8435b91C1
0.01003064 ETH0.0004337720.65575177
Transfer143412322022-03-07 18:06:00981 days ago1646676360IN
0x20985cf9...8435b91C1
0.00929555 ETH0.0007698736.59099597
Transfer143249742022-03-05 5:20:47984 days ago1646457647IN
0x20985cf9...8435b91C1
0.00948114 ETH0.0005877327.9343512
Transfer143092932022-03-02 18:38:39986 days ago1646246319IN
0x20985cf9...8435b91C1
0.00867402 ETH0.001319262.70001403
Transfer142937982022-02-28 9:23:46989 days ago1646040226IN
0x20985cf9...8435b91C1
0.00934564 ETH0.0006006528.54802271
Transfer142770412022-02-25 19:04:47991 days ago1645815887IN
0x20985cf9...8435b91C1
0.00826486 ETH0.0014711869.92311174
Transfer142633642022-02-23 16:14:29993 days ago1645632869IN
0x20985cf9...8435b91C1
0.0082997 ETH0.0018971690.16936802
View all transactions

Latest 15 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
168098852023-03-12 5:31:23612 days ago1678599083
0x20985cf9...8435b91C1
0.44617194 ETH
136860262021-11-25 22:06:451083 days ago1637878005
0x20985cf9...8435b91C1
1.00297385 ETH
126915742021-06-23 16:57:421238 days ago1624467462
0x20985cf9...8435b91C1
1.07339197 ETH
121713172021-04-04 5:50:381319 days ago1617515438
0x20985cf9...8435b91C1
0.80060602 ETH
119572902021-03-02 6:50:171352 days ago1614667817
0x20985cf9...8435b91C1
0.75134825 ETH
117851252021-02-03 19:17:321378 days ago1612379852
0x20985cf9...8435b91C1
0.80128521 ETH
115047122020-12-22 17:42:031421 days ago1608658923
0x20985cf9...8435b91C1
1.00137102 ETH
111228522020-10-25 2:21:241480 days ago1603592484
0x20985cf9...8435b91C1
0.85156947 ETH
108761512020-09-16 23:40:311518 days ago1600299631
0x20985cf9...8435b91C1
1.3023903 ETH
104715702020-07-16 16:22:111580 days ago1594916531
0x20985cf9...8435b91C1
1.00526197 ETH
102091792020-06-06 1:06:101621 days ago1591405570
0x20985cf9...8435b91C1
1.65228931 ETH
97680902020-03-29 18:09:551689 days ago1585505395
0x20985cf9...8435b91C1
1.00137153 ETH
94436022020-02-08 18:03:371739 days ago1581185017
0x20985cf9...8435b91C1
1.05075611 ETH
89666322019-11-20 5:36:041820 days ago1574228164
0x20985cf9...8435b91C1
0.60674921 ETH
86853792019-10-06 0:39:451865 days ago1570322385  Contract Creation0 ETH
Loading...
Loading

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

Optimization Enabled:
Yes with 200 runs

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

Contract ABI

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

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

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.