Sponsored:   Ubex.com: Top ratings from all agencies. Big partnerships. 70% hard cap reached. Join us!
Contract Overview
Balance: 0.00004 Ether
Ether Value: $0.02 (@ $462.79/ETH)
Transactions: 13 txns
 Latest 13 txns

TxHash Age From To Value [TxFee]
0xbf242d64ae84b6c471b1311746116fa3a0259afb8aaea565fdbc2650659dffbb266 days 13 hrs agoOraclize  IN   0x1d671d441c475bacd95b1512396aefa50e55684e0 Ether0.00136634
0x700e9d43c7ee91a0bf6dc020d6a4dfa0d4138ed6afa40f05a11204ac3c69075b268 days 16 hrs agoOraclize  IN   0x1d671d441c475bacd95b1512396aefa50e55684e0 Ether0.00163552
0xf9905557e123a9ea9fb51a265f9b7fc2afe2c71183e2605ad9d4298d03d11150268 days 16 hrs agoOraclize  IN   0x1d671d441c475bacd95b1512396aefa50e55684e0 Ether0.00195656
0x93010b0edee363d7555956491c7fe2482c9aa73e10f1f269d175b9186699972a271 days 8 hrs ago0xdc48c9b99a94ffd60557ed6dc9a4649db0fb2b33  IN   0x1d671d441c475bacd95b1512396aefa50e55684e0 Ether0.000028916
0x8212998cd6a3ade270dccd787a8b9e8bbbd2fb3ac5d8905412249a33b2af68eb271 days 15 hrs agoOraclize  IN   0x1d671d441c475bacd95b1512396aefa50e55684e0 Ether0.00117998
0xb8020433d0c6dbc7d065ad780cf5dbe7b8690a89a692c2ce87c6b27c70866668271 days 15 hrs agoOraclize  IN   0x1d671d441c475bacd95b1512396aefa50e55684e0 Ether0.00155092
0xfbe8f0514829341931dcf2bcb77e7434c9b07786799d0be1ad24485942f3cfa6271 days 19 hrs ago0xdc48c9b99a94ffd60557ed6dc9a4649db0fb2b33  IN   0x1d671d441c475bacd95b1512396aefa50e55684e0 Ether0.000028916
0x546fe78f42774d6a279f502ee4a3309bd008f5c8fe441acc247ecfdc4edb0f66272 days 5 hrs ago0xdc48c9b99a94ffd60557ed6dc9a4649db0fb2b33  IN   0x1d671d441c475bacd95b1512396aefa50e55684e0 Ether0.000028916
0xae6f5ad511abfef540daef8806f88fd04363dcee73cebefc9c30c99be2fbb305273 days 6 hrs agoOraclize  IN   0x1d671d441c475bacd95b1512396aefa50e55684e0 Ether0.00158346
0x13db5a78afcdc71362b5f07de7c07ec0e8b9b05db4556917a86c68b7c2963ddc275 days 20 hrs agoOraclize  IN   0x1d671d441c475bacd95b1512396aefa50e55684e0 Ether0.00183242
0x4ac89d60d87b31d3ce1b155c8e156eef4db382d408960aad7fe1ae7f56031da8279 days 10 hrs ago0xdc48c9b99a94ffd60557ed6dc9a4649db0fb2b33  IN   0x1d671d441c475bacd95b1512396aefa50e55684e0 Ether0.00028916
0x129542bf6f5a851620773dceb0de31f054033993322838528c9e8c6c70018609279 days 10 hrs ago0xdc48c9b99a94ffd60557ed6dc9a4649db0fb2b33  IN   0x1d671d441c475bacd95b1512396aefa50e55684e0 Ether0.000922236
0x4fffe76bc431283373c3d7d67451882f90789ea1f94a34ebe27c89122201b2b5279 days 12 hrs ago0xdc48c9b99a94ffd60557ed6dc9a4649db0fb2b33  IN    Contract Creation0 Ether0.012634342
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 13 Internal Transactions

ParentTxHash Block Age From To Value
0x7634817ad1a568413c65f3a3241b308feccbf670c65c615a217fc4f1e58ecbce4440481267 days 13 hrs ago0x1d671d441c475bacd95b1512396aefa50e55684e0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00403327142086313 Ether
0x7634817ad1a568413c65f3a3241b308feccbf670c65c615a217fc4f1e58ecbce4440481267 days 13 hrs ago0x18e0e11cb7e99c1bfbf5e488d7e82466924d347c0x1d671d441c475bacd95b1512396aefa50e55684e0.00403327142086313 Ether
0xdbec33721abb3a7c772cbede6a50d1b41a82b86de20c45c809296efa050b59dd4427188269 days 16 hrs ago0x1d671d441c475bacd95b1512396aefa50e55684e0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00403327142086313 Ether
0xdbec33721abb3a7c772cbede6a50d1b41a82b86de20c45c809296efa050b59dd4427188269 days 16 hrs ago0x18e0e11cb7e99c1bfbf5e488d7e82466924d347c0x1d671d441c475bacd95b1512396aefa50e55684e0.00403327142086313 Ether
0xbb21a0652d72d564d2af6fbd40a272c4047fd7629e7e37a4cfe05222b67366004427182269 days 16 hrs ago0x1d671d441c475bacd95b1512396aefa50e55684e0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00403327142086313 Ether
0xbb21a0652d72d564d2af6fbd40a272c4047fd7629e7e37a4cfe05222b67366004427182269 days 16 hrs ago0x18e0e11cb7e99c1bfbf5e488d7e82466924d347c0x1d671d441c475bacd95b1512396aefa50e55684e0.00403327142086313 Ether
0x948e2c226289d02df1f46a523560bc2cacb09226d219e2faf2f1abc35aba7b7b4408903272 days 15 hrs ago0x1d671d441c475bacd95b1512396aefa50e55684e0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00403327142086313 Ether
0x948e2c226289d02df1f46a523560bc2cacb09226d219e2faf2f1abc35aba7b7b4408903272 days 15 hrs ago0xed0f41abc9fdb3052ebd5391c80e1ee792ec4f420x1d671d441c475bacd95b1512396aefa50e55684e0.00403327142086313 Ether
0xbce05103107b29f008d40ddf56e3003d91569f6ef7c83174120bfa3e6aa898e74408891272 days 15 hrs ago0x1d671d441c475bacd95b1512396aefa50e55684e0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00403327142086313 Ether
0xbce05103107b29f008d40ddf56e3003d91569f6ef7c83174120bfa3e6aa898e74408891272 days 15 hrs ago0xed0f41abc9fdb3052ebd5391c80e1ee792ec4f420x1d671d441c475bacd95b1512396aefa50e55684e0.00403327142086313 Ether
0xff3129d223e50b060cea1f3d653af433bf00c7a0df09c67e4d6422ba1a164b874398656274 days 6 hrs ago0x1d671d441c475bacd95b1512396aefa50e55684e0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.00403327142086313 Ether
0xff3129d223e50b060cea1f3d653af433bf00c7a0df09c67e4d6422ba1a164b874398656274 days 6 hrs ago0xed0f41abc9fdb3052ebd5391c80e1ee792ec4f420x1d671d441c475bacd95b1512396aefa50e55684e0.00403327142086313 Ether
0xac69fbe6d319082c751437c8a578fdec6572646fcd9186e411f11eea30c773aa4382534276 days 20 hrs ago0xed0f41abc9fdb3052ebd5391c80e1ee792ec4f420x1d671d441c475bacd95b1512396aefa50e55684e0.00004 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to ZeroFunctionSelector (very low-severity) Solidity compiler bugs.

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



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.16;

//User interface at http://www.staticoin.com
//Full source code at https://github.com/genkifs/staticoin

/** @title owned. */
contract owned  {
  address owner;
  function owned() {
    owner = msg.sender;
  }
  function changeOwner(address newOwner) onlyOwner {
    owner = newOwner;
  }
  modifier onlyOwner() {
    if (msg.sender==owner) 
    _;
  }
}

/** @title mortal. */
contract mortal is owned() {
  function kill() onlyOwner {
    if (msg.sender == owner) selfdestruct(owner);
  }
}
 

// <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.
*/

/** @title OraclizeI. */
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);
}
/** @title OraclizeAddrResolverI. */
contract OraclizeAddrResolverI {
    function getAddress() returns (address _addr);
}
/** @title usingOraclize. */
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();
        oraclize = OraclizeI(OAR.getAddress());
        _;
    }
    modifier coupon(string code){
        oraclize = OraclizeI(OAR.getAddress());
        oraclize.useCoupon(code);
        _;
    }

    function oraclize_setNetwork() 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 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_setCustomGasPrice(uint gasPrice) oraclizeAPI internal { 
        return oraclize.setCustomGasPrice(gasPrice); 
	}     


    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_cbAddress() oraclizeAPI internal returns (address){
        return oraclize.cbAddress();
    }
    function oraclize_setProof(byte proofP) oraclizeAPI internal {
        return oraclize.setProofType(proofP);
    }

    function getCodeSize(address _addr) constant internal returns(uint _size) {
        assembly {
            _size := extcodesize(_addr)
        }
    }
        
    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;
    }
        
}
// </ORACLIZE_API>

/** @title DSParser. */
contract DSParser{
    uint8 constant WAD_Dec=18;
    uint128 constant WAD = 10 ** 18;
    function parseInt128(string _a)  constant  returns (uint128) { 
		return cast(parseInt( _a, WAD_Dec));
    }
    function cast(uint256 x) constant internal returns (uint128 z) {
        assert((z = uint128(x)) == x);
    }
    function parseInt(string _a, uint _b)  
			constant 
			returns (uint) { 
		/** @dev Turns a string into a number with _b places
          * @param _a String to be processed, e.g. "0.002"
          * @param _b number of decimal places
          * @return uint of the decimal representation
        */
			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){
                        //Round up if next value is 5 or greater
                        if(uint(bresult[i])- 48>4){
                            mint = mint+1;
                        }    
                        break;
                       }
                       else _b--;
                    }
                    mint *= 10;
                    mint += uint(bresult[i]) - 48;
                } else if (bresult[i] == 46||bresult[i] == 44) { // cope with euro decimals using commas
                    decimals = true;
                }
            }
            if (_b > 0) mint *= 10**_b;
           return mint;
    }
	
}

/** @title I_minter. */
contract I_minter { 
    event EventCreateStatic(address indexed _from, uint128 _value, uint _transactionID, uint _Price); 
    event EventRedeemStatic(address indexed _from, uint128 _value, uint _transactionID, uint _Price); 
    event EventCreateRisk(address indexed _from, uint128 _value, uint _transactionID, uint _Price); 
    event EventRedeemRisk(address indexed _from, uint128 _value, uint _transactionID, uint _Price); 
    event EventBankrupt();
	
    function Leverage() constant returns (uint128)  {}
    function RiskPrice(uint128 _currentPrice,uint128 _StaticTotal,uint128 _RiskTotal, uint128 _ETHTotal) constant returns (uint128 price)  {}
    function RiskPrice(uint128 _currentPrice) constant returns (uint128 price)  {}     
    function PriceReturn(uint _TransID,uint128 _Price) {}
    function NewStatic() external payable returns (uint _TransID)  {}
    function NewStaticAdr(address _Risk) external payable returns (uint _TransID)  {}
    function NewRisk() external payable returns (uint _TransID)  {}
    function NewRiskAdr(address _Risk) external payable returns (uint _TransID)  {}
    function RetRisk(uint128 _Quantity) external payable returns (uint _TransID)  {}
    function RetStatic(uint128 _Quantity) external payable returns (uint _TransID)  {}
    function Strike() constant returns (uint128)  {}
}

/** @title I_Pricer. */
contract I_Pricer {
    uint128 public lastPrice;
    uint public constant DELAY = 1 days;// this needs to be a day on the mainnet
    I_minter public mint;
    string public sURL;//="json(https://api.kraken.com/0/public/Ticker?pair=ETHEUR).result.XETHZEUR.p.1";
    mapping (bytes32 => uint) RevTransaction;
    function setMinter(address _newAddress) {}
    function __callback(bytes32 myid, string result) {}
    function queryCost() constant returns (uint128 _value) {}
    function QuickPrice() payable {}
    function requestPrice(uint _actionID) payable returns (uint _TrasID){}
    function collectFee() returns(bool) {}
    function () {
        //if ether is sent to this address, send it back.
        revert();
    }
}

/** @title Pricer. */
contract Pricer is I_Pricer, 
	mortal, 
	usingOraclize, 
	DSParser {
	// <pair_name> = pair name
    // a = ask array(<price>, <whole lot volume>, <lot volume>),
    // b = bid array(<price>, <whole lot volume>, <lot volume>),
    // c = last trade closed array(<price>, <lot volume>),
    // v = volume array(<today>, <last 24 hours>),
    // p = volume weighted average price array(<today>, <last 24 hours>),
    // t = number of trades array(<today>, <last 24 hours>),
    // l = low array(<today>, <last 24 hours>),
    // h = high array(<today>, <last 24 hours>),
    // o = today's opening price
	
    function Pricer(string _URL) {
		/** @dev Constructor, allows the pricer URL to be set
          * @param _URL of the web query
          * @return nothing
        */
		oraclize_setNetwork();
		sURL=_URL;
    }

	function () {
        //if ether is sent to this address, send it back.
        revert();
    }

    function setMinter(address _newAddress) 
		onlyOwner {
		/** @dev Allows the address of the minter to be set
          * @param _newAddress Address of the minter
          * @return nothing
        */
        mint=I_minter(_newAddress);
    }

    function queryCost() 
		constant 
		returns (uint128 _value) {
		/** @dev ETH cost of calling the oraclize 
          * @param _newAddress Address of the minter
          * @return nothing
        */
		return cast(oraclize_getPrice("URL")); 
    }

    function QuickPrice() 
		payable {
		/** @dev Gets the latest price.  Be careful, All eth sent is kept by the contract.
          * @return nothing, but the new price will be stored in variable lastPrice
        */
        bytes32 TrasID =oraclize_query(1, "URL", sURL);
        RevTransaction[TrasID]=0;
    }
	
    function __callback(bytes32 myid, string result) {
		/** @dev ORACLIZE standard callback function-
          * @param myid Pricer transaction ID
		  * @param result Address of the minter
          * @return calls minter.PriceReturn() with the price
        */
        if (msg.sender != oraclize_cbAddress()) revert(); // Only oraclize
        bytes memory tempEmptyStringTest = bytes(result); // Array uses memory
        if (tempEmptyStringTest.length == 0) {
             lastPrice =  0;  //0 is taken to be an error by the minter contract
        } else {
            lastPrice =  parseInt128(result);  //convert the string into a 18 decimal place number
        }
        if(RevTransaction[myid]>0){  //if it's not from QuickPrice
            mint.PriceReturn(RevTransaction[myid],lastPrice);  //Call the minter
        }
        delete RevTransaction[myid]; // free up the memory
    }

	function setGas(uint gasPrice) 
		onlyOwner 
		returns(bool) {
		/** @dev Allows oraclize gas cost to be changed
          * @return True if sucessful
        */
		oraclize_setCustomGasPrice(gasPrice);
		return true;
    }
	
	function collectFee() 
		onlyOwner 
		returns(bool) {
		/** @dev Allows ETH to be removed from this contract (only this one, not the minter)
          * @return True if sucessful
        */
        return owner.send(this.balance);
		return true;
    }
	
	modifier onlyminter() {
      if (msg.sender==address(mint)) 
      _;
    }

    function requestPrice(uint _actionID) 
		payable 
		onlyminter 
		returns (uint _TrasID){
		/** @dev Minter only functuon.  Needs to be called with enough eth
          * @param _actionID Pricer transaction ID
          * @return calls minter.PriceReturn() with the price
        */
        // 
        bytes32 TrasID;
        TrasID=oraclize_query(DELAY, "URL", sURL);
        RevTransaction[TrasID]=_actionID;
		_TrasID=uint(TrasID);
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"lastPrice","outputs":[{"name":"","type":"uint128"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mint","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":"kill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sURL","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DELAY","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"changeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_a","type":"string"},{"name":"_b","type":"uint256"}],"name":"parseInt","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_actionID","type":"uint256"}],"name":"requestPrice","outputs":[{"name":"_TrasID","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"collectFee","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"QuickPrice","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"gasPrice","type":"uint256"}],"name":"setGas","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_a","type":"string"}],"name":"parseInt128","outputs":[{"name":"","type":"uint128"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newAddress","type":"address"}],"name":"setMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"queryCost","outputs":[{"name":"_value","type":"uint128"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_URL","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"}]

  Contract Creation Code Switch To Opcodes View
606060405234156200001057600080fd5b60405162001be738038062001be78339810160405280805190910190505b5b60048054600160a060020a03191633600160a060020a03161790555b620000636401000000006200125b6200008282021704565b506002818051620000799291602001906200049f565b505b5062000549565b600080620000b2731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed640100000000620012536200047d82021704565b1115620001345760058054600160a060020a031916731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed1790556200012b60408051908101604052600b81527f6574685f6d61696e6e65740000000000000000000000000000000000000000006020820152640100000000620015986200048582021704565b5060016200047a565b60006200016373c03a2615d5efaf5f49f60b7bb6583eaec212fdf1640100000000620012536200047d82021704565b1115620001e55760058054600160a060020a03191673c03a2615d5efaf5f49f60b7bb6583eaec212fdf11790556200012b60408051908101604052600c81527f6574685f726f707374656e3300000000000000000000000000000000000000006020820152640100000000620015986200048582021704565b5060016200047a565b60006200021473b7a07bcf2ba2f2703b24c0691b5278999c59ac7e640100000000620012536200047d82021704565b1115620002965760058054600160a060020a03191673b7a07bcf2ba2f2703b24c0691b5278999c59ac7e1790556200012b60408051908101604052600981527f6574685f6b6f76616e00000000000000000000000000000000000000000000006020820152640100000000620015986200048582021704565b5060016200047a565b6000620002c573146500cfd35b22e4a392fe0adc06de1a1368ed48640100000000620012536200047d82021704565b1115620003475760058054600160a060020a03191673146500cfd35b22e4a392fe0adc06de1a1368ed481790556200012b60408051908101604052600b81527f6574685f72696e6b6562790000000000000000000000000000000000000000006020820152640100000000620015986200048582021704565b5060016200047a565b600062000376736f485c8bf6fc43ea212e93bbf8ce046c7f1cb475640100000000620012536200047d82021704565b1115620003ac575060058054600160a060020a031916736f485c8bf6fc43ea212e93bbf8ce046c7f1cb47517905560016200047a565b6000620003db7320e12a1f859b3feae5fb2a0a32c18f5a65555bbf640100000000620012536200047d82021704565b111562000411575060058054600160a060020a0319167320e12a1f859b3feae5fb2a0a32c18f5a65555bbf17905560016200047a565b6000620004407351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa640100000000620012536200047d82021704565b111562000476575060058054600160a060020a0319167351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa17905560016200047a565b5060005b90565b803b5b919050565b60078180516200049a9291602001906200049f565b505b50565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004e257805160ff191683800117855562000512565b8280016001018555821562000512579182015b8281111562000512578251825591602001919060010190620004f5565b5b506200052192915062000525565b5090565b6200047a91905b808211156200052157600081556001016200052c565b5090565b90565b61168e80620005596000396000f300606060405236156100bf5763ffffffff60e060020a600035041663053f14da81146100d25780631249c58b1461010157806327dc297e1461013057806341c0e1b514610188578063452e0d251461019d57806369b4117014610228578063a6f9dae11461024d578063bf4d89b51461026e578063cd7c92e3146102d3578063d4d5d32a146102f0578063dc20183814610317578063dd51faa214610321578063f56c66b11461034b578063fca3b5aa146103b8578063fd557d39146103d9575b34156100ca57600080fd5b5b600080fd5b005b34156100dd57600080fd5b6100e5610408565b6040516001608060020a03909116815260200160405180910390f35b341561010c57600080fd5b610114610417565b604051600160a060020a03909116815260200160405180910390f35b341561013b57600080fd5b6100d0600480359060446024803590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061042695505050505050565b005b341561019357600080fd5b6100d0610565565b005b34156101a857600080fd5b6101b06105a6565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101ed5780820151818401525b6020016101d4565b50505050905090810190601f16801561021a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023357600080fd5b61023b610644565b60405190815260200160405180910390f35b341561025857600080fd5b6100d0600160a060020a036004351661064b565b005b341561027957600080fd5b61023b60046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650509335935061068392505050565b60405190815260200160405180910390f35b61023b600435610866565b60405190815260200160405180910390f35b34156102fb57600080fd5b61030361097e565b604051901515815260200160405180910390f35b6100d06109cd565b005b341561032c57600080fd5b610303600435610abf565b604051901515815260200160405180910390f35b341561035657600080fd5b6100e560046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610aed95505050505050565b6040516001608060020a03909116815260200160405180910390f35b34156103c357600080fd5b6100d0600160a060020a0360043516610b0a565b005b34156103e457600080fd5b6100e5610b42565b6040516001608060020a03909116815260200160405180910390f35b6000546001608060020a031681565b600154600160a060020a031681565b61042e6115b0565b610436610b8e565b600160a060020a031633600160a060020a031614151561045557600080fd5b50808051151561047d57600080546fffffffffffffffffffffffffffffffff191690556104b0565b61048682610aed565b600080546fffffffffffffffffffffffffffffffff19166001608060020a03929092169190911790555b600083815260036020526040812054111561055057600154600084815260036020526040808220549154600160a060020a039093169263e5d02cd092916001608060020a03909116905160e060020a63ffffffff851602815260048101929092526001608060020a03166024820152604401600060405180830381600087803b151561053b57600080fd5b6102c65a03f1151561054c57600080fd5b5050505b6000838152600360205260408120555b505050565b60045433600160a060020a03908116911614156105a15760045433600160a060020a03908116911614156105a157600454600160a060020a0316ff5b5b5b5b565b60028054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561063c5780601f106106115761010080835404028352916020019161063c565b820191906000526020600020905b81548152906001019060200180831161061f57829003601f168201915b505050505081565b6201518081565b60045433600160a060020a039081169116141561067e5760048054600160a060020a031916600160a060020a0383161790555b5b5b50565b600061068d6115b0565b5082600080805b8351811015610846577f30000000000000000000000000000000000000000000000000000000000000008482815181106106ca57fe5b016020015160f860020a900460f860020a02600160f860020a0319161015801561073b57507f390000000000000000000000000000000000000000000000000000000000000084828151811061071c57fe5b016020015160f860020a900460f860020a02600160f860020a03191611155b156107c957811561079157851515610789576004603085838151811061075d57fe5b016020015160f860020a900460f860020a0260f860020a9004031115610784578260010192505b610846565b600019909501945b5b600a8302925060308482815181106107a657fe5b016020015160f860020a900460f860020a0260f860020a9004038301925061083c565b8381815181106107d557fe5b016020015160f860020a900460f860020a02600160f860020a031916602e60f860020a021480610832575083818151811061080c57fe5b016020015160f860020a900460f860020a02600160f860020a031916602c60f860020a02145b1561083c57600191505b5b5b600101610694565b60008611156108585785600a0a830292505b8294505b5050505092915050565b600154600090819033600160a060020a03908116911614156109765761095f620151806040805190810160405280600381526020017f55524c000000000000000000000000000000000000000000000000000000000081525060028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109555780601f1061092a57610100808354040283529160200191610955565b820191906000526020600020905b81548152906001019060200180831161093857829003601f168201915b5050505050610ca9565b600081815260036020526040902084905591508190505b5b5b50919050565b60045460009033600160a060020a03908116911614156109c857600454600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19450505050505b5b5b90565b6000610aaa60016040805190810160405280600381526020017f55524c000000000000000000000000000000000000000000000000000000000081525060028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109555780601f1061092a57610100808354040283529160200191610955565b820191906000526020600020905b81548152906001019060200180831161093857829003601f168201915b5050505050610ca9565b60008181526003602052604081205590505b50565b60045460009033600160a060020a0390811691161415610ae657610ae282610f9f565b5060015b5b5b919050565b6000610b02610afd836012610683565b6110af565b90505b919050565b60045433600160a060020a039081169116141561067e5760018054600160a060020a031916600160a060020a0383161790555b5b5b50565b6000610b88610afd60408051908101604052600381527f55524c000000000000000000000000000000000000000000000000000000000060208201526110c8565b6110af565b90505b90565b600554600090600160a060020a03161580610bbb5750600554610bb990600160a060020a0316611253565b155b15610bca57610bc861125b565b505b600554600160a060020a03166338cc48316000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610c1257600080fd5b6102c65a03f11515610c2357600080fd5b505050604051805160068054600160a060020a031916600160a060020a03928316179081905516905063c281d19e6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610c8857600080fd5b6102c65a03f11515610c9957600080fd5b50505060405180519150505b5b90565b6005546000908190600160a060020a03161580610cd85750600554610cd690600160a060020a0316611253565b155b15610ce757610ce561125b565b505b600554600160a060020a03166338cc48316000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610d2f57600080fd5b6102c65a03f11515610d4057600080fd5b505050604051805160068054600160a060020a031916600160a060020a03928316179081905516905063524f3889856000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610dc85780820151818401525b602001610daf565b50505050905090810190601f168015610df55780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1515610e1357600080fd5b6102c65a03f11515610e2457600080fd5b5050506040518051915050670de0b6b3a764000062030d403a0201811115610e4f5760009150610f96565b600654600160a060020a031663adf59f99828787876000604051602001526040518563ffffffff1660e060020a028152600401808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015610ec75780820151818401525b602001610eae565b50505050905090810190601f168015610ef45780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b83811015610f2b5780820151818401525b602001610f12565b50505050905090810190601f168015610f585780820380516001836020036101000a031916815260200191505b50955050505050506020604051808303818588803b1515610f7857600080fd5b6125ee5a03f11515610f8957600080fd5b5050505060405180519250505b5b509392505050565b600554600160a060020a03161580610fc95750600554610fc790600160a060020a0316611253565b155b15610fd857610fd661125b565b505b600554600160a060020a03166338cc48316000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561102057600080fd5b6102c65a03f1151561103157600080fd5b505050604051805160068054600160a060020a031916600160a060020a03928316179081905516905063ca6ad1e48260405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b151561109657600080fd5b6102c65a03f115156110a757600080fd5b5050505b5b50565b806001608060020a0381168114610ae657fe5b5b919050565b600554600090600160a060020a031615806110f557506005546110f390600160a060020a0316611253565b155b156111045761110261125b565b505b600554600160a060020a03166338cc48316000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561114c57600080fd5b6102c65a03f1151561115d57600080fd5b505050604051805160068054600160a060020a031916600160a060020a03928316179081905516905063524f3889836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156111e55780820151818401525b6020016111cc565b50505050905090810190601f1680156112125780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b151561123057600080fd5b6102c65a03f1151561124157600080fd5b50505060405180519150505b5b919050565b803b5b919050565b60008061127b731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed611253565b11156112eb5760058054600160a060020a031916731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed1790556112e360408051908101604052600b81527f6574685f6d61696e6e65740000000000000000000000000000000000000000006020820152611598565b5060016109c8565b600061130a73c03a2615d5efaf5f49f60b7bb6583eaec212fdf1611253565b111561137a5760058054600160a060020a03191673c03a2615d5efaf5f49f60b7bb6583eaec212fdf11790556112e360408051908101604052600c81527f6574685f726f707374656e3300000000000000000000000000000000000000006020820152611598565b5060016109c8565b600061139973b7a07bcf2ba2f2703b24c0691b5278999c59ac7e611253565b11156114095760058054600160a060020a03191673b7a07bcf2ba2f2703b24c0691b5278999c59ac7e1790556112e360408051908101604052600981527f6574685f6b6f76616e00000000000000000000000000000000000000000000006020820152611598565b5060016109c8565b600061142873146500cfd35b22e4a392fe0adc06de1a1368ed48611253565b11156114985760058054600160a060020a03191673146500cfd35b22e4a392fe0adc06de1a1368ed481790556112e360408051908101604052600b81527f6574685f72696e6b6562790000000000000000000000000000000000000000006020820152611598565b5060016109c8565b60006114b7736f485c8bf6fc43ea212e93bbf8ce046c7f1cb475611253565b11156114eb575060058054600160a060020a031916736f485c8bf6fc43ea212e93bbf8ce046c7f1cb47517905560016109c8565b600061150a7320e12a1f859b3feae5fb2a0a32c18f5a65555bbf611253565b111561153e575060058054600160a060020a0319167320e12a1f859b3feae5fb2a0a32c18f5a65555bbf17905560016109c8565b600061155d7351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa611253565b1115611591575060058054600160a060020a0319167351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa17905560016109c8565b5060005b90565b60078180516115ab9291602001906115c2565b505b50565b60206040519081016040526000815290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061160357805160ff1916838001178555611630565b82800160010185558215611630579182015b82811115611630578251825591602001919060010190611615565b5b5061163d929150611641565b5090565b6109c891905b8082111561163d5760008155600101611647565b5090565b905600a165627a7a72305820312b69b541b8ab5dd869170032401a493e7eee5d1b50748f1d8889d0768553a200290000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004c6a736f6e2868747470733a2f2f6170692e6b72616b656e2e636f6d2f302f7075626c69632f5469636b65723f706169723d455448555344292e726573756c742e584554485a5553442e702e310000000000000000000000000000000000000000

   Swarm Source:
bzzr://312b69b541b8ab5dd869170032401a493e7eee5d1b50748f1d8889d0768553a2

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.