ETH Price: $2,625.34 (-2.67%)
Gas: 0.86 Gwei

Contract

0x139d52De9E029421C407Bf53B2B2E5d337B02FB0
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Sweep All188654752023-12-25 21:40:59414 days ago1703540459IN
0x139d52De...337B02FB0
0 ETH0.0008429213.2
Sweep All180450642023-09-01 23:46:35529 days ago1693611995IN
0x139d52De...337B02FB0
0 ETH0.0006473912.435345
Transfer155390312022-09-15 12:15:11880 days ago1663244111IN
0x139d52De...337B02FB0
0.10463599 ETH0.000236511.24081083
Transfer155022422022-09-09 10:25:25886 days ago1662719125IN
0x139d52De...337B02FB0
0.2134478 ETH0.000204829.73504479
Sweep All154698082022-09-04 5:23:49892 days ago1662269029IN
0x139d52De...337B02FB0
0 ETH0.000179733.45234234
Transfer154270532022-08-28 9:40:08899 days ago1661679608IN
0x139d52De...337B02FB0
0.20808038 ETH0.000131436.24685779
Transfer153521732022-08-16 11:50:49910 days ago1660650649IN
0x139d52De...337B02FB0
0.1096827 ETH0.000169818.07099831
Transfer153141512022-08-10 11:47:40916 days ago1660132060IN
0x139d52De...337B02FB0
0.1987357 ETH0.0002627212.48701539
Sweep All152473952022-07-31 1:48:16927 days ago1659232096IN
0x139d52De...337B02FB0
0 ETH0.000168383.23434234
Transfer152443902022-07-30 14:43:13927 days ago1659192193IN
0x139d52De...337B02FB0
0.14969096 ETH0.000367417.46231417
Transfer151908252022-07-22 6:40:12936 days ago1658472012IN
0x139d52De...337B02FB0
0.10874936 ETH0.000189959.0280613
Transfer151531892022-07-16 10:24:29941 days ago1657967069IN
0x139d52De...337B02FB0
0.11469852 ETH0.000168267.99762062
Transfer151130002022-07-10 5:28:38948 days ago1657430918IN
0x139d52De...337B02FB0
0.13882421 ETH0.000121215.76097998
Transfer150632122022-07-02 12:52:37955 days ago1656766357IN
0x139d52De...337B02FB0
0.14808962 ETH0.000195169.27575194
Transfer150126532022-06-23 11:09:10964 days ago1655982550IN
0x139d52De...337B02FB0
0.10082098 ETH0.0002896313.76600821
Sweep All149831082022-06-18 4:38:53970 days ago1655527133IN
0x139d52De...337B02FB0
0 ETH0.0008918617.13123
Transfer149786112022-06-17 10:10:48970 days ago1655460648IN
0x139d52De...337B02FB0
0.10426877 ETH0.0004468221.23706108
Transfer149502602022-06-12 12:58:48975 days ago1655038728IN
0x139d52De...337B02FB0
0.12230316 ETH0.0003060214.54512765
Transfer149017782022-06-04 6:26:53984 days ago1654324013IN
0x139d52De...337B02FB0
0.19285068 ETH0.0004181119.87260169
Transfer148230852022-05-22 11:22:36996 days ago1653218556IN
0x139d52De...337B02FB0
0.10984393 ETH0.0003228415.34455743
Transfer147778092022-05-15 4:09:191004 days ago1652587759IN
0x139d52De...337B02FB0
0.14973517 ETH0.000396918.86431578
Transfer147263492022-05-06 23:06:371012 days ago1651878397IN
0x139d52De...337B02FB0
0.21489959 ETH0.000599228.47945895
Transfer146470912022-04-24 11:03:291024 days ago1650798209IN
0x139d52De...337B02FB0
0.13850348 ETH0.000397118.87371971
Transfer145947452022-04-16 6:31:051033 days ago1650090665IN
0x139d52De...337B02FB0
0.11490266 ETH0.0004895723.26883978
Sweep All145521952022-04-09 15:02:171039 days ago1649516537IN
0x139d52De...337B02FB0
0 ETH0.0021403441.1123
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
180450642023-09-01 23:46:35529 days ago1693611995
0x139d52De...337B02FB0
0.31808379 ETH
154698082022-09-04 5:23:49892 days ago1662269029
0x139d52De...337B02FB0
0.51649879 ETH
152473952022-07-31 1:48:16927 days ago1659232096
0x139d52De...337B02FB0
0.76087366 ETH
149831082022-06-18 4:38:53970 days ago1655527133
0x139d52De...337B02FB0
1.14730748 ETH
145521952022-04-09 15:02:171039 days ago1649516537
0x139d52De...337B02FB0
1.44170489 ETH
140402102022-01-20 4:12:571119 days ago1642651977
0x139d52De...337B02FB0
1.18251948 ETH
136688022021-11-23 4:43:031177 days ago1637642583
0x139d52De...337B02FB0
1.27847309 ETH
132911872021-09-24 22:37:161236 days ago1632523036
0x139d52De...337B02FB0
1.36678956 ETH
129512712021-08-03 8:34:581289 days ago1627979698
0x139d52De...337B02FB0
2.00256679 ETH
125668842021-06-04 8:31:531349 days ago1622795513
0x139d52De...337B02FB0
1.9527078 ETH
122794282021-04-20 21:12:521393 days ago1618953172
0x139d52De...337B02FB0
0.6007583 ETH
122020052021-04-08 22:56:551405 days ago1617922615
0x139d52De...337B02FB0
0.60118268 ETH
121245362021-03-28 0:57:261417 days ago1616893046
0x139d52De...337B02FB0
1.20269304 ETH
119973282021-03-08 10:40:141436 days ago1615200014
0x139d52De...337B02FB0
0.60083673 ETH
119225092021-02-24 22:30:001448 days ago1614205800
0x139d52De...337B02FB0
1.01808225 ETH
118339552021-02-11 7:37:431462 days ago1613029063
0x139d52De...337B02FB0
0.79183545 ETH
117675042021-02-01 1:53:111472 days ago1612144391
0x139d52De...337B02FB0
0.77895511 ETH
116871432021-01-19 17:37:051484 days ago1611077825
0x139d52De...337B02FB0
0.67741955 ETH
116212072021-01-09 14:51:581494 days ago1610203918
0x139d52De...337B02FB0
0.94833573 ETH
115448612020-12-28 21:19:531506 days ago1609190393
0x139d52De...337B02FB0
1.09461084 ETH
114396542020-12-12 18:07:361522 days ago1607796456
0x139d52De...337B02FB0
1.02510753 ETH
113297122020-11-25 20:31:441539 days ago1606336304
0x139d52De...337B02FB0
0.85097521 ETH
112477822020-11-13 6:41:001552 days ago1605249660
0x139d52De...337B02FB0
0.85001165 ETH
111629152020-10-31 5:58:201565 days ago1604123900
0x139d52De...337B02FB0
1.06897206 ETH
110626392020-10-15 20:42:181580 days ago1602794538
0x139d52De...337B02FB0
1.09518601 ETH
View All Internal Transactions
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.