Sponsored Link:   Bankera - the bank for the blockchain era has already raised 25M EUR in pre-ICO and has started its ICO.
Contract Overview
ETH Balance: 0 Ether
ETH USD Value: $0
No Of Transactions: 10 txns
  Latest 10 txns

TxHash Age From To Value [TxFee]
0xed62be2294fe79bdf05a17f071ee5440d778a7f99fca31d4a67513add2b795894 hrs 13 mins agoBittrex  IN   0x48dccfa47bea6b8e25550a87a6ecb718fab5fe660 Ether0.00449937
0xd3fa5c8da11596cc31dc02b31f15e31fcb76b231b114d5baed2cb05c5ef829a84 hrs 20 mins ago0xd24400ae8bfebb18ca49be86258a3c749cf46853  IN   0x48dccfa47bea6b8e25550a87a6ecb718fab5fe661.7 Ether0.000736785
0x433ac72a0331b7003778ad99d7c7ec8b7fe0d6ef5d2702133f77eb6e372a816410 hrs 53 mins agoBittrex  IN   0x48dccfa47bea6b8e25550a87a6ecb718fab5fe660 Ether0.00449937
0x6846372b48b3320770b81dbfeca2b7ca425521af2c5d0bfd63931120d4dc483a11 hrs 1 min ago0xd24400ae8bfebb18ca49be86258a3c749cf46853  IN   0x48dccfa47bea6b8e25550a87a6ecb718fab5fe660.25 Ether0.000736785
0xcebe8a8ef3187d3a57db13415705c6089a90403b453bd519cb249de678f6658226 days 8 hrs ago0x7f52727d3ed9ff93299d917d448760c632357ebc  IN   0x48dccfa47bea6b8e25550a87a6ecb718fab5fe665.99716 Ether0.00042
0x6f63b93cb9c970649eac5802d63c3be1609539dda22ed4c6984972110abddccf26 days 16 hrs ago0x7f52727d3ed9ff93299d917d448760c632357ebc  IN   0x48dccfa47bea6b8e25550a87a6ecb718fab5fe665.99758 Ether0.00042
0xd861d8ff520eeeeaf9bdd3b2fbc7e7bd5335f361f1f439da147b62c28356178340 days 8 hrs agoBittrex  IN   0x48dccfa47bea6b8e25550a87a6ecb718fab5fe660 Ether0.002549643
0x2a0809a094b305a039e4dbcceb78d947911c81f395d61a7703b4010818cc6f3540 days 8 hrs ago0xd24400ae8bfebb18ca49be86258a3c749cf46853  IN   0x48dccfa47bea6b8e25550a87a6ecb718fab5fe662.2 Ether0.00067384251
0x00ce41d9c45c023869f8382c95fe0832c0c1f8584698832f04f20388f14fda2869 days 11 hrs agoBittrex  IN   0x48dccfa47bea6b8e25550a87a6ecb718fab5fe660 Ether0.00099986
0x45b110312e2c8062b4564ed0df2a738ffc5f3736ed2b250cbed6df8c1041afbc69 days 11 hrs ago0xd24400ae8bfebb18ca49be86258a3c749cf46853  IN   0x48dccfa47bea6b8e25550a87a6ecb718fab5fe666.2 Ether0.000463122
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
  Latest 5 Internal Transactions

ParentTxHash Block Age From To Value
0xed62be2294fe79bdf05a17f071ee5440d778a7f99fca31d4a67513add2b7958949559584 hrs 13 mins ago0x48dccfa47bea6b8e25550a87a6ecb718fab5fe660xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb981.7 Ether
0x433ac72a0331b7003778ad99d7c7ec8b7fe0d6ef5d2702133f77eb6e372a8164495430610 hrs 53 mins ago0x48dccfa47bea6b8e25550a87a6ecb718fab5fe660xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb980.25 Ether
0xd861d8ff520eeeeaf9bdd3b2fbc7e7bd5335f361f1f439da147b62c283561783472805440 days 8 hrs ago0x48dccfa47bea6b8e25550a87a6ecb718fab5fe660xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb982.2 Ether
0x00ce41d9c45c023869f8382c95fe0832c0c1f8584698832f04f20388f14fda28455315669 days 11 hrs ago0x48dccfa47bea6b8e25550a87a6ecb718fab5fe660xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb986.2 Ether
0x661f31ddd7beedfb52a6696b184736664bb2b7db370ea42f5534e29b6465cf65446834783 days 2 hrs ago0xa3c1e324ca1ce40db73ed6026c4a177f099b5770  Contract Creation0 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to ZeroFunctionSelector (very low-severity), DelegateCallReturnValue (low-severity), ECRecoverMalformedInput (medium-severity), SkipEmptyStringLiteral (low-severity) Solidity compiler bugs.

Contract Source Code Verified
Note: Displaying matching verified source code at contract 0x31074ec1f256da57ddce308d34a2e0ba661ef69c
Contract Name: UserWallet
Compiler Version: v0.4.11+commit.68ef5810
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
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 ABI  
[{"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"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000c57fe5b60405160208061026c83398101604052515b60008054600160a060020a031916600160a060020a0383161790555b505b6102218061004b6000396000f300606060405236156100495763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416636ea056a98114610052578063c0ee0b8a14610092575b6100505b5b565b005b341561005a57fe5b61007e73ffffffffffffffffffffffffffffffffffffffff60043516602435610104565b604080519115158252519081900360200190f35b341561009a57fe5b604080516020600460443581810135601f810184900484028501840190955284845261005094823573ffffffffffffffffffffffffffffffffffffffff169460248035956064949293919092019181908401838280828437509496506101ef95505050505050565b005b6000805460408051602090810184905281517f3c18d31800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015292519290931692633c18d318926024808301939282900301818787803b151561017b57fe5b6102c65a03f1151561018957fe5b5050506040518051905073ffffffffffffffffffffffffffffffffffffffff1660003660006040516020015260405180838380828437820191505092505050602060405180830381856102c65a03f415156101e057fe5b50506040515190505b92915050565b5b5050505600a165627a7a723058204cdd69fdcf3cf6cbee9677fe380fa5f044048aa9e060ec5619a21ca5a5bd4cd10029000000000000000000000000a3c1e324ca1ce40db73ed6026c4a177f099b5770

   Swarm Source:
bzzr://4cdd69fdcf3cf6cbee9677fe380fa5f044048aa9e060ec5619a21ca5a5bd4cd1

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.