ETH Price: $1,966.54 (-0.99%)

Contract

0x5c9825A7ec9f69fCA7A2d68D45BCbFd0855F329d
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Sweep128128822021-07-12 14:08:591699 days ago1626098939IN
0x5c9825A7...0855F329d
0 ETH0.0022775440.25
Transfer128128692021-07-12 14:05:581699 days ago1626098758IN
0x5c9825A7...0855F329d
0.221 ETH0.0009262444
Sweep107659822020-08-31 2:26:272015 days ago1598840787IN
0x5c9825A7...0855F329d
0 ETH0.00852316149.6000016
Transfer107659642020-08-31 2:24:252015 days ago1598840665IN
0x5c9825A7...0855F329d
2.51 ETH0.00359972171
Sweep104158082020-07-08 1:16:142069 days ago1594170974IN
0x5c9825A7...0855F329d
0 ETH0.0017091930
Transfer104157882020-07-08 1:10:562069 days ago1594170656IN
0x5c9825A7...0855F329d
1 ETH0.0004631222
Sweep103889562020-07-03 21:37:082073 days ago1593812228IN
0x5c9825A7...0855F329d
0 ETH0.0017946431.5
Transfer103889362020-07-03 21:33:242073 days ago1593812004IN
0x5c9825A7...0855F329d
0.9 ETH0.0005473226
Sweep101711402020-05-31 3:24:192107 days ago1590895459IN
0x5c9825A7...0855F329d
0 ETH0.002307440.5
Transfer101711272020-05-31 3:21:262107 days ago1590895286IN
0x5c9825A7...0855F329d
4 ETH0.0005894228
Sweep100602322020-05-13 21:20:352124 days ago1589404835IN
0x5c9825A7...0855F329d
0 ETH0.0012818922.5
Transfer100602152020-05-13 21:17:132124 days ago1589404633IN
0x5c9825A7...0855F329d
2 ETH0.0003368116
Sweep91239512019-12-18 4:37:072272 days ago1576643827IN
0x5c9825A7...0855F329d
0 ETH0.001253422
Transfer91239352019-12-18 4:33:112272 days ago1576643591IN
0x5c9825A7...0855F329d
2.25 ETH0.0002105110
Sweep74089832019-03-21 0:34:102544 days ago1553128450IN
0x5c9825A7...0855F329d
0 ETH0.0024996550
Transfer74089642019-03-21 0:29:212544 days ago1553128161IN
0x5c9825A7...0855F329d
1.4 ETH0.000105255
Sweep73734702019-03-15 12:06:312549 days ago1552651591IN
0x5c9825A7...0855F329d
0 ETH0.0024996550
Transfer73734562019-03-15 12:03:402549 days ago1552651420IN
0x5c9825A7...0855F329d
1.5 ETH0.00008424
Sweep73103802019-03-05 16:33:092559 days ago1551803589IN
0x5c9825A7...0855F329d
0 ETH0.0024996550
Transfer73103592019-03-05 16:29:532559 days ago1551803393IN
0x5c9825A7...0855F329d
0.95 ETH0.0002105110
Sweep72413902019-02-19 18:33:162573 days ago1550601196IN
0x5c9825A7...0855F329d
0 ETH0.0024996550
Transfer72413732019-02-19 18:27:032573 days ago1550600823IN
0x5c9825A7...0855F329d
2 ETH0.0002736613
Sweep71457722019-01-29 21:29:572594 days ago1548797397IN
0x5c9825A7...0855F329d
0 ETH0.0024996550
Transfer71457572019-01-29 21:25:022594 days ago1548797102IN
0x5c9825A7...0855F329d
1.35 ETH0.000147357
Sweep71397732019-01-28 15:58:182595 days ago1548691098IN
0x5c9825A7...0855F329d
0 ETH0.0024996550
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
-128128822021-07-12 14:08:591699 days ago1626098939
0x5c9825A7...0855F329d
0.221 ETH
-107659822020-08-31 2:26:272015 days ago1598840787
0x5c9825A7...0855F329d
2.51 ETH
-104158082020-07-08 1:16:142069 days ago1594170974
0x5c9825A7...0855F329d
1 ETH
-103889562020-07-03 21:37:082073 days ago1593812228
0x5c9825A7...0855F329d
0.9 ETH
-101711402020-05-31 3:24:192107 days ago1590895459
0x5c9825A7...0855F329d
4 ETH
-100602322020-05-13 21:20:352124 days ago1589404835
0x5c9825A7...0855F329d
2 ETH
-91239512019-12-18 4:37:072272 days ago1576643827
0x5c9825A7...0855F329d
2.25 ETH
-74089832019-03-21 0:34:102544 days ago1553128450
0x5c9825A7...0855F329d
1.4 ETH
-73734702019-03-15 12:06:312549 days ago1552651591
0x5c9825A7...0855F329d
1.5 ETH
-73103802019-03-05 16:33:092559 days ago1551803589
0x5c9825A7...0855F329d
0.95 ETH
-72413902019-02-19 18:33:162573 days ago1550601196
0x5c9825A7...0855F329d
2 ETH
-71457722019-01-29 21:29:572594 days ago1548797397
0x5c9825A7...0855F329d
1.35 ETH
-71397732019-01-28 15:58:182595 days ago1548691098
0x5c9825A7...0855F329d
2.87 ETH
-71220652019-01-25 3:21:332599 days ago1548386493
0x5c9825A7...0855F329d
1.27 ETH
-71162222019-01-23 23:53:142600 days ago1548287594
0x5c9825A7...0855F329d
4.1 ETH
-71091252019-01-22 14:04:532601 days ago1548165893
0x5c9825A7...0855F329d
4.84 ETH
-71040132019-01-21 13:56:272602 days ago1548078987
0x5c9825A7...0855F329d
3.25 ETH
-70887082019-01-18 19:23:172605 days ago1547839397
0x5c9825A7...0855F329d
3.37 ETH
-70770642019-01-16 17:19:312607 days ago1547659171
0x5c9825A7...0855F329d
10.01 ETH
-70768842019-01-16 16:31:112607 days ago1547656271
0x5c9825A7...0855F329d
1.01 ETH
-70725582019-01-15 21:51:452608 days ago1547589105
0x5c9825A7...0855F329d
0.11 ETH
-70454902019-01-11 1:38:332613 days ago1547170713
0x5c9825A7...0855F329d
1.5 ETH
-70443062019-01-10 20:39:212613 days ago1547152761
0x5c9825A7...0855F329d
1.5 ETH
Transfer67777062018-11-26 18:40:232658 days ago1543257623
0x5c9825A7...0855F329d
9.01 ETH
Transfer67125912018-11-16 2:34:562669 days ago1542335696
0x5c9825A7...0855F329d
5.01 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

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

Contract Source Code (Solidity)

/**
 *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

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

0x6060604052341561000c57fe5b60405160208061026c83398101604052515b60008054600160a060020a031916600160a060020a0383161790555b505b6102218061004b6000396000f300606060405236156100495763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416636ea056a98114610052578063c0ee0b8a14610092575b6100505b5b565b005b341561005a57fe5b61007e73ffffffffffffffffffffffffffffffffffffffff60043516602435610104565b604080519115158252519081900360200190f35b341561009a57fe5b604080516020600460443581810135601f810184900484028501840190955284845261005094823573ffffffffffffffffffffffffffffffffffffffff169460248035956064949293919092019181908401838280828437509496506101ef95505050505050565b005b6000805460408051602090810184905281517f3c18d31800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015292519290931692633c18d318926024808301939282900301818787803b151561017b57fe5b6102c65a03f1151561018957fe5b5050506040518051905073ffffffffffffffffffffffffffffffffffffffff1660003660006040516020015260405180838380828437820191505092505050602060405180830381856102c65a03f415156101e057fe5b50506040515190505b92915050565b5b5050505600a165627a7a723058204cdd69fdcf3cf6cbee9677fe380fa5f044048aa9e060ec5619a21ca5a5bd4cd10029000000000000000000000000a3c1e324ca1ce40db73ed6026c4a177f099b5770

Deployed Bytecode

0x606060405236156100495763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416636ea056a98114610052578063c0ee0b8a14610092575b6100505b5b565b005b341561005a57fe5b61007e73ffffffffffffffffffffffffffffffffffffffff60043516602435610104565b604080519115158252519081900360200190f35b341561009a57fe5b604080516020600460443581810135601f810184900484028501840190955284845261005094823573ffffffffffffffffffffffffffffffffffffffff169460248035956064949293919092019181908401838280828437509496506101ef95505050505050565b005b6000805460408051602090810184905281517f3c18d31800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015292519290931692633c18d318926024808301939282900301818787803b151561017b57fe5b6102c65a03f1151561018957fe5b5050506040518051905073ffffffffffffffffffffffffffffffffffffffff1660003660006040516020015260405180838380828437820191505092505050602060405180830381856102c65a03f415156101e057fe5b50506040515190505b92915050565b5b5050505600a165627a7a723058204cdd69fdcf3cf6cbee9677fe380fa5f044048aa9e060ec5619a21ca5a5bd4cd10029

Swarm Source

bzzr://4cdd69fdcf3cf6cbee9677fe380fa5f044048aa9e060ec5619a21ca5a5bd4cd1

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
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.