Sponsored Link:   SHIFT.cash - 1st ever car title loan platform on blockchain. Join NOW.
Contract Overview
ETH Balance: 0.00000000622057 Ether
ETH USD Value: less than $0.01 (@ $699.73/ETH)
No Of Transactions: 19 txns
  Latest 19 txns

TxHash Age From To Value [TxFee]
0x83f41cce02510ef7939e6ecba877fb9e30fc29a6eac81205e486ebb64b26049266 days 1 hr agoBittrex  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d550 Ether0.001647332273
0xf92e5db584c35f970c34f62b7b06bc12b0f3567315fb21e96ee8dbc99d207c0966 days 1 hr ago0x499894c83e8b8a9f0d91577eeba399954f5c0bb9  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d550.306911829 Ether0.000442071
0xe6005aa10b42087d07ff044a111ac7f7c9cc8c98a4dbf827c4aeb3c9b8e2adc276 days 23 hrs agoBittrex  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d550 Ether0.001557602557
0xf872f623373b942ee1acef12df18cbb7455b86d915b2d1a395e561c106896d5476 days 23 hrs ago0xff877dffe2ef54b6e3c9badbf6bfc765b8905aa6  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d5574.49880302722057 Ether0.000545165556
0x04223362581f6639b210888f8b2050035272633a742cce473cad4ba9d68477a976 days 23 hrs ago0xff877dffe2ef54b6e3c9badbf6bfc765b8905aa6  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d5574.499579948350212 Ether0.00054384479
0xa89e4beebea640bb89727503ea88c0c1658814db16df5e016f2321251c03ac4c76 days 23 hrs ago0xff877dffe2ef54b6e3c9badbf6bfc765b8905aa6  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d5574.500123793140952 Ether0.00054384479
0x9f1b445088cf0e5449864e3ab6c5c5e59554e774ec876702a4e816ff1e7c461992 days 20 hrs agoBittrex  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d550 Ether0.00304906548
0xe7c77880d3699539acbf3869abb6f77300913dc0d553e72dfe269689bd00096892 days 20 hrs ago0xff877dffe2ef54b6e3c9badbf6bfc765b8905aa6  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d55140 Ether0.000854837184
0x90b87027463127355f08321eef960584c56b5f165fbd975a9088a36582ca9b3792 days 21 hrs ago0xff877dffe2ef54b6e3c9badbf6bfc765b8905aa6  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d55140 Ether0.000852766181
0x0a4fc7033814601f19c8d2934afc76e1844398d71425078ad4b3d76c5ae93bc2103 days 4 hrs agoBittrex  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d550 Ether0.002552907
0xcc4e69c7db95a0bb16ea6e7d4adcb8fafef124d54ac31268ce99b7cf8e9c100d103 days 4 hrs ago0xff877dffe2ef54b6e3c9badbf6bfc765b8905aa6  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d5575 Ether0.000442071
0xf860c27c681d44dd37c5a149fcee973a4d9e2cb0df7d2592d545b24be538fca0103 days 4 hrs ago0xff877dffe2ef54b6e3c9badbf6bfc765b8905aa6  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d5555 Ether0.000441
0x7732e6959e436430340096ac077788472217e9a0a2cc24005580bce8f9f3b823105 days 5 hrs agoBittrex  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d550 Ether0.002176525793
0xaac46669c6c3ac8eb8ee8511e304d697319778686deb9f024086301a94c3f5ef105 days 5 hrs ago0xff877dffe2ef54b6e3c9badbf6bfc765b8905aa6  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d55100 Ether0.000610211618
0x4205a391e9f29e6d6d75810f5ef5c64af94dd44963f135435e51d1e82a996f5e105 days 5 hrs ago0xff877dffe2ef54b6e3c9badbf6bfc765b8905aa6  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d55100 Ether0.000608733266
0xc90f49ac9070bde9c53f7a155fcb22105f769f3a0d1f9770533f5974c434d993105 days 5 hrs ago0xff877dffe2ef54b6e3c9badbf6bfc765b8905aa6  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d5580 Ether0.000608733266
0xca8818a5bf8e2d03bc9d151b505301a9ac3058a3d152ad56cf4069042592843c105 days 5 hrs ago0xff877dffe2ef54b6e3c9badbf6bfc765b8905aa6  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d5580 Ether0
0x14b485ed1979ce792e5ab6f7a7da8812eee16640fc8e9971d1086beb2634424f105 days 5 hrs ago0xff877dffe2ef54b6e3c9badbf6bfc765b8905aa6  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d5580 Ether0.000608733266
0xc201e7fef5fd8f72f1dd61a116d2eea04bc312514e4508a110de1ba6d2fcc4df105 days 5 hrs ago0xff877dffe2ef54b6e3c9badbf6bfc765b8905aa6  IN   0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d5580 Ether0.000608733266
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
  Latest 6 Internal Transactions

ParentTxHash Block Age From To Value
0x83f41cce02510ef7939e6ecba877fb9e30fc29a6eac81205e486ebb64b260492435525766 days 1 hr ago0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d550xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb980.30691183 Ether
0xe6005aa10b42087d07ff044a111ac7f7c9cc8c98a4dbf827c4aeb3c9b8e2adc2432383076 days 23 hrs ago0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d550xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb9874.49880302 Ether
0x9f1b445088cf0e5449864e3ab6c5c5e59554e774ec876702a4e816ff1e7c4619427247092 days 20 hrs ago0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d550xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb98140 Ether
0x0a4fc7033814601f19c8d2934afc76e1844398d71425078ad4b3d76c5ae93bc24235815103 days 4 hrs ago0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d550xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb9875 Ether
0x7732e6959e436430340096ac077788472217e9a0a2cc24005580bce8f9f3b8234228599105 days 5 hrs ago0x1ab5a43c4cf4b3d9fcd7bb3ad676cc878bf60d550xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb98100 Ether
0xbeb67cf31c11d5281db82a35bd7f90b37dad4ca8cd7972e34e63932102bdc2c24226270105 days 21 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 0xd1dd82d1ded8f40c200b89455050e9c18d918504
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.