Contract 0x3dBDc81a6edc94c720B0B88FB65dBD7e395fDcf6 2

 
 
Txn Hash
Method
Block
From
To
Value
0xa716cb83a49655d7ffbd3cfc10192c624d4b1caf252b14984fddf98a284dff9dSet Base Price160461912022-11-25 9:45:592 days 9 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.00409505 11.97926861
0x2b4d2f5205688704000c1c2c0dd51c740b1f52d159110c129e7afcd09a94d111Set Base Price146677362022-04-27 16:59:30214 days 2 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.01745039 51.04767279
0xcace29cd6861e5a49e400a6c157f6c2380a975104109dbeb342bcdcbec72035eQuery1142177602022-02-16 14:47:49284 days 4 hrs ago0x8127192c2e4703dfb47f087883cc3120fe061cb8 IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.005 Ether0.00411642 75.73229915
0x63b56655d827ca6bd6430b05a102f8d509a6ab0c40ffa576fe53b7ddd3861c97Set Offchain Pay...131786422021-09-07 12:38:40446 days 6 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.00275496100.24619159
0xcb897b0050a3de2e1aaf100c85e2bf78db9ac836332dfbc212663e8878aa2f14Remove Cb Addres...131391242021-09-01 10:08:09452 days 9 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0027289103.76863424
0xf44ca286a6f13d88a5169d3c335c58bdfa9865f8e2508f7e8a53f51bc46f2badRemove Cb Addres...131366542021-09-01 0:53:03452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0x8c44ba05362a5fb0bab9dd5fff2d8cf27e866842741f08e837caeabcbbd9a7e7Remove Cb Addres...131366542021-09-01 0:53:03452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0x940800840aafb7b0052ed70d2dda192eb3d33cb29085e78028c80612e0dcf61cRemove Cb Addres...131366542021-09-01 0:53:03452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0x179291c7f4ab028fb2e80999ce746480a1f5f2684212a9b91e3922d937d274c0Remove Cb Addres...131366542021-09-01 0:53:03452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0x6c7ca1490328cc36a85c6b673ace0aec4e5f23527234567f65ffd5792bd22ab6Remove Cb Addres...131366542021-09-01 0:53:03452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0x925364abf839ad8861130a29f4ac3f12c937f5e1da792b5e95e0506af2860f84Remove Cb Addres...131366542021-09-01 0:53:03452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0x135552f898eb2ec27f82f82fc0aeaeb71af0806af596f09d727f89c1b7a3c553Remove Cb Addres...131366542021-09-01 0:53:03452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0x309de4f509d5c2d021e38bb0a461c69fcb6ddc693199cab90c82461a888af819Remove Cb Addres...131366542021-09-01 0:53:03452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0x5ee3625de9e9457413aeb4692ef3bdd188ebc22886e17ad0df6c338ba41b535aRemove Cb Addres...131366542021-09-01 0:53:03452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0026298100
0x00b23aa641ba244606fde56c157a5c8965009e7136728bc41f5fce6bc6f4d5dfRemove Cb Addres...131366542021-09-01 0:53:03452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0x97e68d4ff8e7f91f0fbe98c3d640d3920b8419546a9591aaf6ec3194074ef17fRemove Cb Addres...131366542021-09-01 0:53:03452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0xe762c2c96052bfcd950e901c26829326addf3637a02a45811b2e75caffd2c8c3Remove Cb Addres...131366542021-09-01 0:53:03452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0x4458dc0125da3afa7c2207558fcb71e5e52d01f2d4fb7f94e977b83faa940a28Remove Cb Addres...131366542021-09-01 0:53:03452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0xa30968f26bed90abae1a27b7ab0eea382ea5209bf1623c8fc11ba54cea9eed7fRemove Cb Addres...131366502021-09-01 0:52:41452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0x73dcde29d7cf6bbe9a874258b15dce866c135ab962edb2b36c6307ddeb2fc289Remove Cb Addres...131366502021-09-01 0:52:41452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0x00b4ea392a36f3b850c6a0ea08287d44a2a94a1ddc244d53481b23cbcc49c739Remove Cb Addres...131366502021-09-01 0:52:41452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0xdda9b8cc31322f4c23a52474b4b145b7f8d7d7f01561f27a00e0b6a798b02468Remove Cb Addres...131366502021-09-01 0:52:41452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0x12fe2faf20072a106a08e2486b4636de5495fe85ca354cd324c7bcc98ac0a9fdRemove Cb Addres...131366502021-09-01 0:52:41452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024286100
0x4646646f084752730d104069dea5759e016793434e4df3c6ab678bc9cf622072Remove Cb Addres...131366502021-09-01 0:52:41452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
0x4c2fc46982eeba278c2bb031cdfa45d26af4646f92c797410ee590f137cf4110Remove Cb Addres...131366502021-09-01 0:52:41452 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb IN  0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60 Ether0.0024298100
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x6be224c50741e742b01e4a6f482ec56497f686e9879eacd8566d119629053a53160528582022-11-26 8:05:591 day 11 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400847 Ether
0xb85096a13938d6c02b917b77319272e957c7b875ce605d83ca1059bd9e2fc02c160385352022-11-24 8:06:113 days 11 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0x0e5c2d43407f6e88e996afda4733f00c8748d194f9e0d9f10f7ed947a36da202160242492022-11-22 8:06:115 days 11 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0xbe78ca6b29f689f71123f6ff1ca7e9a952a979350f4162ee280fc75213959bfb160189992022-11-21 14:31:116 days 5 hrs ago 0x66307169e59141236dd9bea92de4deadbc4fb82e 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00501729 Ether
0xc868f8236363b59acf9e3253bfcb818d4fe8e1dd8fb031bd20b6dc7f62b757be160188732022-11-21 14:05:596 days 5 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0xbb5b5bd407e9578c73390e18e36af918d82bfb32ac5f366ae34089c018ac14a6160117102022-11-20 14:06:117 days 5 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0xa60f1af86ccc73b6d551e03a3825b5ad71e30faaf16bbd9d6fb4771849460588160099232022-11-20 8:06:117 days 11 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0x5efa69bec080e90ee5a20aac1b65b49e23a767b308115eeaa4d6428aab4b7f0f160063372022-11-19 20:06:117 days 23 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0xf1c8c80972d6eda4cef8e5a6e41ac34b617f282ba3284de9271a70d2926e0fc1160045462022-11-19 14:06:118 days 5 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0x40aa5d968e83ece406fa948698d50e67a4f4a373e4aea338f401030be8bee813159991752022-11-18 20:06:118 days 23 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0xa443add722b1ed5d2a19d6fc1efbad638dece53a0bb1e30a6da041deb6cb2968159973852022-11-18 14:05:599 days 5 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0x79ecf69ff613aabe11fa50e69dd2de32d67cbfda0227d0119a0c006caae2822e159969622022-11-18 12:40:479 days 6 hrs ago 0x66307169e59141236dd9bea92de4deadbc4fb82e 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00401729 Ether
0x23bf523124ed7667b793bbac136d1199298c29d142def821fbc0f19d16f68e63159955912022-11-18 8:05:599 days 11 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0xf0130d324a909bb0b662ed64a9d676de7fd07e2e176001342bb5f66769b287eb159884372022-11-17 8:05:5910 days 11 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0x82e364e6dfdd07de9d4d76c16e4f1211be14a4e6c847b7497aebe3459f9e92de159764162022-11-15 15:45:2312 days 3 hrs ago 0x66307169e59141236dd9bea92de4deadbc4fb82e 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00601729 Ether
0x36d7d67e3fd4611a9d1460cb6a39c8b6690203fe243fe34131be07ccb96c4026159759202022-11-15 14:05:5912 days 5 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0xc911474632344c371a699630259376f1218ee907e6a7d70d67fc99875834523a159633852022-11-13 20:06:2313 days 23 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0x3f9068ddce5f2a4c70dc52749fb8d9aadbc9f23632a55ed1b0941c338b78173c159562162022-11-12 20:06:1114 days 23 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0x054bf47218125c552dd8f9a309a8f241a9a239e5180d724b19f899ae649b1684159544202022-11-12 14:06:1115 days 5 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0x44ab76e9e24baf8b808ef2ba4370b0d0bddddbb03437523e594e0208335ff080159526292022-11-12 8:06:1115 days 11 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0x10064c4e9b5daebd0cb604b5d0a909bf108ddfa7a50f7250a6f9e97a2e893228159490462022-11-11 20:06:1115 days 23 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0xc60d11097a13603e888fe414c72f94350af5af03d0eadefce13a71c8adb9d5b3159395142022-11-10 12:07:1117 days 7 hrs ago 0x66307169e59141236dd9bea92de4deadbc4fb82e 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.01301729 Ether
0xc90840cb280cd364628e378ae61529ba69f9817c63014f37239575b82a8b3cf7159311742022-11-09 8:06:1118 days 11 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0x455b0de5ce3bb9b84b6b96bf951e37e5f912dec0ddea4182183fbdc04f7062af159258022022-11-08 14:06:1119 days 5 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
0xda3ab84e61ecad144eba45f6ed524b55e2e313a93191c28b147a1e9356d9a444159240052022-11-08 8:05:5919 days 11 hrs ago 0xabd279febe00c93fb0c9e683c6919ec4f107241f 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00400345 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Oraclize

Compiler Version
v0.4.15+commit.bbb8e64f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2017-10-12
*/

/*
Copyright (c) 2015-2016 Oraclize SRL
Copyright (c) 2016-2017 Oraclize LTD
*/

/*
Oraclize Connector v1.2.0
*/

// 'compressed' alternative, where all modifiers have been changed to FUNCTIONS
// which is cheaper for deployment, potentially cheaper execution

pragma solidity ^0.4.11;

contract Oraclize {
    mapping (address => uint) reqc;

    mapping (address => byte) public cbAddresses;

    mapping (address => bool) public offchainPayment;

    event Log1(address sender, bytes32 cid, uint timestamp, string datasource, string arg, uint gaslimit, byte proofType, uint gasPrice);
    event Log2(address sender, bytes32 cid, uint timestamp, string datasource, string arg1, string arg2, uint gaslimit, byte proofType, uint gasPrice);
    event LogN(address sender, bytes32 cid, uint timestamp, string datasource, bytes args, uint gaslimit, byte proofType, uint gasPrice);
    event Log1_fnc(address sender, bytes32 cid, uint timestamp, string datasource, string arg, function() external callback, uint gaslimit, byte proofType, uint gasPrice);
    event Log2_fnc(address sender, bytes32 cid, uint timestamp, string datasource, string arg1, string arg2, function() external callback, uint gaslimit, byte proofType, uint gasPrice);
    event LogN_fnc(address sender, bytes32 cid, uint timestamp, string datasource, bytes args, function() external callback, uint gaslimit, byte proofType, uint gasPrice);

    event Emit_OffchainPaymentFlag(address indexed idx_sender, address sender, bool indexed idx_flag, bool flag);

    address owner;
    address paymentFlagger;

    function changeAdmin(address _newAdmin)
    external
    {
        onlyadmin();
        owner = _newAdmin;
    }

    function changePaymentFlagger(address _newFlagger)
    external
    {
        onlyadmin();
        paymentFlagger = _newFlagger;
    }

    function addCbAddress(address newCbAddress, byte addressType)
    external
    {
        onlyadmin();
        //bytes memory nil = '';
        addCbAddress(newCbAddress, addressType, hex'');
    }

    // proof is currently a placeholder for when associated proof for addressType is added
    function addCbAddress(address newCbAddress, byte addressType, bytes proof)
    public
    {
        onlyadmin();
        cbAddresses[newCbAddress] = addressType;
    }

    function removeCbAddress(address newCbAddress)
    external
    {
        onlyadmin();
        delete cbAddresses[newCbAddress];
    }

    function cbAddress()
    constant
    returns (address _cbAddress)
    {
        if (cbAddresses[tx.origin] != 0)
            _cbAddress = tx.origin;
    }

    function addDSource(string dsname, uint multiplier)
    external
    {
        addDSource(dsname, 0x00, multiplier);
    }

    function addDSource(string dsname, byte proofType, uint multiplier)
    public
    {
        onlyadmin();
        bytes32 dsname_hash = sha3(dsname, proofType);
        dsources[dsources.length++] = dsname_hash;
        price_multiplier[dsname_hash] = multiplier;
    }

    // Utilized by bridge
    function multiAddDSource(bytes32[] dsHash, uint256[] multiplier)
    external
    {
        onlyadmin();
        // dsHash -> sha3(DATASOURCE_NAME, PROOF_TYPE);
        for (uint i=0; i<dsHash.length; i++) {
            dsources[dsources.length++] = dsHash[i];
            price_multiplier[dsHash[i]] = multiplier[i];
        }
    }

    function multisetProofType(uint[] _proofType, address[] _addr)
    external
    {
        onlyadmin();
        for (uint i=0; i<_addr.length; i++) addr_proofType[_addr[i]] = byte(_proofType[i]);
    }

    function multisetCustomGasPrice(uint[] _gasPrice, address[] _addr)
    external
    {
        onlyadmin();
        for (uint i=0; i<_addr.length; i++) addr_gasPrice[_addr[i]] = _gasPrice[i];
    }

    uint gasprice = 20000000000;

    function setGasPrice(uint newgasprice)
    external
    {
        onlyadmin();
        gasprice = newgasprice;
    }

    function setBasePrice(uint new_baseprice)
    external
    { //0.001 usd in ether
        onlyadmin();
        baseprice = new_baseprice;
        for (uint i=0; i<dsources.length; i++) price[dsources[i]] = new_baseprice*price_multiplier[dsources[i]];
    }

    function setBasePrice(uint new_baseprice, bytes proofID)
    external
    { //0.001 usd in ether
        onlyadmin();
        baseprice = new_baseprice;
        for (uint i=0; i<dsources.length; i++) price[dsources[i]] = new_baseprice*price_multiplier[dsources[i]];
    }

    function setOffchainPayment(address _addr, bool _flag)
    external
    {
      if (msg.sender != paymentFlagger) throw;
      offchainPayment[_addr] = _flag;
      Emit_OffchainPaymentFlag(_addr, _addr, _flag, _flag);
    }

    function withdrawFunds(address _addr)
    external
    {
        onlyadmin();
        _addr.send(this.balance);
    }

    // unnecessary?
    //function() {}

    function Oraclize() {
        owner = msg.sender;
    }

    // Pesudo-modifiers

    function onlyadmin()
    private {
        if (msg.sender != owner) throw;
    }

    function costs(string datasource, uint gaslimit)
    private
    returns (uint price) {
        price = getPrice(datasource, gaslimit, msg.sender);

        if (msg.value >= price){
            uint diff = msg.value - price;
            if (diff > 0) {
                // added for correct query cost to be returned
                if(!msg.sender.send(diff)) {
                    throw;
                }
            }
        } else throw;
    }

    mapping (address => byte) addr_proofType;
    mapping (address => uint) addr_gasPrice;
    uint public baseprice;
    mapping (bytes32 => uint) price;
    mapping (bytes32 => uint) price_multiplier;
    bytes32[] dsources;

    bytes32[] public randomDS_sessionPubKeysHash;

    function randomDS_updateSessionPubKeysHash(bytes32[] _newSessionPubKeysHash)
    external
    {
        onlyadmin();
        randomDS_sessionPubKeysHash.length = 0;
        for (uint i=0; i<_newSessionPubKeysHash.length; i++) randomDS_sessionPubKeysHash.push(_newSessionPubKeysHash[i]);
    }

    function randomDS_getSessionPubKeyHash()
    external
    constant
    returns (bytes32) {
        uint i = uint(sha3(reqc[msg.sender]))%randomDS_sessionPubKeysHash.length;
        return randomDS_sessionPubKeysHash[i];
    }

    function setProofType(byte _proofType)
    external
    {
        addr_proofType[msg.sender] = _proofType;
    }

    function setCustomGasPrice(uint _gasPrice)
    external
    {
        addr_gasPrice[msg.sender] = _gasPrice;
    }

    function getPrice(string _datasource)
    public
    returns (uint _dsprice)
    {
        return getPrice(_datasource, msg.sender);
    }

    function getPrice(string _datasource, uint _gaslimit)
    public
    returns (uint _dsprice)
    {
        return getPrice(_datasource, _gaslimit, msg.sender);
    }

    function getPrice(string _datasource, address _addr)
    private
    returns (uint _dsprice)
    {
        return getPrice(_datasource, 200000, _addr);
    }

    function getPrice(string _datasource, uint _gaslimit, address _addr)
    private
    returns (uint _dsprice)
    {
        uint gasprice_ = addr_gasPrice[_addr];
        if (
                (offchainPayment[_addr])
            ||(
                (_gaslimit <= 200000)&&
                (reqc[_addr] == 0)&&
                (gasprice_ <= gasprice)&&
                (tx.origin != cbAddress())
            )
        ) return 0;

        if (gasprice_ == 0) gasprice_ = gasprice;
        _dsprice = price[sha3(_datasource, addr_proofType[_addr])];
        _dsprice += _gaslimit*gasprice_;
        return _dsprice;
    }

    function getCodeSize(address _addr)
    private
    constant
    returns(uint _size)
    {
        assembly {
            _size := extcodesize(_addr)
        }
    }

    function query(string _datasource, string _arg)
    payable
    external
    returns (bytes32 _id)
    {
        return query1(0, _datasource, _arg, 200000);
    }

    function query1(string _datasource, string _arg)
    payable
    external
    returns (bytes32 _id)
    {
        return query1(0, _datasource, _arg, 200000);
    }

    function query2(string _datasource, string _arg1, string _arg2)
    payable
    external
    returns (bytes32 _id)
    {
        return query2(0, _datasource, _arg1, _arg2, 200000);
    }

    function queryN(string _datasource, bytes _args)
    payable
    external
    returns (bytes32 _id)
    {
        return queryN(0, _datasource, _args, 200000);
    }

    function query(uint _timestamp, string _datasource, string _arg)
    payable
    external
    returns (bytes32 _id)
    {
        return query1(_timestamp, _datasource, _arg, 200000);
    }

    function query1(uint _timestamp, string _datasource, string _arg)
    payable
    external
    returns (bytes32 _id)
    {
        return query1(_timestamp, _datasource, _arg, 200000);
    }

    function query2(uint _timestamp, string _datasource, string _arg1, string _arg2)
    payable
    external
    returns (bytes32 _id)
    {
        return query2(_timestamp, _datasource, _arg1, _arg2, 200000);
    }

    function queryN(uint _timestamp, string _datasource, bytes _args)
    payable
    external
    returns (bytes32 _id)
    {
        return queryN(_timestamp, _datasource, _args, 200000);
    }

/*  Needless?
    function query(uint _timestamp, string _datasource, string _arg, uint _gaslimit)
    payable
    external
    returns (bytes32 _id)
    {
        return query1(_timestamp, _datasource, _arg, _gaslimit);
    }
*/
    function query_withGasLimit(uint _timestamp, string _datasource, string _arg, uint _gaslimit)
    payable
    external
    returns (bytes32 _id)
    {
        return query1(_timestamp, _datasource, _arg, _gaslimit);
    }

    function query1_withGasLimit(uint _timestamp, string _datasource, string _arg, uint _gaslimit)
    payable
    external
    returns (bytes32 _id)
    {
        return query1(_timestamp, _datasource, _arg, _gaslimit);
    }

    function query2_withGasLimit(uint _timestamp, string _datasource, string _arg1, string _arg2, uint _gaslimit)
    payable
    external
    returns (bytes32 _id)
    {
        return query2(_timestamp, _datasource, _arg1, _arg2, _gaslimit);
    }

    function queryN_withGasLimit(uint _timestamp, string _datasource, bytes _args, uint _gaslimit)
    payable
    external
    returns (bytes32 _id)
    {
        return queryN(_timestamp, _datasource, _args, _gaslimit);
    }

    function query1(uint _timestamp, string _datasource, string _arg, uint _gaslimit)
    payable
    public
    returns (bytes32 _id)
    {
        costs(_datasource, _gaslimit);
    	if ((_timestamp > now+3600*24*60)||(_gaslimit > block.gaslimit)) throw;

        _id = sha3(this, msg.sender, reqc[msg.sender]);
        reqc[msg.sender]++;
        Log1(msg.sender, _id, _timestamp, _datasource, _arg, _gaslimit, addr_proofType[msg.sender], addr_gasPrice[msg.sender]);
        return _id;
    }

    function query2(uint _timestamp, string _datasource, string _arg1, string _arg2, uint _gaslimit)
    payable
    public
    returns (bytes32 _id)
    {
        costs(_datasource, _gaslimit);
    	if ((_timestamp > now+3600*24*60)||(_gaslimit > block.gaslimit)) throw;

        _id = sha3(this, msg.sender, reqc[msg.sender]);
        reqc[msg.sender]++;
        Log2(msg.sender, _id, _timestamp, _datasource, _arg1, _arg2, _gaslimit, addr_proofType[msg.sender], addr_gasPrice[msg.sender]);
        return _id;
    }

    function queryN(uint _timestamp, string _datasource, bytes _args, uint _gaslimit)
    payable
    public
    returns (bytes32 _id)
    {
        costs(_datasource, _gaslimit);
    	if ((_timestamp > now+3600*24*60)||(_gaslimit > block.gaslimit)) throw;

        _id = sha3(this, msg.sender, reqc[msg.sender]);
        reqc[msg.sender]++;
        LogN(msg.sender, _id, _timestamp, _datasource, _args, _gaslimit, addr_proofType[msg.sender], addr_gasPrice[msg.sender]);
        return _id;
    }

    function query1_fnc(uint _timestamp, string _datasource, string _arg, function() external _fnc, uint _gaslimit)
    payable
    public
    returns (bytes32 _id)
    {
        costs(_datasource, _gaslimit);
        if ((_timestamp > now+3600*24*60)||(_gaslimit > block.gaslimit)||address(_fnc) != msg.sender) throw;

        _id = sha3(this, msg.sender, reqc[msg.sender]);
        reqc[msg.sender]++;
        Log1_fnc(msg.sender, _id, _timestamp, _datasource, _arg, _fnc, _gaslimit, addr_proofType[msg.sender], addr_gasPrice[msg.sender]);
        return _id;
    }

    function query2_fnc(uint _timestamp, string _datasource, string _arg1, string _arg2, function() external _fnc, uint _gaslimit)
    payable
    public
    returns (bytes32 _id)
    {
        costs(_datasource, _gaslimit);
        if ((_timestamp > now+3600*24*60)||(_gaslimit > block.gaslimit)||address(_fnc) != msg.sender) throw;

        _id = sha3(this, msg.sender, reqc[msg.sender]);
        reqc[msg.sender]++;
        Log2_fnc(msg.sender, _id, _timestamp, _datasource, _arg1, _arg2, _fnc,  _gaslimit, addr_proofType[msg.sender], addr_gasPrice[msg.sender]);
        return _id;
    }

    function queryN_fnc(uint _timestamp, string _datasource, bytes _args, function() external _fnc, uint _gaslimit)
    payable
    public
    returns (bytes32 _id)
    {
        costs(_datasource, _gaslimit);
        if ((_timestamp > now+3600*24*60)||(_gaslimit > block.gaslimit)||address(_fnc) != msg.sender) throw;

        _id = sha3(this, msg.sender, reqc[msg.sender]);
        reqc[msg.sender]++;
        LogN_fnc(msg.sender, _id, _timestamp, _datasource, _args, _fnc, _gaslimit, addr_proofType[msg.sender], addr_gasPrice[msg.sender]);
        return _id;
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_arg","type":"string"}],"name":"query1","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"_datasource","type":"string"},{"name":"_gaslimit","type":"uint256"}],"name":"getPrice","outputs":[{"name":"_dsprice","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_datasource","type":"string"},{"name":"_arg","type":"string"}],"name":"query1","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":true,"inputs":[],"name":"baseprice","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newCbAddress","type":"address"}],"name":"removeCbAddress","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_newSessionPubKeysHash","type":"bytes32[]"}],"name":"randomDS_updateSessionPubKeysHash","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_datasource","type":"string"}],"name":"getPrice","outputs":[{"name":"_dsprice","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_arg","type":"string"},{"name":"_gaslimit","type":"uint256"}],"name":"query1","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"newCbAddress","type":"address"},{"name":"addressType","type":"bytes1"}],"name":"addCbAddress","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"}],"name":"withdrawFunds","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_proofType","type":"bytes1"}],"name":"setProofType","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"dsHash","type":"bytes32[]"},{"name":"multiplier","type":"uint256[]"}],"name":"multiAddDSource","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_arg","type":"string"},{"name":"_gaslimit","type":"uint256"}],"name":"query1_withGasLimit","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"newCbAddress","type":"address"},{"name":"addressType","type":"bytes1"},{"name":"proof","type":"bytes"}],"name":"addCbAddress","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_arg1","type":"string"},{"name":"_arg2","type":"string"}],"name":"query2","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"offchainPayment","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"new_baseprice","type":"uint256"},{"name":"proofID","type":"bytes"}],"name":"setBasePrice","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_arg1","type":"string"},{"name":"_arg2","type":"string"},{"name":"_gaslimit","type":"uint256"}],"name":"query2","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"_newFlagger","type":"address"}],"name":"changePaymentFlagger","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_args","type":"bytes"},{"name":"_gaslimit","type":"uint256"}],"name":"queryN","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"_datasource","type":"string"},{"name":"_arg","type":"string"}],"name":"query","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_args","type":"bytes"}],"name":"queryN","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_arg1","type":"string"},{"name":"_arg2","type":"string"},{"name":"_gaslimit","type":"uint256"}],"name":"query2_withGasLimit","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"_newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_datasource","type":"string"},{"name":"_args","type":"bytes"}],"name":"queryN","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"dsname","type":"string"},{"name":"multiplier","type":"uint256"}],"name":"addDSource","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"randomDS_getSessionPubKeyHash","outputs":[{"name":"","type":"bytes32"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_arg1","type":"string"},{"name":"_arg2","type":"string"},{"name":"_fnc","type":"function"},{"name":"_gaslimit","type":"uint256"}],"name":"query2_fnc","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_arg","type":"string"}],"name":"query","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"dsname","type":"string"},{"name":"proofType","type":"bytes1"},{"name":"multiplier","type":"uint256"}],"name":"addDSource","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newgasprice","type":"uint256"}],"name":"setGasPrice","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"cbAddress","outputs":[{"name":"_cbAddress","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_arg","type":"string"},{"name":"_gaslimit","type":"uint256"}],"name":"query_withGasLimit","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_args","type":"bytes"},{"name":"_gaslimit","type":"uint256"}],"name":"queryN_withGasLimit","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"_gasPrice","type":"uint256"}],"name":"setCustomGasPrice","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_gasPrice","type":"uint256[]"},{"name":"_addr","type":"address[]"}],"name":"multisetCustomGasPrice","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"cbAddresses","outputs":[{"name":"","type":"bytes1"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_proofType","type":"uint256[]"},{"name":"_addr","type":"address[]"}],"name":"multisetProofType","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_arg","type":"string"},{"name":"_fnc","type":"function"},{"name":"_gaslimit","type":"uint256"}],"name":"query1_fnc","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"new_baseprice","type":"uint256"}],"name":"setBasePrice","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"randomDS_sessionPubKeysHash","outputs":[{"name":"","type":"bytes32"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_datasource","type":"string"},{"name":"_arg1","type":"string"},{"name":"_arg2","type":"string"}],"name":"query2","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"},{"name":"_flag","type":"bool"}],"name":"setOffchainPayment","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_args","type":"bytes"},{"name":"_fnc","type":"function"},{"name":"_gaslimit","type":"uint256"}],"name":"queryN_fnc","outputs":[{"name":"_id","type":"bytes32"}],"payable":true,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"},{"indexed":false,"name":"cid","type":"bytes32"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"datasource","type":"string"},{"indexed":false,"name":"arg","type":"string"},{"indexed":false,"name":"gaslimit","type":"uint256"},{"indexed":false,"name":"proofType","type":"bytes1"},{"indexed":false,"name":"gasPrice","type":"uint256"}],"name":"Log1","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"},{"indexed":false,"name":"cid","type":"bytes32"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"datasource","type":"string"},{"indexed":false,"name":"arg1","type":"string"},{"indexed":false,"name":"arg2","type":"string"},{"indexed":false,"name":"gaslimit","type":"uint256"},{"indexed":false,"name":"proofType","type":"bytes1"},{"indexed":false,"name":"gasPrice","type":"uint256"}],"name":"Log2","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"},{"indexed":false,"name":"cid","type":"bytes32"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"datasource","type":"string"},{"indexed":false,"name":"args","type":"bytes"},{"indexed":false,"name":"gaslimit","type":"uint256"},{"indexed":false,"name":"proofType","type":"bytes1"},{"indexed":false,"name":"gasPrice","type":"uint256"}],"name":"LogN","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"},{"indexed":false,"name":"cid","type":"bytes32"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"datasource","type":"string"},{"indexed":false,"name":"arg","type":"string"},{"indexed":false,"name":"callback","type":"function"},{"indexed":false,"name":"gaslimit","type":"uint256"},{"indexed":false,"name":"proofType","type":"bytes1"},{"indexed":false,"name":"gasPrice","type":"uint256"}],"name":"Log1_fnc","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"},{"indexed":false,"name":"cid","type":"bytes32"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"datasource","type":"string"},{"indexed":false,"name":"arg1","type":"string"},{"indexed":false,"name":"arg2","type":"string"},{"indexed":false,"name":"callback","type":"function"},{"indexed":false,"name":"gaslimit","type":"uint256"},{"indexed":false,"name":"proofType","type":"bytes1"},{"indexed":false,"name":"gasPrice","type":"uint256"}],"name":"Log2_fnc","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"},{"indexed":false,"name":"cid","type":"bytes32"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"datasource","type":"string"},{"indexed":false,"name":"args","type":"bytes"},{"indexed":false,"name":"callback","type":"function"},{"indexed":false,"name":"gaslimit","type":"uint256"},{"indexed":false,"name":"proofType","type":"bytes1"},{"indexed":false,"name":"gasPrice","type":"uint256"}],"name":"LogN_fnc","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"idx_sender","type":"address"},{"indexed":false,"name":"sender","type":"address"},{"indexed":true,"name":"idx_flag","type":"bool"},{"indexed":false,"name":"flag","type":"bool"}],"name":"Emit_OffchainPaymentFlag","type":"event"}]

60606040526404a817c800600555341561001857600080fd5b5b60038054600160a060020a03191633600160a060020a03161790555b5b612d49806100456000396000f300606060405236156102175763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166323dc42e7811461021c5780632ef3accc1461025157806345362978146102b6578063480a434d146102e75780634a64c23f1461030c578063512c0b9c1461032d578063524f38891461034d5780635c242c59146103b0578063627fd3bb1461045157806368742da61461047f578063688dcfd7146104a05780636c0f7ee7146104c257806375700437146104ee5780637653740f1461052657806377228659146105975780637bc9165b146105d85780637d242ae51461060b5780637e1c42051461062f578063801298fa1461071257806380325b2d1461073357806381ade307146102b657806383eed3d51461080557806385dee34c1461083a5780638f2839701461087e57806398cf6f221461089f578063a2ec191a146108d0578063abaa5f3e146108f4578063ad44d0ca14610919578063adf59f991461021c578063b5bfdd7314610a52578063bf1fe42014610ab6578063c281d19e14610ace578063c51be90f146104ee578063c55c1cb614610b35578063ca6ad1e414610b6d578063d959701614610b85578063db23995114610bb1578063db37e42f14610bed578063dba8fc6114610c19578063de4b326214610cdb578063e6c0e9e114610cf3578063e839e65e14610d1b578063e8be385314610d58578063f84072a514610d7e575b600080fd5b61023f600480359060248035808201929081013591604435908101910135610e40565b60405190815260200160405180910390f35b341561025c57600080fd5b61023f60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505093359350610ebe92505050565b60405190815260200160405180910390f35b61023f6024600480358281019290820135918135918201910135610ed4565b60405190815260200160405180910390f35b34156102f257600080fd5b61023f610f52565b60405190815260200160405180910390f35b341561031757600080fd5b61032b600160a060020a0360043516610f58565b005b341561033857600080fd5b61032b6004803560248101910135610f84565b005b341561035857600080fd5b61023f60046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610ff295505050505050565b60405190815260200160405180910390f35b61023f600480359060446024803590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f016020809104026020016040519081016040528181529291906020840183838082843750949650509335935061100692505050565b60405190815260200160405180910390f35b341561045c57600080fd5b61032b600160a060020a0360043516600160f860020a03196024351661121f565b005b341561048a57600080fd5b61032b600160a060020a0360043516611245565b005b34156104ab57600080fd5b61032b600160f860020a031960043516611283565b005b34156104cd57600080fd5b61032b60246004803582810192908201359181359182019101356112af565b005b61023f600480359060248035808201929081013591604435908101910135606435611359565b60405190815260200160405180910390f35b341561053157600080fd5b61032b60048035600160a060020a03169060248035600160f860020a031916919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506113d595505050505050565b005b61023f60048035906024803580820192908101359160443580820192908101359160643590810191013561140b565b60405190815260200160405180910390f35b34156105e357600080fd5b6105f7600160a060020a03600435166114bd565b604051901515815260200160405180910390f35b341561061657600080fd5b61032b6004803590602480359081019101356114d2565b005b61023f600480359060446024803590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f016020809104026020016040519081016040528181529291906020840183838082843750949650509335935061156f92505050565b60405190815260200160405180910390f35b341561071d57600080fd5b61032b600160a060020a03600435166117f8565b005b61023f600480359060446024803590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f016020809104026020016040519081016040528181529291906020840183838082843750949650509335935061182c92505050565b60405190815260200160405180910390f35b61023f6024600480358281019290820135918135918201910135610ed4565b60405190815260200160405180910390f35b61023f600480359060248035808201929081013591604435908101910135611ac3565b60405190815260200160405180910390f35b61023f600480359060248035808201929081013591604435808201929081013591606435908101910135608435611b41565b60405190815260200160405180910390f35b341561088957600080fd5b61032b600160a060020a0360043516611bf1565b005b61023f6024600480358281019290820135918135918201910135611c25565b60405190815260200160405180910390f35b34156108db57600080fd5b61032b602460048035828101929101359035611ca3565b005b34156108ff57600080fd5b61023f611ce6565b60405190815260200160405180910390f35b61023f600480359060446024803590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284375094965050606060020a8535908104956801000000000000000090910463ffffffff169450602001359250611d4b915050565b60405190815260200160405180910390f35b61023f600480359060248035808201929081013591604435908101910135610e40565b60405190815260200160405180910390f35b3415610a5d57600080fd5b61032b60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965050600160f860020a03198535169460200135935061209792505050565b005b3415610ac157600080fd5b61032b60043561215a565b005b3415610ad957600080fd5b610ae161216b565b604051600160a060020a03909116815260200160405180910390f35b61023f600480359060248035808201929081013591604435908101910135606435611359565b60405190815260200160405180910390f35b61023f60048035906024803580820192908101359160443590810191013560643561221c565b60405190815260200160405180910390f35b3415610b7857600080fd5b61032b600435612298565b005b3415610b9057600080fd5b61032b60246004803582810192908201359181359182019101356122b7565b005b3415610bbc57600080fd5b610bd0600160a060020a0360043516612337565b604051600160f860020a0319909116815260200160405180910390f35b3415610bf857600080fd5b61032b602460048035828101929082013591813591820191013561234f565b005b61023f600480359060446024803590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284375094965050606060020a8535908104956801000000000000000090910463ffffffff1694506020013592506123ed915050565b60405190815260200160405180910390f35b3415610ce657600080fd5b61032b60043561264d565b005b3415610cfe57600080fd5b61023f6004356126e8565b60405190815260200160405180910390f35b61023f602460048035828101929082013591813580830192908201359160443591820191013561270b565b60405190815260200160405180910390f35b3415610d6357600080fd5b61032b600160a060020a036004351660243515156127bd565b005b61023f600480359060446024803590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284375094965050606060020a8535908104956801000000000000000090910463ffffffff16945060200135925061284f915050565b60405190815260200160405180910390f35b6000610eb28686868080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505085858080601f01602080910402602001604051908101604052818152929190602084018383808284375062030d4094506110069350505050565b90505b95945050505050565b6000610ecb838333612aaf565b90505b92915050565b6000610f47600086868080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505085858080601f01602080910402602001604051908101604052818152929190602084018383808284375062030d4094506110069350505050565b90505b949350505050565b60085481565b610f60612c07565b600160a060020a0381166000908152600160205260409020805460ff191690555b50565b6000610f8e612c07565b6000610f9b600c82612ca8565b50600090505b81811015610fec57600c805460018101610fbb8382612ca8565b916000526020600020900160005b858585818110610fd557fe5b60200291909101359092555050505b600101610fa1565b5b505050565b6000610ffe8233612c25565b90505b919050565b60006110128483612c3e565b5042624f1a000185118061102557504582115b1561102f57600080fd5b303360008033600160a060020a0316600160a060020a0316815260200190815260200160002054604051606060020a600160a060020a0394851681028252929093169091026014830152602882015260480160405190819003902033600160a060020a038116600090815260208181526040808320805460010190556006825280832054600790925291829020549394507fb76d0edd90c6a07aa3ff7a222d7f5933e29c6acc660c059c97837f05c4ca1a849385928a928a928a928a9260f860020a02919051600160a060020a0389168152602081018890526040810187905260a08101849052600160f860020a0319831660c082015260e0810182905261010060608201818152906080830190830188818151815260200191508051906020019080838360005b838110156111705780820151818401525b602001611157565b50505050905090810190601f16801561119d5780820380516001836020036101000a031916815260200191505b50838103825287818151815260200191508051906020019080838360005b838110156111d45780820151818401525b6020016111bb565b50505050905090810190601f1680156112015780820380516001836020036101000a031916815260200191505b509a505050505050505050505060405180910390a15b949350505050565b611227612c07565b61124082826020604051908101604052600081526113d5565b5b5050565b61124d612c07565b80600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f150505050505b50565b33600160a060020a03166000908152600660205260409020805460ff191660f860020a83041790555b50565b60006112b9612c07565b5060005b83811015611351578484828181106112d157fe5b600b8054602090920293909301359291506112ef8260018301612ca8565b815481106112f957fe5b906000526020600020900160005b505582828281811061131557fe5b90506020020135600a6000878785818110151561132e57fe5b60209081029290920135835250810191909152604001600020555b6001016112bd565b5b5050505050565b60006113c88787878080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505086868080601f0160208091040260200160405190810160405281815292919060208401838380828437508a94506110069350505050565b90505b9695505050505050565b6113dd612c07565b600160a060020a0383166000908152600160205260409020805460ff191660f860020a84041790555b505050565b60006114af8888888080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505087878080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505086868080601f01602080910402602001604051908101604052818152929190602084018383808284375062030d40945061156f9350505050565b90505b979650505050505050565b60026020526000908152604090205460ff1681565b60006114dc612c07565b50600883905560005b600b5481101561156857600a6000600b8381548110151561150257fe5b906000526020600020900160005b50546000191660001916815260200190815260200160002054840260096000600b8481548110151561153e57fe5b906000526020600020900160005b505481526020810191909152604001600020555b6001016114e5565b5b50505050565b600061157b8583612c3e565b5042624f1a000186118061158e57504582115b1561159857600080fd5b303360008033600160a060020a0316600160a060020a0316815260200190815260200160002054604051606060020a600160a060020a0394851681028252929093169091026014830152602882015260480160405190819003902033600160a060020a038116600090815260208181526040808320805460010190556006825280832054600790925291829020549394507faf30e4d66b2f1f23e63ef4591058a897f67e6867233e33ca3508b982dcc4129b9385928b928b928b928b928b9260f860020a9091029151600160a060020a038a168152602081018990526040810188905260c08101849052600160f860020a0319831660e082015261010081018290526101206060820181815290608083019060a084019084018a818151815260200191508051906020019080838360005b838110156116e25780820151818401525b6020016116c9565b50505050905090810190601f16801561170f5780820380516001836020036101000a031916815260200191505b50848103835289818151815260200191508051906020019080838360005b838110156117465780820151818401525b60200161172d565b50505050905090810190601f1680156117735780820380516001836020036101000a031916815260200191505b50848103825288818151815260200191508051906020019080838360005b838110156117aa5780820151818401525b602001611791565b50505050905090810190601f1680156117d75780820380516001836020036101000a031916815260200191505b509c5050505050505050505050505060405180910390a15b95945050505050565b611800612c07565b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b60006118388483612c3e565b5042624f1a000185118061184b57504582115b1561185557600080fd5b303360008033600160a060020a0316600160a060020a0316815260200190815260200160002054604051606060020a600160a060020a0394851681028252929093169091026014830152602882015260480160405190819003902033600160a060020a038116600090815260208181526040808320805460010190556006825280832054600790925291829020549394507f3af7d71c651d8670228b02a0b636ffa73a7f759ef99ff9c024bc3b044a7244389385928a928a928a928a9260f860020a02919051600160a060020a0389168152602081018890526040810187905260a08101849052600160f860020a0319831660c082015260e0810182905261010060608201818152906080830190830188818151815260200191508051906020019080838360005b838110156111705780820151818401525b602001611157565b50505050905090810190601f16801561119d5780820380516001836020036101000a031916815260200191505b50838103825287818151815260200191508051906020019080838360005b838110156111d45780820151818401525b6020016111bb565b50505050905090810190601f1680156112015780820380516001836020036101000a031916815260200191505b509a505050505050505050505060405180910390a15b949350505050565b6000610f47600086868080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505085858080601f01602080910402602001604051908101604052818152929190602084018383808284375062030d4094506110069350505050565b90505b949350505050565b6000610eb28686868080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505085858080601f01602080910402602001604051908101604052818152929190602084018383808284375062030d40945061182c9350505050565b90505b95945050505050565b6000611be28989898080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505088888080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505087878080601f0160208091040260200160405190810160405281815292919060208401838380828437508b945061156f9350505050565b90505b98975050505050505050565b611bf9612c07565b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b6000610f47600086868080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505085858080601f01602080910402602001604051908101604052818152929190602084018383808284375062030d40945061182c9350505050565b90505b949350505050565b610fec83838080601f0160208091040260200160405190810160405281815292919060208401838380828437506000945087935061209792505050565b5b505050565b600c54600160a060020a0333166000908152602081905260408082205491928392909151908152602001604051908190039020811515611d2257fe5b069050600c81815481101515611d3457fe5b906000526020600020900160005b505491505b5090565b6000611d578783612c3e565b5042624f1a0001881180611d6a57504582115b80611d87575033600160a060020a031684600160a060020a031614155b15611d9157600080fd5b303360008033600160a060020a0316600160a060020a0316815260200190815260200160002054604051606060020a600160a060020a0394851681028252929093169091026014830152602882015260480160405190819003902033600160a060020a038116600090815260208181526040808320805460010190556006825280832054600790925291829020549394507fcc57f89a6a20799d672e6569d224340220a0891ad6efa3039e7728f0c88854b39385928d928d928d928d928d928d928d9260f860020a02919051600160a060020a038c168152602081018b9052604081018a905268010000000000000000640100000000870263ffffffff8716170260c082015260e08101849052600160f860020a0319831661010082015261012081018290526101406060820181815290608083019060a084019084018c818151815260200191508051906020019080838360005b83811015611eff5780820151818401525b602001611ee6565b50505050905090810190601f168015611f2c5780820380516001836020036101000a031916815260200191505b5084810383528b818151815260200191508051906020019080838360005b83811015611f635780820151818401525b602001611f4a565b50505050905090810190601f168015611f905780820380516001836020036101000a031916815260200191505b5084810382528a818151815260200191508051906020019080838360005b83811015611fc75780820151818401525b602001611fae565b50505050905090810190601f168015611ff45780820380516001836020036101000a031916815260200191505b509e50505050505050505050505050505060405180910390a15b979650505050505050565b6000610eb28686868080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505085858080601f01602080910402602001604051908101604052818152929190602084018383808284375062030d4094506110069350505050565b90505b95945050505050565b60006120a1612c07565b83836040518083805190602001908083835b602083106120d357805182525b601f1990920191602091820191016120b3565b6001836020036101000a0380198251168184511617909252505050600160f860020a0319909416919093019081526001019250604091505051908190039020600b805491925082916121288260018301612ca8565b8154811061213257fe5b906000526020600020900160005b50556000818152600a602052604090208290555b50505050565b612162612c07565b60058190555b50565b32600160a060020a031660009081526001602052604081205460f860020a02600160f860020a0319161561219c5750325b5b90565b60006113c88787878080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505086868080601f0160208091040260200160405190810160405281815292919060208401838380828437508a94506110069350505050565b90505b9695505050505050565b60006113c88787878080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505086868080601f0160208091040260200160405190810160405281815292919060208401838380828437508a945061182c9350505050565b90505b9695505050505050565b600160a060020a03331660009081526007602052604090208190555b50565b60006122c1612c07565b5060005b81811015611351578484828181106122d957fe5b905060200201356007600085858581811015156122f257fe5b90506020020135600160a060020a0316600160a060020a0316600160a060020a03168152602001908152602001600020819055505b6001016122c5565b5b5050505050565b60016020526000908152604090205460f860020a0281565b6000612359612c07565b5060005b818110156113515784848281811061237157fe5b9050602002013560f860020a0260066000858585818110151561239057fe5b90506020020135600160a060020a0316600160a060020a0316600160a060020a0316815260200190815260200160002060006101000a81548160ff021916908360f860020a900402179055505b60010161235d565b5b5050505050565b60006123f98683612c3e565b5042624f1a000187118061240c57504582115b80612429575033600160a060020a031684600160a060020a031614155b1561243357600080fd5b303360008033600160a060020a0316600160a060020a0316815260200190815260200160002054604051606060020a600160a060020a0394851681028252929093169091026014830152602882015260480160405190819003902033600160a060020a038116600090815260208181526040808320805460010190556006825280832054600790925291829020549394507f5051eab4e301cef16e893db3c7a192f8cbf7bb44e1a92b928665c66170930a399385928c928c928c928c928c928c9260f860020a9092029151600160a060020a038b168152602081018a90526040810189905268010000000000000000640100000000870263ffffffff8716170260a082015260c08101849052600160f860020a0319831660e082015261010081018290526101206060820181815290608083019083018a818151815260200191508051906020019080838360005b8381101561259a5780820151818401525b602001612581565b50505050905090810190601f1680156125c75780820380516001836020036101000a031916815260200191505b50838103825289818151815260200191508051906020019080838360005b838110156125fe5780820151818401525b6020016125e5565b50505050905090810190601f16801561262b5780820380516001836020036101000a031916815260200191505b509c5050505050505050505050505060405180910390a15b9695505050505050565b6000612657612c07565b50600881905560005b600b5481101561124057600a6000600b8381548110151561267d57fe5b906000526020600020900160005b50546000191660001916815260200190815260200160002054820260096000600b848154811015156126b957fe5b906000526020600020900160005b505481526020810191909152604001600020555b600101612660565b5b5050565b600c8054829081106126f657fe5b906000526020600020900160005b5054905081565b60006113c8600088888080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505087878080601f016020809104026020016040519081016040528181529291906020840183838082843782019150505050505086868080601f01602080910402602001604051908101604052818152929190602084018383808284375062030d40945061156f9350505050565b90505b9695505050505050565b60045433600160a060020a039081169116146127d857600080fd5b600160a060020a03821660008181526002602052604090819020805460ff191684151590811790915591907f84feab93d65c19f28e91b26f8245938bf3a97dab7b8dafe3c8b028954e9ac934908590859051600160a060020a039092168252151560208201526040908101905180910390a35b5050565b600061285b8683612c3e565b5042624f1a000187118061286e57504582115b8061288b575033600160a060020a031684600160a060020a031614155b1561289557600080fd5b303360008033600160a060020a0316600160a060020a0316815260200190815260200160002054604051606060020a600160a060020a0394851681028252929093169091026014830152602882015260480160405190819003902033600160a060020a038116600090815260208181526040808320805460010190556006825280832054600790925291829020549394507f90552fb8e54d9a2aa4212413b16aa948c66cab32c9fe727ff74be1850bb0a8be9385928c928c928c928c928c928c9260f860020a9092029151600160a060020a038b168152602081018a90526040810189905268010000000000000000640100000000870263ffffffff8716170260a082015260c08101849052600160f860020a0319831660e082015261010081018290526101206060820181815290608083019083018a818151815260200191508051906020019080838360005b8381101561259a5780820151818401525b602001612581565b50505050905090810190601f1680156125c75780820380516001836020036101000a031916815260200191505b50838103825289818151815260200191508051906020019080838360005b838110156125fe5780820151818401525b6020016125e5565b50505050905090810190601f16801561262b5780820380516001836020036101000a031916815260200191505b509c5050505050505050505050505060405180910390a15b9695505050505050565b600160a060020a038116600090815260076020908152604080832054600290925282205460ff1680612b38575062030d408411158015612b055750600160a060020a038316600090815260208190526040902054155b8015612b1357506005548111155b8015612b385750612b2261216b565b600160a060020a031632600160a060020a031614155b5b15612b475760009150612bff565b801515612b5357506005545b600160a060020a0383166000908152600660205260408082205460099291889160f860020a0290518083805190602001908083835b60208310612ba857805182525b601f199092019160209182019101612b88565b6001836020036101000a0380198251168184511617909252505050600160f860020a031990941691909301908152600101925060409150505190819003902081526020810191909152604001600020548482020191505b509392505050565b60035433600160a060020a03908116911614612c2257600080fd5b5b565b6000610ecb8362030d4084612aaf565b90505b92915050565b600080612c4c848433612aaf565b9150348290106102175781340390506000811115612c9557600160a060020a03331681156108fc0282604051600060405180830381858888f193505050501515612c9557600080fd5b5b612ca0565b600080fd5b5b5092915050565b815481835581811511610fec57600083815260209020610fec918101908301612cfc565b5b505050565b815481835581811511610fec57600083815260209020610fec918101908301612cfc565b5b505050565b61219c91905b80821115611d475760008155600101612d02565b5090565b905600a165627a7a723058204a8139af1bf2a9591f800190ee829830157762d6342103f42e55424b288403ae0029

Swarm Source

bzzr://4a8139af1bf2a9591f800190ee829830157762d6342103f42e55424b288403ae
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.