ETH Price: $2,514.95 (-0.56%)

Contract

0x0537e9b7FDb0601DcBbeF5ab9b2C7D3CE429b663
 
Transaction Hash
Method
Block
From
To
Sweep186123462023-11-20 10:16:47283 days ago1700475407IN
0x0537e9b7...CE429b663
0 ETH0.002777137.42724906
Sweep186122712023-11-20 10:01:35283 days ago1700474495IN
0x0537e9b7...CE429b663
0 ETH0.0027784637.45173849
Sweep186118152023-11-20 8:29:35283 days ago1700468975IN
0x0537e9b7...CE429b663
0 ETH0.0028638245.98449516
Sweep185936142023-11-17 19:14:35286 days ago1700248475IN
0x0537e9b7...CE429b663
0 ETH0.0031773542.82154094
Sweep185766762023-11-15 10:24:23288 days ago1700043863IN
0x0537e9b7...CE429b663
0 ETH0.0016975530
Transfer185766582023-11-15 10:20:47288 days ago1700043647IN
0x0537e9b7...CE429b663
14.877 ETH0.0005025623.87368722
Sweep185766212023-11-15 10:13:23288 days ago1700043203IN
0x0537e9b7...CE429b663
0 ETH0.0017648831.18991995
Transfer185766072023-11-15 10:10:11288 days ago1700043011IN
0x0537e9b7...CE429b663
0.11461199 ETH0.0006493330.84596922
Sweep185531992023-11-12 3:37:35291 days ago1699760255IN
0x0537e9b7...CE429b663
0 ETH0.0020036730
Sweep185531222023-11-12 3:22:11291 days ago1699759331IN
0x0537e9b7...CE429b663
0 ETH0.0020033130
Sweep185342642023-11-09 12:03:11294 days ago1699531391IN
0x0537e9b7...CE429b663
0 ETH0.0024642743.55918705
Transfer185342482023-11-09 11:59:59294 days ago1699531199IN
0x0537e9b7...CE429b663
15 ETH0.0007168334.05232891
Sweep185312662023-11-09 1:58:23295 days ago1699495103IN
0x0537e9b7...CE429b663
0 ETH0.0023406431.50817012
Sweep185236032023-11-08 0:16:35296 days ago1699402595IN
0x0537e9b7...CE429b663
0 ETH0.0023086731.11427494
Sweep185205282023-11-07 13:58:59296 days ago1699365539IN
0x0537e9b7...CE429b663
0 ETH0.0021684338.32987296
Transfer185205082023-11-07 13:54:59296 days ago1699365299IN
0x0537e9b7...CE429b663
10 ETH0.0007832937.20917041
Sweep185204732023-11-07 13:47:59296 days ago1699364879IN
0x0537e9b7...CE429b663
0 ETH0.0032979650.30369913
Sweep185204512023-11-07 13:43:35296 days ago1699364615IN
0x0537e9b7...CE429b663
0 ETH0.0033336553.58717178
Sweep185204292023-11-07 13:38:59296 days ago1699364339IN
0x0537e9b7...CE429b663
0 ETH0.0036486249.11519959
Sweep185201392023-11-07 12:40:35296 days ago1699360835IN
0x0537e9b7...CE429b663
0 ETH0.001866330
Sweep185186462023-11-07 7:40:35296 days ago1699342835IN
0x0537e9b7...CE429b663
0 ETH0.0016971930
Sweep185186362023-11-07 7:38:23296 days ago1699342703IN
0x0537e9b7...CE429b663
0 ETH0.0022289730
Transfer185186242023-11-07 7:35:59296 days ago1699342559IN
0x0537e9b7...CE429b663
10 ETH0.0004648422.08175693
Sweep185185562023-11-07 7:22:23296 days ago1699341743IN
0x0537e9b7...CE429b663
0 ETH0.0022289730
Sweep185184372023-11-07 6:57:47296 days ago1699340267IN
0x0537e9b7...CE429b663
0 ETH0.00222630
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
185766762023-11-15 10:24:23288 days ago1700043863
0x0537e9b7...CE429b663
14.877 ETH
185766212023-11-15 10:13:23288 days ago1700043203
0x0537e9b7...CE429b663
0.11461199 ETH
185342642023-11-09 12:03:11294 days ago1699531391
0x0537e9b7...CE429b663
15 ETH
185205282023-11-07 13:58:59296 days ago1699365539
0x0537e9b7...CE429b663
10 ETH
185186462023-11-07 7:40:35296 days ago1699342835
0x0537e9b7...CE429b663
10 ETH
185182642023-11-07 6:22:47296 days ago1699338167
0x0537e9b7...CE429b663
10 ETH
185176392023-11-07 4:16:23296 days ago1699330583
0x0537e9b7...CE429b663
10 ETH
184849582023-11-02 14:22:35301 days ago1698934955
0x0537e9b7...CE429b663
10 ETH
184824432023-11-02 5:53:11301 days ago1698904391
0x0537e9b7...CE429b663
10 ETH
184781182023-11-01 15:21:59302 days ago1698852119
0x0537e9b7...CE429b663
10 ETH
184773802023-11-01 12:53:59302 days ago1698843239
0x0537e9b7...CE429b663
10 ETH
184725472023-10-31 20:39:47303 days ago1698784787
0x0537e9b7...CE429b663
10 ETH
184688522023-10-31 8:14:35303 days ago1698740075
0x0537e9b7...CE429b663
5.7 ETH
184687872023-10-31 8:01:23303 days ago1698739283
0x0537e9b7...CE429b663
5.7 ETH
184341072023-10-26 11:30:35308 days ago1698319835
0x0537e9b7...CE429b663
10 ETH
184331582023-10-26 8:19:11308 days ago1698308351
0x0537e9b7...CE429b663
10 ETH
184254412023-10-25 6:22:23309 days ago1698214943
0x0537e9b7...CE429b663
10 ETH
184202812023-10-24 13:01:11310 days ago1698152471
0x0537e9b7...CE429b663
5.9 ETH
184199662023-10-24 11:57:35310 days ago1698148655
0x0537e9b7...CE429b663
10 ETH
184086352023-10-22 21:52:47312 days ago1698011567
0x0537e9b7...CE429b663
10 ETH
183991932023-10-21 14:10:59313 days ago1697897459
0x0537e9b7...CE429b663
10 ETH
183989392023-10-21 13:20:11313 days ago1697894411
0x0537e9b7...CE429b663
10 ETH
183829612023-10-19 7:41:47315 days ago1697701307
0x0537e9b7...CE429b663
8.7 ETH
183733162023-10-17 23:17:23317 days ago1697584643
0x0537e9b7...CE429b663
6.7 ETH
183732522023-10-17 23:04:35317 days ago1697583875
0x0537e9b7...CE429b663
6.7 ETH
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xd1DD82d1...18D918504
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.11+commit.68ef5810

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-08-15
*/

pragma solidity ^0.4.10;

// Copyright 2017 Bittrex

contract AbstractSweeper {
    function sweep(address token, uint amount) returns (bool);

    function () { throw; }

    Controller controller;

    function AbstractSweeper(address _controller) {
        controller = Controller(_controller);
    }

    modifier canSweep() {
        if (msg.sender != controller.authorizedCaller() && msg.sender != controller.owner()) throw;
        if (controller.halted()) throw;
        _;
    }
}

contract Token {
    function balanceOf(address a) returns (uint) {
        (a);
        return 0;
    }

    function transfer(address a, uint val) returns (bool) {
        (a);
        (val);
        return false;
    }
}

contract DefaultSweeper is AbstractSweeper {
    function DefaultSweeper(address controller)
             AbstractSweeper(controller) {}

    function sweep(address _token, uint _amount)
    canSweep
    returns (bool) {
        bool success = false;
        address destination = controller.destination();

        if (_token != address(0)) {
            Token token = Token(_token);
            uint amount = _amount;
            if (amount > token.balanceOf(this)) {
                return false;
            }

            success = token.transfer(destination, amount);
        }
        else {
            uint amountInWei = _amount;
            if (amountInWei > this.balance) {
                return false;
            }

            success = destination.send(amountInWei);
        }

        if (success) {
            controller.logSweep(this, destination, _token, _amount);
        }
        return success;
    }
}

contract UserWallet {
    AbstractSweeperList sweeperList;
    function UserWallet(address _sweeperlist) {
        sweeperList = AbstractSweeperList(_sweeperlist);
    }

    function () public payable { }

    function tokenFallback(address _from, uint _value, bytes _data) {
        (_from);
        (_value);
        (_data);
     }

    function sweep(address _token, uint _amount)
    returns (bool) {
        (_amount);
        return sweeperList.sweeperOf(_token).delegatecall(msg.data);
    }
}

contract AbstractSweeperList {
    function sweeperOf(address _token) returns (address);
}

contract Controller is AbstractSweeperList {
    address public owner;
    address public authorizedCaller;

    address public destination;

    bool public halted;

    event LogNewWallet(address receiver);
    event LogSweep(address indexed from, address indexed to, address indexed token, uint amount);
    
    modifier onlyOwner() {
        if (msg.sender != owner) throw; 
        _;
    }

    modifier onlyAuthorizedCaller() {
        if (msg.sender != authorizedCaller) throw; 
        _;
    }

    modifier onlyAdmins() {
        if (msg.sender != authorizedCaller && msg.sender != owner) throw; 
        _;
    }

    function Controller() 
    {
        owner = msg.sender;
        destination = msg.sender;
        authorizedCaller = msg.sender;
    }

    function changeAuthorizedCaller(address _newCaller) onlyOwner {
        authorizedCaller = _newCaller;
    }

    function changeDestination(address _dest) onlyOwner {
        destination = _dest;
    }

    function changeOwner(address _owner) onlyOwner {
        owner = _owner;
    }

    function makeWallet() onlyAdmins returns (address wallet)  {
        wallet = address(new UserWallet(this));
        LogNewWallet(wallet);
    }

    function halt() onlyAdmins {
        halted = true;
    }

    function start() onlyOwner {
        halted = false;
    }

    address public defaultSweeper = address(new DefaultSweeper(this));
    mapping (address => address) sweepers;

    function addSweeper(address _token, address _sweeper) onlyOwner {
        sweepers[_token] = _sweeper;
    }

    function sweeperOf(address _token) returns (address) {
        address sweeper = sweepers[_token];
        if (sweeper == 0) sweeper = defaultSweeper;
        return sweeper;
    }

    function logSweep(address from, address to, address token, uint amount) {
        LogSweep(from, to, token, amount);
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_amount","type":"uint256"}],"name":"sweep","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"tokenFallback","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_sweeperlist","type":"address"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"}]

Deployed Bytecode

0x606060405236156100495763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416636ea056a98114610052578063c0ee0b8a14610092575b6100505b5b565b005b341561005a57fe5b61007e73ffffffffffffffffffffffffffffffffffffffff60043516602435610104565b604080519115158252519081900360200190f35b341561009a57fe5b604080516020600460443581810135601f810184900484028501840190955284845261005094823573ffffffffffffffffffffffffffffffffffffffff169460248035956064949293919092019181908401838280828437509496506101ef95505050505050565b005b6000805460408051602090810184905281517f3c18d31800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015292519290931692633c18d318926024808301939282900301818787803b151561017b57fe5b6102c65a03f1151561018957fe5b5050506040518051905073ffffffffffffffffffffffffffffffffffffffff1660003660006040516020015260405180838380828437820191505092505050602060405180830381856102c65a03f415156101e057fe5b50506040515190505b92915050565b5b5050505600a165627a7a723058204cdd69fdcf3cf6cbee9677fe380fa5f044048aa9e060ec5619a21ca5a5bd4cd10029

Swarm Source

bzzr://4cdd69fdcf3cf6cbee9677fe380fa5f044048aa9e060ec5619a21ca5a5bd4cd1

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.