ETH Price: $1,994.67 (-3.53%)

Contract

0xaFEC041D093E2BF20e64Ba1027DCCd6D760eC28A
 

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
Sweep161091852022-12-04 4:53:111209 days ago1670129591IN
0xaFEC041D...D760eC28A
0 ETH0.0016975530
Transfer161091672022-12-04 4:49:351209 days ago1670129375IN
0xaFEC041D...D760eC28A
0.39428247 ETH0.0002260310.73730996
Sweep148802732022-05-31 18:28:051395 days ago1654021685IN
0xaFEC041D...D760eC28A
0 ETH0.0027416648.45209615
Transfer148802522022-05-31 18:24:031395 days ago1654021443IN
0xaFEC041D...D760eC28A
0.21616699 ETH0.0012499959.37929399
Sweep139357392022-01-04 0:21:061543 days ago1641255666IN
0xaFEC041D...D760eC28A
0 ETH0.00774844136.93468824
Transfer139357192022-01-04 0:16:551543 days ago1641255415IN
0xaFEC041D...D760eC28A
1.89325146 ETH0.0024018114.09478266
Sweep138520562021-12-22 1:26:571556 days ago1640136417IN
0xaFEC041D...D760eC28A
0 ETH0.0042959575.92033029
Transfer138520422021-12-22 1:24:271556 days ago1640136267IN
0xaFEC041D...D760eC28A
0.66190205 ETH0.0013218662.79355418
Sweep138387202021-12-20 0:06:291558 days ago1639958789IN
0xaFEC041D...D760eC28A
0 ETH0.0051545191.0933438
Transfer138387012021-12-20 0:01:401558 days ago1639958500IN
0xaFEC041D...D760eC28A
0.56190598 ETH0.00180785.83946847
Sweep137956872021-12-13 8:21:201565 days ago1639383680IN
0xaFEC041D...D760eC28A
0 ETH0.0036028763.67195738
Transfer137956672021-12-13 8:16:241565 days ago1639383384IN
0xaFEC041D...D760eC28A
0.11517908 ETH0.000905543.01499856
Sweep137270132021-12-02 11:10:221576 days ago1638443422IN
0xaFEC041D...D760eC28A
0 ETH0.0057449101.54859808
Transfer137269992021-12-02 11:07:001576 days ago1638443220IN
0xaFEC041D...D760eC28A
0.35 ETH0.002002895.1406804
Sweep135760302021-11-08 13:25:371599 days ago1636377937IN
0xaFEC041D...D760eC28A
0 ETH0.00677963119.81329394
Transfer135760162021-11-08 13:21:021599 days ago1636377662IN
0xaFEC041D...D760eC28A
0.21579791 ETH0.0018111886.03800584
Sweep134394162021-10-18 3:26:061621 days ago1634527566IN
0xaFEC041D...D760eC28A
0 ETH0.00707348125.00644465
Transfer134393982021-10-18 3:20:151621 days ago1634527215IN
0xaFEC041D...D760eC28A
0.66471576 ETH0.0020683898.25610035
Sweep133345332021-10-01 16:23:021637 days ago1633105382IN
0xaFEC041D...D760eC28A
0 ETH0.00736344130.13063261
Transfer133345152021-10-01 16:18:561637 days ago1633105136IN
0xaFEC041D...D760eC28A
0.50023165 ETH0.00275838131.03349467
Sweep130174372021-08-13 14:43:261686 days ago1628865806IN
0xaFEC041D...D760eC28A
0 ETH0.0034532461.02758378
Transfer130174162021-08-13 14:39:081686 days ago1628865548IN
0xaFEC041D...D760eC28A
0.48576975 ETH0.0010596350.33679752
Sweep129040762021-07-26 21:03:591704 days ago1627333439IN
0xaFEC041D...D760eC28A
0 ETH0.0028892351.06
Sweep127666622021-07-05 9:25:021726 days ago1625477102IN
0xaFEC041D...D760eC28A
0 ETH0.0016975530
Sweep123167902021-04-26 15:31:481795 days ago1619451108IN
0xaFEC041D...D760eC28A
0 ETH0.0032536357.5
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer161091852022-12-04 4:53:111209 days ago1670129591
0xaFEC041D...D760eC28A
0.39428247 ETH
-148802732022-05-31 18:28:051395 days ago1654021685
0xaFEC041D...D760eC28A
0.21616699 ETH
-139357392022-01-04 0:21:061543 days ago1641255666
0xaFEC041D...D760eC28A
1.89325146 ETH
-138520562021-12-22 1:26:571556 days ago1640136417
0xaFEC041D...D760eC28A
0.66190205 ETH
-138387202021-12-20 0:06:291558 days ago1639958789
0xaFEC041D...D760eC28A
0.56190598 ETH
-137956872021-12-13 8:21:201565 days ago1639383680
0xaFEC041D...D760eC28A
0.11517908 ETH
-137270132021-12-02 11:10:221576 days ago1638443422
0xaFEC041D...D760eC28A
0.35 ETH
-135760302021-11-08 13:25:371599 days ago1636377937
0xaFEC041D...D760eC28A
0.21579791 ETH
-134394162021-10-18 3:26:061621 days ago1634527566
0xaFEC041D...D760eC28A
0.66471576 ETH
-133345332021-10-01 16:23:021637 days ago1633105382
0xaFEC041D...D760eC28A
0.50023165 ETH
-130174372021-08-13 14:43:261686 days ago1628865806
0xaFEC041D...D760eC28A
0.48576975 ETH
-129040762021-07-26 21:03:591704 days ago1627333439
0xaFEC041D...D760eC28A
1.95782047 ETH
-129040152021-07-26 20:49:221704 days ago1627332562
0xaFEC041D...D760eC28A
1.95782047 ETH
-127666622021-07-05 9:25:021726 days ago1625477102
0xaFEC041D...D760eC28A
4.02916881 ETH
-127666382021-07-05 9:20:161726 days ago1625476816
0xaFEC041D...D760eC28A
4.02916881 ETH
-123167902021-04-26 15:31:481795 days ago1619451108
0xaFEC041D...D760eC28A
1.69215143 ETH
-120898842021-03-22 17:08:101830 days ago1616432890
0xaFEC041D...D760eC28A
2.12189989 ETH
-116623412021-01-15 22:07:271896 days ago1610748447
0xaFEC041D...D760eC28A
3.78019755 ETH
-116623232021-01-15 22:03:371896 days ago1610748217
0xaFEC041D...D760eC28A
3.78019755 ETH
-116524182021-01-14 9:31:311898 days ago1610616691
0xaFEC041D...D760eC28A
4.69706058 ETH
-116523902021-01-14 9:25:081898 days ago1610616308
0xaFEC041D...D760eC28A
4.69706058 ETH
-116500562021-01-14 0:37:171898 days ago1610584637
0xaFEC041D...D760eC28A
9.85529 ETH
-116109082021-01-08 1:01:131904 days ago1610067673
0xaFEC041D...D760eC28A
2.97105456 ETH
-116108872021-01-08 0:59:021904 days ago1610067542
0xaFEC041D...D760eC28A
2.97105456 ETH
-116087372021-01-07 16:47:491904 days ago1610038069
0xaFEC041D...D760eC28A
0.3710637 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.