Contract Overview
ETH Balance: 3.5134804155400399 Ether
ETH USD Value: $245.17 (@ $69.78/ETH)
No Of Transactions: 1447 txns + 43928 internalTxns
  Latest 25 txns from a total Of 1447 transactions View All

TxHash Block Age From To Value [TxFee]
0xdcdcc0cfb68562b9275e567e58c15cd1ecb9ca8330bb70edad7fa30b60298449361970221 hrs 12 mins ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00062614
0x1737a62c167315d91901163a85a9b345b0f50684d85c56708e8141f1f4896a91361967421 hrs 20 mins ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00226822
0xdeaaab3d01b14cf2a36273cc0a493250a505d94d2a860dfd4878c86c9fe33494361966421 hrs 22 mins ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.0018
0x4172942b0fe7de1a2601b5901542208d5dffba80812910f4baebb3cef594aafd35684979 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00226822
0x4efb7fd136a4ad16b417f0c6695d379601dadb6ccbc97fccdce47c3af9d80c2735684389 days 18 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00062614
0xfd192885325a88f2f39284e3da7c1eafc7e92e733e2fe5ce1fe4f82bd5d5cac9334509447 days 13 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00093921
0x5bbbe9328bf948b2230a92ad403f37f02f9c32ee66428b9bf795b5d991d0837d334509247 days 13 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00226822
0x4b54235ecd8f13ba6cee34b1e67ba749461df0595fb7404e44905ad125c7ecec321065069 days 22 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00062614
0xa038422218de4ead30195fb81f5946ed126667325acae5601b21c1b44ebe54032923782117 days 8 hrs ago0xa35fe1bcfde297a328dd4ef0bc902fb1ca7661cb  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00226822
0x2ab03cb7a1c91b7934763e08e83ea7c48f28c333d0b22ec43204c55c0a6b4a0c2622405167 days 4 hrs ago0xaa9b2e1a75fd5d231118e7f2127c6affad4c304a  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00.5 Ether0.00378
0x711a0204e30940c1538ccf3a74bafec62699e173c2fc8d0e40c347c91729f02a2283414223 days 11 hrs agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968
0xe1b314c37bd94547d823da77a6ed36632f78b20323f1e0fde0f40252509c32192283174223 days 12 hrs agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968
0x9afeaa84cb008976eeb8aa65fac06032af2c11a48f022dfb9b7b0cb1c080501f2282932223 days 13 hrs agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968
0x52aafdfe2e53479bb26a2d7e7dfe303617431729b73f007df71ec6702d96e1692282665223 days 14 hrs agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968
0xba79f84ff42f2aa3e2de3a0fd6ad9ba8c462b3db52af88adac3201be1e60148b2282400223 days 15 hrs agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968
0x805dad1c3cb7819f0f431f916946e3b083b27e801c013edcd1c22b1f989db94b2282155223 days 16 hrs agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968
0xd8bdb701525b3a894f618f08caf1f20e8661fcab7eff9fe1ad6cb8cb4c8955c32281912223 days 17 hrs agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968
0xa34f3689672ff7394a33c6a4584e1dde01971b674c4f469ac8842e3207e24dda2281648223 days 18 hrs agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968
0x4b496b150d543758412ba95efcf9eb41df0e095f38d25d4bffa1ef77710830c12281388223 days 19 hrs agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968
0xf9957d373c184612e81e72c9150fbd56dd0e43ad534b714065bb843c6506e8122281146223 days 20 hrs agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968
0xf87a685eceec53fdda3b40b877858837b7dad43ff95b2667a4558338c172e3972280903223 days 21 hrs agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968
0xda0e50a81f028322756baf824b4fe430c35b8d21c88d3aa5e29ef3655a97f3712280660223 days 22 hrs agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968
0x3daa1071be5bd20ea6d6d0d23c44b4b998fcdc83a8bd7bf195eda2d8e26066102280394223 days 23 hrs agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968
0x988be831313ce69feea06b36e4742e3479c577abde60e4bcb9057ec4daafef202280141224 days 15 mins agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968
0x6044d0b562fbec8201317cad2e95f6a5e228400ff6409e14d1df67fe020ef42d2279893224 days 1 hr agoOraclize  IN   0x001a589dda0d6be37632925eaf1256986b2c6ad00 Ether0.00203968

[Download: CSV Export ]    
 Internal Transactions as a result of Contract Execution
  Latest 25 Internal Txns from a total of 43928 View All
ParentTxHash Block Age From To Value
0x7cf6b8302927f06ec66855512d97c360b490dbd7674e18994ea9bf736e1dd4b936246581 min ago0xdd98b423dc61a756e1070de151b14854255059540x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0xdf0024dacf0584669ad67825e2f9ebde418700d297e105fb3f289cf423206a6836246562 mins ago0x1e2fbe6be9eb39fc894d38be976111f332172d830x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x224d443e1afea430a168e5513542be7b4e1392c5abe7b1f5b50a8e385854c16c36246552 mins ago0x1e2fbe6be9eb39fc894d38be976111f332172d830x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x7d99236928a620450d0762da4fce008138a7ffe9a82b8768ef5030f2cf7d37ed36246483 mins ago0x1e2fbe6be9eb39fc894d38be976111f332172d830x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x3761ddb626c79ce5051276655131b67bb579579db93d4d7b812beb6572195edc36246444 mins ago0xdd98b423dc61a756e1070de151b14854255059540x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0xca2bc7066ab32407e54502a4260f31f61253ded7c8c72353316495faabd7106a36246386 mins ago0xdd98b423dc61a756e1070de151b14854255059540x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x07371a7e0bcfa8849dd127023fc55e4eaa7703cd9e4e099348aaa4fa070473dd36246319 mins ago0xdd98b423dc61a756e1070de151b14854255059540x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0xac1fa1ad113ac56234da34c9b9d48abcb128b2d39e80937668dff00ca7ee6afa362462411 mins ago0xdd98b423dc61a756e1070de151b14854255059540x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0xed308b8872059f0e3c1ada1ea708cd60e7a652b36885a993106b35112eee2a99362461712 mins ago0xdd98b423dc61a756e1070de151b14854255059540x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x64d196078cd1ec363dcd00072ea4eb21b535ab1f9d3e1597591af64d6d19ec2a362461014 mins ago0xdd98b423dc61a756e1070de151b14854255059540x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0xcffc93a930f1b20d59ad46c4cd24f519f267be4c1579ac0eb398af78914f647d362460815 mins ago0x1e2fbe6be9eb39fc894d38be976111f332172d830x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x3fd2fd4697fefa3db204513e8850cc760ce7d2de5a45037c7f16e0bee3596a87362459817 mins ago0xdd98b423dc61a756e1070de151b14854255059540x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x58768e24e91468708bcbbc46908a4e774063e2a64937f21af81e9f5a317cbe7a362459718 mins ago0x1e2fbe6be9eb39fc894d38be976111f332172d830x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x0f499dfc1a9e9a9c1fc2fc2c2bdc821ec4e9b4fee8b9a5cef6fdb1a41cdf3a15362459518 mins ago0x1e2fbe6be9eb39fc894d38be976111f332172d830x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x79dbd55b002286fd44a6adcb8fe5d2c2374563c593b094bbeca0628ee1bf8026362459019 mins ago0x7da90089a73edd14c75b0c827cb54f4248d47ecc0x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x55899a9f74bab1117822efbdeb417a2657bc3694eca7664560840bda0d2faa32362458021 mins ago0x1e2fbe6be9eb39fc894d38be976111f332172d830x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0xda94965f530b81177a5c5820ece256fb18f7eaa35714d385a0b75f396ebf1a83362457821 mins ago0x1e2fbe6be9eb39fc894d38be976111f332172d830x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x23c6d66bf8f73a112c85f5bea4480f00811005fb599c7a48becd46a8a5787353362457722 mins ago0xdd98b423dc61a756e1070de151b14854255059540x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x80a895e567441524842f4ec9559674c98ef11fa48282251a1231f9ccf4ad89eb362456724 mins ago0xdd98b423dc61a756e1070de151b14854255059540x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x7598a8d7a64a0f044d5bd445da117563db58b659cd43e9a805f585fb8785fc3d362456325 mins ago0xe642b6f79041c60d8447679b3a499f18d8b03b810x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0xf9549d765aabe069b7420ce920d5c91c6f699f323c44938b403f25efebe04f08362455826 mins ago0xe642b6f79041c60d8447679b3a499f18d8b03b810x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x55ff87e458d04eb06d19032773be6ded7988e17adb60eca21224a1774b4fac92362455327 mins ago0x1e2fbe6be9eb39fc894d38be976111f332172d830x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0xcf6ca29e23eef443f5ffe0d4b44a6fe286d8898c432e4c11a00bbe6575ea003f362454529 mins ago0xdd98b423dc61a756e1070de151b14854255059540x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x1eff0abaa1926784ed87cfc4dd521447158cfcf8c7b61a1b1d94b4f887361aa0362454330 mins ago0x1e2fbe6be9eb39fc894d38be976111f332172d830x001a589dda0d6be37632925eaf1256986b2c6ad00.00425754119823535 Ether
0x011c1fa09384cb6c62eeb96c399fdec26b75dcf9a49f1f35fb2104fb5523bb9a362454031 mins ago0x8f3d6447a647ecf3c185ecbb165d2e6c41fad5470x001a589dda0d6be37632925eaf1256986b2c6ad00.00541154119823535 Ether

[Download: CSV Export ]    
Contract Name: Oraclize
Compiler Version: v0.3.5-2016-07-01-48238c9
Optimization Enabled: Yes
Online Solidity Editor:  Click To View



  Contract Source Code   Find Similiar Contracts
/*
Copyright (c) 2015-2016 Oraclize srl, Thomas Bertani
*/

contract AmIOnTheFork{
    function forked() constant returns(bool);
}


contract Oraclize {
    mapping (address => uint) reqc;
    
    address public cbAddress = 0x26588a9301b0428d95e6fc3a5024fce8bec12d51;
    
    address constant AmIOnTheForkAddress = 0x2bd2326c993dfaef84f696526064ff22eba5b362;
    
    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);
    
    address owner;
    
    modifier onlyadmin {
        if ((msg.sender != owner)&&(msg.sender != cbAddress)) throw;
        _
    }
    
    function addDSource(string dsname, uint multiplier) {
        addDSource(dsname, 0x00, multiplier);
    }
    
    function addDSource(string dsname, byte proofType, uint multiplier) onlyadmin {
        bytes32 dsname_hash = sha3(dsname, proofType);
        dsources[dsources.length++] = dsname_hash;
        price_multiplier[dsname_hash] = multiplier;
    }

    mapping (bytes32 => bool) coupons;
    bytes32 coupon;
    
    function createCoupon(string _code) onlyadmin {
        coupons[sha3(_code)] = true;
    }
    
    function deleteCoupon(string _code) onlyadmin {
        coupons[sha3(_code)] = false;
    }
    
    function multisetProofType(uint[] _proofType, address[] _addr) onlyadmin {
        for (uint i=0; i<_addr.length; i++) addr_proofType[_addr[i]] = byte(_proofType[i]);
    }
    
    function multisetCustomGasPrice(uint[] _gasPrice, address[] _addr) onlyadmin {
        for (uint i=0; i<_addr.length; i++) addr_gasPrice[_addr[i]] = _gasPrice[i];
    }

    uint gasprice = 20000000000;
    
    function setGasPrice(uint newgasprice) onlyadmin {
        gasprice = newgasprice;
    }
    
    function setBasePrice(uint new_baseprice) onlyadmin { //0.001 usd in ether
        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) onlyadmin { //0.001 usd in ether
        baseprice = new_baseprice;
        for (uint i=0; i<dsources.length; i++) price[dsources[i]] = new_baseprice*price_multiplier[dsources[i]];
    }
    
    function withdrawFunds(address _addr) onlyadmin {
        _addr.send(this.balance);
    }
    
    function() onlyadmin {}
    
    function Oraclize() {
        owner = msg.sender;
    }
    
    modifier costs(string datasource, uint gaslimit) {
        uint price = getPrice(datasource, gaslimit, msg.sender);
        if (msg.value >= price){
            uint diff = msg.value - price;
            if (diff > 0) msg.sender.send(diff);
            _
        } 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;
    function useCoupon(string _coupon) {
        coupon = sha3(_coupon);
    }
    
    function setProofType(byte _proofType) {
        addr_proofType[msg.sender] = _proofType;
    }
    
    function setCustomGasPrice(uint _gasPrice) {
        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) {
        if ((_gaslimit <= 200000)&&(reqc[_addr] == 0)&&(tx.origin != cbAddress)) return 0;
        if ((coupon != 0)&&(coupons[coupon] == true)) return 0;
        _dsprice = price[sha3(_datasource, addr_proofType[_addr])];
        uint gasprice_ = addr_gasPrice[_addr];
        if (gasprice_ == 0) gasprice_ = gasprice; 
        _dsprice += _gaslimit*gasprice_;
        return _dsprice;
    }
    
    function query(string _datasource, string _arg) returns (bytes32 _id) {
        return query1(0, _datasource, _arg, 200000);
    }
    
    function query1(string _datasource, string _arg) returns (bytes32 _id) {
        return query1(0, _datasource, _arg, 200000);
    }
    
    function query2(string _datasource, string _arg1, string _arg2) returns (bytes32 _id) {
        return query2(0, _datasource, _arg1, _arg2, 200000);
    }
    
    function query(uint _timestamp, string _datasource, string _arg) returns (bytes32 _id) {
        return query1(_timestamp, _datasource, _arg, 200000);
    }
    
    function query1(uint _timestamp, string _datasource, string _arg) returns (bytes32 _id) {
        return query1(_timestamp, _datasource, _arg, 200000);
    }
    
    function query2(uint _timestamp, string _datasource, string _arg1, string _arg2) returns (bytes32 _id) {
        return query2(_timestamp, _datasource, _arg1, _arg2, 200000);
    }
    
    function query(uint _timestamp, string _datasource, string _arg, uint _gaslimit) returns (bytes32 _id) {
        return query1(_timestamp, _datasource, _arg, _gaslimit);
    }
    
    function query1(uint _timestamp, string _datasource, string _arg, uint _gaslimit) costs(_datasource, _gaslimit) returns (bytes32 _id) {
	if ((_timestamp > now+3600*24*60)||(_gaslimit > block.gaslimit)) throw;
	bool forkFlag = AmIOnTheFork(AmIOnTheForkAddress).forked();
        _id = sha3(forkFlag, 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) costs(_datasource, _gaslimit) returns (bytes32 _id) {
	if ((_timestamp > now+3600*24*60)||(_gaslimit > block.gaslimit)) throw;
	bool forkFlag = AmIOnTheFork(AmIOnTheForkAddress).forked();
        _id = sha3(forkFlag, 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 query_withGasLimit(uint _timestamp, string _datasource, string _arg, uint _gaslimit) returns (bytes32 _id) {
        return query(_timestamp, _datasource, _arg, _gaslimit);
    }
    
    function query1_withGasLimit(uint _timestamp, string _datasource, string _arg, uint _gaslimit) returns (bytes32 _id) {
        return query1(_timestamp, _datasource, _arg, _gaslimit);
    }
    
    function query2_withGasLimit(uint _timestamp, string _datasource, string _arg1, string _arg2, uint _gaslimit) returns (bytes32 _id) {
        return query2(_timestamp, _datasource, _arg1, _arg2, _gaslimit);
    }
}

  Contract ABI  
[{"constant":false,"inputs":[{"name":"_code","type":"string"}],"name":"deleteCoupon","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_arg","type":"string"}],"name":"query1","outputs":[{"name":"_id","type":"bytes32"}],"type":"function"},{"constant":false,"inputs":[{"name":"_datasource","type":"string"},{"name":"_gaslimit","type":"uint256"}],"name":"getPrice","outputs":[{"name":"_dsprice","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"_datasource","type":"string"},{"name":"_arg","type":"string"}],"name":"query1","outputs":[{"name":"_id","type":"bytes32"}],"type":"function"},{"constant":true,"inputs":[],"name":"baseprice","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"_datasource","type":"string"}],"name":"getPrice","outputs":[{"name":"_dsprice","type":"uint256"}],"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"}],"type":"function"},{"constant":false,"inputs":[{"name":"_coupon","type":"string"}],"name":"useCoupon","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_code","type":"string"}],"name":"createCoupon","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"}],"name":"withdrawFunds","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_proofType","type":"bytes1"}],"name":"setProofType","outputs":[],"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"}],"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"}],"type":"function"},{"constant":false,"inputs":[{"name":"new_baseprice","type":"uint256"},{"name":"proofID","type":"bytes"}],"name":"setBasePrice","outputs":[],"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"}],"type":"function"},{"constant":false,"inputs":[{"name":"_datasource","type":"string"},{"name":"_arg","type":"string"}],"name":"query","outputs":[{"name":"_id","type":"bytes32"}],"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"}],"type":"function"},{"constant":false,"inputs":[{"name":"dsname","type":"string"},{"name":"multiplier","type":"uint256"}],"name":"addDSource","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_arg","type":"string"}],"name":"query","outputs":[{"name":"_id","type":"bytes32"}],"type":"function"},{"constant":false,"inputs":[{"name":"_timestamp","type":"uint256"},{"name":"_datasource","type":"string"},{"name":"_arg","type":"string"},{"name":"_gaslimit","type":"uint256"}],"name":"query","outputs":[{"name":"_id","type":"bytes32"}],"type":"function"},{"constant":false,"inputs":[{"name":"dsname","type":"string"},{"name":"proofType","type":"bytes1"},{"name":"multiplier","type":"uint256"}],"name":"addDSource","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"newgasprice","type":"uint256"}],"name":"setGasPrice","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"cbAddress","outputs":[{"name":"","type":"address"}],"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"}],"type":"function"},{"constant":false,"inputs":[{"name":"_gasPrice","type":"uint256"}],"name":"setCustomGasPrice","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_gasPrice","type":"uint256[]"},{"name":"_addr","type":"address[]"}],"name":"multisetCustomGasPrice","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_proofType","type":"uint256[]"},{"name":"_addr","type":"address[]"}],"name":"multisetProofType","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"new_baseprice","type":"uint256"}],"name":"setBasePrice","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_datasource","type":"string"},{"name":"_arg1","type":"string"},{"name":"_arg2","type":"string"}],"name":"query2","outputs":[{"name":"_id","type":"bytes32"}],"type":"function"},{"inputs":[],"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"}]

  Contract Creation Code Switch To Opcodes View
606060405260018054600160a060020a0319167326588a9301b0428d95e6fc3a5024fce8bec12d511790556404a817c80060055560028054600160a060020a03191633179055611a03806100536000396000f3606060405236156101535760e060020a60003504630f825673811461018f57806323dc42e7146102135780632ef3accc146102ad5780634536297814610356578063480a434d146103f0578063524f3889146103f95780635c242c591461045a57806360f66701146104fb57806362b3b8331461058457806368742da614610608578063688dcfd7146106485780637570043714610675578063772286591461070f5780637d242ae5146107ea5780637e1c42051461087057806381ade3071461035657806385dee34c14610951578063a2ec191a14610a2b578063adf59f9914610213578063ae81584314610675578063b5bfdd7314610a83578063bf1fe42014610b11578063c281d19e14610b51578063c51be90f14610b63578063ca6ad1e414610bfc578063d959701614610c1e578063db37e42f14610cd5578063de4b326214610d8c578063e839e65e14610dce575b61067360025433600160a060020a039081169116148015906101855750600154600160a060020a039081163390911614155b15610ea957610002565b6106736004808035906020019082018035906020019191908080601f01602080910402602001604051908101604052809392919081815260200183838082843750949650505050505050600254600160a060020a0390811633909116148015906102095750600154600160a060020a039081163390911614155b15610eda57610002565b60408051602060248035600481810135601f8101859004850286018501909652858552610eab9581359591946044949293909201918190840183828082843750506040805160209735808a0135601f81018a90048a0283018a0190935282825296989760649791965060249190910194509092508291508401838280828437509496505050505050506000610f4084848462030d406104e6565b610eab6004808035906020019082018035906020019191908080601f0160208091040260200160405190810160405280939291908181526020018383808284375094965050933593505050506000610f488383335b6000600062030d40841115801561032d5750600160a060020a03831681526020819052604081205481145b8015610348575060015432600160a060020a03908116911614155b156119ac57600091506119a4565b610eab6004808035906020019082018035906020019191908080601f01602080910402602001604051908101604052809392919081815260200183838082843750506040805160208835808b0135601f81018390048302840183019094528383529799986044989297509190910194509092508291508401838280828437509496505050505050506000610f486000848462030d406104e6565b610eab60085481565b610eab6004808035906020019082018035906020019191908080601f016020809104026020016040519081016040528093929190818152602001838380828437509496505050505050506000610f4f82336000610f488362030d4084610302565b60408051602060248035600481810135601f8101859004850286018501909652858552610eab9581359591946044949293909201918190840183828082843750506040805160209735808a0135601f81018a90048a0283018a01909352828252969897606497919650602491909101945090925082915084018382808284375094965050933593505050505b60006000848360006000610f55848433610302565b6106736004808035906020019082018035906020019191908080601f0160208091040260200160405190810160405280939291908181526020018383808284375094965050505050505080604051808280519060200190808383829060006004602084601f0104600f02600301f150905001915050604051809103902060046000508190555050565b6106736004808035906020019082018035906020019191908080601f01602080910402602001604051908101604052809392919081815260200183838082843750949650505050505050600254600160a060020a0390811633909116148015906105fe5750600154600160a060020a039081163390911614155b1561124957610002565b610673600435600254600160a060020a03908116339091161480159061063e5750600154600160a060020a039081163390911614155b156112af57610002565b600160a060020a0333166000908152600660205260409020805460ff191660f860020a600435041790555b005b60408051602060248035600481810135601f8101859004850286018501909652858552610eab9581359591946044949293909201918190840183828082843750506040805160209735808a0135601f81018a90048a0283018a01909352828252969897606497919650602491909101945090925082915084018382808284375094965050933593505050505b60006112d5858585856104e6565b60408051602060248035600481810135601f8101859004850286018501909652858552610eab9581359591946044949293909201918190840183828082843750506040805160209735808a0135601f81018a90048a0283018a019093528282529698976064979196506024919091019450909250829150840183828082843750506040805160209735808a0135601f81018a90048a0283018a01909352828252969897608497919650602491909101945090925082915084018382808284375094965050505050505060006112d58585858562030d4061093c565b60408051602060248035600481810135601f81018590048502860185019096528585526106739581359591946044949293909201918190840183828082843750949650505050505050600254600090600160a060020a0390811633909116148015906108665750600154600160a060020a039081163390911614155b156112de57610002565b60408051602060248035600481810135601f8101859004850286018501909652858552610eab9581359591946044949293909201918190840183828082843750506040805160209735808a0135601f81018a90048a0283018a019093528282529698976064979196506024919091019450909250829150840183828082843750506040805160209735808a0135601f81018a90048a0283018a01909352828252969897608497919650602491909101945090925082915084018382808284375094965050933593505050505b6000600085836000600061136b848433610302565b60408051602060248035600481810135601f8101859004850286018501909652858552610eab9581359591946044949293909201918190840183828082843750506040805160209735808a0135601f81018a90048a0283018a019093528282529698976064979196506024919091019450909250829150840183828082843750506040805160209735808a0135601f81018a90048a0283018a019093528282529698976084979196506024919091019450909250829150840183828082843750949650509335935050505060006116bb868686868661093c565b6106736004808035906020019082018035906020019191908080601f0160208091040260200160405190810160405280939291908181526020018383808284375094965050933593505050506116c582600083610ad4565b6106736004808035906020019082018035906020019191908080601f016020809104026020016040519081016040528093929190818152602001838380828437509496505093359350506044359150505b600254600090600160a060020a039081163390911614801590610b075750600154600160a060020a039081163390911614155b156116c957610002565b610673600435600254600160a060020a039081163390911614801590610b475750600154600160a060020a039081163390911614155b1561178c57610002565b610ebd600154600160a060020a031681565b60408051602060248035600481810135601f8101859004850286018501909652858552610eab9581359591946044949293909201918190840183828082843750506040805160209735808a0135601f81018a90048a0283018a019093528282529698976064979196506024919091019450909250829150840183828082843750949650509335935050505060006112d585858585610701565b600160a060020a03331660009081526007602052604090206004359055610673565b604080516004803580820135602081810285810182019096528185526106739593946024949093850192918291908501908490808284375050604080518735808a013560208181028085018201909552818452989a99604499939850919091019550935083925085019084908082843750949650505050505050600254600090600160a060020a039081163390911614801590610ccb5750600154600160a060020a039081163390911614155b1561179157610002565b604080516004803580820135602081810285810182019096528185526106739593946024949093850192918291908501908490808284375050604080518735808a013560208181028085018201909552818452989a99604499939850919091019550935083925085019084908082843750949650505050505050600254600090600160a060020a039081163390911614801590610d825750600154600160a060020a039081163390911614155b156117ec57610002565b61067360043560025460009033600160a060020a03908116911614801590610dc45750600154600160a060020a039081163390911614155b1561186257610002565b610eab6004808035906020019082018035906020019191908080601f01602080910402602001604051908101604052809392919081815260200183838082843750506040805160208835808b0135601f8101839004830284018301909452838352979998604498929750919091019450909250829150840183828082843750506040805160209735808a0135601f81018a90048a0283018a0190935282825296989760649791965060249190910194509092508291508401838280828437509496505050505050506000610f40600085858562030d4061093c565b565b60408051918252519081900360200190f35b60408051600160a060020a03929092168252519081900360200190f35b60006003600050600083604051808280519060200190808383829060006004602084601f0104600f02600301f150905001915050604051809103902060001916815260200190815260200160002060006101000a81548160ff0219169083021790555050565b949350505050565b9392505050565b92915050565b915034829010610faa5781340390506000811115610f8e5760405133600160a060020a031690600090839082818181858883f150505050505b42624f1a00018a1180610fa057504587115b15610faf57610002565b610002565b732bd2326c993dfaef84f696526064ff22eba5b362600160a060020a03166316c727216040518160e060020a0281526004018090506020604051808303816000876161da5a03f115610002575050506040518051906020015094508430336000600050600033600160a060020a03168152602001908152602001600020600050546040518085151560f860020a02815260010184600160a060020a0316606060020a02815260140183600160a060020a0316606060020a0281526014018281526020019450505050506040518091039020955085506000600050600033600160a060020a031681526020019081526020016000206000818150548092919060010191905055507fb76d0edd90c6a07aa3ff7a222d7f5933e29c6acc660c059c97837f05c4ca1a8433878c8c8c8c6006600050600033600160a060020a0316815260200190815260200160002060009054906101000a900460f860020a026007600050600033600160a060020a03168152602001908152602001600020600050546040518089600160a060020a0316815260200188600019168152602001878152602001806020018060200186815260200185600160f860020a03191681526020018481526020018381038352888181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f1680156111ce5780820380516001836020036101000a031916815260200191505b508381038252878181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f1680156112275780820380516001836020036101000a031916815260200191505b509a505050505050505050505060405180910390a15050505050949350505050565b60016003600050600083604051808280519060200190808383829060006004602084601f0104600f02600301f150905001915050604051809103902060001916815260200190815260200160002060006101000a81548160ff0219169083021790555050565b604051600160a060020a03828116916000913016319082818181858883f1505050505050565b95945050505050565b50600882905560005b600b5481101561136657600b8054600a916000918490811015610002575080546000805160206119e38339815191528501548352602093909352604082205486029260099291908590811015610002579082526000805160206119e38339815191520181505481526020810191909152604001600020556001016112e7565b505050565b915034829010610faa57813403905060008111156113a45760405133600160a060020a031690600090839082818181858883f150505050505b42624f1a00018b11806113b657504587115b156113c057610002565b732bd2326c993dfaef84f696526064ff22eba5b362600160a060020a03166316c727216040518160e060020a0281526004018090506020604051808303816000876161da5a03f115610002575050506040518051906020015094508430336000600050600033600160a060020a03168152602001908152602001600020600050546040518085151560f860020a02815260010184600160a060020a0316606060020a02815260140183600160a060020a0316606060020a0281526014018281526020019450505050506040518091039020955085506000600050600033600160a060020a031681526020019081526020016000206000818150548092919060010191905055507faf30e4d66b2f1f23e63ef4591058a897f67e6867233e33ca3508b982dcc4129b33878d8d8d8d8d6006600050600033600160a060020a0316815260200190815260200160002060009054906101000a900460f860020a026007600050600033600160a060020a0316815260200190815260200160002060005054604051808a600160a060020a031681526020018960001916815260200188815260200180602001806020018060200187815260200186600160f860020a031916815260200185815260200184810384528a8181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f1680156115e45780820380516001836020036101000a031916815260200191505b508481038352898181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f16801561163d5780820380516001836020036101000a031916815260200191505b508481038252888181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f1680156116965780820380516001836020036101000a031916815260200191505b509c5050505050505050505050505060405180910390a1505050505095945050505050565b9695505050505050565b5050565b8383604051808380519060200190808383829060006004602084601f0104600f02600301f15090500182600160f860020a0319168152600101925050506040518091039020905080600b600050600b6000508054809190600101909081548183558181151161175b5781836000526020600020918201910161175b91905b808211156117885760008155600101611747565b5050508154811015610002576000918252602080832090910192909255918252600a905260409020555050565b5090565b600555565b5060005b8151811015611366578281815181101561000257906020019060200201516007600050600084848151811015610002576020908102909101810151600160a060020a03168252919091526040902055600101611795565b5060005b81518110156113665782818151811015610002579060200190602002015160f860020a026006600050600084848151811015610002576020908102909101810151600160a060020a031682529190915260409020805460f860020a90920460ff199092169190911790556001016117f0565b50600881905560005b600b548110156116c557600b8054600a916000918490811015610002576000805160206119e3833981519152015482526020929092526040812054825490850292600992918590811015610002576000805160206119e38339815191520154825250602091909152604090205560010161186b565b600160a060020a03831660009081526006602090815260408083205490518851600994938a9360f860020a0292918291858101919081908490829085908b90600490601f850104600f02600301f15090500182600160f860020a031916815260010192505050604051809103902060001916815260200190815260200160002060005054915081506007600050600084600160a060020a03168152602001908152602001600020600050549050806000141561199b57506005545b83810291909101905b509392505050565b6004546000148015906119d5575060045460009081526003602052604090205460ff1615156001145b156118e057600091506119a4560175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9
View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward