Sponsored Link:   COVESTING - EU-based digital asset exchange. Aggregated liquidity. Algorithmic & Copy-trading features. 24/7 support. Get access!
 Latest 25 txns from a total Of 1093 transactions
View All

TxHash Age From To Value [TxFee]
0x0bf09ee9bac6018f1d989d3ef6a8d0f1e633b660f4ae3f243bb11dca38f4894c8 hrs 31 mins ago0x8e7ee26656ad53d5fc4a78e3c98853277b34ec93  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.002806678
0x0723dd4bcc4da0740473de9909f14fcfd425602532c8684ff22c00b744afe73c20 hrs 47 mins ago0x09804954cbf4844601baf6cb8792e189e930dbc2  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.004663936
0xe741c38526b3164003259fdc1c194f4b01c4a1b179e14945e7d5919522bd55a721 hrs 35 mins ago0x76344effe195a2528a3055e9ca9103b700324fbb  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00435789
0x332492ee4f632bfe5622644b80f1129d329a355b0b89634645ce6cf9dd5a228d23 hrs 32 mins ago0x09804954cbf4844601baf6cb8792e189e930dbc2  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.004126056
0x5f89261aec18f0fc5ce65ba0f2f6c161e572d8fab58c85d00c79a62a5c857c7a1 day 2 hrs ago0x7f6a35d3ee9c49a0aad8585d02861264287b837f  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00484492
0x4508372b52ff29f7ebaa392cc3ad9fcbf6049e59bb38ec9a656dc53e294090131 day 5 hrs ago0xf2ae6df471a41746775e35ca83e9b9bbd2bb1e5a  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00242304
0x4c3f2089aef9ef00a8d99c2977f81fb8b3b503c7cd7a00b96f1c72dc3e04f7811 day 15 hrs ago0x09804954cbf4844601baf6cb8792e189e930dbc2  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00241343
0xea8f4edd939f68ba0bf139df7dffadf6a625f8d401f15c5320b612b7212a82a11 day 15 hrs ago0x09804954cbf4844601baf6cb8792e189e930dbc2  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.002493465
0x6005ed833b3c4ee5182836f96d4d618a08be2a1e82e93dd5504de56cfeca7bf31 day 15 hrs ago0x09804954cbf4844601baf6cb8792e189e930dbc2  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.003166145
0x1a4cb211307eede503fb93e8e16fd8cbdfbfa8e53f13e64bb8ed064897f14fb81 day 15 hrs ago0x09804954cbf4844601baf6cb8792e189e930dbc2  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.001955045
0x42c2bbeaa480e148a716540130c14c5fe33b3bc361110cb60f755c60b225c6971 day 20 hrs ago0x4b7ef3c467974c144121f7952d2769cb18bd8656  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.003393516
0x2243de75953c995a9080bfeeab43bb616b41c950a8aa779956f97ee9e368ba751 day 21 hrs ago0xe2b1f6d966cd60c049fa039ca6945c89f89e0328  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.004365306
0x46156beb7efdcfefe8ec772fea58e16ef1b05448a41d56b155bca5a2d0552b6c1 day 21 hrs ago0xcd53090fb3ba782f0a23a69303d3121bca786439  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00434115
0xc926034d2be8c9c9b193dd9ff4702e3593f5a66d2dfaa018b7010a4a14b9dde22 days 2 hrs ago0x87a88941624f2f0a21f041c2465f1474968f099c  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00425
0xe2315a99860aecc121fccd6b9573e897cdddd73de63acae3fee1ad6085622ded2 days 14 hrs ago0xf4720960315b5b7100fdd80813b86131d5e2acf8  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00242536
0x4a852172f229ab59f5c1d19d656494d5b9460d606f8a10dffbf972706bc44d0c2 days 16 hrs ago0x5e7dba487dbd17869eca8232f38bdf5861e353b1  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00425
0xa22b33db537a35f8f4001cffa7007dff06a93e3c17e87ce4db15ce316ffb36bb2 days 18 hrs ago0x76e750473105d62d7cd441f9acf9b9396b5ad1ea  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00242909
0x2b66c59d19fbe632dde61112f0501b54475fbb181fdfdd311d9aa4809e6b51ad2 days 20 hrs ago0x009c20d241d75d0974f50139f2ba12b10b0b9eb6  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.004592243
0xec192cf1f26e6f2b52c76dc592dbe86ef9878d1506b25cb4b5b4371c87eedf733 days 4 hrs ago0xa5d83e3a9df04c969ce86a4d8094081c793c41ae  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00241789
0xd981bcd349cace555e95fb2f3c55362b081416171ea1c3c4a3fc0419891d5d4f3 days 4 hrs ago0xa5d83e3a9df04c969ce86a4d8094081c793c41ae  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00425
0x61264c4e29eb0bcdf6932336717ef6c65e7d5d7d44f20eae4a4b17b67145e1bd3 days 5 hrs ago0xe72cb9f5b712fb94bd1b8b9589c2bf80efdbae34  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00242104
0x9747a8aae3f511be0dad16ae70e5f44565bcb7f0789bf6d9b02a17868f0908603 days 5 hrs ago0xe72cb9f5b712fb94bd1b8b9589c2bf80efdbae34  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00425
0x86a552b3c2d53613b655c3c4a2a85e255e74bf1953a8f7b3ad5d7206eae24c9b3 days 5 hrs ago0xecc576bc071f11ebb81aee11b5c50c8412f658fa  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00242458
0xf34c04910df4868be491aff559993ecdd29716d6cbfa58469bc3beb8e480ec7d4 days 3 hrs ago0x4c1d517c08e852e4424fba7439868e8ab6b0707b  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.005520854087
0x64be684233cfc84e6ea60c4c0dc0bd429ab87ae6a26cad75cf8059b377bc0fd74 days 10 hrs ago0xf37de5c7de0a196dda5d8f14822392cd45f90556  IN   0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0 Ether0.00242574
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here to View More View All
ParentTxHash Block Age From To Value
0x4acd44381af3de8edc0d22a48c0339f2abb002f9200462d9abbcc554b96dbe7858142634 days 11 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xf20b9e713a33f61fa38792d2afaf1cd30339126a0.01 Ether
0x3703df7713b11d80b3d4012d34d1521ea5379da70d83bd77588bd7089d8da0b158142484 days 11 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xf20b9e713a33f61fa38792d2afaf1cd30339126a0.01 Ether
0xb5583f121d0293d0f69042f5bdc201eded01e30573b42769b4e5be584018b41f547134064 days 12 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xcf1cc6ed5b653def7417e3fa93992c3ffe49139b2 Ether
0x1eda4c12c8fe6057201fd306a08c49f5def325afc1438ed2afee46326ad98cbc547133564 days 13 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xcf1cc6ed5b653def7417e3fa93992c3ffe49139b2 Ether
0xdad009a8c708d31bec57b2bef637407f3b5973272cfa09a322e498fbbc7bd9ab547108064 days 13 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xcf1cc6ed5b653def7417e3fa93992c3ffe49139b6.36 Ether
0x5c50a7a21cf17bb49fc2486a44a8709b4b0a06ee5c1c80ed6e56b54415373ae2530298392 days 17 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xf87a7ec94884f44d9de33d36b73f42c7c0dd38b12.444691963896803 Ether
0x5c50a7a21cf17bb49fc2486a44a8709b4b0a06ee5c1c80ed6e56b54415373ae2530298392 days 17 hrs ago0x6d2373d56789558206b767a96342b63c295daf3c0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf2.444691963896803 Ether
0x0724dca63bd2ed29912279ef327c20208419056a53ecc9d74a0d2feb2be3c003529560693 days 23 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xf87a7ec94884f44d9de33d36b73f42c7c0dd38b10.6586881200620653 Ether
0x0724dca63bd2ed29912279ef327c20208419056a53ecc9d74a0d2feb2be3c003529560693 days 23 hrs ago0x6d2373d56789558206b767a96342b63c295daf3c0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0.6586881200620653 Ether
0xfcc6dde121e60aafc604b59954bcb63d243c61172653786bfaeed82dd5d91e365239181103 days 12 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xf87a7ec94884f44d9de33d36b73f42c7c0dd38b10.24198713224059307 Ether
0xfcc6dde121e60aafc604b59954bcb63d243c61172653786bfaeed82dd5d91e365239181103 days 12 hrs ago0x6d2373d56789558206b767a96342b63c295daf3c0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0.24198713224059307 Ether
0xb5aa0f6944d883cd6458da2016fb9f5d4a02cf61c7ebf5c2eb544cccdcc5887a5220278106 days 17 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xf87a7ec94884f44d9de33d36b73f42c7c0dd38b10.260050061368063173 Ether
0xb5aa0f6944d883cd6458da2016fb9f5d4a02cf61c7ebf5c2eb544cccdcc5887a5220278106 days 17 hrs ago0xbc41f47c9df84ea0c2c198e50df4b3666ffe3bd40x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0.260050061368063173 Ether
0x7c2360fa7d3de72734bcdfbe0db4e59d8d4abbfe2ec0de9b25e4a6dbe36d62df5196063110 days 20 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xf87a7ec94884f44d9de33d36b73f42c7c0dd38b14 Ether
0x7c2360fa7d3de72734bcdfbe0db4e59d8d4abbfe2ec0de9b25e4a6dbe36d62df5196063110 days 20 hrs ago0xfb5c7c7a199912c3bb5974ed0e0b3fddc9d2e6c00x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf4 Ether
0x5abfbbea7d83a82f83db7e9e75f0b7ed21b27f7aa8fa443eee2ae606183754985164781116 days 3 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xf87a7ec94884f44d9de33d36b73f42c7c0dd38b17 Ether
0x5abfbbea7d83a82f83db7e9e75f0b7ed21b27f7aa8fa443eee2ae606183754985164781116 days 3 hrs ago0x6d2373d56789558206b767a96342b63c295daf3c0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf7 Ether
0xb87252d63e81f1aa74447522f30b52f22297fe1fc11331cd068410e047c4094b5164781116 days 3 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xf87a7ec94884f44d9de33d36b73f42c7c0dd38b19.331126851173401499 Ether
0xb87252d63e81f1aa74447522f30b52f22297fe1fc11331cd068410e047c4094b5164781116 days 3 hrs ago0xbc41f47c9df84ea0c2c198e50df4b3666ffe3bd40x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf9.331126851173401499 Ether
0xd3bd28f38e52984088f978710b0e4ee44e422475cd7c8070f07900419a7e915e5152058118 days 8 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xf87a7ec94884f44d9de33d36b73f42c7c0dd38b19.103103353140311411 Ether
0xd3bd28f38e52984088f978710b0e4ee44e422475cd7c8070f07900419a7e915e5152058118 days 8 hrs ago0xbc41f47c9df84ea0c2c198e50df4b3666ffe3bd40x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf9.103103353140311411 Ether
0xbf7756ed9af41dea53577d82a7288b9f3dc0b9dda7b1ada54bb39c2efc59befa5118296124 days 2 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xf87a7ec94884f44d9de33d36b73f42c7c0dd38b14.49625109136436723 Ether
0xbf7756ed9af41dea53577d82a7288b9f3dc0b9dda7b1ada54bb39c2efc59befa5118296124 days 2 hrs ago0x96235c611fb8f694f79e7bf9eafc3847bd7d305c0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf4.49625109136436723 Ether
0xb16b3b66ddab722b2dcd39af77be600eb2737ad3d82e0219063245f3a19e10525091788128 days 12 hrs ago0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf0xf87a7ec94884f44d9de33d36b73f42c7c0dd38b14.194846970063252917 Ether
0xb16b3b66ddab722b2dcd39af77be600eb2737ad3d82e0219063245f3a19e10525091788128 days 12 hrs ago0x96235c611fb8f694f79e7bf9eafc3847bd7d305c0x0f1c029c5d7f626f6820bfe0f6a7b2ac48746ddf4.194846970063252917 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to ZeroFunctionSelector (very low-severity) Solidity compiler bugs.

Contract Source Code Verified (Similar match)
Note: Displaying similar matching verified source code at contract 0x94c654fef85b8b0a982909a6ca45b66bb2384236(excluding Constructor Arguments if any)
Contract Name: BancorConverter
Compiler Version: v0.4.16+commit.d7661dd9
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.11;

/*
    Utilities & Common Modifiers
*/
contract Utils {
    /**
        constructor
    */
    function Utils() {
    }

    // verifies that an amount is greater than zero
    modifier greaterThanZero(uint256 _amount) {
        require(_amount > 0);
        _;
    }

    // validates an address - currently only checks that it isn't null
    modifier validAddress(address _address) {
        require(_address != 0x0);
        _;
    }

    // verifies that the address is different than this contract address
    modifier notThis(address _address) {
        require(_address != address(this));
        _;
    }

    // Overflow protected math functions

    /**
        @dev returns the sum of _x and _y, asserts if the calculation overflows

        @param _x   value 1
        @param _y   value 2

        @return sum
    */
    function safeAdd(uint256 _x, uint256 _y) internal constant returns (uint256) {
        uint256 z = _x + _y;
        assert(z >= _x);
        return z;
    }

    /**
        @dev returns the difference of _x minus _y, asserts if the subtraction results in a negative number

        @param _x   minuend
        @param _y   subtrahend

        @return difference
    */
    function safeSub(uint256 _x, uint256 _y) internal constant returns (uint256) {
        assert(_x >= _y);
        return _x - _y;
    }

    /**
        @dev returns the product of multiplying _x by _y, asserts if the calculation overflows

        @param _x   factor 1
        @param _y   factor 2

        @return product
    */
    function safeMul(uint256 _x, uint256 _y) internal constant returns (uint256) {
        uint256 z = _x * _y;
        assert(_x == 0 || z / _x == _y);
        return z;
    }
}

/*
    ERC20 Standard Token interface
*/
contract IERC20Token {
    // these functions aren't abstract since the compiler emits automatically generated getter functions as external
    function name() public constant returns (string) {}
    function symbol() public constant returns (string) {}
    function decimals() public constant returns (uint8) {}
    function totalSupply() public constant returns (uint256) {}
    function balanceOf(address _owner) public constant returns (uint256) { _owner; }
    function allowance(address _owner, address _spender) public constant returns (uint256) { _owner; _spender; }

    function transfer(address _to, uint256 _value) public returns (bool success);
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
    function approve(address _spender, uint256 _value) public returns (bool success);
}

/*
    Owned contract interface
*/
contract IOwned {
    // this function isn't abstract since the compiler emits automatically generated getter functions as external
    function owner() public constant returns (address) {}

    function transferOwnership(address _newOwner) public;
    function acceptOwnership() public;
}

/*
    Provides support and utilities for contract ownership
*/
contract Owned is IOwned {
    address public owner;
    address public newOwner;

    event OwnerUpdate(address _prevOwner, address _newOwner);

    /**
        @dev constructor
    */
    function Owned() {
        owner = msg.sender;
    }

    // allows execution by the owner only
    modifier ownerOnly {
        assert(msg.sender == owner);
        _;
    }

    /**
        @dev allows transferring the contract ownership
        the new owner still needs to accept the transfer
        can only be called by the contract owner

        @param _newOwner    new contract owner
    */
    function transferOwnership(address _newOwner) public ownerOnly {
        require(_newOwner != owner);
        newOwner = _newOwner;
    }

    /**
        @dev used by a new owner to accept an ownership transfer
    */
    function acceptOwnership() public {
        require(msg.sender == newOwner);
        OwnerUpdate(owner, newOwner);
        owner = newOwner;
        newOwner = 0x0;
    }
}

/*
    Provides support and utilities for contract management
*/
contract Managed {
    address public manager;
    address public newManager;

    event ManagerUpdate(address _prevManager, address _newManager);

    /**
        @dev constructor
    */
    function Managed() {
        manager = msg.sender;
    }

    // allows execution by the manager only
    modifier managerOnly {
        assert(msg.sender == manager);
        _;
    }

    /**
        @dev allows transferring the contract management
        the new manager still needs to accept the transfer
        can only be called by the contract manager

        @param _newManager    new contract manager
    */
    function transferManagement(address _newManager) public managerOnly {
        require(_newManager != manager);
        newManager = _newManager;
    }

    /**
        @dev used by a new manager to accept a management transfer
    */
    function acceptManagement() public {
        require(msg.sender == newManager);
        ManagerUpdate(manager, newManager);
        manager = newManager;
        newManager = 0x0;
    }
}

/*
    Token Holder interface
*/
contract ITokenHolder is IOwned {
    function withdrawTokens(IERC20Token _token, address _to, uint256 _amount) public;
}

/*
    EIP228 Token Converter interface
*/
contract ITokenConverter {
    function convertibleTokenCount() public constant returns (uint16);
    function convertibleToken(uint16 _tokenIndex) public constant returns (address);
    function getReturn(IERC20Token _fromToken, IERC20Token _toToken, uint256 _amount) public constant returns (uint256);
    function convert(IERC20Token _fromToken, IERC20Token _toToken, uint256 _amount, uint256 _minReturn) public returns (uint256);
    // deprecated, backward compatibility
    function change(IERC20Token _fromToken, IERC20Token _toToken, uint256 _amount, uint256 _minReturn) public returns (uint256);
}

/*
    We consider every contract to be a 'token holder' since it's currently not possible
    for a contract to deny receiving tokens.

    The TokenHolder's contract sole purpose is to provide a safety mechanism that allows
    the owner to send tokens that were sent to the contract by mistake back to their sender.
*/
contract TokenHolder is ITokenHolder, Owned, Utils {
    /**
        @dev constructor
    */
    function TokenHolder() {
    }

    /**
        @dev withdraws tokens held by the contract and sends them to an account
        can only be called by the owner

        @param _token   ERC20 token contract address
        @param _to      account to receive the new amount
        @param _amount  amount to withdraw
    */
    function withdrawTokens(IERC20Token _token, address _to, uint256 _amount)
        public
        ownerOnly
        validAddress(_token)
        validAddress(_to)
        notThis(_to)
    {
        assert(_token.transfer(_to, _amount));
    }
}

/*
    Smart Token interface
*/
contract ISmartToken is IOwned, IERC20Token {
    function disableTransfers(bool _disable) public;
    function issue(address _to, uint256 _amount) public;
    function destroy(address _from, uint256 _amount) public;
}

/*
    Bancor Formula interface
*/
contract IBancorFormula {
    function calculatePurchaseReturn(uint256 _supply, uint256 _connectorBalance, uint32 _connectorWeight, uint256 _depositAmount) public constant returns (uint256);
    function calculateSaleReturn(uint256 _supply, uint256 _connectorBalance, uint32 _connectorWeight, uint256 _sellAmount) public constant returns (uint256);
}

/*
    Bancor Gas Price Limit interface
*/
contract IBancorGasPriceLimit {
    function gasPrice() public constant returns (uint256) {}
}

/*
    Bancor Quick Converter interface
*/
contract IBancorQuickConverter {
    function convert(IERC20Token[] _path, uint256 _amount, uint256 _minReturn) public payable returns (uint256);
    function convertFor(IERC20Token[] _path, uint256 _amount, uint256 _minReturn, address _for) public payable returns (uint256);
}

/*
    Bancor Converter Extensions interface
*/
contract IBancorConverterExtensions {
    function formula() public constant returns (IBancorFormula) {}
    function gasPriceLimit() public constant returns (IBancorGasPriceLimit) {}
    function quickConverter() public constant returns (IBancorQuickConverter) {}
}

/*
    The smart token controller is an upgradable part of the smart token that allows
    more functionality as well as fixes for bugs/exploits.
    Once it accepts ownership of the token, it becomes the token's sole controller
    that can execute any of its functions.

    To upgrade the controller, ownership must be transferred to a new controller, along with
    any relevant data.

    The smart token must be set on construction and cannot be changed afterwards.
    Wrappers are provided (as opposed to a single 'execute' function) for each of the token's functions, for easier access.

    Note that the controller can transfer token ownership to a new controller that
    doesn't allow executing any function on the token, for a trustless solution.
    Doing that will also remove the owner's ability to upgrade the controller.
*/
contract SmartTokenController is TokenHolder {
    ISmartToken public token;   // smart token

    /**
        @dev constructor
    */
    function SmartTokenController(ISmartToken _token)
        validAddress(_token)
    {
        token = _token;
    }

    // ensures that the controller is the token's owner
    modifier active() {
        assert(token.owner() == address(this));
        _;
    }

    // ensures that the controller is not the token's owner
    modifier inactive() {
        assert(token.owner() != address(this));
        _;
    }

    /**
        @dev allows transferring the token ownership
        the new owner still need to accept the transfer
        can only be called by the contract owner

        @param _newOwner    new token owner
    */
    function transferTokenOwnership(address _newOwner) public ownerOnly {
        token.transferOwnership(_newOwner);
    }

    /**
        @dev used by a new owner to accept a token ownership transfer
        can only be called by the contract owner
    */
    function acceptTokenOwnership() public ownerOnly {
        token.acceptOwnership();
    }

    /**
        @dev disables/enables token transfers
        can only be called by the contract owner

        @param _disable    true to disable transfers, false to enable them
    */
    function disableTokenTransfers(bool _disable) public ownerOnly {
        token.disableTransfers(_disable);
    }

    /**
        @dev withdraws tokens held by the token and sends them to an account
        can only be called by the owner

        @param _token   ERC20 token contract address
        @param _to      account to receive the new amount
        @param _amount  amount to withdraw
    */
    function withdrawFromToken(IERC20Token _token, address _to, uint256 _amount) public ownerOnly {
        ITokenHolder(token).withdrawTokens(_token, _to, _amount);
    }
}

/*
    Bancor Converter v0.6

    The Bancor version of the token converter, allows conversion between a smart token and other ERC20 tokens and between different ERC20 tokens and themselves.

    ERC20 connector balance can be virtual, meaning that the calculations are based on the virtual balance instead of relying on
    the actual connector balance. This is a security mechanism that prevents the need to keep a very large (and valuable) balance in a single contract.

    The converter is upgradable (just like any SmartTokenController).

    WARNING: It is NOT RECOMMENDED to use the converter with Smart Tokens that have less than 8 decimal digits
             or with very small numbers because of precision loss


    Open issues:
    - Front-running attacks are currently mitigated by the following mechanisms:
        - minimum return argument for each conversion provides a way to define a minimum/maximum price for the transaction
        - gas price limit prevents users from having control over the order of execution
      Other potential solutions might include a commit/reveal based schemes
    - Possibly add getters for the connector fields so that the client won't need to rely on the order in the struct
*/
contract BancorConverter is ITokenConverter, SmartTokenController, Managed {
    uint32 private constant MAX_WEIGHT = 1000000;
    uint32 private constant MAX_CONVERSION_FEE = 1000000;

    struct Connector {
        uint256 virtualBalance;         // connector virtual balance
        uint32 weight;                  // connector weight, represented in ppm, 1-1000000
        bool isVirtualBalanceEnabled;   // true if virtual balance is enabled, false if not
        bool isPurchaseEnabled;         // is purchase of the smart token enabled with the connector, can be set by the owner
        bool isSet;                     // used to tell if the mapping element is defined
    }

    string public version = '0.6';
    string public converterType = 'bancor';

    IBancorConverterExtensions public extensions;       // bancor converter extensions contract
    IERC20Token[] public connectorTokens;               // ERC20 standard token addresses
    IERC20Token[] public quickBuyPath;                  // conversion path that's used in order to buy the token with ETH
    mapping (address => Connector) public connectors;   // connector token addresses -> connector data
    uint32 private totalConnectorWeight = 0;            // used to efficiently prevent increasing the total connector weight above 100%
    uint32 public maxConversionFee = 0;                 // maximum conversion fee for the lifetime of the contract, represented in ppm, 0...1000000 (0 = no fee, 100 = 0.01%, 1000000 = 100%)
    uint32 public conversionFee = 0;                    // current conversion fee, represented in ppm, 0...maxConversionFee
    bool public conversionsEnabled = true;              // true if token conversions is enabled, false if not

    // triggered when a conversion between two tokens occurs (TokenConverter event)
    event Conversion(address indexed _fromToken, address indexed _toToken, address indexed _trader, uint256 _amount, uint256 _return,
                     uint256 _currentPriceN, uint256 _currentPriceD);
    // triggered when the conversion fee is updated
    event ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee);

    /**
        @dev constructor

        @param  _token              smart token governed by the converter
        @param  _extensions         address of a bancor converter extensions contract
        @param  _maxConversionFee   maximum conversion fee, represented in ppm
        @param  _connectorToken     optional, initial connector, allows defining the first connector at deployment time
        @param  _connectorWeight    optional, weight for the initial connector
    */
    function BancorConverter(ISmartToken _token, IBancorConverterExtensions _extensions, uint32 _maxConversionFee, IERC20Token _connectorToken, uint32 _connectorWeight)
        SmartTokenController(_token)
        validAddress(_extensions)
        validMaxConversionFee(_maxConversionFee)
    {
        extensions = _extensions;
        maxConversionFee = _maxConversionFee;

        if (address(_connectorToken) != 0x0)
            addConnector(_connectorToken, _connectorWeight, false);
    }

    // validates a connector token address - verifies that the address belongs to one of the connector tokens
    modifier validConnector(IERC20Token _address) {
        require(connectors[_address].isSet);
        _;
    }

    // validates a token address - verifies that the address belongs to one of the convertible tokens
    modifier validToken(IERC20Token _address) {
        require(_address == token || connectors[_address].isSet);
        _;
    }

    // verifies that the gas price is lower than the universal limit
    modifier validGasPrice() {
        assert(tx.gasprice <= extensions.gasPriceLimit().gasPrice());
        _;
    }

    // validates maximum conversion fee
    modifier validMaxConversionFee(uint32 _conversionFee) {
        require(_conversionFee >= 0 && _conversionFee <= MAX_CONVERSION_FEE);
        _;
    }

    // validates conversion fee
    modifier validConversionFee(uint32 _conversionFee) {
        require(_conversionFee >= 0 && _conversionFee <= maxConversionFee);
        _;
    }

    // validates connector weight range
    modifier validConnectorWeight(uint32 _weight) {
        require(_weight > 0 && _weight <= MAX_WEIGHT);
        _;
    }

    // validates a conversion path - verifies that the number of elements is odd and that maximum number of 'hops' is 10
    modifier validConversionPath(IERC20Token[] _path) {
        require(_path.length > 2 && _path.length <= (1 + 2 * 10) && _path.length % 2 == 1);
        _;
    }

    // allows execution only when conversions aren't disabled
    modifier conversionsAllowed {
        assert(conversionsEnabled);
        _;
    }

    /**
        @dev returns the number of connector tokens defined

        @return number of connector tokens
    */
    function connectorTokenCount() public constant returns (uint16) {
        return uint16(connectorTokens.length);
    }

    /**
        @dev returns the number of convertible tokens supported by the contract
        note that the number of convertible tokens is the number of connector token, plus 1 (that represents the smart token)

        @return number of convertible tokens
    */
    function convertibleTokenCount() public constant returns (uint16) {
        return connectorTokenCount() + 1;
    }

    /**
        @dev given a convertible token index, returns its contract address

        @param _tokenIndex  convertible token index

        @return convertible token address
    */
    function convertibleToken(uint16 _tokenIndex) public constant returns (address) {
        if (_tokenIndex == 0)
            return token;
        return connectorTokens[_tokenIndex - 1];
    }

    /*
        @dev allows the owner to update the extensions contract address

        @param _extensions    address of a bancor converter extensions contract
    */
    function setExtensions(IBancorConverterExtensions _extensions)
        public
        ownerOnly
        validAddress(_extensions)
        notThis(_extensions)
    {
        extensions = _extensions;
    }

    /*
        @dev allows the manager to update the quick buy path

        @param _path    new quick buy path, see conversion path format in the BancorQuickConverter contract
    */
    function setQuickBuyPath(IERC20Token[] _path)
        public
        ownerOnly
        validConversionPath(_path)
    {
        quickBuyPath = _path;
    }

    /*
        @dev allows the manager to clear the quick buy path
    */
    function clearQuickBuyPath() public ownerOnly {
        quickBuyPath.length = 0;
    }

    /**
        @dev returns the length of the quick buy path array

        @return quick buy path length
    */
    function getQuickBuyPathLength() public constant returns (uint256) {
        return quickBuyPath.length;
    }

    /**
        @dev disables the entire conversion functionality
        this is a safety mechanism in case of a emergency
        can only be called by the manager

        @param _disable true to disable conversions, false to re-enable them
    */
    function disableConversions(bool _disable) public managerOnly {
        conversionsEnabled = !_disable;
    }

    /**
        @dev updates the current conversion fee
        can only be called by the manager

        @param _conversionFee new conversion fee, represented in ppm
    */
    function setConversionFee(uint32 _conversionFee)
        public
        managerOnly
        validConversionFee(_conversionFee)
    {
        ConversionFeeUpdate(conversionFee, _conversionFee);
        conversionFee = _conversionFee;
    }

    /*
        @dev returns the conversion fee amount for a given return amount

        @return conversion fee amount
    */
    function getConversionFeeAmount(uint256 _amount) public constant returns (uint256) {
        return safeMul(_amount, conversionFee) / MAX_CONVERSION_FEE;
    }

    /**
        @dev defines a new connector for the token
        can only be called by the owner while the converter is inactive

        @param _token                  address of the connector token
        @param _weight                 constant connector weight, represented in ppm, 1-1000000
        @param _enableVirtualBalance   true to enable virtual balance for the connector, false to disable it
    */
    function addConnector(IERC20Token _token, uint32 _weight, bool _enableVirtualBalance)
        public
        ownerOnly
        inactive
        validAddress(_token)
        notThis(_token)
        validConnectorWeight(_weight)
    {
        require(_token != token && !connectors[_token].isSet && totalConnectorWeight + _weight <= MAX_WEIGHT); // validate input

        connectors[_token].virtualBalance = 0;
        connectors[_token].weight = _weight;
        connectors[_token].isVirtualBalanceEnabled = _enableVirtualBalance;
        connectors[_token].isPurchaseEnabled = true;
        connectors[_token].isSet = true;
        connectorTokens.push(_token);
        totalConnectorWeight += _weight;
    }

    /**
        @dev updates one of the token connectors
        can only be called by the owner

        @param _connectorToken         address of the connector token
        @param _weight                 constant connector weight, represented in ppm, 1-1000000
        @param _enableVirtualBalance   true to enable virtual balance for the connector, false to disable it
        @param _virtualBalance         new connector's virtual balance
    */
    function updateConnector(IERC20Token _connectorToken, uint32 _weight, bool _enableVirtualBalance, uint256 _virtualBalance)
        public
        ownerOnly
        validConnector(_connectorToken)
        validConnectorWeight(_weight)
    {
        Connector storage connector = connectors[_connectorToken];
        require(totalConnectorWeight - connector.weight + _weight <= MAX_WEIGHT); // validate input

        totalConnectorWeight = totalConnectorWeight - connector.weight + _weight;
        connector.weight = _weight;
        connector.isVirtualBalanceEnabled = _enableVirtualBalance;
        connector.virtualBalance = _virtualBalance;
    }

    /**
        @dev disables purchasing with the given connector token in case the connector token got compromised
        can only be called by the owner
        note that selling is still enabled regardless of this flag and it cannot be disabled by the owner

        @param _connectorToken  connector token contract address
        @param _disable         true to disable the token, false to re-enable it
    */
    function disableConnectorPurchases(IERC20Token _connectorToken, bool _disable)
        public
        ownerOnly
        validConnector(_connectorToken)
    {
        connectors[_connectorToken].isPurchaseEnabled = !_disable;
    }

    /**
        @dev returns the connector's virtual balance if one is defined, otherwise returns the actual balance

        @param _connectorToken  connector token contract address

        @return connector balance
    */
    function getConnectorBalance(IERC20Token _connectorToken)
        public
        constant
        validConnector(_connectorToken)
        returns (uint256)
    {
        Connector storage connector = connectors[_connectorToken];
        return connector.isVirtualBalanceEnabled ? connector.virtualBalance : _connectorToken.balanceOf(this);
    }

    /**
        @dev returns the expected return for converting a specific amount of _fromToken to _toToken

        @param _fromToken  ERC20 token to convert from
        @param _toToken    ERC20 token to convert to
        @param _amount     amount to convert, in fromToken

        @return expected conversion return amount
    */
    function getReturn(IERC20Token _fromToken, IERC20Token _toToken, uint256 _amount) public constant returns (uint256) {
        require(_fromToken != _toToken); // validate input

        // conversion between the token and one of its connectors
        if (_toToken == token)
            return getPurchaseReturn(_fromToken, _amount);
        else if (_fromToken == token)
            return getSaleReturn(_toToken, _amount);

        // conversion between 2 connectors
        uint256 purchaseReturnAmount = getPurchaseReturn(_fromToken, _amount);
        return getSaleReturn(_toToken, purchaseReturnAmount, safeAdd(token.totalSupply(), purchaseReturnAmount));
    }

    /**
        @dev returns the expected return for buying the token for a connector token

        @param _connectorToken  connector token contract address
        @param _depositAmount   amount to deposit (in the connector token)

        @return expected purchase return amount
    */
    function getPurchaseReturn(IERC20Token _connectorToken, uint256 _depositAmount)
        public
        constant
        active
        validConnector(_connectorToken)
        returns (uint256)
    {
        Connector storage connector = connectors[_connectorToken];
        require(connector.isPurchaseEnabled); // validate input

        uint256 tokenSupply = token.totalSupply();
        uint256 connectorBalance = getConnectorBalance(_connectorToken);
        uint256 amount = extensions.formula().calculatePurchaseReturn(tokenSupply, connectorBalance, connector.weight, _depositAmount);

        // deduct the fee from the return amount
        uint256 feeAmount = getConversionFeeAmount(amount);
        return safeSub(amount, feeAmount);
    }

    /**
        @dev returns the expected return for selling the token for one of its connector tokens

        @param _connectorToken  connector token contract address
        @param _sellAmount      amount to sell (in the smart token)

        @return expected sale return amount
    */
    function getSaleReturn(IERC20Token _connectorToken, uint256 _sellAmount) public constant returns (uint256) {
        return getSaleReturn(_connectorToken, _sellAmount, token.totalSupply());
    }

    /**
        @dev converts a specific amount of _fromToken to _toToken

        @param _fromToken  ERC20 token to convert from
        @param _toToken    ERC20 token to convert to
        @param _amount     amount to convert, in fromToken
        @param _minReturn  if the conversion results in an amount smaller than the minimum return - it is cancelled, must be nonzero

        @return conversion return amount
    */
    function convert(IERC20Token _fromToken, IERC20Token _toToken, uint256 _amount, uint256 _minReturn) public returns (uint256) {
        require(_fromToken != _toToken); // validate input

        // conversion between the token and one of its connectors
        if (_toToken == token)
            return buy(_fromToken, _amount, _minReturn);
        else if (_fromToken == token)
            return sell(_toToken, _amount, _minReturn);

        // conversion between 2 connectors
        uint256 purchaseAmount = buy(_fromToken, _amount, 1);
        return sell(_toToken, purchaseAmount, _minReturn);
    }

    /**
        @dev buys the token by depositing one of its connector tokens

        @param _connectorToken  connector token contract address
        @param _depositAmount   amount to deposit (in the connector token)
        @param _minReturn       if the conversion results in an amount smaller than the minimum return - it is cancelled, must be nonzero

        @return buy return amount
    */
    function buy(IERC20Token _connectorToken, uint256 _depositAmount, uint256 _minReturn)
        public
        conversionsAllowed
        validGasPrice
        greaterThanZero(_minReturn)
        returns (uint256)
    {
        uint256 amount = getPurchaseReturn(_connectorToken, _depositAmount);
        assert(amount != 0 && amount >= _minReturn); // ensure the trade gives something in return and meets the minimum requested amount

        // update virtual balance if relevant
        Connector storage connector = connectors[_connectorToken];
        if (connector.isVirtualBalanceEnabled)
            connector.virtualBalance = safeAdd(connector.virtualBalance, _depositAmount);

        // transfer _depositAmount funds from the caller in the connector token
        assert(_connectorToken.transferFrom(msg.sender, this, _depositAmount));
        // issue new funds to the caller in the smart token
        token.issue(msg.sender, amount);

        dispatchConversionEvent(_connectorToken, _depositAmount, amount, true);
        return amount;
    }

    /**
        @dev sells the token by withdrawing from one of its connector tokens

        @param _connectorToken  connector token contract address
        @param _sellAmount      amount to sell (in the smart token)
        @param _minReturn       if the conversion results in an amount smaller the minimum return - it is cancelled, must be nonzero

        @return sell return amount
    */
    function sell(IERC20Token _connectorToken, uint256 _sellAmount, uint256 _minReturn)
        public
        conversionsAllowed
        validGasPrice
        greaterThanZero(_minReturn)
        returns (uint256)
    {
        require(_sellAmount <= token.balanceOf(msg.sender)); // validate input

        uint256 amount = getSaleReturn(_connectorToken, _sellAmount);
        assert(amount != 0 && amount >= _minReturn); // ensure the trade gives something in return and meets the minimum requested amount

        uint256 tokenSupply = token.totalSupply();
        uint256 connectorBalance = getConnectorBalance(_connectorToken);
        // ensure that the trade will only deplete the connector if the total supply is depleted as well
        assert(amount < connectorBalance || (amount == connectorBalance && _sellAmount == tokenSupply));

        // update virtual balance if relevant
        Connector storage connector = connectors[_connectorToken];
        if (connector.isVirtualBalanceEnabled)
            connector.virtualBalance = safeSub(connector.virtualBalance, amount);

        // destroy _sellAmount from the caller's balance in the smart token
        token.destroy(msg.sender, _sellAmount);
        // transfer funds to the caller in the connector token
        // the transfer might fail if the actual connector balance is smaller than the virtual balance
        assert(_connectorToken.transfer(msg.sender, amount));

        dispatchConversionEvent(_connectorToken, _sellAmount, amount, false);
        return amount;
    }

    /**
        @dev converts the token to any other token in the bancor network by following a predefined conversion path
        note that when converting from an ERC20 token (as opposed to a smart token), allowance must be set beforehand

        @param _path        conversion path, see conversion path format in the BancorQuickConverter contract
        @param _amount      amount to convert from (in the initial source token)
        @param _minReturn   if the conversion results in an amount smaller than the minimum return - it is cancelled, must be nonzero

        @return tokens issued in return
    */
    function quickConvert(IERC20Token[] _path, uint256 _amount, uint256 _minReturn)
        public
        payable
        validConversionPath(_path)
        returns (uint256)
    {
        IERC20Token fromToken = _path[0];
        IBancorQuickConverter quickConverter = extensions.quickConverter();

        // we need to transfer the source tokens from the caller to the quick converter,
        // so it can execute the conversion on behalf of the caller
        if (msg.value == 0) {
            // not ETH, send the source tokens to the quick converter
            // if the token is the smart token, no allowance is required - destroy the tokens from the caller and issue them to the quick converter
            if (fromToken == token) {
                token.destroy(msg.sender, _amount); // destroy _amount tokens from the caller's balance in the smart token
                token.issue(quickConverter, _amount); // issue _amount new tokens to the quick converter
            }
            else {
                // otherwise, we assume we already have allowance, transfer the tokens directly to the quick converter
                assert(fromToken.transferFrom(msg.sender, quickConverter, _amount));
            }
        }

        // execute the conversion and pass on the ETH with the call
        return quickConverter.convertFor.value(msg.value)(_path, _amount, _minReturn, msg.sender);
    }

    // deprecated, backward compatibility
    function change(IERC20Token _fromToken, IERC20Token _toToken, uint256 _amount, uint256 _minReturn) public returns (uint256) {
        return convert(_fromToken, _toToken, _amount, _minReturn);
    }

    /**
        @dev utility, returns the expected return for selling the token for one of its connector tokens, given a total supply override

        @param _connectorToken  connector token contract address
        @param _sellAmount      amount to sell (in the smart token)
        @param _totalSupply     total token supply, overrides the actual token total supply when calculating the return

        @return sale return amount
    */
    function getSaleReturn(IERC20Token _connectorToken, uint256 _sellAmount, uint256 _totalSupply)
        private
        constant
        active
        validConnector(_connectorToken)
        greaterThanZero(_totalSupply)
        returns (uint256)
    {
        Connector storage connector = connectors[_connectorToken];
        uint256 connectorBalance = getConnectorBalance(_connectorToken);
        uint256 amount = extensions.formula().calculateSaleReturn(_totalSupply, connectorBalance, connector.weight, _sellAmount);

        // deduct the fee from the return amount
        uint256 feeAmount = getConversionFeeAmount(amount);
        return safeSub(amount, feeAmount);
    }

    /**
        @dev helper, dispatches the Conversion event
        The function also takes the tokens' decimals into account when calculating the current price

        @param _connectorToken  connector token contract address
        @param _amount          amount purchased/sold (in the source token)
        @param _returnAmount    amount returned (in the target token)
        @param isPurchase       true if it's a purchase, false if it's a sale
    */
    function dispatchConversionEvent(IERC20Token _connectorToken, uint256 _amount, uint256 _returnAmount, bool isPurchase) private {
        Connector storage connector = connectors[_connectorToken];

        // calculate the new price using the simple price formula
        // price = connector balance / (supply * weight)
        // weight is represented in ppm, so multiplying by 1000000
        uint256 connectorAmount = safeMul(getConnectorBalance(_connectorToken), MAX_WEIGHT);
        uint256 tokenAmount = safeMul(token.totalSupply(), connector.weight);

        // normalize values
        uint8 tokenDecimals = token.decimals();
        uint8 connectorTokenDecimals = _connectorToken.decimals();
        if (tokenDecimals != connectorTokenDecimals) {
            if (tokenDecimals > connectorTokenDecimals)
                connectorAmount = safeMul(connectorAmount, 10 ** uint256(tokenDecimals - connectorTokenDecimals));
            else
                tokenAmount = safeMul(tokenAmount, 10 ** uint256(connectorTokenDecimals - tokenDecimals));
        }

        if (isPurchase)
            Conversion(_connectorToken, token, msg.sender, _amount, _returnAmount, connectorAmount, tokenAmount);
        else
            Conversion(token, _connectorToken, msg.sender, _amount, _returnAmount, tokenAmount, connectorAmount);
    }

    /**
        @dev fallback, buys the smart token with ETH
        note that the purchase will use the price at the time of the purchase
    */
    function() payable {
        quickConvert(quickBuyPath, msg.value, 1);
    }
}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"_connectorToken","type":"address"},{"name":"_weight","type":"uint32"},{"name":"_enableVirtualBalance","type":"bool"},{"name":"_virtualBalance","type":"uint256"}],"name":"updateConnector","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"connectors","outputs":[{"name":"virtualBalance","type":"uint256"},{"name":"weight","type":"uint32"},{"name":"isVirtualBalanceEnabled","type":"bool"},{"name":"isPurchaseEnabled","type":"bool"},{"name":"isSet","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"connectorTokens","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_fromToken","type":"address"},{"name":"_toToken","type":"address"},{"name":"_amount","type":"uint256"}],"name":"getReturn","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferTokenOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_disable","type":"bool"}],"name":"disableConversions","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_extensions","type":"address"}],"name":"setExtensions","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"extensions","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_amount","type":"uint256"}],"name":"getConversionFeeAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"acceptTokenOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"converterType","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_weight","type":"uint32"},{"name":"_enableVirtualBalance","type":"bool"}],"name":"addConnector","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"withdrawFromToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"newManager","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"manager","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"clearQuickBuyPath","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_connectorToken","type":"address"},{"name":"_disable","type":"bool"}],"name":"disableConnectorPurchases","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"conversionFee","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_fromToken","type":"address"},{"name":"_toToken","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_minReturn","type":"uint256"}],"name":"change","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_connectorToken","type":"address"},{"name":"_sellAmount","type":"uint256"},{"name":"_minReturn","type":"uint256"}],"name":"sell","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"connectorTokenCount","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_connectorToken","type":"address"},{"name":"_sellAmount","type":"uint256"}],"name":"getSaleReturn","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_fromToken","type":"address"},{"name":"_toToken","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_minReturn","type":"uint256"}],"name":"convert","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_disable","type":"bool"}],"name":"disableTokenTransfers","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getQuickBuyPathLength","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxConversionFee","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_connectorToken","type":"address"},{"name":"_depositAmount","type":"uint256"}],"name":"getPurchaseReturn","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_connectorToken","type":"address"},{"name":"_depositAmount","type":"uint256"},{"name":"_minReturn","type":"uint256"}],"name":"buy","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"convertibleTokenCount","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"conversionsEnabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"acceptManagement","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_path","type":"address[]"}],"name":"setQuickBuyPath","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"newOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_connectorToken","type":"address"}],"name":"getConnectorBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newManager","type":"address"}],"name":"transferManagement","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"quickBuyPath","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_conversionFee","type":"uint32"}],"name":"setConversionFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_path","type":"address[]"},{"name":"_amount","type":"uint256"},{"name":"_minReturn","type":"uint256"}],"name":"quickConvert","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenIndex","type":"uint16"}],"name":"convertibleToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_token","type":"address"},{"name":"_extensions","type":"address"},{"name":"_maxConversionFee","type":"uint32"},{"name":"_connectorToken","type":"address"},{"name":"_connectorWeight","type":"uint32"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_fromToken","type":"address"},{"indexed":true,"name":"_toToken","type":"address"},{"indexed":true,"name":"_trader","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_return","type":"uint256"},{"indexed":false,"name":"_currentPriceN","type":"uint256"},{"indexed":false,"name":"_currentPriceD","type":"uint256"}],"name":"Conversion","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_prevFee","type":"uint32"},{"indexed":false,"name":"_newFee","type":"uint32"}],"name":"ConversionFeeUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_prevManager","type":"address"},{"indexed":false,"name":"_newManager","type":"address"}],"name":"ManagerUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_prevOwner","type":"address"},{"indexed":false,"name":"_newOwner","type":"address"}],"name":"OwnerUpdate","type":"event"}]

  Contract Creation Code Switch To Opcodes View
606060405260408051908101604052600381527f302e360000000000000000000000000000000000000000000000000000000000602082015260059080516200004d92916020019062000485565b506040805190810160405260068082527f62616e636f72000000000000000000000000000000000000000000000000000060208301529080516200009692916020019062000485565b50600b80546001606860020a0319166c010000000000000000000000001790553415620000c257600080fd5b60405160a0806200338783398101604052808051919060200180519190602001805191906020018051919060200180519150505b5b845b5b5b5b60008054600160a060020a03191633600160a060020a03161790555b5b5b80600160a060020a03811615156200013157600080fd5b60028054600160a060020a031916600160a060020a0384161790555b5b505060038054600160a060020a03191633600160a060020a03161790555b83600160a060020a03811615156200018357600080fd5b8360008163ffffffff1610158015620001a55750620f424063ffffffff821611155b1515620001b157600080fd5b60078054600160a060020a031916600160a060020a0388811691909117909155600b805467ffffffff00000000191664010000000063ffffffff89160217905584161562000215576200021584846000640100000000620013676200022682021704565b5b5b5b505b5050505050506200055c565b60005433600160a060020a039081169116146200023f57fe5b600254600160a060020a033081169116638da5cb5b6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515620002a557600080fd5b6102c65a03f11515620002b757600080fd5b50505060405180519050600160a060020a031614151515620002d557fe5b82600160a060020a0381161515620002ec57600080fd5b8330600160a060020a031681600160a060020a0316141515156200030f57600080fd5b8360008163ffffffff16118015620003305750620f424063ffffffff821611155b15156200033c57600080fd5b600254600160a060020a03878116911614801590620003815750600160a060020a0386166000908152600a60205260409020600101546601000000000000900460ff16155b8015620003a05750600b54620f424063ffffffff918216870190911611155b1515620003ac57600080fd5b600160a060020a0386166000908152600a602052604081209081556001908101805466010000000000006501000000000063ffffffff1990921663ffffffff8a161764ff000000001916640100000000891515021765ff000000000019169190911766ff000000000000191617905560088054909181016200042f83826200050b565b916000526020600020900160005b8154600160a060020a03808b166101009390930a9283029202191617905550600b805463ffffffff80821688011663ffffffff199091161790555b5b505b505b505b5b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004c857805160ff1916838001178555620004f8565b82800160010185558215620004f8579182015b82811115620004f8578251825591602001919060010190620004db565b5b506200050792915062000538565b5090565b8154818355818115116200047f576000838152602090206200047f91810190830162000538565b5b505050565b6200055991905b808211156200050757600081556001016200053f565b5090565b90565b612e1b806200056c6000396000f300606060405236156102095763ffffffff60e060020a6000350416630ca7892381146102745780630e53aae9146102a657806319b64015146103015780631e1401f81461033357806321e6b53d1461036d578063228d28201461038e5780632314aad6146103a857806324f159c2146103c95780632a3c2c56146103f857806338a5e016146104205780633e8ff43f146104355780633f4d2fc2146104c057806341a5b33d146104ef5780634290602914610519578063481c6a75146105485780634e2280c414610577578063514385be1461058c57806354fd4d50146105b2578063579cd3ca1461063d5780635e35359e146106695780635e5144eb146106935780636a272462146106d057806371f52bf31461070757806372b44b2c1461073157806375892cf11461076557806379ba5097146107a257806385d5e631146107b75780638da5cb5b146107d15780639396a7f01461080057806394c275ad14610825578063a2c4c33614610851578063a59ac6dd14610885578063ba9a8b37146108bc578063bf754558146108e6578063c8c2fe6c1461090d578063d395ee0f14610922578063d4ee1d9014610973578063d8959512146109a2578063e4edf852146109d3578063e7ee85a5146109f4578063ecbca55d14610a26578063f0843ba914610a44578063f2c8d24714610aa1578063f2fde38b14610ad7578063fc0c546a14610af8575b5b610270600980548060200260200160405190810160405280929190818152602001828054801561026357602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610245575b5050505050346001610b27565b505b005b341561027f57600080fd5b610272600160a060020a036004351663ffffffff602435166044351515606435610e4b565b005b34156102b157600080fd5b6102c5600160a060020a0360043516610f62565b60405194855263ffffffff90931660208501529015156040808501919091529015156060840152901515608083015260a0909101905180910390f35b341561030c57600080fd5b610317600435610fa8565b604051600160a060020a03909116815260200160405180910390f35b341561033e57600080fd5b61035b600160a060020a0360043581169060243516604435610fda565b60405190815260200160405180910390f35b341561037857600080fd5b610272600160a060020a03600435166110d7565b005b341561039957600080fd5b6102726004351515611158565b005b34156103b357600080fd5b610272600160a060020a036004351661119d565b005b34156103d457600080fd5b610317611211565b604051600160a060020a03909116815260200160405180910390f35b341561040357600080fd5b61035b600435611220565b60405190815260200160405180910390f35b341561042b57600080fd5b61027261125a565b005b341561044057600080fd5b6104486112c9565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156104855780820151818401525b60200161046c565b50505050905090810190601f1680156104b25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156104cb57600080fd5b610272600160a060020a036004351663ffffffff602435166044351515611367565b005b34156104fa57600080fd5b610272600160a060020a03600435811690602435166044356115a0565b005b341561052457600080fd5b610317611636565b604051600160a060020a03909116815260200160405180910390f35b341561055357600080fd5b610317611645565b604051600160a060020a03909116815260200160405180910390f35b341561058257600080fd5b610272611654565b005b341561059757600080fd5b610272600160a060020a0360043516602435151561167e565b005b34156105bd57600080fd5b610448611707565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156104855780820151818401525b60200161046c565b50505050905090810190601f1680156104b25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561064857600080fd5b6106506117a5565b60405163ffffffff909116815260200160405180910390f35b341561067457600080fd5b610272600160a060020a03600435811690602435166044356117bd565b005b341561069e57600080fd5b61035b600160a060020a03600435811690602435166044356064356118b0565b60405190815260200160405180910390f35b34156106db57600080fd5b61035b600160a060020a03600435166024356044356118c9565b60405190815260200160405180910390f35b341561071257600080fd5b61071a611c3f565b60405161ffff909116815260200160405180910390f35b341561073c57600080fd5b61035b600160a060020a0360043516602435611c46565b60405190815260200160405180910390f35b341561077057600080fd5b61035b600160a060020a0360043581169060243516604435606435611cc1565b60405190815260200160405180910390f35b34156107ad57600080fd5b610272611d53565b005b34156107c257600080fd5b6102726004351515611dee565b005b34156107dc57600080fd5b610317611e67565b604051600160a060020a03909116815260200160405180910390f35b341561080b57600080fd5b61035b611e76565b60405190815260200160405180910390f35b341561083057600080fd5b610650611e7d565b60405163ffffffff909116815260200160405180910390f35b341561085c57600080fd5b61035b600160a060020a0360043516602435611e91565b60405190815260200160405180910390f35b341561089057600080fd5b61035b600160a060020a036004351660243560443561211d565b60405190815260200160405180910390f35b34156108c757600080fd5b61071a61238b565b60405161ffff909116815260200160405180910390f35b34156108f157600080fd5b6108f961239e565b604051901515815260200160405180910390f35b341561091857600080fd5b6102726123b7565b005b341561092d57600080fd5b610272600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061245295505050505050565b005b341561097e57600080fd5b6103176124bd565b604051600160a060020a03909116815260200160405180910390f35b34156109ad57600080fd5b61035b600160a060020a03600435166124cc565b60405190815260200160405180910390f35b34156109de57600080fd5b610272600160a060020a03600435166125b8565b005b34156109ff57600080fd5b61031760043561260b565b604051600160a060020a03909116815260200160405180910390f35b3415610a3157600080fd5b61027263ffffffff6004351661263d565b005b61035b600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965050843594602001359350610b2792505050565b60405190815260200160405180910390f35b3415610aac57600080fd5b61031761ffff60043516612713565b604051600160a060020a03909116815260200160405180910390f35b3415610ae257600080fd5b610272600160a060020a0360043516612770565b005b3415610b0357600080fd5b6103176127c3565b604051600160a060020a03909116815260200160405180910390f35b60008060008560028151118015610b4057506015815111155b8015610b59575060028151811515610b5457fe5b066001145b1515610b6457600080fd5b86600081518110610b7157fe5b90602001906020020151600754909350600160a060020a031663c31e05476000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610bc657600080fd5b6102c65a03f11515610bd757600080fd5b5050506040518051925050341515610d6657600254600160a060020a0384811691161415610cd957600254600160a060020a031663a24835d1338860405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610c5557600080fd5b6102c65a03f11515610c6657600080fd5b5050600254600160a060020a0316905063867904b4838860405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610cc057600080fd5b6102c65a03f11515610cd157600080fd5b505050610d66565b82600160a060020a03166323b872dd33848960006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610d4357600080fd5b6102c65a03f11515610d5457600080fd5b505050604051805190501515610d6657fe5b5b5b81600160a060020a031663c98fefed34898989336000604051602001526040518663ffffffff1660e060020a028152600401808060200185815260200184815260200183600160a060020a0316600160a060020a03168152602001828103825286818151815260200191508051906020019060200280838360005b83811015610dfc5780820151818401525b602001610de3565b50505050905001955050505050506020604051808303818588803b1515610e2257600080fd5b6125ee5a03f11515610e3357600080fd5b5050505060405180519450505b5b5050509392505050565b6000805433600160a060020a03908116911614610e6457fe5b600160a060020a0385166000908152600a602052604090206001015485906601000000000000900460ff161515610e9a57600080fd5b8460008163ffffffff16118015610eba5750620f424063ffffffff821611155b1515610ec557600080fd5b600160a060020a0387166000908152600a602052604090206001810154600b54919450620f424063ffffffff918216928216929092038801161115610f0957600080fd5b600183018054600b805463ffffffff928316818416038a01831663ffffffff199182161790915582548815156401000000000264ff0000000019938b169190921617919091161790558383555b5b505b505b5050505050565b600a602052600090815260409020805460019091015463ffffffff81169060ff640100000000820481169165010000000000810482169166010000000000009091041685565b6008805482908110610fb657fe5b906000526020600020900160005b915054906101000a9004600160a060020a031681565b600080600160a060020a038581169085161415610ff657600080fd5b600254600160a060020a038581169116141561101d576110168584611e91565b91506110cf565b600254600160a060020a0386811691161415611044576110168484611c46565b91506110cf565b5b61104f8584611e91565b6002549091506110cc90859083906110c790600160a060020a03166318160ddd6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156110a657600080fd5b6102c65a03f115156110b757600080fd5b50505060405180519050856127d2565b6127ec565b91505b509392505050565b60005433600160a060020a039081169116146110ef57fe5b600254600160a060020a031663f2fde38b8260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561113f57600080fd5b6102c65a03f1151561115057600080fd5b5050505b5b50565b60035433600160a060020a0390811691161461117057fe5b600b80546cff000000000000000000000000191682156c01000000000000000000000000021790555b5b50565b60005433600160a060020a039081169116146111b557fe5b80600160a060020a03811615156111cb57600080fd5b8130600160a060020a031681600160a060020a0316141515156111ed57600080fd5b60078054600160a060020a031916600160a060020a0385161790555b5b505b505b50565b600754600160a060020a031681565b600b54600090620f42409061124890849068010000000000000000900463ffffffff16612a04565b81151561125157fe5b0490505b919050565b60005433600160a060020a0390811691161461127257fe5b600254600160a060020a03166379ba50976040518163ffffffff1660e060020a028152600401600060405180830381600087803b15156112b157600080fd5b6102c65a03f1151561120957600080fd5b5050505b5b565b60068054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561135f5780601f106113345761010080835404028352916020019161135f565b820191906000526020600020905b81548152906001019060200180831161134257829003601f168201915b505050505081565b60005433600160a060020a0390811691161461137f57fe5b600254600160a060020a033081169116638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156113cb57600080fd5b6102c65a03f115156113dc57600080fd5b50505060405180519050600160a060020a0316141515156113f957fe5b82600160a060020a038116151561140f57600080fd5b8330600160a060020a031681600160a060020a03161415151561143157600080fd5b8360008163ffffffff161180156114515750620f424063ffffffff821611155b151561145c57600080fd5b600254600160a060020a038781169116148015906114a05750600160a060020a0386166000908152600a60205260409020600101546601000000000000900460ff16155b80156114be5750600b54620f424063ffffffff918216870190911611155b15156114c957600080fd5b600160a060020a0386166000908152600a602052604081209081556001908101805466010000000000006501000000000063ffffffff1990921663ffffffff8a161764ff000000001916640100000000891515021765ff000000000019169190911766ff0000000000001916179055600880549091810161154a8382612ce7565b916000526020600020900160005b8154600160a060020a03808b166101009390930a9283029202191617905550600b805463ffffffff80821688011663ffffffff199091161790555b5b505b505b505b5b505050565b60005433600160a060020a039081169116146115b857fe5b600254600160a060020a0316635e35359e84848460405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401600060405180830381600087803b151561161b57600080fd5b6102c65a03f11515610f5957600080fd5b5050505b5b505050565b600454600160a060020a031681565b600354600160a060020a031681565b60005433600160a060020a0390811691161461166c57fe5b6000611154600982612ce7565b505b5b565b60005433600160a060020a0390811691161461169657fe5b600160a060020a0382166000908152600a602052604090206001015482906601000000000000900460ff1615156116cc57600080fd5b600160a060020a0383166000908152600a60205260409020600101805465ff00000000001916831565010000000000021790555b5b505b5050565b60058054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561135f5780601f106113345761010080835404028352916020019161135f565b820191906000526020600020905b81548152906001019060200180831161134257829003601f168201915b505050505081565b600b5468010000000000000000900463ffffffff1681565b60005433600160a060020a039081169116146117d557fe5b82600160a060020a03811615156117eb57600080fd5b82600160a060020a038116151561180157600080fd5b8330600160a060020a031681600160a060020a03161415151561182357600080fd5b85600160a060020a031663a9059cbb868660006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561188057600080fd5b6102c65a03f1151561189157600080fd5b505050604051805190501515610f5957fe5b5b5b505b505b505b505050565b60006118be85858585611cc1565b90505b949350505050565b6000806000806000600b600c9054906101000a900460ff1615156118e957fe5b600754600160a060020a031663961a929c6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561193157600080fd5b6102c65a03f1151561194257600080fd5b50505060405180519050600160a060020a031663fe173b976000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561199157600080fd5b6102c65a03f115156119a257600080fd5b50505060405180513a111590506119b557fe5b85600081116119c357600080fd5b600254600160a060020a03166370a082313360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515611a1c57600080fd5b6102c65a03f11515611a2d57600080fd5b50505060405180518911159050611a4357600080fd5b611a4d8989611c46565b94508415801590611a5e5750868510155b1515611a6657fe5b600254600160a060020a03166318160ddd6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611aae57600080fd5b6102c65a03f11515611abf57600080fd5b505050604051805190509350611ad4896124cc565b925082851080611aed57508285148015611aed57508388145b5b1515611af657fe5b600160a060020a0389166000908152600a602052604090206001810154909250640100000000900460ff1615611b35578154611b329086612a33565b82555b600254600160a060020a031663a24835d1338a60405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515611b8b57600080fd5b6102c65a03f11515611b9c57600080fd5b50505088600160a060020a031663a9059cbb338760006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515611bfc57600080fd5b6102c65a03f11515611c0d57600080fd5b505050604051805190501515611c1f57fe5b611c2c8989876000612a4a565b8495505b5b505b5b505050509392505050565b6008545b90565b600254600090611cb89084908490600160a060020a03166318160ddd85604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611c9857600080fd5b6102c65a03f11515611ca957600080fd5b505050604051805190506127ec565b90505b92915050565b600080600160a060020a038681169086161415611cdd57600080fd5b600254600160a060020a0386811691161415611d0557611cfe86858561211d565b9150611d4a565b600254600160a060020a0387811691161415611d2d57611cfe8585856118c9565b9150611d4a565b5b611d3a8685600161211d565b9050611d478582856118c9565b91505b50949350505050565b60015433600160a060020a03908116911614611d6e57600080fd5b6000546001547f343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a91600160a060020a039081169116604051600160a060020a039283168152911660208201526040908101905180910390a16001805460008054600160a060020a0319908116600160a060020a038416179091551690555b565b60005433600160a060020a03908116911614611e0657fe5b600254600160a060020a0316631608f18f8260405160e060020a63ffffffff84160281529015156004820152602401600060405180830381600087803b151561113f57600080fd5b6102c65a03f1151561115057600080fd5b5050505b5b50565b600054600160a060020a031681565b6009545b90565b600b54640100000000900463ffffffff1681565b60025460009081908190819081908190600160a060020a033081169116638da5cb5b83604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611ee957600080fd5b6102c65a03f11515611efa57600080fd5b50505060405180519050600160a060020a0316141515611f1657fe5b600160a060020a0388166000908152600a602052604090206001015488906601000000000000900460ff161515611f4c57600080fd5b600160a060020a0389166000908152600a60205260409020600181015490965065010000000000900460ff161515611f8357600080fd5b600254600160a060020a03166318160ddd6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611fcb57600080fd5b6102c65a03f11515611fdc57600080fd5b505050604051805190509450611ff1896124cc565b600754909450600160a060020a0316634b75f54f6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561203c57600080fd5b6102c65a03f1151561204d57600080fd5b50505060405180516001880154600160a060020a0390911691506329a00e7c908790879063ffffffff168c6000604051602001526040518563ffffffff1660e060020a028152600401808581526020018481526020018363ffffffff1663ffffffff168152602001828152602001945050505050602060405180830381600087803b15156120da57600080fd5b6102c65a03f115156120eb57600080fd5b50505060405180519050925061210083611220565b915061210c8383612a33565b96505b5b505b505050505092915050565b6000806000600b600c9054906101000a900460ff16151561213a57fe5b600754600160a060020a031663961a929c6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561218257600080fd5b6102c65a03f1151561219357600080fd5b50505060405180519050600160a060020a031663fe173b976000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156121e257600080fd5b6102c65a03f115156121f357600080fd5b50505060405180513a1115905061220657fe5b836000811161221457600080fd5b61221e8787611e91565b9250821580159061222f5750848310155b151561223757fe5b600160a060020a0387166000908152600a602052604090206001810154909250640100000000900460ff161561227657815461227390876127d2565b82555b86600160a060020a03166323b872dd33308960006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156122e057600080fd5b6102c65a03f115156122f157600080fd5b50505060405180519050151561230357fe5b600254600160a060020a031663867904b4338560405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561235957600080fd5b6102c65a03f1151561236a57600080fd5b50505061237a8787856001612a4a565b8293505b5b505b5b50509392505050565b6000612395611c3f565b60010190505b90565b600b546c01000000000000000000000000900460ff1681565b60045433600160a060020a039081169116146123d257600080fd5b6003546004547fbe4cc281795971a471c980e842627a7f1ea3892ddfce8c5b6357cd2611c1973291600160a060020a039081169116604051600160a060020a039283168152911660208201526040908101905180910390a16004805460038054600160a060020a0319908116600160a060020a038416179091551690555b565b60005433600160a060020a0390811691161461246a57fe5b806002815111801561247e57506015815111155b801561249757506002815181151561249257fe5b066001145b15156124a257600080fd5b6009828051611209929160200190612d3b565b505b5b505b50565b600154600160a060020a031681565b600160a060020a0381166000908152600a6020526040812060010154819083906601000000000000900460ff16151561250457600080fd5b600160a060020a0384166000908152600a602052604090206001810154909250640100000000900460ff166125aa5783600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561258a57600080fd5b6102c65a03f1151561259b57600080fd5b505050604051805190506125ad565b81545b92505b5b5050919050565b60035433600160a060020a039081169116146125d057fe5b600354600160a060020a03828116911614156125eb57600080fd5b60048054600160a060020a031916600160a060020a0383161790555b5b50565b6009805482908110610fb657fe5b906000526020600020900160005b915054906101000a9004600160a060020a031681565b60035433600160a060020a0390811691161461265557fe5b8060008163ffffffff16101580156126815750600b5463ffffffff640100000000909104811690821611155b151561268c57600080fd5b600b547f81cd2ffb37dd237c0e4e2a3de5265fcf9deb43d3e7801e80db9f1ccfba7ee6009068010000000000000000900463ffffffff168360405163ffffffff9283168152911660208201526040908101905180910390a1600b80546bffffffff000000000000000019166801000000000000000063ffffffff8516021790555b5b505b50565b600061ffff821615156127325750600254600160a060020a0316611255565b6008805461ffff60001985011690811061274857fe5b906000526020600020900160005b9054906101000a9004600160a060020a031690505b919050565b60005433600160a060020a0390811691161461278857fe5b600054600160a060020a03828116911614156127a357600080fd5b60018054600160a060020a031916600160a060020a0383161790555b5b50565b600254600160a060020a031681565b6000828201838110156127e157fe5b8091505b5092915050565b6002546000908190819081908190600160a060020a033081169116638da5cb5b83604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561284257600080fd5b6102c65a03f1151561285357600080fd5b50505060405180519050600160a060020a031614151561286f57fe5b600160a060020a0388166000908152600a602052604090206001015488906601000000000000900460ff1615156128a557600080fd5b86600081116128b357600080fd5b600160a060020a038a166000908152600a6020526040902095506128d68a6124cc565b600754909550600160a060020a0316634b75f54f6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561292157600080fd5b6102c65a03f1151561293257600080fd5b50505060405180516001880154600160a060020a0390911691506349f9b0f7908a90889063ffffffff168d6000604051602001526040518563ffffffff1660e060020a028152600401808581526020018481526020018363ffffffff1663ffffffff168152602001828152602001945050505050602060405180830381600087803b15156129bf57600080fd5b6102c65a03f115156129d057600080fd5b5050506040518051905093506129e584611220565b92506129f18484612a33565b96505b5b505b505b505050509392505050565b6000828202831580612a205750828482811515612a1d57fe5b04145b15156127e157fe5b8091505b5092915050565b600081831015612a3f57fe5b508082035b92915050565b600160a060020a0384166000908152600a6020526040812090808080612a7b612a728a6124cc565b620f4240612a04565b600254909450612af690600160a060020a03166318160ddd6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515612aca57600080fd5b6102c65a03f11515612adb57600080fd5b5050506040518051600188015490915063ffffffff16612a04565b600254909350600160a060020a031663313ce5676000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515612b4157600080fd5b6102c65a03f11515612b5257600080fd5b5050506040518051925050600160a060020a03891663313ce5676000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515612ba357600080fd5b6102c65a03f11515612bb457600080fd5b505050604051805191505060ff82811690821614612c08578060ff168260ff161115612bf357612bec8482840360ff16600a0a612a04565b9350612c08565b612c058383830360ff16600a0a612a04565b92505b5b8515612c7757600254600160a060020a03338116918116908b167f431d62569d69247969ee24b65452f881ddcc12e42b7b71c324403449f870c0d38b8b89896040518085815260200184815260200183815260200182815260200194505050505060405180910390a4612cdb565b600254600160a060020a03338116918b821691167f431d62569d69247969ee24b65452f881ddcc12e42b7b71c324403449f870c0d38b8b888a6040518085815260200184815260200183815260200182815260200194505050505060405180910390a45b5b505050505050505050565b81548183558181151161120957600083815260209020611209918101908301612da3565b5b505050565b81548183558181151161120957600083815260209020611209918101908301612da3565b5b505050565b828054828255906000526020600020908101928215612d92579160200282015b82811115612d925782518254600160a060020a031916600160a060020a039190911617825560209290920191600190910190612d5b565b5b50612d9f929150612dc4565b5090565b611c4391905b80821115612d9f5760008155600101612da9565b5090565b90565b611c4391905b80821115612d9f578054600160a060020a0319168155600101612dca565b5090565b905600a165627a7a72305820347b2c7f77df6e58723d4b932f1b8e2ae0f50e3de2075b386c76cfbab90b0a4500290000000000000000000000001bce0e684a1607fd86407909073eea2336042bf7000000000000000000000000f46002c37af6fb078ae1833fd447698a0c9012f700000000000000000000000000000000000000000000000000000000000075300000000000000000000000001f573d6fb3f13d689ff844b4ce37794d79a7ff1c000000000000000000000000000000000000000000000000000000000007a120

   Swarm Source:
bzzr://347b2c7f77df6e58723d4b932f1b8e2ae0f50e3de2075b386c76cfbab90b0a45

 

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.