Contract Overview
Balance: 11.03134002178309328 Ether
Ether Value: $2,235.94 (@ $202.69/ETH)
Transactions: 65 txns
 Latest 25 txns From a total of 65 Transactions

TxHash Age From To Value [TxFee]
0x6f521489cf73c34676dfda78a25214b8c4a09496423d54930ad6307ecaccb15f35 days 16 hrs ago0x980440487603765ee2c926280e6e7325b9ae2d91  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630.012 Ether0.0009
0x9be356f86f8e6bb12d2ba19411eb28d6d8ec6ffa364e0fc2862cdd4021fc655f39 days 14 hrs ago0x00004242f6b3654abe1f858d0817b44f464c4fcf  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630 Ether0.000531132
0xd9392b2c24e137867bc288462c0635a39c521e5ab4dbc892e1de687a08f120ad39 days 14 hrs ago0xac8d26bb6fdf1a83530ab5988848b20dce54f874  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630.01 Ether0.00095719
0x83718f8e708dc65fea469c6a2096066cff1288382d66342d86f06256e0c3e68c50 days 4 hrs ago0x000042421b292f902acbbdaef7ddad826eb2e938  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630 Ether0.001188756
0xaf4ed66cb401142191461dd1439ea53e3933bf0c4d18a77281929af348abc39150 days 4 hrs ago0x95276e48a6be5bba0b1e8925039ebcf548855bfe  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630.01 Ether0.007848958
0xfe88e39ce59a9ae9020a1c8bf69349629b8b00f47a65279c64afd4ebf9e48d0250 days 23 hrs ago0x000042421b292f902acbbdaef7ddad826eb2e938  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630 Ether0.001181244
0xa77dd0cfff4accaaf1ad55671802da1c7528c72e7510ac32be8f36bce46bc43150 days 23 hrs ago0xd4b3b0586c98a176435cbb6a816c55007bc41c6d  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630.01 Ether0.002458944921
0xddc55bb7f668881071427ded73a8160de3161d17fec203e796d6ffaf3287348d53 days 59 mins ago0xd4b3b0586c98a176435cbb6a816c55007bc41c6d  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630.0097 Ether0.000554267008
0xd29521e74745eb44822c38f0217495d63ac2b9141c06f695068ff50d2ad4e4af60 days 22 hrs ago0xb92600f01e14079b5528737a60e2fff4ea22c18e  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630.02124045 Ether0.00045
0x22c5c05d67fcea8eecd4a324bf99a8b34b28ace5c6aba81c9c9aea96b2a37ad485 days 2 hrs ago0x00004242f6b3654abe1f858d0817b44f464c4fcf  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630 Ether0.001175976
0x80b67f3fb58abfc3b205180313d99d9f64d89fd2a0790f7c7a9fbea928ff999b85 days 2 hrs ago0xb67bd20bf6a257209f14b1c61a1777c57e1ee050  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630.01 Ether0.000574314
0xaa41d90c1be60499c26a6bcc14405e24b7475c3cdcda86857fdbeceae813d52985 days 2 hrs ago0x00004242f6b3654abe1f858d0817b44f464c4fcf  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630 Ether0.001167852
0xbbc64b3a73da10281dd0e0894883b73850fa8f98fa77a705f3eb7074f1ee717485 days 2 hrs ago0xb67bd20bf6a257209f14b1c61a1777c57e1ee050  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630.01 Ether0.000765752
0x1a34532348b87416e22071f18c62013bafd4bbb37ea87c66341c4215b2f7d55391 days 5 hrs ago0x000042421b292f902acbbdaef7ddad826eb2e938  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630 Ether0.001729152
0x0e1391bbc3f0e7b38ef31d7ec824eec45cd90ec905eee7c7f33493af2343a9d591 days 5 hrs ago0x04388375b4d09dab37d14cfb8e25e3d8a9bbe2e3  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630.01 Ether0.00095719
0xaf6b0885e5a07826a11805f418d723eab358ebfd79ed9dd7d0f747b0e359b7a191 days 6 hrs ago0x00004242e91443289de2ea3b5aa7ec5c2a1deb32  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630 Ether0.000524736
0xc2a0fbb99a4e00bfbe8384052af802c72c6079661aa1aa6e483ea8b7c5e8c50b91 days 6 hrs ago0x04388375b4d09dab37d14cfb8e25e3d8a9bbe2e3  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630.05 Ether0.000574314
0x50dd81de533464520cdd25f6905303348514a77eb5510391eeffb9980f6dda4a91 days 6 hrs ago0x00004242e91443289de2ea3b5aa7ec5c2a1deb32  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630 Ether0.001197276
0xd479221ba4141e2c7aa3b8e5a8587dfe6ea42f6692c330593e56e63a267eb8c791 days 6 hrs ago0x04388375b4d09dab37d14cfb8e25e3d8a9bbe2e3  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630.06 Ether0.000574314
0x906cadf556a58a907a6a88cc9a0d648c189d4fd5d3896e294ab30d2c87dfaa3f91 days 6 hrs ago0x00004242e91443289de2ea3b5aa7ec5c2a1deb32  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630 Ether0.001167852
0x6c126d5ced9ab92d69c75c35d68686debf66a490b25555d8eec49693ad43f38a91 days 6 hrs ago0x04388375b4d09dab37d14cfb8e25e3d8a9bbe2e3  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630.05 Ether0.00043647864
0x5a1390b2af983cbaff6951aceb874968806da1feb6c8efb1614b2421343ba5b491 days 6 hrs ago0x00004242e91443289de2ea3b5aa7ec5c2a1deb32  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630 Ether0.001189152
0x55242d29342f7c7b904eef69646dbd70c935757ae472c1e7b2865e91d7a134b491 days 6 hrs ago0x04388375b4d09dab37d14cfb8e25e3d8a9bbe2e3  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630.03 Ether0.00043647864
0x7545ccb75dfee9eb79d20052260c12e3bdcac700f662b5290174174adfa65b5093 days 18 hrs ago0x0000424237e78d9272d4dc766e18f2fb8fd4706f  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630 Ether0.001716372
0x8fc01189572aaf88895cfb8ca3c630595ec34869c3bb4f91f6c334f12390003e93 days 18 hrs ago0xb19548d1065304d15ff0d78276cc1aa182c82cc6  IN   0xfa873749f1d325b60a0528a3d457e89f115b17630.01 Ether0.007848958
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click Here To View More View All
ParentTxHash Block Age From To Value
0x6f521489cf73c34676dfda78a25214b8c4a09496423d54930ad6307ecaccb15f634923535 days 16 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00244560795402718 Ether
0xd9392b2c24e137867bc288462c0635a39c521e5ab4dbc892e1de687a08f120ad632544939 days 14 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x0d84a6f4a28679ebfa58d38a3f3a5598def4f4830.002 Ether
0xd9392b2c24e137867bc288462c0635a39c521e5ab4dbc892e1de687a08f120ad632544939 days 14 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00245530667551573 Ether
0x83718f8e708dc65fea469c6a2096066cff1288382d66342d86f06256e0c3e68c626231750 days 4 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x95276e48a6be5bba0b1e8925039ebcf548855bfe0.011 Ether
0xaf4ed66cb401142191461dd1439ea53e3933bf0c4d18a77281929af348abc391626231350 days 4 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x0d84a6f4a28679ebfa58d38a3f3a5598def4f4830.002 Ether
0xaf4ed66cb401142191461dd1439ea53e3933bf0c4d18a77281929af348abc391626231350 days 4 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00243358071123946 Ether
0xfe88e39ce59a9ae9020a1c8bf69349629b8b00f47a65279c64afd4ebf9e48d02625743650 days 23 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630xd4b3b0586c98a176435cbb6a816c55007bc41c6d0.015 Ether
0xa77dd0cfff4accaaf1ad55671802da1c7528c72e7510ac32be8f36bce46bc431625743050 days 23 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x0d84a6f4a28679ebfa58d38a3f3a5598def4f4830.002 Ether
0xa77dd0cfff4accaaf1ad55671802da1c7528c72e7510ac32be8f36bce46bc431625743050 days 23 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00243564045904911 Ether
0xd29521e74745eb44822c38f0217495d63ac2b9141c06f695068ff50d2ad4e4af619867560 days 22 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00243628842036506 Ether
0x22c5c05d67fcea8eecd4a324bf99a8b34b28ace5c6aba81c9c9aea96b2a37ad4605569885 days 2 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630xb67bd20bf6a257209f14b1c61a1777c57e1ee0500.011 Ether
0x80b67f3fb58abfc3b205180313d99d9f64d89fd2a0790f7c7a9fbea928ff999b605569685 days 2 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x0d84a6f4a28679ebfa58d38a3f3a5598def4f4830.002 Ether
0x80b67f3fb58abfc3b205180313d99d9f64d89fd2a0790f7c7a9fbea928ff999b605569685 days 2 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00242097931439601 Ether
0xaa41d90c1be60499c26a6bcc14405e24b7475c3cdcda86857fdbeceae813d529605561785 days 2 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630xb67bd20bf6a257209f14b1c61a1777c57e1ee0500.011 Ether
0xbbc64b3a73da10281dd0e0894883b73850fa8f98fa77a705f3eb7074f1ee7174605561285 days 2 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x0d84a6f4a28679ebfa58d38a3f3a5598def4f4830.002 Ether
0xbbc64b3a73da10281dd0e0894883b73850fa8f98fa77a705f3eb7074f1ee7174605561285 days 2 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00242097931439601 Ether
0x1a34532348b87416e22071f18c62013bafd4bbb37ea87c66341c4215b2f7d553601921391 days 5 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x04388375b4d09dab37d14cfb8e25e3d8a9bbe2e30.011 Ether
0x0e1391bbc3f0e7b38ef31d7ec824eec45cd90ec905eee7c7f33493af2343a9d5601920791 days 5 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x0d84a6f4a28679ebfa58d38a3f3a5598def4f4830.002 Ether
0x0e1391bbc3f0e7b38ef31d7ec824eec45cd90ec905eee7c7f33493af2343a9d5601920791 days 5 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00242267742732288 Ether
0xc2a0fbb99a4e00bfbe8384052af802c72c6079661aa1aa6e483ea8b7c5e8c50b601914691 days 6 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x0d84a6f4a28679ebfa58d38a3f3a5598def4f4830.01 Ether
0xc2a0fbb99a4e00bfbe8384052af802c72c6079661aa1aa6e483ea8b7c5e8c50b601914691 days 6 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00242267742732288 Ether
0x50dd81de533464520cdd25f6905303348514a77eb5510391eeffb9980f6dda4a601913891 days 6 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x04388375b4d09dab37d14cfb8e25e3d8a9bbe2e30.066 Ether
0xd479221ba4141e2c7aa3b8e5a8587dfe6ea42f6692c330593e56e63a267eb8c7601912691 days 6 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x0d84a6f4a28679ebfa58d38a3f3a5598def4f4830.012 Ether
0xd479221ba4141e2c7aa3b8e5a8587dfe6ea42f6692c330593e56e63a267eb8c7601912691 days 6 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00242267742732288 Ether
0x906cadf556a58a907a6a88cc9a0d648c189d4fd5d3896e294ab30d2c87dfaa3f601910591 days 6 hrs ago0xfa873749f1d325b60a0528a3d457e89f115b17630x04388375b4d09dab37d14cfb8e25e3d8a9bbe2e30.055 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: Jackypot
Compiler Text: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity 0.4.24;

// <ORACLIZE_API>
/*
Copyright (c) 2015-2016 Oraclize SRL
Copyright (c) 2016 Oraclize LTD



Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:



The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.



THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/



contract OraclizeI {
    address public cbAddress;
    function query(uint _timestamp, string _datasource, string _arg) payable returns (bytes32 _id);
    function query_withGasLimit(uint _timestamp, string _datasource, string _arg, uint _gaslimit) payable returns (bytes32 _id);
    function query2(uint _timestamp, string _datasource, string _arg1, string _arg2) payable returns (bytes32 _id);
    function query2_withGasLimit(uint _timestamp, string _datasource, string _arg1, string _arg2, uint _gaslimit) payable returns (bytes32 _id);
    function queryN(uint _timestamp, string _datasource, bytes _argN) payable returns (bytes32 _id);
    function queryN_withGasLimit(uint _timestamp, string _datasource, bytes _argN, uint _gaslimit) payable returns (bytes32 _id);
    function getPrice(string _datasource) returns (uint _dsprice);
    function getPrice(string _datasource, uint gaslimit) returns (uint _dsprice);
    function useCoupon(string _coupon);
    function setProofType(byte _proofType);
    function setConfig(bytes32 _config);
    function setCustomGasPrice(uint _gasPrice);
    function randomDS_getSessionPubKeyHash() returns(bytes32);
}
contract OraclizeAddrResolverI {
    function getAddress() returns (address _addr);
}
contract usingOraclize {
    uint constant day = 60*60*24;
    uint constant week = 60*60*24*7;
    uint constant month = 60*60*24*30;
    byte constant proofType_NONE = 0x00;
    byte constant proofType_TLSNotary = 0x10;
    byte constant proofType_Android = 0x20;
    byte constant proofType_Ledger = 0x30;
    byte constant proofType_Native = 0xF0;
    byte constant proofStorage_IPFS = 0x01;
    uint8 constant networkID_auto = 0;
    uint8 constant networkID_mainnet = 1;
    uint8 constant networkID_testnet = 2;
    uint8 constant networkID_morden = 2;
    uint8 constant networkID_consensys = 161;

    OraclizeAddrResolverI OAR;

    OraclizeI oraclize;
    modifier oraclizeAPI {
        if((address(OAR)==0)||(getCodeSize(address(OAR))==0))
            oraclize_setNetwork(networkID_auto);

        if(address(oraclize) != OAR.getAddress())
            oraclize = OraclizeI(OAR.getAddress());

        _;
    }
    modifier coupon(string code){
        oraclize = OraclizeI(OAR.getAddress());
        oraclize.useCoupon(code);
        _;
    }

    function oraclize_setNetwork(uint8 networkID) internal returns(bool){
        if (getCodeSize(0x1d3B2638a7cC9f2CB3D298A3DA7a90B67E5506ed)>0){ //mainnet
            OAR = OraclizeAddrResolverI(0x1d3B2638a7cC9f2CB3D298A3DA7a90B67E5506ed);
            oraclize_setNetworkName("eth_mainnet");
            return true;
        }
        if (getCodeSize(0xc03A2615D5efaf5F49F60B7BB6583eaec212fdf1)>0){ //ropsten testnet
            OAR = OraclizeAddrResolverI(0xc03A2615D5efaf5F49F60B7BB6583eaec212fdf1);
            oraclize_setNetworkName("eth_ropsten3");
            return true;
        }
        if (getCodeSize(0xB7A07BcF2Ba2f2703b24C0691b5278999C59AC7e)>0){ //kovan testnet
            OAR = OraclizeAddrResolverI(0xB7A07BcF2Ba2f2703b24C0691b5278999C59AC7e);
            oraclize_setNetworkName("eth_kovan");
            return true;
        }
        if (getCodeSize(0x146500cfd35B22E4A392Fe0aDc06De1a1368Ed48)>0){ //rinkeby testnet
            OAR = OraclizeAddrResolverI(0x146500cfd35B22E4A392Fe0aDc06De1a1368Ed48);
            oraclize_setNetworkName("eth_rinkeby");
            return true;
        }
        if (getCodeSize(0x6f485C8BF6fc43eA212E93BBF8ce046C7f1cb475)>0){ //ethereum-bridge
            OAR = OraclizeAddrResolverI(0x6f485C8BF6fc43eA212E93BBF8ce046C7f1cb475);
            return true;
        }
        if (getCodeSize(0x20e12A1F859B3FeaE5Fb2A0A32C18F5a65555bBF)>0){ //ether.camp ide
            OAR = OraclizeAddrResolverI(0x20e12A1F859B3FeaE5Fb2A0A32C18F5a65555bBF);
            return true;
        }
        if (getCodeSize(0x51efaF4c8B3C9AfBD5aB9F4bbC82784Ab6ef8fAA)>0){ //browser-solidity
            OAR = OraclizeAddrResolverI(0x51efaF4c8B3C9AfBD5aB9F4bbC82784Ab6ef8fAA);
            return true;
        }
        return false;
    }

    function __callback(bytes32 myid, string result) {
        __callback(myid, result, new bytes(0));
    }
    function __callback(bytes32 myid, string result, bytes proof) {
    }

    function oraclize_useCoupon(string code) oraclizeAPI internal {
        oraclize.useCoupon(code);
    }

    function oraclize_getPrice(string datasource) oraclizeAPI internal returns (uint){
        return oraclize.getPrice(datasource);
    }

    function oraclize_getPrice(string datasource, uint gaslimit) oraclizeAPI internal returns (uint){
        return oraclize.getPrice(datasource, gaslimit);
    }

    function oraclize_query(string datasource, string arg) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource);
        if (price > 1 ether + tx.gasprice*200000) return 0; // unexpectedly high price
        return oraclize.query.value(price)(0, datasource, arg);
    }
    function oraclize_query(uint timestamp, string datasource, string arg) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource);
        if (price > 1 ether + tx.gasprice*200000) return 0; // unexpectedly high price
        return oraclize.query.value(price)(timestamp, datasource, arg);
    }
    function oraclize_query(uint timestamp, string datasource, string arg, uint gaslimit) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource, gaslimit);
        if (price > 1 ether + tx.gasprice*gaslimit) return 0; // unexpectedly high price
        return oraclize.query_withGasLimit.value(price)(timestamp, datasource, arg, gaslimit);
    }
    function oraclize_query(string datasource, string arg, uint gaslimit) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource, gaslimit);
        if (price > 1 ether + tx.gasprice*gaslimit) return 0; // unexpectedly high price
        return oraclize.query_withGasLimit.value(price)(0, datasource, arg, gaslimit);
    }
    function oraclize_query(string datasource, string arg1, string arg2) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource);
        if (price > 1 ether + tx.gasprice*200000) return 0; // unexpectedly high price
        return oraclize.query2.value(price)(0, datasource, arg1, arg2);
    }
    function oraclize_query(uint timestamp, string datasource, string arg1, string arg2) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource);
        if (price > 1 ether + tx.gasprice*200000) return 0; // unexpectedly high price
        return oraclize.query2.value(price)(timestamp, datasource, arg1, arg2);
    }
    function oraclize_query(uint timestamp, string datasource, string arg1, string arg2, uint gaslimit) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource, gaslimit);
        if (price > 1 ether + tx.gasprice*gaslimit) return 0; // unexpectedly high price
        return oraclize.query2_withGasLimit.value(price)(timestamp, datasource, arg1, arg2, gaslimit);
    }
    function oraclize_query(string datasource, string arg1, string arg2, uint gaslimit) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource, gaslimit);
        if (price > 1 ether + tx.gasprice*gaslimit) return 0; // unexpectedly high price
        return oraclize.query2_withGasLimit.value(price)(0, datasource, arg1, arg2, gaslimit);
    }
    function oraclize_query(string datasource, string[] argN) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource);
        if (price > 1 ether + tx.gasprice*200000) return 0; // unexpectedly high price
        bytes memory args = stra2cbor(argN);
        return oraclize.queryN.value(price)(0, datasource, args);
    }
    function oraclize_query(uint timestamp, string datasource, string[] argN) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource);
        if (price > 1 ether + tx.gasprice*200000) return 0; // unexpectedly high price
        bytes memory args = stra2cbor(argN);
        return oraclize.queryN.value(price)(timestamp, datasource, args);
    }
    function oraclize_query(uint timestamp, string datasource, string[] argN, uint gaslimit) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource, gaslimit);
        if (price > 1 ether + tx.gasprice*gaslimit) return 0; // unexpectedly high price
        bytes memory args = stra2cbor(argN);
        return oraclize.queryN_withGasLimit.value(price)(timestamp, datasource, args, gaslimit);
    }
    function oraclize_query(string datasource, string[] argN, uint gaslimit) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource, gaslimit);
        if (price > 1 ether + tx.gasprice*gaslimit) return 0; // unexpectedly high price
        bytes memory args = stra2cbor(argN);
        return oraclize.queryN_withGasLimit.value(price)(0, datasource, args, gaslimit);
    }
    function oraclize_query(string datasource, string[1] args) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](1);
        dynargs[0] = args[0];
        return oraclize_query(datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, string[1] args) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](1);
        dynargs[0] = args[0];
        return oraclize_query(timestamp, datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, string[1] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](1);
        dynargs[0] = args[0];
        return oraclize_query(timestamp, datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, string[1] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](1);
        dynargs[0] = args[0];
        return oraclize_query(datasource, dynargs, gaslimit);
    }

    function oraclize_query(string datasource, string[2] args) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](2);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        return oraclize_query(datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, string[2] args) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](2);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        return oraclize_query(timestamp, datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, string[2] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](2);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        return oraclize_query(timestamp, datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, string[2] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](2);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        return oraclize_query(datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, string[3] args) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](3);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        return oraclize_query(datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, string[3] args) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](3);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        return oraclize_query(timestamp, datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, string[3] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](3);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        return oraclize_query(timestamp, datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, string[3] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](3);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        return oraclize_query(datasource, dynargs, gaslimit);
    }

    function oraclize_query(string datasource, string[4] args) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](4);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        return oraclize_query(datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, string[4] args) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](4);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        return oraclize_query(timestamp, datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, string[4] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](4);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        return oraclize_query(timestamp, datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, string[4] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](4);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        return oraclize_query(datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, string[5] args) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](5);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        dynargs[4] = args[4];
        return oraclize_query(datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, string[5] args) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](5);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        dynargs[4] = args[4];
        return oraclize_query(timestamp, datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, string[5] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](5);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        dynargs[4] = args[4];
        return oraclize_query(timestamp, datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, string[5] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        string[] memory dynargs = new string[](5);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        dynargs[4] = args[4];
        return oraclize_query(datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, bytes[] argN) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource);
        if (price > 1 ether + tx.gasprice*200000) return 0; // unexpectedly high price
        bytes memory args = ba2cbor(argN);
        return oraclize.queryN.value(price)(0, datasource, args);
    }
    function oraclize_query(uint timestamp, string datasource, bytes[] argN) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource);
        if (price > 1 ether + tx.gasprice*200000) return 0; // unexpectedly high price
        bytes memory args = ba2cbor(argN);
        return oraclize.queryN.value(price)(timestamp, datasource, args);
    }
    function oraclize_query(uint timestamp, string datasource, bytes[] argN, uint gaslimit) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource, gaslimit);
        if (price > 1 ether + tx.gasprice*gaslimit) return 0; // unexpectedly high price
        bytes memory args = ba2cbor(argN);
        return oraclize.queryN_withGasLimit.value(price)(timestamp, datasource, args, gaslimit);
    }
    function oraclize_query(string datasource, bytes[] argN, uint gaslimit) oraclizeAPI internal returns (bytes32 id){
        uint price = oraclize.getPrice(datasource, gaslimit);
        if (price > 1 ether + tx.gasprice*gaslimit) return 0; // unexpectedly high price
        bytes memory args = ba2cbor(argN);
        return oraclize.queryN_withGasLimit.value(price)(0, datasource, args, gaslimit);
    }
    function oraclize_query(string datasource, bytes[1] args) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](1);
        dynargs[0] = args[0];
        return oraclize_query(datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, bytes[1] args) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](1);
        dynargs[0] = args[0];
        return oraclize_query(timestamp, datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, bytes[1] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](1);
        dynargs[0] = args[0];
        return oraclize_query(timestamp, datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, bytes[1] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](1);
        dynargs[0] = args[0];
        return oraclize_query(datasource, dynargs, gaslimit);
    }

    function oraclize_query(string datasource, bytes[2] args) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](2);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        return oraclize_query(datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, bytes[2] args) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](2);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        return oraclize_query(timestamp, datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, bytes[2] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](2);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        return oraclize_query(timestamp, datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, bytes[2] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](2);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        return oraclize_query(datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, bytes[3] args) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](3);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        return oraclize_query(datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, bytes[3] args) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](3);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        return oraclize_query(timestamp, datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, bytes[3] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](3);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        return oraclize_query(timestamp, datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, bytes[3] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](3);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        return oraclize_query(datasource, dynargs, gaslimit);
    }

    function oraclize_query(string datasource, bytes[4] args) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](4);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        return oraclize_query(datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, bytes[4] args) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](4);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        return oraclize_query(timestamp, datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, bytes[4] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](4);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        return oraclize_query(timestamp, datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, bytes[4] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](4);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        return oraclize_query(datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, bytes[5] args) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](5);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        dynargs[4] = args[4];
        return oraclize_query(datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, bytes[5] args) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](5);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        dynargs[4] = args[4];
        return oraclize_query(timestamp, datasource, dynargs);
    }
    function oraclize_query(uint timestamp, string datasource, bytes[5] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](5);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        dynargs[4] = args[4];
        return oraclize_query(timestamp, datasource, dynargs, gaslimit);
    }
    function oraclize_query(string datasource, bytes[5] args, uint gaslimit) oraclizeAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](5);
        dynargs[0] = args[0];
        dynargs[1] = args[1];
        dynargs[2] = args[2];
        dynargs[3] = args[3];
        dynargs[4] = args[4];
        return oraclize_query(datasource, dynargs, gaslimit);
    }

    function oraclize_cbAddress() oraclizeAPI internal returns (address){
        return oraclize.cbAddress();
    }
    function oraclize_setProof(byte proofP) oraclizeAPI internal {
        return oraclize.setProofType(proofP);
    }
    function oraclize_setCustomGasPrice(uint gasPrice) oraclizeAPI internal {
        return oraclize.setCustomGasPrice(gasPrice);
    }
    function oraclize_setConfig(bytes32 config) oraclizeAPI internal {
        return oraclize.setConfig(config);
    }

    function oraclize_randomDS_getSessionPubKeyHash() oraclizeAPI internal returns (bytes32){
        return oraclize.randomDS_getSessionPubKeyHash();
    }

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

    function parseAddr(string _a) internal returns (address){
        bytes memory tmp = bytes(_a);
        uint160 iaddr = 0;
        uint160 b1;
        uint160 b2;
        for (uint i=2; i<2+2*20; i+=2){
            iaddr *= 256;
            b1 = uint160(tmp[i]);
            b2 = uint160(tmp[i+1]);
            if ((b1 >= 97)&&(b1 <= 102)) b1 -= 87;
            else if ((b1 >= 65)&&(b1 <= 70)) b1 -= 55;
            else if ((b1 >= 48)&&(b1 <= 57)) b1 -= 48;
            if ((b2 >= 97)&&(b2 <= 102)) b2 -= 87;
            else if ((b2 >= 65)&&(b2 <= 70)) b2 -= 55;
            else if ((b2 >= 48)&&(b2 <= 57)) b2 -= 48;
            iaddr += (b1*16+b2);
        }
        return address(iaddr);
    }

    function strCompare(string _a, string _b) internal returns (int) {
        bytes memory a = bytes(_a);
        bytes memory b = bytes(_b);
        uint minLength = a.length;
        if (b.length < minLength) minLength = b.length;
        for (uint i = 0; i < minLength; i ++)
            if (a[i] < b[i])
                return -1;
            else if (a[i] > b[i])
                return 1;
        if (a.length < b.length)
            return -1;
        else if (a.length > b.length)
            return 1;
        else
            return 0;
    }

    function indexOf(string _haystack, string _needle) internal returns (int) {
        bytes memory h = bytes(_haystack);
        bytes memory n = bytes(_needle);
        if(h.length < 1 || n.length < 1 || (n.length > h.length))
            return -1;
        else if(h.length > (2**128 -1))
            return -1;
        else
        {
            uint subindex = 0;
            for (uint i = 0; i < h.length; i ++)
            {
                if (h[i] == n[0])
                {
                    subindex = 1;
                    while(subindex < n.length && (i + subindex) < h.length && h[i + subindex] == n[subindex])
                    {
                        subindex++;
                    }
                    if(subindex == n.length)
                        return int(i);
                }
            }
            return -1;
        }
    }

    function strConcat(string _a, string _b, string _c, string _d, string _e) internal returns (string) {
        bytes memory _ba = bytes(_a);
        bytes memory _bb = bytes(_b);
        bytes memory _bc = bytes(_c);
        bytes memory _bd = bytes(_d);
        bytes memory _be = bytes(_e);
        string memory abcde = new string(_ba.length + _bb.length + _bc.length + _bd.length + _be.length);
        bytes memory babcde = bytes(abcde);
        uint k = 0;
        for (uint i = 0; i < _ba.length; i++) babcde[k++] = _ba[i];
        for (i = 0; i < _bb.length; i++) babcde[k++] = _bb[i];
        for (i = 0; i < _bc.length; i++) babcde[k++] = _bc[i];
        for (i = 0; i < _bd.length; i++) babcde[k++] = _bd[i];
        for (i = 0; i < _be.length; i++) babcde[k++] = _be[i];
        return string(babcde);
    }

    function strConcat(string _a, string _b, string _c, string _d) internal returns (string) {
        return strConcat(_a, _b, _c, _d, "");
    }

    function strConcat(string _a, string _b, string _c) internal returns (string) {
        return strConcat(_a, _b, _c, "", "");
    }

    function strConcat(string _a, string _b) internal returns (string) {
        return strConcat(_a, _b, "", "", "");
    }

    // parseInt
    function parseInt(string _a) internal returns (uint) {
        return parseInt(_a, 0);
    }

    // parseInt(parseFloat*10^_b)
    function parseInt(string _a, uint _b) internal returns (uint) {
        bytes memory bresult = bytes(_a);
        uint mint = 0;
        bool decimals = false;
        for (uint i=0; i<bresult.length; i++){
            if ((bresult[i] >= 48)&&(bresult[i] <= 57)){
                if (decimals){
                   if (_b == 0) break;
                    else _b--;
                }
                mint *= 10;
                mint += uint(bresult[i]) - 48;
            } else if (bresult[i] == 46) decimals = true;
        }
        if (_b > 0) mint *= 10**_b;
        return mint;
    }

    function uint2str(uint i) internal returns (string){
        if (i == 0) return "0";
        uint j = i;
        uint len;
        while (j != 0){
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len - 1;
        while (i != 0){
            bstr[k--] = byte(48 + i % 10);
            i /= 10;
        }
        return string(bstr);
    }

    function stra2cbor(string[] arr) internal returns (bytes) {
            uint arrlen = arr.length;

            // get correct cbor output length
            uint outputlen = 0;
            bytes[] memory elemArray = new bytes[](arrlen);
            for (uint i = 0; i < arrlen; i++) {
                elemArray[i] = (bytes(arr[i]));
                outputlen += elemArray[i].length + (elemArray[i].length - 1)/23 + 3; //+3 accounts for paired identifier types
            }
            uint ctr = 0;
            uint cborlen = arrlen + 0x80;
            outputlen += byte(cborlen).length;
            bytes memory res = new bytes(outputlen);

            while (byte(cborlen).length > ctr) {
                res[ctr] = byte(cborlen)[ctr];
                ctr++;
            }
            for (i = 0; i < arrlen; i++) {
                res[ctr] = 0x5F;
                ctr++;
                for (uint x = 0; x < elemArray[i].length; x++) {
                    // if there's a bug with larger strings, this may be the culprit
                    if (x % 23 == 0) {
                        uint elemcborlen = elemArray[i].length - x >= 24 ? 23 : elemArray[i].length - x;
                        elemcborlen += 0x40;
                        uint lctr = ctr;
                        while (byte(elemcborlen).length > ctr - lctr) {
                            res[ctr] = byte(elemcborlen)[ctr - lctr];
                            ctr++;
                        }
                    }
                    res[ctr] = elemArray[i][x];
                    ctr++;
                }
                res[ctr] = 0xFF;
                ctr++;
            }
            return res;
        }

    function ba2cbor(bytes[] arr) internal returns (bytes) {
            uint arrlen = arr.length;

            // get correct cbor output length
            uint outputlen = 0;
            bytes[] memory elemArray = new bytes[](arrlen);
            for (uint i = 0; i < arrlen; i++) {
                elemArray[i] = (bytes(arr[i]));
                outputlen += elemArray[i].length + (elemArray[i].length - 1)/23 + 3; //+3 accounts for paired identifier types
            }
            uint ctr = 0;
            uint cborlen = arrlen + 0x80;
            outputlen += byte(cborlen).length;
            bytes memory res = new bytes(outputlen);

            while (byte(cborlen).length > ctr) {
                res[ctr] = byte(cborlen)[ctr];
                ctr++;
            }
            for (i = 0; i < arrlen; i++) {
                res[ctr] = 0x5F;
                ctr++;
                for (uint x = 0; x < elemArray[i].length; x++) {
                    // if there's a bug with larger strings, this may be the culprit
                    if (x % 23 == 0) {
                        uint elemcborlen = elemArray[i].length - x >= 24 ? 23 : elemArray[i].length - x;
                        elemcborlen += 0x40;
                        uint lctr = ctr;
                        while (byte(elemcborlen).length > ctr - lctr) {
                            res[ctr] = byte(elemcborlen)[ctr - lctr];
                            ctr++;
                        }
                    }
                    res[ctr] = elemArray[i][x];
                    ctr++;
                }
                res[ctr] = 0xFF;
                ctr++;
            }
            return res;
        }


    string oraclize_network_name;
    function oraclize_setNetworkName(string _network_name) internal {
        oraclize_network_name = _network_name;
    }

    function oraclize_getNetworkName() internal returns (string) {
        return oraclize_network_name;
    }

    function oraclize_newRandomDSQuery(uint _delay, uint _nbytes, uint _customGasLimit) internal returns (bytes32){
        if ((_nbytes == 0)||(_nbytes > 32)) throw;
        bytes memory nbytes = new bytes(1);
        nbytes[0] = byte(_nbytes);
        bytes memory unonce = new bytes(32);
        bytes memory sessionKeyHash = new bytes(32);
        bytes32 sessionKeyHash_bytes32 = oraclize_randomDS_getSessionPubKeyHash();
        assembly {
            mstore(unonce, 0x20)
            mstore(add(unonce, 0x20), xor(blockhash(sub(number, 1)), xor(coinbase, timestamp)))
            mstore(sessionKeyHash, 0x20)
            mstore(add(sessionKeyHash, 0x20), sessionKeyHash_bytes32)
        }
        bytes[3] memory args = [unonce, nbytes, sessionKeyHash];
        bytes32 queryId = oraclize_query(_delay, "random", args, _customGasLimit);
        oraclize_randomDS_setCommitment(queryId, sha3(bytes8(_delay), args[1], sha256(args[0]), args[2]));
        return queryId;
    }

    function oraclize_randomDS_setCommitment(bytes32 queryId, bytes32 commitment) internal {
        oraclize_randomDS_args[queryId] = commitment;
    }

    mapping(bytes32=>bytes32) oraclize_randomDS_args;
    mapping(bytes32=>bool) oraclize_randomDS_sessionKeysHashVerified;

    function verifySig(bytes32 tosignh, bytes dersig, bytes pubkey) internal returns (bool){
        bool sigok;
        address signer;

        bytes32 sigr;
        bytes32 sigs;

        bytes memory sigr_ = new bytes(32);
        uint offset = 4+(uint(dersig[3]) - 0x20);
        sigr_ = copyBytes(dersig, offset, 32, sigr_, 0);
        bytes memory sigs_ = new bytes(32);
        offset += 32 + 2;
        sigs_ = copyBytes(dersig, offset+(uint(dersig[offset-1]) - 0x20), 32, sigs_, 0);

        assembly {
            sigr := mload(add(sigr_, 32))
            sigs := mload(add(sigs_, 32))
        }


        (sigok, signer) = safer_ecrecover(tosignh, 27, sigr, sigs);
        if (address(sha3(pubkey)) == signer) return true;
        else {
            (sigok, signer) = safer_ecrecover(tosignh, 28, sigr, sigs);
            return (address(sha3(pubkey)) == signer);
        }
    }

    function oraclize_randomDS_proofVerify__sessionKeyValidity(bytes proof, uint sig2offset) internal returns (bool) {
        bool sigok;

        // Step 6: verify the attestation signature, APPKEY1 must sign the sessionKey from the correct ledger app (CODEHASH)
        bytes memory sig2 = new bytes(uint(proof[sig2offset+1])+2);
        copyBytes(proof, sig2offset, sig2.length, sig2, 0);

        bytes memory appkey1_pubkey = new bytes(64);
        copyBytes(proof, 3+1, 64, appkey1_pubkey, 0);

        bytes memory tosign2 = new bytes(1+65+32);
        tosign2[0] = 1; //role
        copyBytes(proof, sig2offset-65, 65, tosign2, 1);
        bytes memory CODEHASH = hex"fd94fa71bc0ba10d39d464d0d8f465efeef0a2764e3887fcc9df41ded20f505c";
        copyBytes(CODEHASH, 0, 32, tosign2, 1+65);
        sigok = verifySig(sha256(tosign2), sig2, appkey1_pubkey);

        if (sigok == false) return false;


        // Step 7: verify the APPKEY1 provenance (must be signed by Ledger)
        bytes memory LEDGERKEY = hex"7fb956469c5c9b89840d55b43537e66a98dd4811ea0a27224272c2e5622911e8537a2f8e86a46baec82864e98dd01e9ccc2f8bc5dfc9cbe5a91a290498dd96e4";

        bytes memory tosign3 = new bytes(1+65);
        tosign3[0] = 0xFE;
        copyBytes(proof, 3, 65, tosign3, 1);

        bytes memory sig3 = new bytes(uint(proof[3+65+1])+2);
        copyBytes(proof, 3+65, sig3.length, sig3, 0);

        sigok = verifySig(sha256(tosign3), sig3, LEDGERKEY);

        return sigok;
    }

    modifier oraclize_randomDS_proofVerify(bytes32 _queryId, string _result, bytes _proof) {
        // Step 1: the prefix has to match 'LP\x01' (Ledger Proof version 1)
        if ((_proof[0] != "L")||(_proof[1] != "P")||(_proof[2] != 1)) throw;

        bool proofVerified = oraclize_randomDS_proofVerify__main(_proof, _queryId, bytes(_result), oraclize_getNetworkName());
        if (proofVerified == false) throw;

        _;
    }

    function oraclize_randomDS_proofVerify__returnCode(bytes32 _queryId, string _result, bytes _proof) internal returns (uint8){
        // Step 1: the prefix has to match 'LP\x01' (Ledger Proof version 1)
        if ((_proof[0] != "L")||(_proof[1] != "P")||(_proof[2] != 1)) return 1;

        bool proofVerified = oraclize_randomDS_proofVerify__main(_proof, _queryId, bytes(_result), oraclize_getNetworkName());
        if (proofVerified == false) return 2;

        return 0;
    }

    function matchBytes32Prefix(bytes32 content, bytes prefix) internal returns (bool){
        bool match_ = true;

        for (var i=0; i<prefix.length; i++){
            if (content[i] != prefix[i]) match_ = false;
        }

        return match_;
    }

    function oraclize_randomDS_proofVerify__main(bytes proof, bytes32 queryId, bytes result, string context_name) internal returns (bool){
        bool checkok;


        // Step 2: the unique keyhash has to match with the sha256 of (context name + queryId)
        uint ledgerProofLength = 3+65+(uint(proof[3+65+1])+2)+32;
        bytes memory keyhash = new bytes(32);
        copyBytes(proof, ledgerProofLength, 32, keyhash, 0);
        checkok = (sha3(keyhash) == sha3(sha256(context_name, queryId)));
        if (checkok == false) return false;

        bytes memory sig1 = new bytes(uint(proof[ledgerProofLength+(32+8+1+32)+1])+2);
        copyBytes(proof, ledgerProofLength+(32+8+1+32), sig1.length, sig1, 0);


        // Step 3: we assume sig1 is valid (it will be verified during step 5) and we verify if 'result' is the prefix of sha256(sig1)
        checkok = matchBytes32Prefix(sha256(sig1), result);
        if (checkok == false) return false;


        // Step 4: commitment match verification, sha3(delay, nbytes, unonce, sessionKeyHash) == commitment in storage.
        // This is to verify that the computed args match with the ones specified in the query.
        bytes memory commitmentSlice1 = new bytes(8+1+32);
        copyBytes(proof, ledgerProofLength+32, 8+1+32, commitmentSlice1, 0);

        bytes memory sessionPubkey = new bytes(64);
        uint sig2offset = ledgerProofLength+32+(8+1+32)+sig1.length+65;
        copyBytes(proof, sig2offset-64, 64, sessionPubkey, 0);

        bytes32 sessionPubkeyHash = sha256(sessionPubkey);
        if (oraclize_randomDS_args[queryId] == sha3(commitmentSlice1, sessionPubkeyHash)){ //unonce, nbytes and sessionKeyHash match
            delete oraclize_randomDS_args[queryId];
        } else return false;


        // Step 5: validity verification for sig1 (keyhash and args signed with the sessionKey)
        bytes memory tosign1 = new bytes(32+8+1+32);
        copyBytes(proof, ledgerProofLength, 32+8+1+32, tosign1, 0);
        checkok = verifySig(sha256(tosign1), sig1, sessionPubkey);
        if (checkok == false) return false;

        // verify if sessionPubkeyHash was verified already, if not.. let's do it!
        if (oraclize_randomDS_sessionKeysHashVerified[sessionPubkeyHash] == false){
            oraclize_randomDS_sessionKeysHashVerified[sessionPubkeyHash] = oraclize_randomDS_proofVerify__sessionKeyValidity(proof, sig2offset);
        }

        return oraclize_randomDS_sessionKeysHashVerified[sessionPubkeyHash];
    }


    // the following function has been written by Alex Beregszaszi (@axic), use it under the terms of the MIT license
    function copyBytes(bytes from, uint fromOffset, uint length, bytes to, uint toOffset) internal returns (bytes) {
        uint minLength = length + toOffset;

        if (to.length < minLength) {
            // Buffer too small
            throw; // Should be a better way?
        }

        // NOTE: the offset 32 is added to skip the `size` field of both bytes variables
        uint i = 32 + fromOffset;
        uint j = 32 + toOffset;

        while (i < (32 + fromOffset + length)) {
            assembly {
                let tmp := mload(add(from, i))
                mstore(add(to, j), tmp)
            }
            i += 32;
            j += 32;
        }

        return to;
    }

    // the following function has been written by Alex Beregszaszi (@axic), use it under the terms of the MIT license
    // Duplicate Solidity's ecrecover, but catching the CALL return value
    function safer_ecrecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal returns (bool, address) {
        // We do our own memory management here. Solidity uses memory offset
        // 0x40 to store the current end of memory. We write past it (as
        // writes are memory extensions), but don't update the offset so
        // Solidity will reuse it. The memory used here is only needed for
        // this context.

        // FIXME: inline assembly can't access return values
        bool ret;
        address addr;

        assembly {
            let size := mload(0x40)
            mstore(size, hash)
            mstore(add(size, 32), v)
            mstore(add(size, 64), r)
            mstore(add(size, 96), s)

            // NOTE: we can reuse the request memory because we deal with
            //       the return code
            ret := call(3000, 1, 0, size, 128, size, 32)
            addr := mload(size)
        }

        return (ret, addr);
    }

    // the following function has been written by Alex Beregszaszi (@axic), use it under the terms of the MIT license
    function ecrecovery(bytes32 hash, bytes sig) internal returns (bool, address) {
        bytes32 r;
        bytes32 s;
        uint8 v;

        if (sig.length != 65)
          return (false, 0);

        // The signature format is a compact form of:
        //   {bytes32 r}{bytes32 s}{uint8 v}
        // Compact means, uint8 is not padded to 32 bytes.
        assembly {
            r := mload(add(sig, 32))
            s := mload(add(sig, 64))

            // Here we are loading the last 32 bytes. We exploit the fact that
            // 'mload' will pad with zeroes if we overread.
            // There is no 'mload8' to do this, but that would be nicer.
            v := byte(0, mload(add(sig, 96)))

            // Alternative solution:
            // 'byte' is not working due to the Solidity parser, so lets
            // use the second best option, 'and'
            // v := and(mload(add(sig, 65)), 255)
        }

        // albeit non-transactional signatures are not specified by the YP, one would expect it
        // to match the YP range of [27, 28]
        //
        // geth uses [0, 1] and some clients have followed. This might change, see:
        //  https://github.com/ethereum/go-ethereum/issues/2053
        if (v < 27)
          v += 27;

        if (v != 27 && v != 28)
            return (false, 0);

        return safer_ecrecover(hash, v, r, s);
    }

}
// </ORACLIZE_API>


contract Jackypot is usingOraclize{

    function Jackypot()
    {
        //settings for the contract
        owner=msg.sender;
        max = 20 ether;
        min = 100 finney;
        freeBetValue = 100 finney;
        callbackGasValue = 12000000000 wei;

        //setting for oraclize
       oraclize_setNetwork(networkID_auto);


    }

    //process variables
    bytes32 Oraclize_data;
    uint prize;
    uint callbackGasValue;
    uint freeBetValue;
    uint assistant;
    uint handler;
    uint helper;

    //Configuration variables
    address companyAccount;
    address owner;
    address Operative;
    uint min;
    uint max;


    // Mapping for clients info

    mapping(bytes32 =>address) client;
    mapping(bytes32 =>uint) money;
    mapping(bytes32 =>bytes32) betid;
    mapping(bytes32 =>bool) estatus;
    mapping(bytes32 =>uint) pot;

    //mapping for clients free bets
    mapping(address=>bool)freeTry;

    //events
    event logfolio(bytes32 x);
    event logResult(string y);
    event newOraclizeQuery(string z);
    event deposit(uint w);


    //modifiers

    modifier onlyOraclize {
        if (msg.sender != oraclize_cbAddress()) revert();
        _;
    }

    modifier allowedBets {
        require((freeTry[msg.sender]==true)||((msg.value<=max)&&(msg.value>=min)));
        _;
    }

    modifier onlyByOwner()
    {
        require(msg.sender == owner);
        _;
    }

    modifier onlyByOperative()
    {
        require(msg.sender == Operative);
        _;
    }



  //functions of operation

      function ()payable  allowedBets
    {
        //setting gas for every Oraclize petition
        oraclize_setCustomGasPrice(callbackGasValue);


        //Checks if there is money to sent a Oraclize petition
        if (oraclize_getPrice("URL") > this.balance)
            {
                newOraclizeQuery("Oraclize query was NOT sent, please add some ETH to cover for the query fee");
            }
        else
            {

                 Oraclize_data=oraclize_query("URL", 
                 "json(https://api.random.org/json-rpc/1/invoke).result.random.data",
                 'BGmMQ1fCwvzK8PvhkQPcLR9Q0wjX41IHjx91kLXSn5IQlOCaHMaed8V8E/VR8L+KZOK3Q+SChzxZDR9SAeh9R4VxRiZdmwLEfzHo3rnhWPjoJlkeeATvvYkB6dOiKXtGoBQjMKNEyA6mNOcnENxEEBtl6QLy3mul14TOtrA8usq9qybsBX42I4VdQfvMyX8Vo4/69Efg7ApZXJtpBpZ1K8MZIzkGVkqv3y0b1KT/MuQ2pt+9oaGCKbB2KR9aIZES9pj0vlNGfA8qfw/zM1eka58fxQeXahMO6436GtCGRENeq8/glAnNun+HE/KwMy7TA2zaQeqf');

            }


        //calls addClient
        addClient(Oraclize_data);

        //calculate service fee
        handler=div(money[Oraclize_data],10);

        if(this.balance<1000 ether)
        {
            //sending service fee to companyAccount
            companyAccount.transfer(mul(handler,2));
        }
        else{
             //sending service fee to companyAccount
            companyAccount.transfer(mul(handler,2));
        }
            
        
        //loging the bet id number
        logfolio(betid[Oraclize_data]);


    }


    function __callback(bytes32 myid, string result)onlyOraclize
    {
       //showing Oraclize folio and results
       logfolio(betid[myid]);
       logResult(result);

        //identify the result
       (assistant,helper)=identify(result);
       //calculate prize
       prize=paid(assistant,helper,myid);


       //auditing process
       estatus[myid]=auditor(prize,myid);

       //transfer prize if aproved by the audit
       if(estatus[myid]==true){
       client[myid].transfer(prize);
       }
    }

    //function who regulate every bet and his proccess
    function auditor(uint _prize,bytes32 _id)internal returns(bool valor)
    {
        assert(money[_id]!=_prize);
        assert(_prize < 60000000000000000000);
        assert((sub(pot[_id],_prize))<=pot[_id]);
           assert(
            (sub(pot[_id],_prize)==sub(pot[_id],mul(money[_id],2)))||
            (sub(pot[_id],_prize)==pot[_id])||
            (sub(pot[_id],_prize)==sub(pot[_id],mul(money[_id],3)))||
            (sub(pot[_id],_prize)==sub(pot[_id],add(money[_id],mul(div(money[_id],10),5))))||
            (sub(pot[_id],_prize)==sub(pot[_id],add(money[_id],div(money[_id],10))))
            );

         return true;

    }


    //function for saving bets information
    function addClient(bytes32 _id)internal
    {
        //checking if the client is using a free bet
        if((freeTry[msg.sender]==true)&&(msg.value==0))
        {
            freeTry[msg.sender]=false;
            money[_id] = freeBetValue;
        }
        else
        {
            money[_id] = msg.value;
        }

        //saving client data
        client[_id] = msg.sender;
        pot[_id]= this.balance;
        estatus[_id] =false;

        //generate a bet id number
        betid[_id] = keccak256( add(block.number, uint (_id)) );


    }

    //function to identify pattern and figure to calculate prize
    function identify(string z)internal returns(uint a,uint b)
    {
        //check for left double cherry
        if((((bytes(z)[1])==0x31)||((bytes(z)[1])==0x32)||((bytes(z)[1])==0x33))&&(((bytes(z)[4])==0x31)||((bytes(z)[4])==0x32)||((bytes(z)[4])==0x33)))
            {
                a=2;
                b=1;
            }

          //check for right double cherry
        if((((bytes(z)[4])==0x31)||((bytes(z)[4])==0x32)||((bytes(z)[4])==0x33))&&(((bytes(z)[7])==0x31)||((bytes(z)[7])==0x32)||((bytes(z)[7])==0x33)))
            {
                a=2;
                b=1;
            }

        //check for triple cherry
        if((((bytes(z)[1])==0x31)||((bytes(z)[1])==0x32)||((bytes(z)[1])==0x33))&&(((bytes(z)[4])==0x31)||((bytes(z)[4])==0x32)||((bytes(z)[4])==0x33))&&(((bytes(z)[7])==0x31)||((bytes(z)[7])==0x32)||((bytes(z)[7])==0x33)))
            {
                a=3;
                b=1;
            }

        //check for left double seven
        if((((bytes(z)[1])==0x34)||((bytes(z)[1])==0x35)||((bytes(z)[1])==0x36))&&(((bytes(z)[4])==0x34)||((bytes(z)[4])==0x35)||((bytes(z)[4])==0x36)))
            {
                a=2;
                b=1;
            }

        //check for right double seven
        if((((bytes(z)[4])==0x34)||((bytes(z)[4])==0x35)||((bytes(z)[4])==0x36))&&(((bytes(z)[7])==0x34)||((bytes(z)[7])==0x35)||((bytes(z)[7])==0x36)))
            {
                a=2;
                b=1;
            }

        //check for triple seven
        if((((bytes(z)[1])==0x34)||((bytes(z)[1])==0x35)||((bytes(z)[1])==0x36))&&(((bytes(z)[4])==0x34)||((bytes(z)[4])==0x35)||((bytes(z)[4])==0x36))&&(((bytes(z)[7])==0x34)||((bytes(z)[7])==0x35)||((bytes(z)[7])==0x36)))
            {
                a=3;
                b=2;
            }

        //check for left double coin
        if((((bytes(z)[1])==0x37)||((bytes(z)[1])==0x38)||((bytes(z)[1])==0x39))&&(((bytes(z)[4])==0x37)||((bytes(z)[4])==0x38)||((bytes(z)[4])==0x39)))
            {
                a=2;
                b=1;
            }

        //check for right double coin
        if((((bytes(z)[4])==0x37)||((bytes(z)[4])==0x38)||((bytes(z)[4])==0x39))&&(((bytes(z)[7])==0x37)||((bytes(z)[7])==0x38)||((bytes(z)[7])==0x39)))
            {
                a=2;
                b=1;
            }

        //check for triple coin
        if((((bytes(z)[1])==0x37)||((bytes(z)[1])==0x38)||((bytes(z)[1])==0x39))&&(((bytes(z)[4])==0x37)||((bytes(z)[4])==0x38)||((bytes(z)[4])==0x39))&&(((bytes(z)[7])==0x37)||((bytes(z)[7])==0x38)||((bytes(z)[7])==0x39)))
            {
                a=3;
                b=3;
            }

            return(a,b);
    }

    function paid(uint proof, uint evidence,bytes32 _id) internal returns(uint reward)
    {
        //setting reward to 0
        reward=0;
        //prize for triple or double
      if((proof==3)||(proof==2))
        {
            //Prize for any kind of Double of 110% of the bet
            if((proof==2)&&(evidence==1))
            {
                reward = div(money[_id],10);
                reward=add(money[_id],reward);
            }
            else
            {
                    //Prize for triple cherry of 150% of the bet
                if((proof==3)&&(evidence==1))
                {
                    reward = div(money[_id],10);
                    reward=add(money[_id],mul(reward,5));
                }
                else
                {
                    //Prize of triple seven or coin which correspond to 200% and 300%
                    reward=mul(money[_id],evidence);
                }

            }


            return reward;
        }


    }

     //functions for safe math
    function mul(uint256 a, uint256 b) internal constant returns (uint256)
    {
        uint256 c = a * b;
        assert(a == 0 || c / a == b);
        return c;
    }

    function div(uint256 a, uint256 b) internal constant returns (uint256)
    {
         assert(b > 0); // Solidity automatically throws when dividing by 0
        uint256 c = a / b;
         assert(a == b * c + a % b); // There is no case in which this doesn't hold
        return c;
    }

      function sub(uint256 a, uint256 b) internal constant returns (uint256) {
        assert(b <= a);
        return a - b;
      }

      function add(uint256 a, uint256 b) internal constant returns (uint256) {
        uint256 c = a + b;
        assert(c >= a);
        return c;
      }

    //function for free Bets
    function freeBet(address player) onlyByOperative
    {
        freeTry[player]=true;
    }

    function changeOperative(address newOperative) onlyByOwner
    {
        Operative=newOperative;
    }

    function changeFreeBetValue(uint newAmount)onlyByOwner
    {
        freeBetValue=newAmount;
    }

    //Configuration Functions

    function rangeOfBets(uint newMinBet,uint newMaxBet) onlyByOwner
    {
        min=newMinBet;
        max=newMaxBet;
    }

    function oraclizeQueryGas(uint newGasValue) onlyByOwner
    {
        callbackGasValue = newGasValue;
    }

    function changeAccount(address newAccount) onlyByOwner
    {
        companyAccount=newAccount;

    }

     function depositInPot()payable onlyByOwner
    {
        deposit(msg.value);
    }

    function withdrawal(address account,uint amount) onlyByOwner
    {
        account.transfer(amount);
    }

    function KillContract() onlyByOwner
    {

        selfdestruct(owner);

    }


}

    Contract ABI  
[{"constant":false,"inputs":[],"name":"depositInPot","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"myid","type":"bytes32"},{"name":"result","type":"string"}],"name":"__callback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"myid","type":"bytes32"},{"name":"result","type":"string"},{"name":"proof","type":"bytes"}],"name":"__callback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"},{"name":"amount","type":"uint256"}],"name":"withdrawal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"KillContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"player","type":"address"}],"name":"freeBet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newAccount","type":"address"}],"name":"changeAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newAmount","type":"uint256"}],"name":"changeFreeBetValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOperative","type":"address"}],"name":"changeOperative","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newMinBet","type":"uint256"},{"name":"newMaxBet","type":"uint256"}],"name":"rangeOfBets","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newGasValue","type":"uint256"}],"name":"oraclizeQueryGas","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"x","type":"bytes32"}],"name":"logfolio","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"y","type":"string"}],"name":"logResult","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"z","type":"string"}],"name":"newOraclizeQuery","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"w","type":"uint256"}],"name":"deposit","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60806040523480156200001157600080fd5b50600d8054600160a060020a031916331790556801158e460913d0000060105567016345785d8a0000600f8190556008556402cb41780060075562000060600064010000000062000067810204565b50620004d8565b60008062000092731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed64010000000062000416810204565b1115620001105760008054600160a060020a031916731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed17905560408051808201909152600b81527f6574685f6d61696e6e6574000000000000000000000000000000000000000000602082015262000107906401000000006200041a810204565b50600162000411565b60006200013a73c03a2615d5efaf5f49f60b7bb6583eaec212fdf164010000000062000416810204565b1115620001af5760008054600160a060020a03191673c03a2615d5efaf5f49f60b7bb6583eaec212fdf117905560408051808201909152600c81527f6574685f726f707374656e330000000000000000000000000000000000000000602082015262000107906401000000006200041a810204565b6000620001d973b7a07bcf2ba2f2703b24c0691b5278999c59ac7e64010000000062000416810204565b11156200024e5760008054600160a060020a03191673b7a07bcf2ba2f2703b24c0691b5278999c59ac7e17905560408051808201909152600981527f6574685f6b6f76616e0000000000000000000000000000000000000000000000602082015262000107906401000000006200041a810204565b60006200027873146500cfd35b22e4a392fe0adc06de1a1368ed4864010000000062000416810204565b1115620002ed5760008054600160a060020a03191673146500cfd35b22e4a392fe0adc06de1a1368ed4817905560408051808201909152600b81527f6574685f72696e6b656279000000000000000000000000000000000000000000602082015262000107906401000000006200041a810204565b600062000317736f485c8bf6fc43ea212e93bbf8ce046c7f1cb47564010000000062000416810204565b11156200034d575060008054600160a060020a031916736f485c8bf6fc43ea212e93bbf8ce046c7f1cb475179055600162000411565b6000620003777320e12a1f859b3feae5fb2a0a32c18f5a65555bbf64010000000062000416810204565b1115620003ad575060008054600160a060020a0319167320e12a1f859b3feae5fb2a0a32c18f5a65555bbf179055600162000411565b6000620003d77351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa64010000000062000416810204565b11156200040d575060008054600160a060020a0319167351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa179055600162000411565b5060005b919050565b3b90565b80516200042f90600290602084019062000433565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200047657805160ff1916838001178555620004a6565b82800160010185558215620004a6579182015b82811115620004a657825182559160200191906001019062000489565b50620004b4929150620004b8565b5090565b620004d591905b80821115620004b45760008155600101620004bf565b90565b612bfb80620004e86000396000f3006080604052600436106100955763ffffffff60e060020a600035041663120960de81146103d657806327dc297e146103e057806338bbfa501461043e5780635a6b26ba146104da5780635b0cfcd8146104fe5780637d7f169914610513578063aa04969114610534578063b72f8ebb14610555578063e688aab41461056d578063f8e2dc6a1461058e578063ff523cb2146105a9575b3360009081526016602052604090205460ff161515600114806100c7575060105434111580156100c75750600f543410155b15156100d257600080fd5b6100dd6007546105c1565b60408051808201909152600381527f55524c0000000000000000000000000000000000000000000000000000000000602082015230319061011d906107ae565b11156101d457604080516020808252604b908201527f4f7261636c697a6520717565727920776173204e4f542073656e742c20706c65818301527f6173652061646420736f6d652045544820746f20636f76657220666f7220746860608201527f6520717565727920666565000000000000000000000000000000000000000000608082015290517f46cb989ef9cef13e930e3b7f286225a086e716a90d63e0b7da85d310a9db0c9a9181900360a00190a16102b6565b6102b26040805190810160405280600381526020017f55524c0000000000000000000000000000000000000000000000000000000000815250608060405190810160405280604181526020017f6a736f6e2868747470733a2f2f6170692e72616e646f6d2e6f72672f6a736f6e81526020017f2d7270632f312f696e766f6b65292e726573756c742e72616e646f6d2e64617481526020017f6100000000000000000000000000000000000000000000000000000000000000815250610180604051908101604052806101488152602001612a886101489139610a14565b6005555b6102c1600554610e6d565b6005546000908152601260205260409020546102de90600a610f3c565b600a55683635c9adc5dea000003031101561034257600c54600a54600160a060020a03909116906108fc90610314906002610f77565b6040518115909202916000818181858888f1935050505015801561033c573d6000803e3d6000fd5b5061038d565b600c54600a54600160a060020a03909116906108fc90610363906002610f77565b6040518115909202916000818181858888f1935050505015801561038b573d6000803e3d6000fd5b505b60055460009081526013602090815260409182902054825190815291517f974207fb720d50505786b29b9b8a91ceea26da15706b04aec9f383c2b5521a0a9281900390910190a1005b6103de610f9b565b005b3480156103ec57600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526103de958335953695604494919390910191908190840183828082843750949750610fe79650505050505050565b34801561044a57600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526103de95833595369560449491939091019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506111809650505050505050565b3480156104e657600080fd5b506103de600160a060020a0360043516602435611186565b34801561050a57600080fd5b506103de6111d3565b34801561051f57600080fd5b506103de600160a060020a03600435166111f8565b34801561054057600080fd5b506103de600160a060020a0360043516611233565b34801561056157600080fd5b506103de60043561126c565b34801561057957600080fd5b506103de600160a060020a0360043516611288565b34801561059a57600080fd5b506103de6004356024356112c1565b3480156105b557600080fd5b506103de6004356112e3565b600054600160a060020a031615806105eb57506000546105e990600160a060020a03166112ff565b155b156105fc576105fa6000611303565b505b6000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561064e57600080fd5b505af1158015610662573d6000803e3d6000fd5b505050506040513d602081101561067857600080fd5b5051600154600160a060020a0390811691161461072d576000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106e157600080fd5b505af11580156106f5573d6000803e3d6000fd5b505050506040513d602081101561070b57600080fd5b505160018054600160a060020a031916600160a060020a039092169190911790555b600154604080517fca6ad1e4000000000000000000000000000000000000000000000000000000008152600481018490529051600160a060020a039092169163ca6ad1e49160248082019260009290919082900301818387803b15801561079357600080fd5b505af11580156107a7573d6000803e3d6000fd5b5050505050565b60008054600160a060020a031615806107d957506000546107d790600160a060020a03166112ff565b155b156107ea576107e86000611303565b505b6000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561083c57600080fd5b505af1158015610850573d6000803e3d6000fd5b505050506040513d602081101561086657600080fd5b5051600154600160a060020a0390811691161461091b576000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108cf57600080fd5b505af11580156108e3573d6000803e3d6000fd5b505050506040513d60208110156108f957600080fd5b505160018054600160a060020a031916600160a060020a039092169190911790555b6001546040517f524f3889000000000000000000000000000000000000000000000000000000008152602060048201818152855160248401528551600160a060020a039094169363524f388993879383926044909201919085019080838360005b8381101561099457818101518382015260200161097c565b50505050905090810190601f1680156109c15780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1580156109e057600080fd5b505af11580156109f4573d6000803e3d6000fd5b505050506040513d6020811015610a0a57600080fd5b505190505b919050565b600080548190600160a060020a03161580610a415750600054610a3f90600160a060020a03166112ff565b155b15610a5257610a506000611303565b505b6000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610aa457600080fd5b505af1158015610ab8573d6000803e3d6000fd5b505050506040513d6020811015610ace57600080fd5b5051600154600160a060020a03908116911614610b83576000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610b3757600080fd5b505af1158015610b4b573d6000803e3d6000fd5b505050506040513d6020811015610b6157600080fd5b505160018054600160a060020a031916600160a060020a039092169190911790555b6001546040517f524f3889000000000000000000000000000000000000000000000000000000008152602060048201818152885160248401528851600160a060020a039094169363524f3889938a9383926044909201919085019080838360005b83811015610bfc578181015183820152602001610be4565b50505050905090810190601f168015610c295780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b158015610c4857600080fd5b505af1158015610c5c573d6000803e3d6000fd5b505050506040513d6020811015610c7257600080fd5b50519050670de0b6b3a764000062030d403a0201811115610c965760009150610e65565b6001546040517f77228659000000000000000000000000000000000000000000000000000000008152600060048201818152608060248401908152895160848501528951600160a060020a03909516946377228659948794938c938c938c936044810191606482019160a4019060208901908083838d5b83811015610d25578181015183820152602001610d0d565b50505050905090810190601f168015610d525780820380516001836020036101000a031916815260200191505b50848103835286518152865160209182019188019080838360005b83811015610d85578181015183820152602001610d6d565b50505050905090810190601f168015610db25780820380516001836020036101000a031916815260200191505b50848103825285518152855160209182019187019080838360005b83811015610de5578181015183820152602001610dcd565b50505050905090810190601f168015610e125780820380516001836020036101000a031916815260200191505b509750505050505050506020604051808303818588803b158015610e3557600080fd5b505af1158015610e49573d6000803e3d6000fd5b50505050506040513d6020811015610e6057600080fd5b505191505b509392505050565b3360009081526016602052604090205460ff1615156001148015610e8f575034155b15610ec257336000908152601660209081526040808320805460ff19169055600854848452601290925290912055610ed4565b60008181526012602052604090203490555b60008181526011602090815260408083208054600160a060020a03191633179055601582528083203031905560149091529020805460ff19169055610f19438261162d565b604080519182528051602092819003830190206000938452601390925290912055565b600080808311610f4857fe5b8284811515610f5357fe5b0490508284811515610f6157fe5b068184020184141515610f7057fe5b9392505050565b6000828202831580610f935750828482811515610f9057fe5b04145b1515610f7057fe5b600d54600160a060020a03163314610fb257600080fd5b6040805134815290517fb6b55f256c3eb337f96418d59e773db6e805074f5e574a2bebb7d713940436199181900360200190a1565b610fef61163c565b600160a060020a0316331461100357600080fd5b60008281526013602090815260409182902054825190815291517f974207fb720d50505786b29b9b8a91ceea26da15706b04aec9f383c2b5521a0a9281900390910190a17f6c73d23083c4f9b446c408bc6e8784ab2c54cf950789d7e220da38ed7b035cc0816040518080602001828103825283818151815260200191508051906020019080838360005b838110156110a657818101518382015260200161108e565b50505050905090810190601f1680156110d35780820380516001836020036101000a031916815260200191505b509250505060405180910390a16110e98161182e565b600b81905560098290556110fe91908461272f565b600681905561110d908361280d565b6000838152601460205260409020805460ff1916911515919091179081905560ff1615156001141561118257600082815260116020526040808220546006549151600160a060020a039091169282156108fc02929190818181858888f19350505050158015611180573d6000803e3d6000fd5b505b5050565b600d54600160a060020a0316331461119d57600080fd5b604051600160a060020a0383169082156108fc029083906000818181858888f19350505050158015611180573d6000803e3d6000fd5b600d54600160a060020a031633146111ea57600080fd5b600d54600160a060020a0316ff5b600e54600160a060020a0316331461120f57600080fd5b600160a060020a03166000908152601660205260409020805460ff19166001179055565b600d54600160a060020a0316331461124a57600080fd5b600c8054600160a060020a031916600160a060020a0392909216919091179055565b600d54600160a060020a0316331461128357600080fd5b600855565b600d54600160a060020a0316331461129f57600080fd5b600e8054600160a060020a031916600160a060020a0392909216919091179055565b600d54600160a060020a031633146112d857600080fd5b600f91909155601055565b600d54600160a060020a031633146112fa57600080fd5b600755565b3b90565b600080611323731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed6112ff565b11156113945760008054600160a060020a031916731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed17905560408051808201909152600b81527f6574685f6d61696e6e6574000000000000000000000000000000000000000000602082015261138c906129ca565b506001610a0f565b60006113b373c03a2615d5efaf5f49f60b7bb6583eaec212fdf16112ff565b111561141c5760008054600160a060020a03191673c03a2615d5efaf5f49f60b7bb6583eaec212fdf117905560408051808201909152600c81527f6574685f726f707374656e330000000000000000000000000000000000000000602082015261138c906129ca565b600061143b73b7a07bcf2ba2f2703b24c0691b5278999c59ac7e6112ff565b11156114a45760008054600160a060020a03191673b7a07bcf2ba2f2703b24c0691b5278999c59ac7e17905560408051808201909152600981527f6574685f6b6f76616e0000000000000000000000000000000000000000000000602082015261138c906129ca565b60006114c373146500cfd35b22e4a392fe0adc06de1a1368ed486112ff565b111561152c5760008054600160a060020a03191673146500cfd35b22e4a392fe0adc06de1a1368ed4817905560408051808201909152600b81527f6574685f72696e6b656279000000000000000000000000000000000000000000602082015261138c906129ca565b600061154b736f485c8bf6fc43ea212e93bbf8ce046c7f1cb4756112ff565b111561157f575060008054600160a060020a031916736f485c8bf6fc43ea212e93bbf8ce046c7f1cb4751790556001610a0f565b600061159e7320e12a1f859b3feae5fb2a0a32c18f5a65555bbf6112ff565b11156115d2575060008054600160a060020a0319167320e12a1f859b3feae5fb2a0a32c18f5a65555bbf1790556001610a0f565b60006115f17351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa6112ff565b1115611625575060008054600160a060020a0319167351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa1790556001610a0f565b506000919050565b600082820183811015610f7057fe5b60008054600160a060020a03161580611667575060005461166590600160a060020a03166112ff565b155b15611678576116766000611303565b505b6000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156116ca57600080fd5b505af11580156116de573d6000803e3d6000fd5b505050506040513d60208110156116f457600080fd5b5051600154600160a060020a039081169116146117a9576000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561175d57600080fd5b505af1158015611771573d6000803e3d6000fd5b505050506040513d602081101561178757600080fd5b505160018054600160a060020a031916600160a060020a039092169190911790555b600160009054906101000a9004600160a060020a0316600160a060020a031663c281d19e6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156117fc57600080fd5b505af1158015611810573d6000803e3d6000fd5b505050506040513d602081101561182657600080fd5b505190505b90565b60008082600181518110151561184057fe5b90602001015160f860020a900460f860020a02600160f860020a031916603160f860020a0214806118a2575082600181518110151561187b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603260f860020a02145b806118de57508260018151811015156118b757fe5b90602001015160f860020a900460f860020a02600160f860020a031916603360f860020a02145b801561199257508260048151811015156118f457fe5b90602001015160f860020a900460f860020a02600160f860020a031916603160f860020a021480611956575082600481518110151561192f57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603260f860020a02145b80611992575082600481518110151561196b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603360f860020a02145b1561199f57506002905060015b8260048151811015156119ae57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603160f860020a021480611a1057508260048151811015156119e957fe5b90602001015160f860020a900460f860020a02600160f860020a031916603260f860020a02145b80611a4c5750826004815181101515611a2557fe5b90602001015160f860020a900460f860020a02600160f860020a031916603360f860020a02145b8015611b005750826007815181101515611a6257fe5b90602001015160f860020a900460f860020a02600160f860020a031916603160f860020a021480611ac45750826007815181101515611a9d57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603260f860020a02145b80611b005750826007815181101515611ad957fe5b90602001015160f860020a900460f860020a02600160f860020a031916603360f860020a02145b15611b0d57506002905060015b826001815181101515611b1c57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603160f860020a021480611b7e5750826001815181101515611b5757fe5b90602001015160f860020a900460f860020a02600160f860020a031916603260f860020a02145b80611bba5750826001815181101515611b9357fe5b90602001015160f860020a900460f860020a02600160f860020a031916603360f860020a02145b8015611c6e5750826004815181101515611bd057fe5b90602001015160f860020a900460f860020a02600160f860020a031916603160f860020a021480611c325750826004815181101515611c0b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603260f860020a02145b80611c6e5750826004815181101515611c4757fe5b90602001015160f860020a900460f860020a02600160f860020a031916603360f860020a02145b8015611d225750826007815181101515611c8457fe5b90602001015160f860020a900460f860020a02600160f860020a031916603160f860020a021480611ce65750826007815181101515611cbf57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603260f860020a02145b80611d225750826007815181101515611cfb57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603360f860020a02145b15611d2f57506003905060015b826001815181101515611d3e57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603460f860020a021480611da05750826001815181101515611d7957fe5b90602001015160f860020a900460f860020a02600160f860020a031916603560f860020a02145b80611ddc5750826001815181101515611db557fe5b90602001015160f860020a900460f860020a02600160f860020a031916603660f860020a02145b8015611e905750826004815181101515611df257fe5b90602001015160f860020a900460f860020a02600160f860020a031916603460f860020a021480611e545750826004815181101515611e2d57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603560f860020a02145b80611e905750826004815181101515611e6957fe5b90602001015160f860020a900460f860020a02600160f860020a031916603660f860020a02145b15611e9d57506002905060015b826004815181101515611eac57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603460f860020a021480611f0e5750826004815181101515611ee757fe5b90602001015160f860020a900460f860020a02600160f860020a031916603560f860020a02145b80611f4a5750826004815181101515611f2357fe5b90602001015160f860020a900460f860020a02600160f860020a031916603660f860020a02145b8015611ffe5750826007815181101515611f6057fe5b90602001015160f860020a900460f860020a02600160f860020a031916603460f860020a021480611fc25750826007815181101515611f9b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603560f860020a02145b80611ffe5750826007815181101515611fd757fe5b90602001015160f860020a900460f860020a02600160f860020a031916603660f860020a02145b1561200b57506002905060015b82600181518110151561201a57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603460f860020a02148061207c575082600181518110151561205557fe5b90602001015160f860020a900460f860020a02600160f860020a031916603560f860020a02145b806120b8575082600181518110151561209157fe5b90602001015160f860020a900460f860020a02600160f860020a031916603660f860020a02145b801561216c57508260048151811015156120ce57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603460f860020a021480612130575082600481518110151561210957fe5b90602001015160f860020a900460f860020a02600160f860020a031916603560f860020a02145b8061216c575082600481518110151561214557fe5b90602001015160f860020a900460f860020a02600160f860020a031916603660f860020a02145b8015612220575082600781518110151561218257fe5b90602001015160f860020a900460f860020a02600160f860020a031916603460f860020a0214806121e457508260078151811015156121bd57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603560f860020a02145b8061222057508260078151811015156121f957fe5b90602001015160f860020a900460f860020a02600160f860020a031916603660f860020a02145b1561222d57506003905060025b82600181518110151561223c57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603760f860020a02148061229e575082600181518110151561227757fe5b90602001015160f860020a900460f860020a02600160f860020a031916603860f860020a02145b806122da57508260018151811015156122b357fe5b90602001015160f860020a900460f860020a02600160f860020a031916603960f860020a02145b801561238e57508260048151811015156122f057fe5b90602001015160f860020a900460f860020a02600160f860020a031916603760f860020a021480612352575082600481518110151561232b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603860f860020a02145b8061238e575082600481518110151561236757fe5b90602001015160f860020a900460f860020a02600160f860020a031916603960f860020a02145b1561239b57506002905060015b8260048151811015156123aa57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603760f860020a02148061240c57508260048151811015156123e557fe5b90602001015160f860020a900460f860020a02600160f860020a031916603860f860020a02145b80612448575082600481518110151561242157fe5b90602001015160f860020a900460f860020a02600160f860020a031916603960f860020a02145b80156124fc575082600781518110151561245e57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603760f860020a0214806124c0575082600781518110151561249957fe5b90602001015160f860020a900460f860020a02600160f860020a031916603860f860020a02145b806124fc57508260078151811015156124d557fe5b90602001015160f860020a900460f860020a02600160f860020a031916603960f860020a02145b1561250957506002905060015b82600181518110151561251857fe5b90602001015160f860020a900460f860020a02600160f860020a031916603760f860020a02148061257a575082600181518110151561255357fe5b90602001015160f860020a900460f860020a02600160f860020a031916603860f860020a02145b806125b6575082600181518110151561258f57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603960f860020a02145b801561266a57508260048151811015156125cc57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603760f860020a02148061262e575082600481518110151561260757fe5b90602001015160f860020a900460f860020a02600160f860020a031916603860f860020a02145b8061266a575082600481518110151561264357fe5b90602001015160f860020a900460f860020a02600160f860020a031916603960f860020a02145b801561271e575082600781518110151561268057fe5b90602001015160f860020a900460f860020a02600160f860020a031916603760f860020a0214806126e257508260078151811015156126bb57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603860f860020a02145b8061271e57508260078151811015156126f757fe5b90602001015160f860020a900460f860020a02600160f860020a031916603960f860020a02145b1561272a575060039050805b915091565b600060038414806127405750836002145b15610f70578360021480156127555750826001145b156127975760008281526012602052604090205461277490600a610f3c565b600083815260126020526040902054909150612790908261162d565b9050610f70565b8360031480156127a75750826001145b156127ec576000828152601260205260409020546127c690600a610f3c565b600083815260126020526040902054909150612790906127e7836005610f77565b61162d565b6000828152601260205260409020546128059084610f77565b949350505050565b60008181526012602052604081205483141561282557fe5b680340aad21b3b700000831061283757fe5b60008281526015602052604090205461285081856129dd565b111561285857fe5b6000828152601560209081526040808320546012909252909120546128889190612883906002610f77565b6129dd565b6000838152601560205260409020546128a190856129dd565b14806128c357506000828152601560205260409020546128c181856129dd565b145b8061290f57506000828152601560209081526040808320546012909252909120546128f49190612883906003610f77565b60008381526015602052604090205461290d90856129dd565b145b80612969575060008281526015602090815260408083205460129092529091205461294e9190612883906127e761294782600a610f3c565b6005610f77565b60008381526015602052604090205461296790856129dd565b145b806129b9575060008281526015602090815260408083205460129092529091205461299e9190612883906127e781600a610f3c565b6000838152601560205260409020546129b790856129dd565b145b15156129c157fe5b50600192915050565b80516111829060029060208401906129ef565b6000828211156129e957fe5b50900390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612a3057805160ff1916838001178555612a5d565b82800160010185558215612a5d579182015b82811115612a5d578251825591602001919060010190612a42565b50612a69929150612a6d565b5090565b61182b91905b80821115612a695760008155600101612a73560042476d4d5131664377767a4b385076686b5150634c52395130776a58343149486a7839316b4c58536e3549516c4f4361484d616564385638452f5652384c2b4b5a4f4b33512b5343687a785a44523953416568395234567852695a646d774c45667a486f33726e6857506a6f4a6c6b656541547676596b4236644f694b5874476f42516a4d4b4e457941366d4e4f636e454e78454542746c36514c79336d756c3134544f74724138757371397179627342583432493456645166764d795838566f342f36394566673741705a584a747042705a314b384d5a497a6b47566b717633793062314b542f4d75513270742b396f6147434b6242324b523961495a455339706a30766c4e476641387166772f7a4d31656b613538667851655861684d4f363433364774434752454e6571382f676c416e4e756e2b48452f4b774d79375441327a6151657166a165627a7a72305820c5d73fe4ad702f02196f41b3b5ad67d6a66875f2db9929a60c709848d132b44b0029

   Swarm Source:
bzzr://c5d73fe4ad702f02196f41b3b5ad67d6a66875f2db9929a60c709848d132b44b

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.