ETH Price: $2,009.10 (+1.26%)
Gas: 0.11 Gwei

Contract

0x40061A4fA8dD2Ba4Dbf8BDcd6aB0BcA5E304D256
 

Overview

ETH Balance

0.000810840146382372 ETH

Eth Value

$1.63 (@ $2,009.10/ETH)

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer195749642024-04-03 11:32:11724 days ago1712143931IN
0x40061A4f...5E304D256
0.00081083 ETH0.000525224.94917143
Sweep147717222022-05-14 5:09:121414 days ago1652504952IN
0x40061A4f...5E304D256
0 ETH0.0028270649.97202611
Transfer147717082022-05-14 5:05:201414 days ago1652504720IN
0x40061A4f...5E304D256
0.03725487 ETH0.0008608440.89308971
Transfer145568322022-04-10 8:17:201448 days ago1649578640IN
0x40061A4f...5E304D256
0.01706553 ETH0.0005061424.04373672
Sweep136899692021-11-26 13:19:551583 days ago1637932795IN
0x40061A4f...5E304D256
0 ETH0.0051279890.64376034
Transfer136899502021-11-26 13:16:391583 days ago1637932599IN
0x40061A4f...5E304D256
0.00931111 ETH0.0020230296.1013049
Transfer81525792019-07-15 0:57:422448 days ago1563152262IN
0x40061A4f...5E304D256
0.0269542 ETH0.000021051
Transfer81075402019-07-08 0:55:482455 days ago1562547348IN
0x40061A4f...5E304D256
0.02234063 ETH0.000021051
Sweep80625442019-07-01 0:56:372462 days ago1561942597IN
0x40061A4f...5E304D256
0 ETH0.0010998422
Transfer80625272019-07-01 0:52:522462 days ago1561942372IN
0x40061A4f...5E304D256
0.02907257 ETH0.000021051
Transfer80176122019-06-24 0:51:542469 days ago1561337514IN
0x40061A4f...5E304D256
0.03015179 ETH0.000021051
Sweep79728422019-06-17 0:54:042476 days ago1560732844IN
0x40061A4f...5E304D256
0 ETH0.0025028550
Transfer79728292019-06-17 0:48:172476 days ago1560732497IN
0x40061A4f...5E304D256
0.03361172 ETH0.000021051
Transfer79279922019-06-10 0:44:082483 days ago1560127448IN
0x40061A4f...5E304D256
0.01350218 ETH0.000021051
Transfer78833452019-06-03 0:39:462490 days ago1559522386IN
0x40061A4f...5E304D256
0.01934189 ETH0.000021051
Transfer78385362019-05-27 0:37:062497 days ago1558917426IN
0x40061A4f...5E304D256
0.01001569 ETH0.000021051
Sweep71682602019-02-03 11:37:422610 days ago1549193862IN
0x40061A4f...5E304D256
0 ETH0.0025028550
Transfer71682472019-02-03 11:33:352610 days ago1549193615IN
0x40061A4f...5E304D256
0.42781577 ETH0.0002105110
Sweep70533022019-01-12 11:12:402632 days ago1547291560IN
0x40061A4f...5E304D256
0 ETH0.0024996550
Transfer70532822019-01-12 11:07:162632 days ago1547291236IN
0x40061A4f...5E304D256
0.0501294 ETH0.0002105110
Sweep70387522019-01-09 20:44:342635 days ago1547066674IN
0x40061A4f...5E304D256
0 ETH0.0024996550
Transfer70387362019-01-09 20:40:372635 days ago1547066437IN
0x40061A4f...5E304D256
0.0502678 ETH0.0002105110
Sweep70241032019-01-07 5:55:372637 days ago1546840537IN
0x40061A4f...5E304D256
0 ETH0.0024996550
Transfer70240882019-01-07 5:50:442637 days ago1546840244IN
0x40061A4f...5E304D256
0.05000611 ETH0.0002105110
Sweep70089152019-01-04 12:37:402640 days ago1546605460IN
0x40061A4f...5E304D256
0 ETH0.0024996550
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
-147717222022-05-14 5:09:121414 days ago1652504952
0x40061A4f...5E304D256
0.0543204 ETH
-136899692021-11-26 13:19:551583 days ago1637932795
0x40061A4f...5E304D256
0.05860596 ETH
-80625442019-07-01 0:56:372462 days ago1561942597
0x40061A4f...5E304D256
0.05922437 ETH
-79728422019-06-17 0:54:042476 days ago1560732844
0x40061A4f...5E304D256
0.0764715 ETH
-71682602019-02-03 11:37:422610 days ago1549193862
0x40061A4f...5E304D256
0.42781578 ETH
-70533022019-01-12 11:12:402632 days ago1547291560
0x40061A4f...5E304D256
0.05012941 ETH
-70387522019-01-09 20:44:342635 days ago1547066674
0x40061A4f...5E304D256
0.0502678 ETH
-70241032019-01-07 5:55:372637 days ago1546840537
0x40061A4f...5E304D256
0.05000611 ETH
-70089152019-01-04 12:37:402640 days ago1546605460
0x40061A4f...5E304D256
0.05001502 ETH
-69949812019-01-02 1:57:002642 days ago1546394220
0x40061A4f...5E304D256
0.0502647 ETH
-69809712018-12-30 17:05:372645 days ago1546189537
0x40061A4f...5E304D256
0.05011831 ETH
-69665042018-12-28 6:29:112647 days ago1545978551
0x40061A4f...5E304D256
0.05018874 ETH
-69515542018-12-25 17:56:032650 days ago1545760563
0x40061A4f...5E304D256
0.05003459 ETH
-69373312018-12-23 8:21:092652 days ago1545553269
0x40061A4f...5E304D256
0.05010715 ETH
-69244642018-12-21 3:45:402654 days ago1545363940
0x40061A4f...5E304D256
0.05008029 ETH
-69112972018-12-18 21:41:322657 days ago1545169292
0x40061A4f...5E304D256
0.05003701 ETH
-68982192018-12-16 16:31:382659 days ago1544977898
0x40061A4f...5E304D256
0.05001606 ETH
-68847612018-12-14 11:15:452661 days ago1544786145
0x40061A4f...5E304D256
0.05016454 ETH
-68708522018-12-12 4:22:432663 days ago1544588563
0x40061A4f...5E304D256
0.05010934 ETH
-68577102018-12-10 0:22:092665 days ago1544401329
0x40061A4f...5E304D256
0.05027513 ETH
-68435882018-12-07 16:29:012668 days ago1544200141
0x40061A4f...5E304D256
0.05010164 ETH
-68299002018-12-05 9:56:472670 days ago1544003807
0x40061A4f...5E304D256
0.05011792 ETH
-68158282018-12-03 1:56:082672 days ago1543802168
0x40061A4f...5E304D256
0.05002557 ETH
Transfer67979872018-11-30 3:11:542675 days ago1543547514
0x40061A4f...5E304D256
0.05007586 ETH
Transfer67810182018-11-27 7:48:332678 days ago1543304913
0x40061A4f...5E304D256
0.05001602 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.