ETH Price: $2,140.97 (-1.26%)

Contract

0xd8BF548FbAAcD0531eD6AFC874f86b2e2Bb2F022
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Sweep All141514312022-02-06 8:36:341508 days ago1644136594IN
0xd8BF548F...e2Bb2F022
0 ETH0.002053839.45
Transfer136329682021-11-17 12:42:041589 days ago1637152924IN
0xd8BF548F...e2Bb2F022
0.10357536 ETH0.00249412118.54200379
Transfer135620482021-11-06 8:51:431600 days ago1636188703IN
0xd8BF548F...e2Bb2F022
0.18779851 ETH0.0015132171.92084175
Transfer134478172021-10-19 11:00:251618 days ago1634641225IN
0xd8BF548F...e2Bb2F022
0.10277308 ETH0.0008526840.52682177
Transfer133882162021-10-10 2:18:381628 days ago1633832318IN
0xd8BF548F...e2Bb2F022
0.13166846 ETH0.0011040952.47604086
Transfer133060602021-09-27 5:45:311640 days ago1632721531IN
0xd8BF548F...e2Bb2F022
0.09944928 ETH0.0008511340.45304035
Transfer132502042021-09-18 14:31:311649 days ago1631975491IN
0xd8BF548F...e2Bb2F022
0.09946032 ETH0.0009661345.91914085
Transfer131975882021-09-10 10:57:121657 days ago1631271432IN
0xd8BF548F...e2Bb2F022
0.16165833 ETH0.0013715765.18898499
Sweep All131546002021-09-03 19:19:561664 days ago1630696796IN
0xd8BF548F...e2Bb2F022
0 ETH0.00646239124.13122281
Transfer131207932021-08-29 14:05:431669 days ago1630245943IN
0xd8BF548F...e2Bb2F022
0.13060527 ETH0.0015198572.23621898
Transfer130548132021-08-19 9:07:251679 days ago1629364045IN
0xd8BF548F...e2Bb2F022
0.09955084 ETH0.0005399425.66274701
Transfer130072112021-08-12 0:50:051687 days ago1628729405IN
0xd8BF548F...e2Bb2F022
0.10559911 ETH0.0008509740.44557906
Transfer129535702021-08-03 17:13:521695 days ago1628010832IN
0xd8BF548F...e2Bb2F022
0.10021596 ETH0.000021041
Transfer129170032021-07-28 22:20:301701 days ago1627510830IN
0xd8BF548F...e2Bb2F022
0.10005145 ETH0.000021041
Transfer128773332021-07-22 16:42:481707 days ago1626972168IN
0xd8BF548F...e2Bb2F022
0.10008571 ETH0.000021041
Transfer128400682021-07-16 20:44:201713 days ago1626468260IN
0xd8BF548F...e2Bb2F022
0.10005532 ETH0.000021041
Transfer128008972021-07-10 17:06:191719 days ago1625936779IN
0xd8BF548F...e2Bb2F022
0.10008475 ETH0.000021041
Transfer127671032021-07-05 11:05:411724 days ago1625483141IN
0xd8BF548F...e2Bb2F022
0.10000999 ETH0.000021041
Transfer127319802021-06-29 23:46:171730 days ago1625010377IN
0xd8BF548F...e2Bb2F022
0.10011859 ETH0.000021041
Transfer126976572021-06-24 15:33:181735 days ago1624548798IN
0xd8BF548F...e2Bb2F022
0.10000401 ETH0.000021041
Transfer126648742021-06-19 12:43:511740 days ago1624106631IN
0xd8BF548F...e2Bb2F022
0.10013271 ETH0.000021041
Transfer126233482021-06-13 2:03:181747 days ago1623549798IN
0xd8BF548F...e2Bb2F022
0.10006046 ETH0.000021041
Transfer125818552021-06-06 15:49:401753 days ago1622994580IN
0xd8BF548F...e2Bb2F022
0.10008163 ETH0.000021041
Sweep All125669102021-06-04 8:36:311755 days ago1622795791IN
0xd8BF548F...e2Bb2F022
0 ETH0.0009151717.57885345
Transfer125400972021-05-31 4:59:081760 days ago1622437148IN
0xd8BF548F...e2Bb2F022
0.07764049 ETH0.000021041
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
-141514312022-02-06 8:36:341508 days ago1644136594
0xd8BF548F...e2Bb2F022
0.88638338 ETH
-131546002021-09-03 19:19:561664 days ago1630696796
0xd8BF548F...e2Bb2F022
1.43665587 ETH
-125669102021-06-04 8:36:311755 days ago1622795791
0xd8BF548F...e2Bb2F022
1.17860386 ETH
-122126302021-04-10 14:16:251810 days ago1618064185
0xd8BF548F...e2Bb2F022
0.60084147 ETH
-120934532021-03-23 6:20:291828 days ago1616480429
0xd8BF548F...e2Bb2F022
1.00161402 ETH
-119048792021-02-22 5:08:571858 days ago1613970537
0xd8BF548F...e2Bb2F022
0.80181122 ETH
-117943172021-02-05 5:18:021875 days ago1612502282
0xd8BF548F...e2Bb2F022
0.60127942 ETH
-116745762021-01-17 19:19:261893 days ago1610911166
0xd8BF548F...e2Bb2F022
0.61843124 ETH
-116232492021-01-09 22:17:221901 days ago1610230642
0xd8BF548F...e2Bb2F022
0.7834702 ETH
-115725722021-01-02 3:35:301909 days ago1609558530
0xd8BF548F...e2Bb2F022
1.03617566 ETH
-115047122020-12-22 17:42:031919 days ago1608658923
0xd8BF548F...e2Bb2F022
1.04865416 ETH
-114396602020-12-12 18:08:531929 days ago1607796533
0xd8BF548F...e2Bb2F022
0.91164662 ETH
-113704472020-12-02 2:40:091940 days ago1606876809
0xd8BF548F...e2Bb2F022
0.85993707 ETH
-113172892020-11-23 22:52:391948 days ago1606171959
0xd8BF548F...e2Bb2F022
1.15924329 ETH
-112443142020-11-12 18:06:121959 days ago1605204372
0xd8BF548F...e2Bb2F022
1.0256125 ETH
-111823402020-11-03 5:37:441968 days ago1604381864
0xd8BF548F...e2Bb2F022
1.07274871 ETH
-111098772020-10-23 2:34:271980 days ago1603420467
0xd8BF548F...e2Bb2F022
0.99966118 ETH
-110517192020-10-14 4:49:421989 days ago1602650982
0xd8BF548F...e2Bb2F022
1.67914048 ETH
-109652192020-09-30 18:00:582002 days ago1601488858
0xd8BF548F...e2Bb2F022
0.92368638 ETH
-109137152020-09-22 17:50:282010 days ago1600797028
0xd8BF548F...e2Bb2F022
2.1476509 ETH
-108459792020-09-12 8:14:232020 days ago1599898463
0xd8BF548F...e2Bb2F022
2.05496031 ETH
-107783662020-09-01 23:39:592031 days ago1599003599
0xd8BF548F...e2Bb2F022
1.96783209 ETH
-107046282020-08-21 16:19:272042 days ago1598026767
0xd8BF548F...e2Bb2F022
1.47106301 ETH
-106533082020-08-13 18:41:132050 days ago1597344073
0xd8BF548F...e2Bb2F022
1.58075526 ETH
-105906192020-08-04 2:29:562060 days ago1596508196
0xd8BF548F...e2Bb2F022
0.98494545 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 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

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

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

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

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.