Sponsored Link:   SocialMedia.Market - The most cost effective advertising platform with 1069% ROI. Join ICO Now!
Contract Overview
ETH Balance: 0.000000001996457519 Ether
ETH USD Value: less than $0.01 (@ $844.14/ETH)
No Of Transactions: 21 txns
  Latest 21 txns

TxHash Age From To Value [TxFee]
0xc0824a2d9a89fa7c9437a5b5a6b0e3455003b3066fe939a5d5376359981e20bf2 days 11 hrs agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00314575
0x69ba2042df539442d73dccfbac9709405329550c12236cb3a9a2b90003bffbb32 days 12 hrs agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00250285
0x8a8c5e284f6396c5d6e3a11c10187ae91fa7e5fa5fa12e6a3e379afa936d65ef2 days 12 hrs ago0xb528d50c0f36a1fcd46bc2d83525e8a0994270e5  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033303.715354045996457 Ether0.00021051
0x88d6a30db0306a40e0db2fb41d95c1ce7015828aec23db315dbc89495cec4f427 days 11 hrs agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00234835
0x3d3249b55e46c7a503ab0af140433657b994706997febb4226ca31188cf50dee7 days 13 hrs agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00234515
0x6d674baa0420c66122241b7d029ff303b5367e75db6900007ecafbbb2ee36e6c7 days 23 hrs agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00250285
0x34f1214aaeb08ae8904f694edb6a8d9b720fff6ae09d0650b4e8fa39218d67217 days 23 hrs ago0xb528d50c0f36a1fcd46bc2d83525e8a0994270e5  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033301.597881836 Ether0.00021051
0xbfc882bd796e233531464a34063cdf00a24f0f2bbfbcd93f3c04fcb67d7254597 days 23 hrs agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00249965
0xc0968e238bb94ec1053cbc49f95ea251e29a38fffbd0d7e9665648d9457fc2987 days 23 hrs ago0xb528d50c0f36a1fcd46bc2d83525e8a0994270e5  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300.2 Ether0.00021051
0xc411dee584bed89a6a4b1e5705dcef7e23b2cdd6757dcffe15028ecaa617046f8 days 47 mins agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00314575
0xbcbd71be3066d7cd96c9abe3e3abd2f2fc31cb403f8b1c5185223d3e5b40166b8 days 7 hrs agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00566235
0x771a5746a6e9a69d8316ffed7265909dfe31817bb67310d68405cb8e69d794548 days 23 hrs agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00566235
0x21d29c5f1553d7b4cbf86f9a2a1d01393811d96de868b9d0d6f3037f07ec81819 days 14 mins agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00566235
0xb4462fabe63ba8416a37cf98254b77ff637ac625b03fb9f96bc6c1021507fa479 days 1 hr agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00565659
0x2860b773155d72d3eba658efa7504cc7480c775717d5da49ab9800b3d83ec0cd9 days 2 hrs agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00566235
0xf3dc6a5342e75341f5469290aed8f2c73e734035726b073daa6fcd0c2a7a017a9 days 3 hrs agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00565659
0x3299c8048440db6c1c93f8ce62b868fd54487774c10e09756c41a3c1e2a468bc9 days 4 hrs agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00565659
0x818e5bd00b9692255ecfee8e56783852929dab390b21f52c75be7d05cb5bf6689 days 4 hrs agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00373365
0x71242402053c90f911e33c4939aca92f9ef9cfda1d006cb8a7f415676e02aaca9 days 4 hrs agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00565659
0x9caa0ead6b20785e1350100be38f521d1198cc725b15ca77bddaa5fde0f3ab619 days 5 hrs agoBittrex  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300 Ether0.00565083
0xd87ba8344692a383e1fc9c564df489d6b7f42ae2acca2a438eea977b6bcb468683 days 6 hrs ago0x64ba05fc97bac5630ed9e1cedb95f28e93c1f123  IN   0x151eda5c7f68bfd32c581cd58c4c46490e3033300.01 Ether0.000084204
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
  Latest 4 Internal Transactions

ParentTxHash Block Age From To Value
0x69ba2042df539442d73dccfbac9709405329550c12236cb3a9a2b90003bffbb351252852 days 12 hrs ago0x151eda5c7f68bfd32c581cd58c4c46490e3033300xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb983.71535405 Ether
0x6d674baa0420c66122241b7d029ff303b5367e75db6900007ecafbbb2ee36e6c50927437 days 23 hrs ago0x151eda5c7f68bfd32c581cd58c4c46490e3033300xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb981.59788183 Ether
0xbfc882bd796e233531464a34063cdf00a24f0f2bbfbcd93f3c04fcb67d72545950926967 days 23 hrs ago0x151eda5c7f68bfd32c581cd58c4c46490e3033300xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb980.21 Ether
0x4faba9ffd59811693e8df0064896edb38d0c4f3c175ae31c492d24a9a1275539462569388 days 15 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.