ETH Price: $2,076.05 (+11.92%)
 

Overview

ETH Balance

460 wei

Eth Value

Less Than $0.01 (@ $2,076.05/ETH)

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw90143232019-11-28 7:38:562281 days ago1574926736IN
0x0b32858D...aF2eA66a8
0 ETH0.0003325411.1
__callback88756682019-11-05 5:09:312304 days ago1572930571IN
0x0b32858D...aF2eA66a8
0 ETH0.0014099512
Close Futures Co...88756662019-11-05 5:08:372304 days ago1572930517IN
0x0b32858D...aF2eA66a8
0.0018 ETH0.0016132512
__callback88751552019-11-05 3:13:272304 days ago1572923607IN
0x0b32858D...aF2eA66a8
0 ETH0.0014663512.48
Close Futures Co...88751542019-11-05 3:13:032304 days ago1572923583IN
0x0b32858D...aF2eA66a8
0.001872 ETH0.0016777812.48
__callback88746222019-11-05 1:01:062304 days ago1572915666IN
0x0b32858D...aF2eA66a8
0 ETH0.0014099512
Close Futures Co...88746202019-11-05 1:00:242304 days ago1572915624IN
0x0b32858D...aF2eA66a8
0.0018 ETH0.0016132512
__callback88742152019-11-04 23:21:052304 days ago1572909665IN
0x0b32858D...aF2eA66a8
0 ETH0.0014099512
Close Futures Co...88742132019-11-04 23:20:502304 days ago1572909650IN
0x0b32858D...aF2eA66a8
0.0018 ETH0.0016132512
__callback88733732019-11-04 20:15:352304 days ago1572898535IN
0x0b32858D...aF2eA66a8
0 ETH0.0014099512
Close Futures Co...88733692019-11-04 20:15:262304 days ago1572898526IN
0x0b32858D...aF2eA66a8
0.0018 ETH0.0016132512
__callback88728552019-11-04 18:12:222305 days ago1572891142IN
0x0b32858D...aF2eA66a8
0 ETH0.0014091812
Close Futures Co...88728542019-11-04 18:12:042305 days ago1572891124IN
0x0b32858D...aF2eA66a8
0.0018 ETH0.0016132512
__callback88721532019-11-04 15:38:362305 days ago1572881916IN
0x0b32858D...aF2eA66a8
0 ETH0.0014099512
Close Futures Co...88721512019-11-04 15:38:202305 days ago1572881900IN
0x0b32858D...aF2eA66a8
0.0018 ETH0.0016132512
__callback88721052019-11-04 15:28:002305 days ago1572881280IN
0x0b32858D...aF2eA66a8
0 ETH0.0019739316.8
Close Futures Co...88721032019-11-04 15:27:442305 days ago1572881264IN
0x0b32858D...aF2eA66a8
0.00252 ETH0.0022585516.8
__callback88718582019-11-04 14:28:322305 days ago1572877712IN
0x0b32858D...aF2eA66a8
0 ETH0.0015509413.2
Close Futures Co...88718562019-11-04 14:27:472305 days ago1572877667IN
0x0b32858D...aF2eA66a8
0.00198 ETH0.0017745813.2
__callback88714322019-11-04 12:55:072305 days ago1572872107IN
0x0b32858D...aF2eA66a8
0 ETH0.0014099512
Close Futures Co...88714302019-11-04 12:54:222305 days ago1572872062IN
0x0b32858D...aF2eA66a8
0.0018 ETH0.0016132512
__callback88687732019-11-04 2:23:002305 days ago1572834180IN
0x0b32858D...aF2eA66a8
0 ETH0.0014099512
Close Futures Co...88687722019-11-04 2:22:222305 days ago1572834142IN
0x0b32858D...aF2eA66a8
0.0018 ETH0.0016132512
__callback88669102019-11-03 19:11:142305 days ago1572808274IN
0x0b32858D...aF2eA66a8
0 ETH0.0014099512
Close Futures Co...88669092019-11-03 19:11:062305 days ago1572808266IN
0x0b32858D...aF2eA66a8
0.0018 ETH0.0016132512
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
-90143232019-11-28 7:38:562281 days ago1574926736
0x0b32858D...aF2eA66a8
0.22324186 ETH
-88756662019-11-05 5:08:372304 days ago1572930517
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88751542019-11-05 3:13:032304 days ago1572923583
0x0b32858D...aF2eA66a8
0.00192549 ETH
-88746202019-11-05 1:00:242304 days ago1572915624
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88742132019-11-04 23:20:502304 days ago1572909650
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88733692019-11-04 20:15:262304 days ago1572898526
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88728542019-11-04 18:12:042305 days ago1572891124
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88721512019-11-04 15:38:202305 days ago1572881900
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88721032019-11-04 15:27:442305 days ago1572881264
0x0b32858D...aF2eA66a8
0.00257349 ETH
-88718562019-11-04 14:27:472305 days ago1572877667
0x0b32858D...aF2eA66a8
0.00203349 ETH
-88714302019-11-04 12:54:222305 days ago1572872062
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88687722019-11-04 2:22:222305 days ago1572834142
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88669092019-11-03 19:11:062305 days ago1572808266
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88666892019-11-03 18:26:582306 days ago1572805618
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88658912019-11-03 15:23:192306 days ago1572794599
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88590872019-11-02 13:12:552307 days ago1572700375
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88563542019-11-02 2:28:492307 days ago1572661729
0x0b32858D...aF2eA66a8
0.00221349 ETH
-88560292019-11-02 1:15:592307 days ago1572657359
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88557822019-11-02 0:10:552307 days ago1572653455
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88550982019-11-01 21:41:272307 days ago1572644487
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88537332019-11-01 16:36:412308 days ago1572626201
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88530642019-11-01 13:58:462308 days ago1572616726
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88526272019-11-01 12:18:422308 days ago1572610722
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88524062019-11-01 11:23:272308 days ago1572607407
0x0b32858D...aF2eA66a8
0.00185349 ETH
-88513562019-11-01 7:20:252308 days ago1572592825
0x0b32858D...aF2eA66a8
0.00224949 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xDae01B18...350EF70CA
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
DMEX_Oracle

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv2 license

Contract Source Code (Solidity Multiple files format)

File 1 of 2: dmex-oracle.sol
pragma solidity ^0.4.25;

import "./provableAPI_0.4.25.sol";

/* Interface for the DMEX base contract */
contract DMEX {

	function closeFuturesContract (bytes32 futuresContract, uint256 price) returns (bool);
	function getContractExpiration (bytes32 futuresContractHash) returns (uint256);
	function getContractClosed (bytes32 futuresContractHash) returns (bool);
	function getContractPriceUrl (bytes32 futuresContractHash) returns (string);
	function getContractPricePath (bytes32 futuresContractHash) returns (string);
    function getAssetDecimals (bytes32 futuresContractHash) returns (uint256);

    function recordLatestAssetPrice(bytes32 futuresContractHash, uint256 price);
    function setClosingPrice (bytes32 futuresContractHash, uint256 price) returns (bool);
}

// The DMEX Futures Contract
contract DMEX_Oracle is usingProvable {

	address public DMEX_contract;
	address public owner; // holds the address of the contract owner

    mapping (bytes32 => bytes32)            public close_queries;       // mapping of pending oracle close contract queries (queryId => futuresContractHash)
	mapping (bytes32 => bytes32)            public price_queries;         // mapping of pending oracle price queries (queryId => futuresContractHash)
	mapping (address => bool) 				public admins;              // mapping of admin addresses


	event LogOracleRequest(bytes32 indexed queryId, bytes32 indexed futuresContractHash, uint8 route, string priceUrl, string pricePath);
    event LogOracleCallback(bytes32 indexed queryId, bytes32 indexed futuresContractHash, uint8 route,  string result);
    event FuturesContractClosed(bytes32 indexed futuresContract, uint256 closingPrice);
    event AssetPriceUpdated(bytes32 indexed futuresContract, uint256 price);
    event LogUint(uint8 id, uint256 value);

    // Event fired when the owner of the contract is changed
    event SetOwner(address indexed previousOwner, address indexed newOwner);

    function assert(bool assertion) pure {

        if (!assertion) {
            throw;
        }
    }

    // Safe Multiply Function - prevents integer overflow
    function safeMul(uint a, uint b) pure returns (uint) {
        uint c = a * b;
        assert(a == 0 || c / a == b);
        return c;
    }

    // Safe Subtraction Function - prevents integer overflow
    function safeSub(uint a, uint b) pure returns (uint) {
        assert(b <= a);
        return a - b;
    }

    // Safe Addition Function - prevents integer overflow
    function safeAdd(uint a, uint b) pure returns (uint) {
        uint c = a + b;
        assert(c>=a && c>=b);
        return c;
    }

    // Allows only the owner of the contract to execute the function
    modifier onlyOwner {
        assert(msg.sender == owner);
        _;
    }

    // Changes the owner of the contract
    function setOwner(address newOwner) onlyOwner {
        emit SetOwner(owner, newOwner);
        owner = newOwner;
    }

    // Adds or disables an admin account
    function setAdmin(address admin, bool isAdmin) onlyOwner {
        admins[admin] = isAdmin;
    }

    function setDmexContract(address DMEX_contract_)
    {
    	DMEX_contract = DMEX_contract_;
    }

    // Allows for admins only to call the function
    modifier onlyAdmin {
        if (msg.sender != owner && !admins[msg.sender]) throw;
        _;
    }


	// Constructor function, initializes the contract and sets the core variables
    function DMEX_Oracle() {
    	owner = msg.sender;
    }

    function deposit() payable {

    }

    function withdraw(uint256 amount) onlyOwner
    {
    	msg.sender.send(amount);
    }

	function closeFuturesContract (bytes32 futuresContractHash, uint256 gasPrice, uint256 gasLimit) onlyAdmin payable
    {
        if (DMEX(DMEX_contract).getContractExpiration(futuresContractHash) == 0) revert(); // contract not found
        if (DMEX(DMEX_contract).getContractClosed(futuresContractHash) == true) revert(); // contract already closed

        closeContractWithOraclePrice(futuresContractHash, gasPrice, gasLimit);
    }

    function closeContractWithOraclePrice(bytes32 futuresContractHash, uint256 gasPrice, uint256 gasLimit) private {
        string memory priceUrl = DMEX(DMEX_contract).getContractPriceUrl(futuresContractHash); // futuresAssets[DMEX(DMEX_contract).futuresContracts[futuresContractHash].asset].priceUrl;
        string memory path = DMEX(DMEX_contract).getContractPricePath(futuresContractHash); //  futuresAssets[DMEX(DMEX_contract).futuresContracts[futuresContractHash].asset].pricePath;

        provable_setCustomGasPrice(gasPrice);

        bytes32 queryId = provable_query("URL",strConcat("json(", priceUrl, ").",path), gasLimit);
        close_queries[queryId] = futuresContractHash;
        emit LogOracleRequest(queryId, futuresContractHash, 0, priceUrl, path);

    }

    function queryPrice (bytes32 futuresContractHash, uint256 gasPrice, uint256 gasLimit) onlyAdmin payable
    {
        if (DMEX(DMEX_contract).getContractExpiration(futuresContractHash) == 0) revert(); // contract not found
        if (DMEX(DMEX_contract).getContractClosed(futuresContractHash) == true) revert(); // contract already closed

        recordAssetPriceWithOracle(futuresContractHash, gasPrice, gasLimit);
    }

    function recordAssetPriceWithOracle(bytes32 futuresContractHash, uint256 gasPrice, uint256 gasLimit) private {
        string memory priceUrl = DMEX(DMEX_contract).getContractPriceUrl(futuresContractHash); // futuresAssets[DMEX(DMEX_contract).futuresContracts[futuresContractHash].asset].priceUrl;
        string memory path = DMEX(DMEX_contract).getContractPricePath(futuresContractHash); //  futuresAssets[DMEX(DMEX_contract).futuresContracts[futuresContractHash].asset].pricePath;

        provable_setCustomGasPrice(gasPrice);

        bytes32 queryId = provable_query("URL",strConcat("json(", priceUrl, ").",path), gasLimit);
        price_queries[queryId] = futuresContractHash;
        emit LogOracleRequest(queryId, futuresContractHash, 1, priceUrl, path);

    }

    // Receives price from the oracle
    function __callback(bytes32 myid, string result) {
        if (msg.sender != provable_cbAddress()) revert();
        if (close_queries[myid] == "" && price_queries[myid] == "") revert();

        uint8 route;
        bytes32 futuresContractHash;
        bytes32 empty;

        if (close_queries[myid] != "")
        {
            route = 0;
        }
        else if (price_queries[myid] != "")
        {
            route = 1;
        }
        else
        {
            revert();
        }

        if (route == 0)
        {
            futuresContractHash = close_queries[myid]; 
        }
        else
        {
            futuresContractHash = price_queries[myid];
        }
        

        emit LogOracleCallback(myid, futuresContractHash, route,  result);

        uint256 decimals = DMEX(DMEX_contract).getAssetDecimals(futuresContractHash);
        uint256 remainingDecimals = 8 - decimals;

        uint256 price = safeMul(parseInt(result, decimals), 10**remainingDecimals);

        if (route == 0)
        {
            closeFuturesContractInternal(futuresContractHash, price);
        }
        else
        {
            recordAssetPriceInternal(futuresContractHash, price);
        }
    }

    function recordAssetPriceInternal(bytes32 futuresContract, uint256 price) private returns (bool)
    {        
        DMEX(DMEX_contract).recordLatestAssetPrice(futuresContract, price); 

        emit AssetPriceUpdated(futuresContract, price);
    } 

    function closeFuturesContractInternal(bytes32 futuresContract, uint256 price) private returns (bool)
    {
        uint256 expirationBlock = DMEX(DMEX_contract).getContractExpiration(futuresContract);

        if (expirationBlock == 0 || expirationBlock > block.number)  return false; // contract not found
        if (DMEX(DMEX_contract).getContractClosed(futuresContract) == true)  return false; // contract already closed
        
        DMEX(DMEX_contract).setClosingPrice(futuresContract, price); 

        emit FuturesContractClosed(futuresContract, price);
    }  

}

File 2 of 2: provableAPI_0.4.25.sol
// <provableAPI>
// Release targetted at solc 0.4.25 to silence compiler warning/error messages, compatible down to 0.4.22

/*
Copyright (c) 2015-2016 Oraclize SRL
Copyright (c) 2016-2019 Oraclize LTD
Copyright (c) 2019 Provable Things Limited



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

pragma solidity >= 0.4.22 < 0.5;// Incompatible compiler version... please select one stated within pragma solidity or use different provableAPI version

contract ProvableI {
    address public cbAddress;
    function query(uint _timestamp, string _datasource, string _arg) external payable returns (bytes32 _id);
    function query_withGasLimit(uint _timestamp, string _datasource, string _arg, uint _gaslimit) external payable returns (bytes32 _id);
    function query2(uint _timestamp, string _datasource, string _arg1, string _arg2) public payable returns (bytes32 _id);
    function query2_withGasLimit(uint _timestamp, string _datasource, string _arg1, string _arg2, uint _gaslimit) external payable returns (bytes32 _id);
    function queryN(uint _timestamp, string _datasource, bytes _argN) public payable returns (bytes32 _id);
    function queryN_withGasLimit(uint _timestamp, string _datasource, bytes _argN, uint _gaslimit) external payable returns (bytes32 _id);
    function getPrice(string _datasource) public returns (uint _dsprice);
    function getPrice(string _datasource, uint gaslimit) public returns (uint _dsprice);
    function setProofType(byte _proofType) external;
    function setCustomGasPrice(uint _gasPrice) external;
    function randomDS_getSessionPubKeyHash() external constant returns(bytes32);
}

contract OracleAddrResolverI {
    function getAddress() public returns (address _addr);
}

/*
Begin solidity-cborutils

https://github.com/smartcontractkit/solidity-cborutils

MIT License

Copyright (c) 2018 SmartContract ChainLink, 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.
 */

library Buffer {
    struct buffer {
        bytes buf;
        uint capacity;
    }

    function init(buffer memory buf, uint _capacity) internal pure {
        uint capacity = _capacity;
        if(capacity % 32 != 0) capacity += 32 - (capacity % 32);
        // Allocate space for the buffer data
        buf.capacity = capacity;
        assembly {
            let ptr := mload(0x40)
            mstore(buf, ptr)
            mstore(ptr, 0)
            mstore(0x40, add(ptr, capacity))
        }
    }

    function resize(buffer memory buf, uint capacity) private pure {
        bytes memory oldbuf = buf.buf;
        init(buf, capacity);
        append(buf, oldbuf);
    }

    function max(uint a, uint b) private pure returns(uint) {
        if(a > b) {
            return a;
        }
        return b;
    }

    /**
     * @dev Appends a byte array to the end of the buffer. Resizes if doing so
     *      would exceed the capacity of the buffer.
     * @param buf The buffer to append to.
     * @param data The data to append.
     * @return The original buffer.
     */
    function append(buffer memory buf, bytes data) internal pure returns(buffer memory) {
        if(data.length + buf.buf.length > buf.capacity) {
            resize(buf, max(buf.capacity, data.length) * 2);
        }

        uint dest;
        uint src;
        uint len = data.length;
        assembly {
            // Memory address of the buffer data
            let bufptr := mload(buf)
            // Length of existing buffer data
            let buflen := mload(bufptr)
            // Start address = buffer address + buffer length + sizeof(buffer length)
            dest := add(add(bufptr, buflen), 32)
            // Update buffer length
            mstore(bufptr, add(buflen, mload(data)))
            src := add(data, 32)
        }

        // Copy word-length chunks while possible
        for(; len >= 32; len -= 32) {
            assembly {
                mstore(dest, mload(src))
            }
            dest += 32;
            src += 32;
        }

        // Copy remaining bytes
        uint mask = 256 ** (32 - len) - 1;
        assembly {
            let srcpart := and(mload(src), not(mask))
            let destpart := and(mload(dest), mask)
            mstore(dest, or(destpart, srcpart))
        }

        return buf;
    }

    /**
     * @dev Appends a byte to the end of the buffer. Resizes if doing so would
     * exceed the capacity of the buffer.
     * @param buf The buffer to append to.
     * @param data The data to append.
     * @return The original buffer.
     */
    function append(buffer memory buf, uint8 data) internal pure {
        if(buf.buf.length + 1 > buf.capacity) {
            resize(buf, buf.capacity * 2);
        }

        assembly {
            // Memory address of the buffer data
            let bufptr := mload(buf)
            // Length of existing buffer data
            let buflen := mload(bufptr)
            // Address = buffer address + buffer length + sizeof(buffer length)
            let dest := add(add(bufptr, buflen), 32)
            mstore8(dest, data)
            // Update buffer length
            mstore(bufptr, add(buflen, 1))
        }
    }

    /**
     * @dev Appends a byte to the end of the buffer. Resizes if doing so would
     * exceed the capacity of the buffer.
     * @param buf The buffer to append to.
     * @param data The data to append.
     * @return The original buffer.
     */
    function appendInt(buffer memory buf, uint data, uint len) internal pure returns(buffer memory) {
        if(len + buf.buf.length > buf.capacity) {
            resize(buf, max(buf.capacity, len) * 2);
        }

        uint mask = 256 ** len - 1;
        assembly {
            // Memory address of the buffer data
            let bufptr := mload(buf)
            // Length of existing buffer data
            let buflen := mload(bufptr)
            // Address = buffer address + buffer length + sizeof(buffer length) + len
            let dest := add(add(bufptr, buflen), len)
            mstore(dest, or(and(mload(dest), not(mask)), data))
            // Update buffer length
            mstore(bufptr, add(buflen, len))
        }
        return buf;
    }
}

library CBOR {
    using Buffer for Buffer.buffer;

    uint8 private constant MAJOR_TYPE_INT = 0;
    uint8 private constant MAJOR_TYPE_NEGATIVE_INT = 1;
    uint8 private constant MAJOR_TYPE_BYTES = 2;
    uint8 private constant MAJOR_TYPE_STRING = 3;
    uint8 private constant MAJOR_TYPE_ARRAY = 4;
    uint8 private constant MAJOR_TYPE_MAP = 5;
    uint8 private constant MAJOR_TYPE_CONTENT_FREE = 7;

    function encodeType(Buffer.buffer memory buf, uint8 major, uint value) private pure {
        if(value <= 23) {
            buf.append(uint8((major << 5) | value));
        } else if(value <= 0xFF) {
            buf.append(uint8((major << 5) | 24));
            buf.appendInt(value, 1);
        } else if(value <= 0xFFFF) {
            buf.append(uint8((major << 5) | 25));
            buf.appendInt(value, 2);
        } else if(value <= 0xFFFFFFFF) {
            buf.append(uint8((major << 5) | 26));
            buf.appendInt(value, 4);
        } else if(value <= 0xFFFFFFFFFFFFFFFF) {
            buf.append(uint8((major << 5) | 27));
            buf.appendInt(value, 8);
        }
    }

    function encodeIndefiniteLengthType(Buffer.buffer memory buf, uint8 major) private pure {
        buf.append(uint8((major << 5) | 31));
    }

    function encodeUInt(Buffer.buffer memory buf, uint value) internal pure {
        encodeType(buf, MAJOR_TYPE_INT, value);
    }

    function encodeInt(Buffer.buffer memory buf, int value) internal pure {
        if(value >= 0) {
            encodeType(buf, MAJOR_TYPE_INT, uint(value));
        } else {
            encodeType(buf, MAJOR_TYPE_NEGATIVE_INT, uint(-1 - value));
        }
    }

    function encodeBytes(Buffer.buffer memory buf, bytes value) internal pure {
        encodeType(buf, MAJOR_TYPE_BYTES, value.length);
        buf.append(value);
    }

    function encodeString(Buffer.buffer memory buf, string value) internal pure {
        encodeType(buf, MAJOR_TYPE_STRING, bytes(value).length);
        buf.append(bytes(value));
    }

    function startArray(Buffer.buffer memory buf) internal pure {
        encodeIndefiniteLengthType(buf, MAJOR_TYPE_ARRAY);
    }

    function startMap(Buffer.buffer memory buf) internal pure {
        encodeIndefiniteLengthType(buf, MAJOR_TYPE_MAP);
    }

    function endSequence(Buffer.buffer memory buf) internal pure {
        encodeIndefiniteLengthType(buf, MAJOR_TYPE_CONTENT_FREE);
    }
}

/*
End solidity-cborutils
 */

contract usingProvable {
    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_Ledger = 0x30;
    byte constant proofType_Android = 0x40;
    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;

    OracleAddrResolverI OAR;

    ProvableI provable;
    modifier provableAPI {
        if((address(OAR)==0)||(getCodeSize(address(OAR))==0))
            provable_setNetwork(networkID_auto);

        if(address(provable) != OAR.getAddress())
            provable = ProvableI(OAR.getAddress());

        _;
    }
    modifier coupon(string code){
        provable = ProvableI(OAR.getAddress());
        _;
    }

    function provable_setNetwork(uint8 networkID) internal returns(bool){
      return provable_setNetwork();
      networkID; // silence the warning and remain backwards compatible
    }
    function provable_setNetwork() internal returns(bool){
        if (getCodeSize(0x1d3B2638a7cC9f2CB3D298A3DA7a90B67E5506ed)>0){ //mainnet
            OAR = OracleAddrResolverI(0x1d3B2638a7cC9f2CB3D298A3DA7a90B67E5506ed);
            provable_setNetworkName("eth_mainnet");
            return true;
        }
        if (getCodeSize(0xc03A2615D5efaf5F49F60B7BB6583eaec212fdf1)>0){ //ropsten testnet
            OAR = OracleAddrResolverI(0xc03A2615D5efaf5F49F60B7BB6583eaec212fdf1);
            provable_setNetworkName("eth_ropsten3");
            return true;
        }
        if (getCodeSize(0xB7A07BcF2Ba2f2703b24C0691b5278999C59AC7e)>0){ //kovan testnet
            OAR = OracleAddrResolverI(0xB7A07BcF2Ba2f2703b24C0691b5278999C59AC7e);
            provable_setNetworkName("eth_kovan");
            return true;
        }
        if (getCodeSize(0x146500cfd35B22E4A392Fe0aDc06De1a1368Ed48)>0){ //rinkeby testnet
            OAR = OracleAddrResolverI(0x146500cfd35B22E4A392Fe0aDc06De1a1368Ed48);
            provable_setNetworkName("eth_rinkeby");
            return true;
        }
        if (getCodeSize(0xa2998EFD205FB9D4B4963aFb70778D6354ad3A41)>0){ //goerli testnet
            OAR = OracleAddrResolverI(0xa2998EFD205FB9D4B4963aFb70778D6354ad3A41);
            provable_setNetworkName("eth_goerli");
            return true;
        }
        if (getCodeSize(0x6f485C8BF6fc43eA212E93BBF8ce046C7f1cb475)>0){ //ethereum-bridge
            OAR = OracleAddrResolverI(0x6f485C8BF6fc43eA212E93BBF8ce046C7f1cb475);
            return true;
        }
        if (getCodeSize(0x20e12A1F859B3FeaE5Fb2A0A32C18F5a65555bBF)>0){ //ether.camp ide
            OAR = OracleAddrResolverI(0x20e12A1F859B3FeaE5Fb2A0A32C18F5a65555bBF);
            return true;
        }
        if (getCodeSize(0x51efaF4c8B3C9AfBD5aB9F4bbC82784Ab6ef8fAA)>0){ //browser-solidity
            OAR = OracleAddrResolverI(0x51efaF4c8B3C9AfBD5aB9F4bbC82784Ab6ef8fAA);
            return true;
        }
        return false;
    }
    /**
     * @dev The following `__callback` functions are just placeholders ideally
     *      meant to be defined in child contract when proofs are used.
     *      The function bodies simply silence compiler warnings.
     */
    function __callback(bytes32 myid, string result) public {
        __callback(myid, result, new bytes(0));
    }

    function __callback(bytes32 myid, string result, bytes proof) public {
      return;
      myid; result; proof;
      provable_randomDS_args[bytes32(0)] = bytes32(0);
    }

    function provable_getPrice(string datasource) provableAPI internal returns (uint){
        return provable.getPrice(datasource);
    }

    function provable_getPrice(string datasource, uint gaslimit) provableAPI internal returns (uint){
        return provable.getPrice(datasource, gaslimit);
    }

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

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

    function provable_query(string datasource, string[4] args) provableAPI 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 provable_query(datasource, dynargs);
    }
    function provable_query(uint timestamp, string datasource, string[4] args) provableAPI 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 provable_query(timestamp, datasource, dynargs);
    }
    function provable_query(uint timestamp, string datasource, string[4] args, uint gaslimit) provableAPI 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 provable_query(timestamp, datasource, dynargs, gaslimit);
    }
    function provable_query(string datasource, string[4] args, uint gaslimit) provableAPI 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 provable_query(datasource, dynargs, gaslimit);
    }
    function provable_query(string datasource, string[5] args) provableAPI 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 provable_query(datasource, dynargs);
    }
    function provable_query(uint timestamp, string datasource, string[5] args) provableAPI 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 provable_query(timestamp, datasource, dynargs);
    }
    function provable_query(uint timestamp, string datasource, string[5] args, uint gaslimit) provableAPI 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 provable_query(timestamp, datasource, dynargs, gaslimit);
    }
    function provable_query(string datasource, string[5] args, uint gaslimit) provableAPI 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 provable_query(datasource, dynargs, gaslimit);
    }
    function provable_query(string datasource, bytes[] argN) provableAPI internal returns (bytes32 id){
        uint price = provable.getPrice(datasource);
        if (price > 1 ether + tx.gasprice*200000) return 0; // unexpectedly high price
        bytes memory args = ba2cbor(argN);
        return provable.queryN.value(price)(0, datasource, args);
    }
    function provable_query(uint timestamp, string datasource, bytes[] argN) provableAPI internal returns (bytes32 id){
        uint price = provable.getPrice(datasource);
        if (price > 1 ether + tx.gasprice*200000) return 0; // unexpectedly high price
        bytes memory args = ba2cbor(argN);
        return provable.queryN.value(price)(timestamp, datasource, args);
    }
    function provable_query(uint timestamp, string datasource, bytes[] argN, uint gaslimit) provableAPI internal returns (bytes32 id){
        uint price = provable.getPrice(datasource, gaslimit);
        if (price > 1 ether + tx.gasprice*gaslimit) return 0; // unexpectedly high price
        bytes memory args = ba2cbor(argN);
        return provable.queryN_withGasLimit.value(price)(timestamp, datasource, args, gaslimit);
    }
    function provable_query(string datasource, bytes[] argN, uint gaslimit) provableAPI internal returns (bytes32 id){
        uint price = provable.getPrice(datasource, gaslimit);
        if (price > 1 ether + tx.gasprice*gaslimit) return 0; // unexpectedly high price
        bytes memory args = ba2cbor(argN);
        return provable.queryN_withGasLimit.value(price)(0, datasource, args, gaslimit);
    }
    function provable_query(string datasource, bytes[1] args) provableAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](1);
        dynargs[0] = args[0];
        return provable_query(datasource, dynargs);
    }
    function provable_query(uint timestamp, string datasource, bytes[1] args) provableAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](1);
        dynargs[0] = args[0];
        return provable_query(timestamp, datasource, dynargs);
    }
    function provable_query(uint timestamp, string datasource, bytes[1] args, uint gaslimit) provableAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](1);
        dynargs[0] = args[0];
        return provable_query(timestamp, datasource, dynargs, gaslimit);
    }
    function provable_query(string datasource, bytes[1] args, uint gaslimit) provableAPI internal returns (bytes32 id) {
        bytes[] memory dynargs = new bytes[](1);
        dynargs[0] = args[0];
        return provable_query(datasource, dynargs, gaslimit);
    }

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

    function provable_query(string datasource, bytes[4] args) provableAPI 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 provable_query(datasource, dynargs);
    }
    function provable_query(uint timestamp, string datasource, bytes[4] args) provableAPI 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 provable_query(timestamp, datasource, dynargs);
    }
    function provable_query(uint timestamp, string datasource, bytes[4] args, uint gaslimit) provableAPI 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 provable_query(timestamp, datasource, dynargs, gaslimit);
    }
    function provable_query(string datasource, bytes[4] args, uint gaslimit) provableAPI 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 provable_query(datasource, dynargs, gaslimit);
    }
    function provable_query(string datasource, bytes[5] args) provableAPI 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 provable_query(datasource, dynargs);
    }
    function provable_query(uint timestamp, string datasource, bytes[5] args) provableAPI 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 provable_query(timestamp, datasource, dynargs);
    }
    function provable_query(uint timestamp, string datasource, bytes[5] args, uint gaslimit) provableAPI 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 provable_query(timestamp, datasource, dynargs, gaslimit);
    }
    function provable_query(string datasource, bytes[5] args, uint gaslimit) provableAPI 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 provable_query(datasource, dynargs, gaslimit);
    }

    function provable_cbAddress() provableAPI internal returns (address){
        return provable.cbAddress();
    }
    function provable_setProof(byte proofP) provableAPI internal {
        return provable.setProofType(proofP);
    }
    function provable_setCustomGasPrice(uint gasPrice) provableAPI internal {
        return provable.setCustomGasPrice(gasPrice);
    }

    function provable_randomDS_getSessionPubKeyHash() provableAPI internal returns (bytes32){
        return provable.randomDS_getSessionPubKeyHash();
    }

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

    function parseAddr(string _a) internal pure 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 pure 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 pure 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 pure 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 pure returns (string) {
        return strConcat(_a, _b, _c, _d, "");
    }

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

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

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

    // parseInt(parseFloat*10^_b)
    function parseInt(string _a, uint _b) internal pure 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 pure 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);
    }

    using CBOR for Buffer.buffer;
    function stra2cbor(string[] arr) internal pure returns (bytes) {
        safeMemoryCleaner();
        Buffer.buffer memory buf;
        Buffer.init(buf, 1024);
        buf.startArray();
        for (uint i = 0; i < arr.length; i++) {
            buf.encodeString(arr[i]);
        }
        buf.endSequence();
        return buf.buf;
    }

    function ba2cbor(bytes[] arr) internal pure returns (bytes) {
        safeMemoryCleaner();
        Buffer.buffer memory buf;
        Buffer.init(buf, 1024);
        buf.startArray();
        for (uint i = 0; i < arr.length; i++) {
            buf.encodeBytes(arr[i]);
        }
        buf.endSequence();
        return buf.buf;
    }

    string provable_network_name;
    function provable_setNetworkName(string _network_name) internal {
        provable_network_name = _network_name;
    }

    function provable_getNetworkName() internal view returns (string) {
        return provable_network_name;
    }

    function provable_newRandomDSQuery(uint _delay, uint _nbytes, uint _customGasLimit) internal returns (bytes32){
        require((_nbytes > 0) && (_nbytes <= 32));
        // Convert from seconds to ledger timer ticks
        _delay *= 10;
        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 = provable_randomDS_getSessionPubKeyHash();
        assembly {
            mstore(unonce, 0x20)
            // the following variables can be relaxed
            // check relaxed random contract under ethereum-examples repo
            // for an idea on how to override and replace comit hash vars
            mstore(add(unonce, 0x20), xor(blockhash(sub(number, 1)), xor(coinbase, timestamp)))
            mstore(sessionKeyHash, 0x20)
            mstore(add(sessionKeyHash, 0x20), sessionKeyHash_bytes32)
        }
        bytes memory delay = new bytes(32);
        assembly {
            mstore(add(delay, 0x20), _delay)
        }

        bytes memory delay_bytes8 = new bytes(8);
        copyBytes(delay, 24, 8, delay_bytes8, 0);

        bytes[4] memory args = [unonce, nbytes, sessionKeyHash, delay];
        bytes32 queryId = provable_query("random", args, _customGasLimit);

        bytes memory delay_bytes8_left = new bytes(8);

        assembly {
            let x := mload(add(delay_bytes8, 0x20))
            mstore8(add(delay_bytes8_left, 0x27), div(x, 0x100000000000000000000000000000000000000000000000000000000000000))
            mstore8(add(delay_bytes8_left, 0x26), div(x, 0x1000000000000000000000000000000000000000000000000000000000000))
            mstore8(add(delay_bytes8_left, 0x25), div(x, 0x10000000000000000000000000000000000000000000000000000000000))
            mstore8(add(delay_bytes8_left, 0x24), div(x, 0x100000000000000000000000000000000000000000000000000000000))
            mstore8(add(delay_bytes8_left, 0x23), div(x, 0x1000000000000000000000000000000000000000000000000000000))
            mstore8(add(delay_bytes8_left, 0x22), div(x, 0x10000000000000000000000000000000000000000000000000000))
            mstore8(add(delay_bytes8_left, 0x21), div(x, 0x100000000000000000000000000000000000000000000000000))
            mstore8(add(delay_bytes8_left, 0x20), div(x, 0x1000000000000000000000000000000000000000000000000))

        }

        provable_randomDS_setCommitment(queryId, keccak256(abi.encodePacked(delay_bytes8_left, args[1], sha256(args[0]), args[2])));
        return queryId;
    }

    function provable_randomDS_setCommitment(bytes32 queryId, bytes32 commitment) internal {
        provable_randomDS_args[queryId] = commitment;
    }

    mapping(bytes32=>bytes32) provable_randomDS_args;
    mapping(bytes32=>bool) provable_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(keccak256(pubkey)) == signer) return true;
        else {
            (sigok, signer) = safer_ecrecover(tosignh, 28, sigr, sigs);
            return (address(keccak256(pubkey)) == signer);
        }
    }

    function provable_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] = byte(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 provable_randomDS_proofVerify(bytes32 _queryId, string _result, bytes _proof) {
        // Step 1: the prefix has to match 'LP\x01' (Ledger Proof version 1)
        require((_proof[0] == "L") && (_proof[1] == "P") && (_proof[2] == 1));

        bool proofVerified = provable_randomDS_proofVerify__main(_proof, _queryId, bytes(_result), provable_getNetworkName());
        require(proofVerified);

        _;
    }

    function provable_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 = provable_randomDS_proofVerify__main(_proof, _queryId, bytes(_result), provable_getNetworkName());
        if (proofVerified == false) return 2;

        return 0;
    }

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

        require(prefix.length == n_random_bytes);

        for (uint256 i=0; i< n_random_bytes; i++) {
            if (content[i] != prefix[i]) match_ = false;
        }

        return match_;
    }

    function provable_randomDS_proofVerify__main(bytes proof, bytes32 queryId, bytes result, string context_name) internal returns (bool){

        // 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);
        if (!(keccak256(keyhash) == keccak256(abi.encodePacked(sha256(abi.encodePacked(context_name, queryId)))))) 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)
        if (!matchBytes32Prefix(sha256(sig1), result, uint(proof[ledgerProofLength+32+8]))) return false;

        // Step 4: commitment match verification, keccak256(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 (provable_randomDS_args[queryId] == keccak256(abi.encodePacked(commitmentSlice1, sessionPubkeyHash))){ //unonce, nbytes and sessionKeyHash match
            delete provable_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);
        if (!verifySig(sha256(tosign1), sig1, sessionPubkey)) return false;

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

        return provable_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 pure returns (bytes) {
        uint minLength = length + toOffset;

        // Buffer too small
        require(to.length >= minLength); // 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);
    }

    function safeMemoryCleaner() internal pure {
        assembly {
            let fmem := mload(0x40)
            codecopy(fmem, codesize, sub(msize, fmem))
        }
    }

}
// </provableAPI>

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[{"name":"assertion","type":"bool"}],"name":"assert","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"DMEX_contract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"price_queries","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"amount","type":"uint256"}],"name":"withdraw","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":true,"inputs":[{"name":"","type":"address"}],"name":"admins","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"admin","type":"address"},{"name":"isAdmin","type":"bool"}],"name":"setAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"close_queries","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"DMEX_contract_","type":"address"}],"name":"setDmexContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeSub","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeMul","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeAdd","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"futuresContractHash","type":"bytes32"},{"name":"gasPrice","type":"uint256"},{"name":"gasLimit","type":"uint256"}],"name":"closeFuturesContract","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"futuresContractHash","type":"bytes32"},{"name":"gasPrice","type":"uint256"},{"name":"gasLimit","type":"uint256"}],"name":"queryPrice","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"queryId","type":"bytes32"},{"indexed":true,"name":"futuresContractHash","type":"bytes32"},{"indexed":false,"name":"route","type":"uint8"},{"indexed":false,"name":"priceUrl","type":"string"},{"indexed":false,"name":"pricePath","type":"string"}],"name":"LogOracleRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"queryId","type":"bytes32"},{"indexed":true,"name":"futuresContractHash","type":"bytes32"},{"indexed":false,"name":"route","type":"uint8"},{"indexed":false,"name":"result","type":"string"}],"name":"LogOracleCallback","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"futuresContract","type":"bytes32"},{"indexed":false,"name":"closingPrice","type":"uint256"}],"name":"FuturesContractClosed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"futuresContract","type":"bytes32"},{"indexed":false,"name":"price","type":"uint256"}],"name":"AssetPriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"id","type":"uint8"},{"indexed":false,"name":"value","type":"uint256"}],"name":"LogUint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"SetOwner","type":"event"}]

0x608060405234801561001057600080fd5b5060068054600160a060020a03191633179055612543806100326000396000f3006080604052600436106100e25763ffffffff60e060020a6000350416630674763c81146100e7578063103555c714610103578063107431d91461013457806313af40351461015e57806327dc297e1461017f5780632e1a7d4d146101dd57806338bbfa50146101f5578063429b62e5146102915780634b0bddd2146102c65780635409ea56146102ec5780635618b810146103045780638da5cb5b14610325578063a293d1e81461033a578063d05c78da14610355578063d0e30db014610370578063e6cb901314610378578063ed1fd8e414610393578063f1c1b56e146103a4575b600080fd5b3480156100f357600080fd5b5061010160043515156103b5565b005b34801561010f57600080fd5b506101186103c4565b60408051600160a060020a039092168252519081900360200190f35b34801561014057600080fd5b5061014c6004356103d3565b60408051918252519081900360200190f35b34801561016a57600080fd5b50610101600160a060020a03600435166103e5565b34801561018b57600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526101019583359536956044949193909101919081908401838280828437509497506104589650505050505050565b3480156101e957600080fd5b506101016004356106a5565b34801561020157600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261010195833595369560449491939091019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506106db9650505050505050565b34801561029d57600080fd5b506102b2600160a060020a03600435166106e0565b604080519115158252519081900360200190f35b3480156102d257600080fd5b50610101600160a060020a036004351660243515156106f5565b3480156102f857600080fd5b5061014c600435610737565b34801561031057600080fd5b50610101600160a060020a0360043516610749565b34801561033157600080fd5b5061011861076b565b34801561034657600080fd5b5061014c60043560243561077a565b34801561036157600080fd5b5061014c60043560243561078e565b6101016107bd565b34801561038457600080fd5b5061014c6004356024356107bf565b6101016004356024356044356107db565b61010160043560243560443561095b565b8015156103c157600080fd5b50565b600554600160a060020a031681565b60086020526000908152604090205481565b6006546103fc90600160a060020a031633146103b5565b600654604051600160a060020a038084169216907fcbf985117192c8f614a58aaf97226bb80a754772f5f6edf06f87c675f2e6c66390600090a360068054600160a060020a031916600160a060020a0392909216919091179055565b600080600080600080610469610adb565b600160a060020a0316331461047d57600080fd5b6000888152600760205260409020541580156104a55750600088815260086020526040902054155b156104af57600080fd5b600088815260076020526040902054156104cc57600095506104e5565b600088815260086020526040902054156100e257600195505b60ff86161515610505576000888152600760205260409020549450610517565b60008881526008602052604090205494505b6040805160ff8816815260208082018381528a5193830193909352895188938c937f8b023249aa28ae6e922225670ec4f2793b9151f4c824a56ff989e1837ff0cc0c938c938e939160608401919085019080838360005b8381101561058657818101518382015260200161056e565b50505050905090810190601f1680156105b35780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3600554604080517f41a9b98e000000000000000000000000000000000000000000000000000000008152600481018890529051600160a060020a03909216916341a9b98e916024808201926020929091908290030181600087803b15801561062857600080fd5b505af115801561063c573d6000803e3d6000fd5b505050506040513d602081101561065257600080fd5b505192506008839003915061067361066a8885610ccd565b83600a0a61078e565b905060ff8616151561068f576106898582610e3f565b5061069b565b610699858261106f565b505b5050505050505050565b6006546106bc90600160a060020a031633146103b5565b604051339082156108fc029083906000818181858888f1505050505050565b505050565b60096020526000908152604090205460ff1681565b60065461070c90600160a060020a031633146103b5565b600160a060020a03919091166000908152600960205260409020805460ff1916911515919091179055565b60076020526000908152604090205481565b60058054600160a060020a031916600160a060020a0392909216919091179055565b600654600160a060020a031681565b6000610788838311156103b5565b50900390565b60008282026107b28415806107ad57508385838115156107aa57fe5b04145b6103b5565b8091505b5092915050565b565b60008282016107b28482108015906107ad5750838210156103b5565b600654600160a060020a0316331480159061080657503360009081526009602052604090205460ff16155b1561081057600080fd5b600554604080517f9cb3b6c3000000000000000000000000000000000000000000000000000000008152600481018690529051600160a060020a0390921691639cb3b6c3916024808201926020929091908290030181600087803b15801561087757600080fd5b505af115801561088b573d6000803e3d6000fd5b505050506040513d60208110156108a157600080fd5b505115156108ae57600080fd5b600554604080517f633ed833000000000000000000000000000000000000000000000000000000008152600481018690529051600160a060020a039092169163633ed833916024808201926020929091908290030181600087803b15801561091557600080fd5b505af1158015610929573d6000803e3d6000fd5b505050506040513d602081101561093f57600080fd5b505115156001141561095057600080fd5b6106db83838361112f565b600654600160a060020a0316331480159061098657503360009081526009602052604090205460ff16155b1561099057600080fd5b600554604080517f9cb3b6c3000000000000000000000000000000000000000000000000000000008152600481018690529051600160a060020a0390921691639cb3b6c3916024808201926020929091908290030181600087803b1580156109f757600080fd5b505af1158015610a0b573d6000803e3d6000fd5b505050506040513d6020811015610a2157600080fd5b50511515610a2e57600080fd5b600554604080517f633ed833000000000000000000000000000000000000000000000000000000008152600481018690529051600160a060020a039092169163633ed833916024808201926020929091908290030181600087803b158015610a9557600080fd5b505af1158015610aa9573d6000803e3d6000fd5b505050506040513d6020811015610abf57600080fd5b5051151560011415610ad057600080fd5b6106db838383611502565b60008054600160a060020a03161580610b065750600054610b0490600160a060020a031661182d565b155b15610b1757610b156000611831565b505b6000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610b6957600080fd5b505af1158015610b7d573d6000803e3d6000fd5b505050506040513d6020811015610b9357600080fd5b5051600154600160a060020a03908116911614610c48576000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610bfc57600080fd5b505af1158015610c10573d6000803e3d6000fd5b505050506040513d6020811015610c2657600080fd5b505160018054600160a060020a031916600160a060020a039092169190911790555b600160009054906101000a9004600160a060020a0316600160a060020a031663c281d19e6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610c9b57600080fd5b505af1158015610caf573d6000803e3d6000fd5b505050506040513d6020811015610cc557600080fd5b505190505b90565b6000828180805b8351811015610e225783517f300000000000000000000000000000000000000000000000000000000000000090859083908110610d0d57fe5b90602001015160f860020a900460f860020a02600160f860020a03191610158015610d83575083517f390000000000000000000000000000000000000000000000000000000000000090859083908110610d6357fe5b90602001015160f860020a900460f860020a02600160f860020a03191611155b15610ddc578115610da257851515610d9a57610e22565b600019909501945b600a8302925060308482815181101515610db857fe5b90602001015160f860020a900460f860020a0260f860020a90040383019250610e1a565b8381815181101515610dea57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602e60f860020a021415610e1a57600191505b600101610cd4565b6000861115610e345785600a0a830292505b509095945050505050565b600554604080517f9cb3b6c30000000000000000000000000000000000000000000000000000000081526004810185905290516000928392600160a060020a0390911691639cb3b6c39160248082019260209290919082900301818787803b158015610eaa57600080fd5b505af1158015610ebe573d6000803e3d6000fd5b505050506040513d6020811015610ed457600080fd5b50519050801580610ee457504381115b15610ef257600091506107b6565b600554604080517f633ed833000000000000000000000000000000000000000000000000000000008152600481018790529051600160a060020a039092169163633ed833916024808201926020929091908290030181600087803b158015610f5957600080fd5b505af1158015610f6d573d6000803e3d6000fd5b505050506040513d6020811015610f8357600080fd5b5051151560011415610f9857600091506107b6565b600554604080517f9ee108e200000000000000000000000000000000000000000000000000000000815260048101879052602481018690529051600160a060020a0390921691639ee108e2916044808201926020929091908290030181600087803b15801561100657600080fd5b505af115801561101a573d6000803e3d6000fd5b505050506040513d602081101561103057600080fd5b505060408051848152905185917f709d9dc151e76cad7217301fd07d23855b4c691fab60c049240fa8a2a5e3130c919081900360200190a25092915050565b600554604080517f16c2262b00000000000000000000000000000000000000000000000000000000815260048101859052602481018490529051600092600160a060020a0316916316c2262b916044808301928692919082900301818387803b1580156110db57600080fd5b505af11580156110ef573d6000803e3d6000fd5b50506040805185815290518693507ffdadf72f79130333c2cf265c74bd48f9daf2f6d7cc4e4c19b8a5a029b27948cd92509081900360200190a292915050565b600554604080517f07702d330000000000000000000000000000000000000000000000000000000081526004810186905290516060928392600092600160a060020a03909216916307702d3391602480820192869290919082900301818387803b15801561119c57600080fd5b505af11580156111b0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156111d957600080fd5b8101908080516401000000008111156111f157600080fd5b8201602081018481111561120457600080fd5b815164010000000081118282018710171561121e57600080fd5b5050600554604080517f1c86f2e3000000000000000000000000000000000000000000000000000000008152600481018d90529051929850600160a060020a039091169450631c86f2e39350602480820193506000929182900301818387803b15801561128a57600080fd5b505af115801561129e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156112c757600080fd5b8101908080516401000000008111156112df57600080fd5b820160208101848111156112f257600080fd5b815164010000000081118282018710171561130c57600080fd5b5050929190505050915061131f85611841565b6113d46040805190810160405280600381526020017f55524c00000000000000000000000000000000000000000000000000000000008152506113ce6040805190810160405280600581526020017f6a736f6e28000000000000000000000000000000000000000000000000000000815250866040805190810160405280600281526020017f292e00000000000000000000000000000000000000000000000000000000000081525087611a2e565b86611a56565b60008181526007602090815260408083208a90558051838152606081840181815289519183019190915288519596508b9587957f0c1c26d096c0e9505d4d68a78ed4f8b4d7321e9c2cc7ce83ffd84335b5dc1d299590948b948b9490939092918401916080850191908701908083838b5b8381101561145d578181015183820152602001611445565b50505050905090810190601f16801561148a5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b838110156114bd5781810151838201526020016114a5565b50505050905090810190601f1680156114ea5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a3505050505050565b600554604080517f07702d330000000000000000000000000000000000000000000000000000000081526004810186905290516060928392600092600160a060020a03909216916307702d3391602480820192869290919082900301818387803b15801561156f57600080fd5b505af1158015611583573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156115ac57600080fd5b8101908080516401000000008111156115c457600080fd5b820160208101848111156115d757600080fd5b81516401000000008111828201871017156115f157600080fd5b5050600554604080517f1c86f2e3000000000000000000000000000000000000000000000000000000008152600481018d90529051929850600160a060020a039091169450631c86f2e39350602480820193506000929182900301818387803b15801561165d57600080fd5b505af1158015611671573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561169a57600080fd5b8101908080516401000000008111156116b257600080fd5b820160208101848111156116c557600080fd5b81516401000000008111828201871017156116df57600080fd5b505092919050505091506116f285611841565b6117a16040805190810160405280600381526020017f55524c00000000000000000000000000000000000000000000000000000000008152506113ce6040805190810160405280600581526020017f6a736f6e28000000000000000000000000000000000000000000000000000000815250866040805190810160405280600281526020017f292e00000000000000000000000000000000000000000000000000000000000081525087611a2e565b60008181526008602090815260408083208a90558051600180825260608285018181528a519184019190915289519697508c9688967f0c1c26d096c0e9505d4d68a78ed4f8b4d7321e9c2cc7ce83ffd84335b5dc1d299693958c958c9590949391850192608086019291880191908190849084908381101561145d578181015183820152602001611445565b3b90565b600061183b611e57565b92915050565b600054600160a060020a0316158061186b575060005461186990600160a060020a031661182d565b155b1561187c5761187a6000611831565b505b6000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156118ce57600080fd5b505af11580156118e2573d6000803e3d6000fd5b505050506040513d60208110156118f857600080fd5b5051600154600160a060020a039081169116146119ad576000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561196157600080fd5b505af1158015611975573d6000803e3d6000fd5b505050506040513d602081101561198b57600080fd5b505160018054600160a060020a031916600160a060020a039092169190911790555b600154604080517fca6ad1e4000000000000000000000000000000000000000000000000000000008152600481018490529051600160a060020a039092169163ca6ad1e49160248082019260009290919082900301818387803b158015611a1357600080fd5b505af1158015611a27573d6000803e3d6000fd5b5050505050565b6060611a4d858585856020604051908101604052806000815250612207565b95945050505050565b600080548190600160a060020a03161580611a835750600054611a8190600160a060020a031661182d565b155b15611a9457611a926000611831565b505b6000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015611ae657600080fd5b505af1158015611afa573d6000803e3d6000fd5b505050506040513d6020811015611b1057600080fd5b5051600154600160a060020a03908116911614611bc5576000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015611b7957600080fd5b505af1158015611b8d573d6000803e3d6000fd5b505050506040513d6020811015611ba357600080fd5b505160018054600160a060020a031916600160a060020a039092169190911790555b600154604080517f2ef3accc0000000000000000000000000000000000000000000000000000000081526024810186905260048101918252875160448201528751600160a060020a0390931692632ef3accc9289928892829160640190602086019080838360005b83811015611c45578181015183820152602001611c2d565b50505050905090810190601f168015611c725780820380516001836020036101000a031916815260200191505b509350505050602060405180830381600087803b158015611c9257600080fd5b505af1158015611ca6573d6000803e3d6000fd5b505050506040513d6020811015611cbc57600080fd5b50519050670de0b6b3a76400003a840201811115611cdd5760009150611e4f565b6001546040517fc51be90f00000000000000000000000000000000000000000000000000000000815260006004820181815260648301879052608060248401908152895160848501528951600160a060020a039095169463c51be90f948794938c938c938c93604481019160a49091019060208801908083838c5b83811015611d70578181015183820152602001611d58565b50505050905090810190601f168015611d9d5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015611dd0578181015183820152602001611db8565b50505050905090810190601f168015611dfd5780820380516001836020036101000a031916815260200191505b5096505050505050506020604051808303818588803b158015611e1f57600080fd5b505af1158015611e33573d6000803e3d6000fd5b50505050506040513d6020811015611e4a57600080fd5b505191505b509392505050565b600080611e77731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed61182d565b1115611ee85760008054600160a060020a031916731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed17905560408051808201909152600b81527f6574685f6d61696e6e65740000000000000000000000000000000000000000006020820152611ee090612468565b506001610cca565b6000611f0773c03a2615d5efaf5f49f60b7bb6583eaec212fdf161182d565b1115611f705760008054600160a060020a03191673c03a2615d5efaf5f49f60b7bb6583eaec212fdf117905560408051808201909152600c81527f6574685f726f707374656e3300000000000000000000000000000000000000006020820152611ee090612468565b6000611f8f73b7a07bcf2ba2f2703b24c0691b5278999c59ac7e61182d565b1115611ff85760008054600160a060020a03191673b7a07bcf2ba2f2703b24c0691b5278999c59ac7e17905560408051808201909152600981527f6574685f6b6f76616e00000000000000000000000000000000000000000000006020820152611ee090612468565b600061201773146500cfd35b22e4a392fe0adc06de1a1368ed4861182d565b11156120805760008054600160a060020a03191673146500cfd35b22e4a392fe0adc06de1a1368ed4817905560408051808201909152600b81527f6574685f72696e6b6562790000000000000000000000000000000000000000006020820152611ee090612468565b600061209f73a2998efd205fb9d4b4963afb70778d6354ad3a4161182d565b11156121085760008054600160a060020a03191673a2998efd205fb9d4b4963afb70778d6354ad3a4117905560408051808201909152600a81527f6574685f676f65726c69000000000000000000000000000000000000000000006020820152611ee090612468565b6000612127736f485c8bf6fc43ea212e93bbf8ce046c7f1cb47561182d565b111561215b575060008054600160a060020a031916736f485c8bf6fc43ea212e93bbf8ce046c7f1cb4751790556001610cca565b600061217a7320e12a1f859b3feae5fb2a0a32c18f5a65555bbf61182d565b11156121ae575060008054600160a060020a0319167320e12a1f859b3feae5fb2a0a32c18f5a65555bbf1790556001610cca565b60006121cd7351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa61182d565b1115612201575060008054600160a060020a0319167351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa1790556001610cca565b50600090565b6060806060806060806060806000808e98508d97508c96508b95508a94508451865188518a518c51010101016040519080825280601f01601f191660200182016040528015612260578160200160208202803883390190505b50935083925060009150600090505b88518110156122cd57888181518110151561228657fe5b90602001015160f860020a900460f860020a0283838060010194508151811015156122ad57fe5b906020010190600160f860020a031916908160001a90535060010161226f565b5060005b875181101561232f5787818151811015156122e857fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561230f57fe5b906020010190600160f860020a031916908160001a9053506001016122d1565b5060005b865181101561239157868181518110151561234a57fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561237157fe5b906020010190600160f860020a031916908160001a905350600101612333565b5060005b85518110156123f35785818151811015156123ac57fe5b90602001015160f860020a900460f860020a0283838060010194508151811015156123d357fe5b906020010190600160f860020a031916908160001a905350600101612395565b5060005b845181101561245557848181518110151561240e57fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561243557fe5b906020010190600160f860020a031916908160001a9053506001016123f7565b50909d9c50505050505050505050505050565b805161247b90600290602084019061247f565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106124c057805160ff19168380011785556124ed565b828001600101855582156124ed579182015b828111156124ed5782518255916020019190600101906124d2565b506124f99291506124fd565b5090565b610cca91905b808211156124f957600081556001016125035600a165627a7a7230582080bfec4903d6c6aa2f5730faed15030b56f63e8e5981960a3351eb907fe4b7580029

Deployed Bytecode

0x6080604052600436106100e25763ffffffff60e060020a6000350416630674763c81146100e7578063103555c714610103578063107431d91461013457806313af40351461015e57806327dc297e1461017f5780632e1a7d4d146101dd57806338bbfa50146101f5578063429b62e5146102915780634b0bddd2146102c65780635409ea56146102ec5780635618b810146103045780638da5cb5b14610325578063a293d1e81461033a578063d05c78da14610355578063d0e30db014610370578063e6cb901314610378578063ed1fd8e414610393578063f1c1b56e146103a4575b600080fd5b3480156100f357600080fd5b5061010160043515156103b5565b005b34801561010f57600080fd5b506101186103c4565b60408051600160a060020a039092168252519081900360200190f35b34801561014057600080fd5b5061014c6004356103d3565b60408051918252519081900360200190f35b34801561016a57600080fd5b50610101600160a060020a03600435166103e5565b34801561018b57600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526101019583359536956044949193909101919081908401838280828437509497506104589650505050505050565b3480156101e957600080fd5b506101016004356106a5565b34801561020157600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261010195833595369560449491939091019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506106db9650505050505050565b34801561029d57600080fd5b506102b2600160a060020a03600435166106e0565b604080519115158252519081900360200190f35b3480156102d257600080fd5b50610101600160a060020a036004351660243515156106f5565b3480156102f857600080fd5b5061014c600435610737565b34801561031057600080fd5b50610101600160a060020a0360043516610749565b34801561033157600080fd5b5061011861076b565b34801561034657600080fd5b5061014c60043560243561077a565b34801561036157600080fd5b5061014c60043560243561078e565b6101016107bd565b34801561038457600080fd5b5061014c6004356024356107bf565b6101016004356024356044356107db565b61010160043560243560443561095b565b8015156103c157600080fd5b50565b600554600160a060020a031681565b60086020526000908152604090205481565b6006546103fc90600160a060020a031633146103b5565b600654604051600160a060020a038084169216907fcbf985117192c8f614a58aaf97226bb80a754772f5f6edf06f87c675f2e6c66390600090a360068054600160a060020a031916600160a060020a0392909216919091179055565b600080600080600080610469610adb565b600160a060020a0316331461047d57600080fd5b6000888152600760205260409020541580156104a55750600088815260086020526040902054155b156104af57600080fd5b600088815260076020526040902054156104cc57600095506104e5565b600088815260086020526040902054156100e257600195505b60ff86161515610505576000888152600760205260409020549450610517565b60008881526008602052604090205494505b6040805160ff8816815260208082018381528a5193830193909352895188938c937f8b023249aa28ae6e922225670ec4f2793b9151f4c824a56ff989e1837ff0cc0c938c938e939160608401919085019080838360005b8381101561058657818101518382015260200161056e565b50505050905090810190601f1680156105b35780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3600554604080517f41a9b98e000000000000000000000000000000000000000000000000000000008152600481018890529051600160a060020a03909216916341a9b98e916024808201926020929091908290030181600087803b15801561062857600080fd5b505af115801561063c573d6000803e3d6000fd5b505050506040513d602081101561065257600080fd5b505192506008839003915061067361066a8885610ccd565b83600a0a61078e565b905060ff8616151561068f576106898582610e3f565b5061069b565b610699858261106f565b505b5050505050505050565b6006546106bc90600160a060020a031633146103b5565b604051339082156108fc029083906000818181858888f1505050505050565b505050565b60096020526000908152604090205460ff1681565b60065461070c90600160a060020a031633146103b5565b600160a060020a03919091166000908152600960205260409020805460ff1916911515919091179055565b60076020526000908152604090205481565b60058054600160a060020a031916600160a060020a0392909216919091179055565b600654600160a060020a031681565b6000610788838311156103b5565b50900390565b60008282026107b28415806107ad57508385838115156107aa57fe5b04145b6103b5565b8091505b5092915050565b565b60008282016107b28482108015906107ad5750838210156103b5565b600654600160a060020a0316331480159061080657503360009081526009602052604090205460ff16155b1561081057600080fd5b600554604080517f9cb3b6c3000000000000000000000000000000000000000000000000000000008152600481018690529051600160a060020a0390921691639cb3b6c3916024808201926020929091908290030181600087803b15801561087757600080fd5b505af115801561088b573d6000803e3d6000fd5b505050506040513d60208110156108a157600080fd5b505115156108ae57600080fd5b600554604080517f633ed833000000000000000000000000000000000000000000000000000000008152600481018690529051600160a060020a039092169163633ed833916024808201926020929091908290030181600087803b15801561091557600080fd5b505af1158015610929573d6000803e3d6000fd5b505050506040513d602081101561093f57600080fd5b505115156001141561095057600080fd5b6106db83838361112f565b600654600160a060020a0316331480159061098657503360009081526009602052604090205460ff16155b1561099057600080fd5b600554604080517f9cb3b6c3000000000000000000000000000000000000000000000000000000008152600481018690529051600160a060020a0390921691639cb3b6c3916024808201926020929091908290030181600087803b1580156109f757600080fd5b505af1158015610a0b573d6000803e3d6000fd5b505050506040513d6020811015610a2157600080fd5b50511515610a2e57600080fd5b600554604080517f633ed833000000000000000000000000000000000000000000000000000000008152600481018690529051600160a060020a039092169163633ed833916024808201926020929091908290030181600087803b158015610a9557600080fd5b505af1158015610aa9573d6000803e3d6000fd5b505050506040513d6020811015610abf57600080fd5b5051151560011415610ad057600080fd5b6106db838383611502565b60008054600160a060020a03161580610b065750600054610b0490600160a060020a031661182d565b155b15610b1757610b156000611831565b505b6000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610b6957600080fd5b505af1158015610b7d573d6000803e3d6000fd5b505050506040513d6020811015610b9357600080fd5b5051600154600160a060020a03908116911614610c48576000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610bfc57600080fd5b505af1158015610c10573d6000803e3d6000fd5b505050506040513d6020811015610c2657600080fd5b505160018054600160a060020a031916600160a060020a039092169190911790555b600160009054906101000a9004600160a060020a0316600160a060020a031663c281d19e6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610c9b57600080fd5b505af1158015610caf573d6000803e3d6000fd5b505050506040513d6020811015610cc557600080fd5b505190505b90565b6000828180805b8351811015610e225783517f300000000000000000000000000000000000000000000000000000000000000090859083908110610d0d57fe5b90602001015160f860020a900460f860020a02600160f860020a03191610158015610d83575083517f390000000000000000000000000000000000000000000000000000000000000090859083908110610d6357fe5b90602001015160f860020a900460f860020a02600160f860020a03191611155b15610ddc578115610da257851515610d9a57610e22565b600019909501945b600a8302925060308482815181101515610db857fe5b90602001015160f860020a900460f860020a0260f860020a90040383019250610e1a565b8381815181101515610dea57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602e60f860020a021415610e1a57600191505b600101610cd4565b6000861115610e345785600a0a830292505b509095945050505050565b600554604080517f9cb3b6c30000000000000000000000000000000000000000000000000000000081526004810185905290516000928392600160a060020a0390911691639cb3b6c39160248082019260209290919082900301818787803b158015610eaa57600080fd5b505af1158015610ebe573d6000803e3d6000fd5b505050506040513d6020811015610ed457600080fd5b50519050801580610ee457504381115b15610ef257600091506107b6565b600554604080517f633ed833000000000000000000000000000000000000000000000000000000008152600481018790529051600160a060020a039092169163633ed833916024808201926020929091908290030181600087803b158015610f5957600080fd5b505af1158015610f6d573d6000803e3d6000fd5b505050506040513d6020811015610f8357600080fd5b5051151560011415610f9857600091506107b6565b600554604080517f9ee108e200000000000000000000000000000000000000000000000000000000815260048101879052602481018690529051600160a060020a0390921691639ee108e2916044808201926020929091908290030181600087803b15801561100657600080fd5b505af115801561101a573d6000803e3d6000fd5b505050506040513d602081101561103057600080fd5b505060408051848152905185917f709d9dc151e76cad7217301fd07d23855b4c691fab60c049240fa8a2a5e3130c919081900360200190a25092915050565b600554604080517f16c2262b00000000000000000000000000000000000000000000000000000000815260048101859052602481018490529051600092600160a060020a0316916316c2262b916044808301928692919082900301818387803b1580156110db57600080fd5b505af11580156110ef573d6000803e3d6000fd5b50506040805185815290518693507ffdadf72f79130333c2cf265c74bd48f9daf2f6d7cc4e4c19b8a5a029b27948cd92509081900360200190a292915050565b600554604080517f07702d330000000000000000000000000000000000000000000000000000000081526004810186905290516060928392600092600160a060020a03909216916307702d3391602480820192869290919082900301818387803b15801561119c57600080fd5b505af11580156111b0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156111d957600080fd5b8101908080516401000000008111156111f157600080fd5b8201602081018481111561120457600080fd5b815164010000000081118282018710171561121e57600080fd5b5050600554604080517f1c86f2e3000000000000000000000000000000000000000000000000000000008152600481018d90529051929850600160a060020a039091169450631c86f2e39350602480820193506000929182900301818387803b15801561128a57600080fd5b505af115801561129e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156112c757600080fd5b8101908080516401000000008111156112df57600080fd5b820160208101848111156112f257600080fd5b815164010000000081118282018710171561130c57600080fd5b5050929190505050915061131f85611841565b6113d46040805190810160405280600381526020017f55524c00000000000000000000000000000000000000000000000000000000008152506113ce6040805190810160405280600581526020017f6a736f6e28000000000000000000000000000000000000000000000000000000815250866040805190810160405280600281526020017f292e00000000000000000000000000000000000000000000000000000000000081525087611a2e565b86611a56565b60008181526007602090815260408083208a90558051838152606081840181815289519183019190915288519596508b9587957f0c1c26d096c0e9505d4d68a78ed4f8b4d7321e9c2cc7ce83ffd84335b5dc1d299590948b948b9490939092918401916080850191908701908083838b5b8381101561145d578181015183820152602001611445565b50505050905090810190601f16801561148a5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b838110156114bd5781810151838201526020016114a5565b50505050905090810190601f1680156114ea5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a3505050505050565b600554604080517f07702d330000000000000000000000000000000000000000000000000000000081526004810186905290516060928392600092600160a060020a03909216916307702d3391602480820192869290919082900301818387803b15801561156f57600080fd5b505af1158015611583573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156115ac57600080fd5b8101908080516401000000008111156115c457600080fd5b820160208101848111156115d757600080fd5b81516401000000008111828201871017156115f157600080fd5b5050600554604080517f1c86f2e3000000000000000000000000000000000000000000000000000000008152600481018d90529051929850600160a060020a039091169450631c86f2e39350602480820193506000929182900301818387803b15801561165d57600080fd5b505af1158015611671573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561169a57600080fd5b8101908080516401000000008111156116b257600080fd5b820160208101848111156116c557600080fd5b81516401000000008111828201871017156116df57600080fd5b505092919050505091506116f285611841565b6117a16040805190810160405280600381526020017f55524c00000000000000000000000000000000000000000000000000000000008152506113ce6040805190810160405280600581526020017f6a736f6e28000000000000000000000000000000000000000000000000000000815250866040805190810160405280600281526020017f292e00000000000000000000000000000000000000000000000000000000000081525087611a2e565b60008181526008602090815260408083208a90558051600180825260608285018181528a519184019190915289519697508c9688967f0c1c26d096c0e9505d4d68a78ed4f8b4d7321e9c2cc7ce83ffd84335b5dc1d299693958c958c9590949391850192608086019291880191908190849084908381101561145d578181015183820152602001611445565b3b90565b600061183b611e57565b92915050565b600054600160a060020a0316158061186b575060005461186990600160a060020a031661182d565b155b1561187c5761187a6000611831565b505b6000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156118ce57600080fd5b505af11580156118e2573d6000803e3d6000fd5b505050506040513d60208110156118f857600080fd5b5051600154600160a060020a039081169116146119ad576000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561196157600080fd5b505af1158015611975573d6000803e3d6000fd5b505050506040513d602081101561198b57600080fd5b505160018054600160a060020a031916600160a060020a039092169190911790555b600154604080517fca6ad1e4000000000000000000000000000000000000000000000000000000008152600481018490529051600160a060020a039092169163ca6ad1e49160248082019260009290919082900301818387803b158015611a1357600080fd5b505af1158015611a27573d6000803e3d6000fd5b5050505050565b6060611a4d858585856020604051908101604052806000815250612207565b95945050505050565b600080548190600160a060020a03161580611a835750600054611a8190600160a060020a031661182d565b155b15611a9457611a926000611831565b505b6000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015611ae657600080fd5b505af1158015611afa573d6000803e3d6000fd5b505050506040513d6020811015611b1057600080fd5b5051600154600160a060020a03908116911614611bc5576000809054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015611b7957600080fd5b505af1158015611b8d573d6000803e3d6000fd5b505050506040513d6020811015611ba357600080fd5b505160018054600160a060020a031916600160a060020a039092169190911790555b600154604080517f2ef3accc0000000000000000000000000000000000000000000000000000000081526024810186905260048101918252875160448201528751600160a060020a0390931692632ef3accc9289928892829160640190602086019080838360005b83811015611c45578181015183820152602001611c2d565b50505050905090810190601f168015611c725780820380516001836020036101000a031916815260200191505b509350505050602060405180830381600087803b158015611c9257600080fd5b505af1158015611ca6573d6000803e3d6000fd5b505050506040513d6020811015611cbc57600080fd5b50519050670de0b6b3a76400003a840201811115611cdd5760009150611e4f565b6001546040517fc51be90f00000000000000000000000000000000000000000000000000000000815260006004820181815260648301879052608060248401908152895160848501528951600160a060020a039095169463c51be90f948794938c938c938c93604481019160a49091019060208801908083838c5b83811015611d70578181015183820152602001611d58565b50505050905090810190601f168015611d9d5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015611dd0578181015183820152602001611db8565b50505050905090810190601f168015611dfd5780820380516001836020036101000a031916815260200191505b5096505050505050506020604051808303818588803b158015611e1f57600080fd5b505af1158015611e33573d6000803e3d6000fd5b50505050506040513d6020811015611e4a57600080fd5b505191505b509392505050565b600080611e77731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed61182d565b1115611ee85760008054600160a060020a031916731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed17905560408051808201909152600b81527f6574685f6d61696e6e65740000000000000000000000000000000000000000006020820152611ee090612468565b506001610cca565b6000611f0773c03a2615d5efaf5f49f60b7bb6583eaec212fdf161182d565b1115611f705760008054600160a060020a03191673c03a2615d5efaf5f49f60b7bb6583eaec212fdf117905560408051808201909152600c81527f6574685f726f707374656e3300000000000000000000000000000000000000006020820152611ee090612468565b6000611f8f73b7a07bcf2ba2f2703b24c0691b5278999c59ac7e61182d565b1115611ff85760008054600160a060020a03191673b7a07bcf2ba2f2703b24c0691b5278999c59ac7e17905560408051808201909152600981527f6574685f6b6f76616e00000000000000000000000000000000000000000000006020820152611ee090612468565b600061201773146500cfd35b22e4a392fe0adc06de1a1368ed4861182d565b11156120805760008054600160a060020a03191673146500cfd35b22e4a392fe0adc06de1a1368ed4817905560408051808201909152600b81527f6574685f72696e6b6562790000000000000000000000000000000000000000006020820152611ee090612468565b600061209f73a2998efd205fb9d4b4963afb70778d6354ad3a4161182d565b11156121085760008054600160a060020a03191673a2998efd205fb9d4b4963afb70778d6354ad3a4117905560408051808201909152600a81527f6574685f676f65726c69000000000000000000000000000000000000000000006020820152611ee090612468565b6000612127736f485c8bf6fc43ea212e93bbf8ce046c7f1cb47561182d565b111561215b575060008054600160a060020a031916736f485c8bf6fc43ea212e93bbf8ce046c7f1cb4751790556001610cca565b600061217a7320e12a1f859b3feae5fb2a0a32c18f5a65555bbf61182d565b11156121ae575060008054600160a060020a0319167320e12a1f859b3feae5fb2a0a32c18f5a65555bbf1790556001610cca565b60006121cd7351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa61182d565b1115612201575060008054600160a060020a0319167351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa1790556001610cca565b50600090565b6060806060806060806060806000808e98508d97508c96508b95508a94508451865188518a518c51010101016040519080825280601f01601f191660200182016040528015612260578160200160208202803883390190505b50935083925060009150600090505b88518110156122cd57888181518110151561228657fe5b90602001015160f860020a900460f860020a0283838060010194508151811015156122ad57fe5b906020010190600160f860020a031916908160001a90535060010161226f565b5060005b875181101561232f5787818151811015156122e857fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561230f57fe5b906020010190600160f860020a031916908160001a9053506001016122d1565b5060005b865181101561239157868181518110151561234a57fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561237157fe5b906020010190600160f860020a031916908160001a905350600101612333565b5060005b85518110156123f35785818151811015156123ac57fe5b90602001015160f860020a900460f860020a0283838060010194508151811015156123d357fe5b906020010190600160f860020a031916908160001a905350600101612395565b5060005b845181101561245557848181518110151561240e57fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561243557fe5b906020010190600160f860020a031916908160001a9053506001016123f7565b50909d9c50505050505050505050505050565b805161247b90600290602084019061247f565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106124c057805160ff19168380011785556124ed565b828001600101855582156124ed579182015b828111156124ed5782518255916020019190600101906124d2565b506124f99291506124fd565b5090565b610cca91905b808211156124f957600081556001016125035600a165627a7a7230582080bfec4903d6c6aa2f5730faed15030b56f63e8e5981960a3351eb907fe4b7580029

Deployed Bytecode Sourcemap

805:7321:0:-;;;;;;;;;-1:-1:-1;;;805:7321:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1947:100;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1947:100:0;;;;;;;;;847:28;;8:9:-1;5:2;;;30:1;27;20:12;5:2;847:28:0;;;;;;;;-1:-1:-1;;;;;847:28:0;;;;;;;;;;;;;;1102:60;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1102:60:0;;;;;;;;;;;;;;;;;;;;;2816:119;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2816:119:0;-1:-1:-1;;;;;2816:119:0;;;;;6079:1209;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;6079:1209:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6079:1209:0;;-1:-1:-1;6079:1209:0;;-1:-1:-1;;;;;;;6079:1209:0;3527:85;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3527:85:0;;;;;14119:172:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;14119:172:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14119:172:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14119:172:1;;;;-1:-1:-1;14119:172:1;-1:-1:-1;14119:172:1;;-1:-1:-1;14119:172:1;;;;;;;;-1:-1:-1;14119:172:1;;-1:-1:-1;14119:172:1;;-1:-1:-1;;;;;;;14119:172:1;1249:43:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1249:43:0;-1:-1:-1;;;;;1249:43:0;;;;;;;;;;;;;;;;;;;;;;;2982:97;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2982:97:0;-1:-1:-1;;;;;2982:97:0;;;;;;;;;948:60;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;948:60:0;;;;;3085:97;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3085:97:0;-1:-1:-1;;;;;3085:97:0;;;;;878:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;878:20:0;;;;2318:106;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2318:106:0;;;;;;;2111:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2111:140:0;;;;;;;3486:35;;;;2488:132;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2488:132:0;;;;;;;3615:435;;;;;;;;;;4835:423;;;;;;;;;;1947:100;2000:9;1999:10;1995:46;;;2025:5;;;1995:46;1947:100;:::o;847:28::-;;;-1:-1:-1;;;;;847:28:0;;:::o;1102:60::-;;;;;;;;;;;;;:::o;2816:119::-;2745:5;;2724:27;;-1:-1:-1;;;;;2745:5:0;2731:10;:19;2724:6;:27::i;:::-;2886:5;;2877:25;;-1:-1:-1;;;;;2877:25:0;;;;2886:5;;2877:25;;2886:5;;2877:25;2912:5;:16;;-1:-1:-1;;;;;;2912:16:0;-1:-1:-1;;;;;2912:16:0;;;;;;;;;;2816:119::o;6079:1209::-;6275:11;6296:27;6333:13;6856:16;6942:25;6993:13;6156:20;:18;:20::i;:::-;-1:-1:-1;;;;;6142:34:0;:10;:34;6138:48;;6178:8;;;6138:48;6200:19;;;;:13;:19;;;;;;:25;:54;;;;-1:-1:-1;6229:19:0;;;;:13;:19;;;;;;:25;6200:54;6196:68;;;6256:8;;;6196:68;6361:19;;;;:13;:19;;;;;;:25;6357:215;;6418:1;6410:9;;6357:215;;;6448:19;;;;:13;:19;;;;;;:25;6444:128;;6505:1;6497:9;;6444:128;6586:10;;;;6582:179;;;6642:19;;;;:13;:19;;;;;;;-1:-1:-1;6582:179:0;;;6731:19;;;;:13;:19;;;;;;;-1:-1:-1;6582:179:0;6785:60;;;;;;;;;;;;;;;;;;;;;;;;;;6809:19;;6803:4;;6785:60;;6830:5;;6838:6;;6785:60;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;6785:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6880:13;;6875:57;;;;;;;;;;;;;;-1:-1:-1;;;;;6880:13:0;;;;6875:36;;:57;;;;;;;;;;;;;;;6880:13;;6875:57;;;5:2:-1;;;;30:1;27;20:12;5:2;6875:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6875:57:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6875:57:0;;-1:-1:-1;6970:1:0;:12;;;;-1:-1:-1;7009:58:0;7017:26;7026:6;6875:57;7017:8;:26::i;:::-;7049:17;7045:2;:21;7009:7;:58::i;:::-;6993:74;-1:-1:-1;7082:10:0;;;;7078:204;;;7116:56;7145:19;7166:5;7116:28;:56::i;:::-;;7078:204;;;7219:52;7244:19;7265:5;7219:24;:52::i;:::-;;7078:204;6079:1209;;;;;;;;:::o;3527:85::-;2745:5;;2724:27;;-1:-1:-1;;;;;2745:5:0;2731:10;:19;2724:6;:27::i;:::-;3582:23;;:10;;:23;;;;;3598:6;;3582:23;;;;3598:6;3582:10;:23;;-1:-1:-1;;;;;;3527:85:0:o;14119:172:1:-;;;;:::o;1249:43:0:-;;;;;;;;;;;;;;;:::o;2982:97::-;2745:5;;2724:27;;-1:-1:-1;;;;;2745:5:0;2731:10;:19;2724:6;:27::i;:::-;-1:-1:-1;;;;;3049:13:0;;;;;;;;:6;:13;;;;;:23;;-1:-1:-1;;3049:23:0;;;;;;;;;;2982:97::o;948:60::-;;;;;;;;;;;;;:::o;3085:97::-;3145:13;:30;;-1:-1:-1;;;;;;3145:30:0;-1:-1:-1;;;;;3145:30:0;;;;;;;;;;3085:97::o;878:20::-;;;-1:-1:-1;;;;;878:20:0;;:::o;2318:106::-;2365:4;2381:14;2393:1;2388;:6;;2381;:14::i;:::-;-1:-1:-1;2412:5:0;;;2318:106::o;2111:140::-;2158:4;2183:5;;;2198:28;2205:6;;;:20;;;2224:1;2219;2215;:5;;;;;;;;:10;2205:20;2198:6;:28::i;:::-;2243:1;2236:8;;2111:140;;;;;;:::o;3486:35::-;:::o;2488:132::-;2535:4;2560:5;;;2575:20;2582:4;;;;;;:12;;;2593:1;2590;:4;;2575:6;:20::i;3615:435::-;3286:5;;-1:-1:-1;;;;;3286:5:0;3272:10;:19;;;;:42;;-1:-1:-1;3303:10:0;3296:18;;;;:6;:18;;;;;;;;3295:19;3272:42;3268:53;;;3316:5;;;3268:53;3752:13;;3747:62;;;;;;;;;;;;;;-1:-1:-1;;;;;3752:13:0;;;;3747:41;;:62;;;;;;;;;;;;;;;3752:13;;3747:62;;;5:2:-1;;;;30:1;27;20:12;5:2;3747:62:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3747:62:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3747:62:0;:67;3743:81;;;3816:8;;;3743:81;3865:13;;3860:58;;;;;;;;;;;;;;-1:-1:-1;;;;;3865:13:0;;;;3860:37;;:58;;;;;;;;;;;;;;;3865:13;;3860:58;;;5:2:-1;;;;30:1;27;20:12;5:2;3860:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3860:58:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3860:58:0;:66;;3922:4;3860:66;3856:80;;;3928:8;;;3856:80;3974:69;4003:19;4024:8;4034;3974:28;:69::i;4835:423::-;3286:5;;-1:-1:-1;;;;;3286:5:0;3272:10;:19;;;;:42;;-1:-1:-1;3303:10:0;3296:18;;;;:6;:18;;;;;;;;3295:19;3272:42;3268:53;;;3316:5;;;3268:53;4962:13;;4957:62;;;;;;;;;;;;;;-1:-1:-1;;;;;4962:13:0;;;;4957:41;;:62;;;;;;;;;;;;;;;4962:13;;4957:62;;;5:2:-1;;;;30:1;27;20:12;5:2;4957:62:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4957:62:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4957:62:0;:67;4953:81;;;5026:8;;;4953:81;5075:13;;5070:58;;;;;;;;;;;;;;-1:-1:-1;;;;;5075:13:0;;;;5070:37;;:58;;;;;;;;;;;;;;;5075:13;;5070:58;;;5:2:-1;;;;30:1;27;20:12;5:2;5070:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5070:58:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5070:58:0;:66;;5132:4;5070:66;5066:80;;;5138:8;;;5066:80;5184:67;5211:19;5232:8;5242;5184:26;:67::i;33871:112:1:-;33931:7;11267:3;;-1:-1:-1;;;;;11267:3:1;11259:15;;11258:49;;-1:-1:-1;11298:3:1;;11278:25;;-1:-1:-1;;;;;11298:3:1;11278:11;:25::i;:::-;:28;11258:49;11255:101;;;11321:35;10991:1;11321:19;:35::i;:::-;;11255:101;11391:3;;;;;;;;;-1:-1:-1;;;;;11391:3:1;-1:-1:-1;;;;;11391:14:1;;:16;;;;;-1:-1:-1;;;11391:16:1;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11391:16:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11391:16:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11391:16:1;11378:8;;-1:-1:-1;;;;;11378:8:1;;;11370:37;;;11367:92;;11442:3;;;;;;;;;-1:-1:-1;;;;;11442:3:1;-1:-1:-1;;;;;11442:14:1;;:16;;;;;-1:-1:-1;;;11442:16:1;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11442:16:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11442:16:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11442:16:1;11421:8;:38;;-1:-1:-1;;;;;;11421:38:1;-1:-1:-1;;;;;11421:38:1;;;;;;;;;11367:92;33956:8;;;;;;;;;-1:-1:-1;;;;;33956:8:1;-1:-1:-1;;;;;33956:18:1;;:20;;;;;-1:-1:-1;;;33956:20:1;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33956:20:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33956:20:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33956:20:1;;-1:-1:-1;11470:1:1;33871:112;:::o;38103:593::-;38164:4;38209:2;38164:4;;;38276:357;38293:7;:14;38291:1;:16;38276:357;;;38332:10;;:16;;:7;;38340:1;;38332:10;;;;;;;;;;;-1:-1:-1;;;38332:10:1;;-1:-1:-1;;;38332:10:1;-1:-1:-1;;;;;38332:16:1;;;;38331:38;;;;-1:-1:-1;38352:10:1;;:16;;:7;;38360:1;;38352:10;;;;;;;;;;;-1:-1:-1;;;38352:10:1;;-1:-1:-1;;;38352:10:1;-1:-1:-1;;;;;38352:16:1;;;;38331:38;38327:295;;;38392:8;38388:102;;;38426:7;;38422:49;;;38435:5;;38422:49;-1:-1:-1;;38467:4:1;;;;38422:49;38515:2;38507:10;;;;38562:2;38548:7;38556:1;38548:10;;;;;;;;;;;;;;;-1:-1:-1;;;38548:10:1;;-1:-1:-1;;;38548:10:1;-1:-1:-1;;;38543:16:1;;:21;38535:29;;;;38327:295;;;38589:7;38597:1;38589:10;;;;;;;;;;;;;;;-1:-1:-1;;;38589:10:1;;-1:-1:-1;;;38589:10:1;-1:-1:-1;;;;;38589:16:1;;38603:2;-1:-1:-1;;;38589:16:1;;38585:37;;;38618:4;38607:15;;38585:37;38309:3;;38276:357;;;38651:1;38646:2;:6;38642:26;;;38666:2;38662;:6;38654:14;;;;38642:26;-1:-1:-1;38685:4:1;;38103:593;-1:-1:-1;;;;;38103:593:1:o;7551:570:0:-;7697:13;;7692:58;;;;;;;;;;;;;;7646:4;;;;-1:-1:-1;;;;;7697:13:0;;;;7692:41;;:58;;;;;;;;;;;;;;;7646:4;7697:13;7692:58;;;5:2:-1;;;;30:1;27;20:12;5:2;7692:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7692:58:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7692:58:0;;-1:-1:-1;7765:20:0;;;:54;;;7807:12;7789:15;:30;7765:54;7761:73;;;7829:5;7822:12;;;;7761:73;7875:13;;7870:54;;;;;;;;;;;;;;-1:-1:-1;;;;;7875:13:0;;;;7870:37;;:54;;;;;;;;;;;;;;;7875:13;;7870:54;;;5:2:-1;;;;30:1;27;20:12;5:2;7870:54:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7870:54:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7870:54:0;:62;;7928:4;7870:62;7866:81;;;7942:5;7935:12;;;;7866:81;7998:13;;7993:59;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7998:13:0;;;;7993:35;;:59;;;;;;;;;;;;;;;7998:13;;7993:59;;;5:2:-1;;;;30:1;27;20:12;5:2;7993:59:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7993:59:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;8069:45:0;;;;;;;;8091:15;;8069:45;;;;;;7993:59;8069:45;;;7551:570;;;;;:::o;7294:250::-;7418:13;;7413:66;;;;;;;;;;;;;;;;;;;;7385:4;;-1:-1:-1;;;;;7418:13:0;;7413:42;;:66;;;;;7385:4;;7413:66;;;;;;;7385:4;7418:13;7413:66;;;5:2:-1;;;;30:1;27;20:12;5:2;7413:66:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;7496:41:0;;;;;;;;7514:15;;-1:-1:-1;7496:41:0;;-1:-1:-1;7496:41:0;;;;;;;;7294:250;;;;:::o;4056:773::-;4207:13;;4202:60;;;;;;;;;;;;;;4177:22;;;;4598:15;;-1:-1:-1;;;;;4207:13:0;;;;4202:39;;:60;;;;;4598:15;;4202:60;;;;;;;;4598:15;4207:13;4202:60;;;5:2:-1;;;;30:1;27;20:12;5:2;4202:60:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4202:60:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;4202:60:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;4202:60:0;;;;;;20:11:-1;15:3;12:20;9:2;;;45:1;42;35:12;9:2;64:21;;126:4;117:14;;142:31;;;139:2;;;186:1;183;176:12;139:2;218:10;;268:11;251:29;;293:43;;;290:58;-1:-1;239:118;236:2;;;370:1;367;360:12;236:2;-1:-1;;4390:13:0;;4385:61;;;;;;;;;;;;;;4202:60;;-1:-1:-1;;;;;;4390:13:0;;;;-1:-1:-1;4385:40:0;;-1:-1:-1;4385:61:0;;;;;-1:-1:-1;4390:13:0;;4385:61;;;;;;4390:13;;4385:61;;;5:2:-1;;;;30:1;27;20:12;5:2;4385:61:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4385:61:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;4385:61:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;4385:61:0;;;;;;20:11:-1;15:3;12:20;9:2;;;45:1;42;35:12;9:2;64:21;;126:4;117:14;;142:31;;;139:2;;;186:1;183;176:12;139:2;218:10;;268:11;251:29;;293:43;;;290:58;-1:-1;239:118;236:2;;;370:1;367;360:12;236:2;0:382;;4385:61:0;;;;;;4364:82;;4551:36;4578:8;4551:26;:36::i;:::-;4616:71;;;;;;;;;;;;;;;;;;;4637:39;;;;;;;;;;;;;;;;;;;4656:8;4637:39;;;;;;;;;;;;;;;;;;4671:4;4637:9;:39::i;:::-;4678:8;4616:14;:71::i;:::-;4697:22;;;;:13;:22;;;;;;;;:44;;;4756:65;;;;;;;;;;;;;;;;;;;;;;;4598:89;;-1:-1:-1;4722:19:0;;4598:89;;4756:65;;4697:22;;4806:8;;4816:4;;4756:65;;;;;;;;;;;;;;;;;;;4697:22;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4756:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4756:65:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4756:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4056:773;;;;;;:::o;5264:771::-;5413:13;;5408:60;;;;;;;;;;;;;;5383:22;;;;5804:15;;-1:-1:-1;;;;;5413:13:0;;;;5408:39;;:60;;;;;5804:15;;5408:60;;;;;;;;5804:15;5413:13;5408:60;;;5:2:-1;;;;30:1;27;20:12;5:2;5408:60:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5408:60:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;5408:60:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;5408:60:0;;;;;;20:11:-1;15:3;12:20;9:2;;;45:1;42;35:12;9:2;64:21;;126:4;117:14;;142:31;;;139:2;;;186:1;183;176:12;139:2;218:10;;268:11;251:29;;293:43;;;290:58;-1:-1;239:118;236:2;;;370:1;367;360:12;236:2;-1:-1;;5596:13:0;;5591:61;;;;;;;;;;;;;;5408:60;;-1:-1:-1;;;;;;5596:13:0;;;;-1:-1:-1;5591:40:0;;-1:-1:-1;5591:61:0;;;;;-1:-1:-1;5596:13:0;;5591:61;;;;;;5596:13;;5591:61;;;5:2:-1;;;;30:1;27;20:12;5:2;5591:61:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5591:61:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;5591:61:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;5591:61:0;;;;;;20:11:-1;15:3;12:20;9:2;;;45:1;42;35:12;9:2;64:21;;126:4;117:14;;142:31;;;139:2;;;186:1;183;176:12;139:2;218:10;;268:11;251:29;;293:43;;;290:58;-1:-1;239:118;236:2;;;370:1;367;360:12;236:2;0:382;;5591:61:0;;;;;;5570:82;;5757:36;5784:8;5757:26;:36::i;:::-;5822:71;;;;;;;;;;;;;;;;;;;5843:39;;;;;;;;;;;;;;;;;;;5862:8;5843:39;;;;;;;;;;;;;;;;;;5877:4;5843:9;:39::i;5822:71::-;5903:22;;;;:13;:22;;;;;;;;:44;;;5962:65;;6009:1;5962:65;;;;;;;;;;;;;;;;;;;;;5804:89;;-1:-1:-1;5928:19:0;;5804:89;;5962:65;;6009:1;;6012:8;;6022:4;;5962:65;;;;;;;;;;;;;;;;;;;;;;33:3:-1;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;34403:146:1;34515:18;;34492:51::o;11583:183::-;11646:4;11666:21;:19;:21::i;:::-;11659:28;11583:183;-1:-1:-1;;11583:183:1:o;34107:132::-;11267:3;;-1:-1:-1;;;;;11267:3:1;11259:15;;11258:49;;-1:-1:-1;11298:3:1;;11278:25;;-1:-1:-1;;;;;11298:3:1;11278:11;:25::i;:::-;:28;11258:49;11255:101;;;11321:35;10991:1;11321:19;:35::i;:::-;;11255:101;11391:3;;;;;;;;;-1:-1:-1;;;;;11391:3:1;-1:-1:-1;;;;;11391:14:1;;:16;;;;;-1:-1:-1;;;11391:16:1;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11391:16:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11391:16:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11391:16:1;11378:8;;-1:-1:-1;;;;;11378:8:1;;;11370:37;;;11367:92;;11442:3;;;;;;;;;-1:-1:-1;;;;;11442:3:1;-1:-1:-1;;;;;11442:14:1;;:16;;;;;-1:-1:-1;;;11442:16:1;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11442:16:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11442:16:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11442:16:1;11421:8;:38;;-1:-1:-1;;;;;;11421:38:1;-1:-1:-1;;;;;11421:38:1;;;;;;;;;11367:92;34196:8;;:36;;;;;;;;;;;;;;-1:-1:-1;;;;;34196:8:1;;;;:26;;:36;;;;;:8;;:36;;;;;;;;:8;;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;34196:36:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34196:36:1;;;;34107:132;:::o;37524:147::-;37610:6;37635:29;37645:2;37649;37653;37657;37635:29;;;;;;;;;;;;;:9;:29::i;:::-;37628:36;37524:147;-1:-1:-1;;;;;37524:147:1:o;15633:356::-;15733:10;11267:3;;15733:10;;-1:-1:-1;;;;;11267:3:1;11259:15;;11258:49;;-1:-1:-1;11298:3:1;;11278:25;;-1:-1:-1;;;;;11298:3:1;11278:11;:25::i;:::-;:28;11258:49;11255:101;;;11321:35;10991:1;11321:19;:35::i;:::-;;11255:101;11391:3;;;;;;;;;-1:-1:-1;;;;;11391:3:1;-1:-1:-1;;;;;11391:14:1;;:16;;;;;-1:-1:-1;;;11391:16:1;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11391:16:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11391:16:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11391:16:1;11378:8;;-1:-1:-1;;;;;11378:8:1;;;11370:37;;;11367:92;;11442:3;;;;;;;;;-1:-1:-1;;;;;11442:3:1;-1:-1:-1;;;;;11442:14:1;;:16;;;;;-1:-1:-1;;;11442:16:1;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11442:16:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11442:16:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11442:16:1;11421:8;:38;;-1:-1:-1;;;;;;11421:38:1;-1:-1:-1;;;;;11421:38:1;;;;;;;;;11367:92;15767:8;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15767:8:1;;;;:17;;15785:10;;15797:8;;15767:39;;;;;;;;;;;;:8;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;15767:39:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15767:39:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15767:39:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15767:39:1;;-1:-1:-1;15828:7:1;15838:11;:20;;15828:30;15820:38;;15816:52;;;15867:1;;-1:-1:-1;15860:8:1;;15816:52;15912:8;;:70;;;;;:8;:70;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15912:8:1;;;;:27;;15946:5;;15912:8;15956:10;;15968:3;;15973:8;;15912:70;;;;;;;;;;;;;;;;:8;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;15912:70:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15912:70:1;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;15912:70:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15912:70:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15912:70:1;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15912:70:1;;-1:-1:-1;11470:1:1;15633:356;;;;;;:::o;11771:1993::-;11819:4;11894:1;11838:55;11850:42;11838:11;:55::i;:::-;:57;11834:243;;;11920:3;:69;;-1:-1:-1;;;;;;11920:69:1;11946:42;11920:69;;;12003:38;;;;;;;;;;;;;;;;;;;:23;:38::i;:::-;-1:-1:-1;12062:4:1;12055:11;;11834:243;12146:1;12090:55;12102:42;12090:11;:55::i;:::-;:57;12086:252;;;12180:3;:69;;-1:-1:-1;;;;;;12180:69:1;12206:42;12180:69;;;12263:39;;;;;;;;;;;;;;;;;;;:23;:39::i;12086:252::-;12407:1;12351:55;12363:42;12351:11;:55::i;:::-;:57;12347:247;;;12439:3;:69;;-1:-1:-1;;;;;;12439:69:1;12465:42;12439:69;;;12522:36;;;;;;;;;;;;;;;;;;;:23;:36::i;12347:247::-;12663:1;12607:55;12619:42;12607:11;:55::i;:::-;:57;12603:251;;;12697:3;:69;;-1:-1:-1;;;;;;12697:69:1;12723:42;12697:69;;;12780:38;;;;;;;;;;;;;;;;;;;:23;:38::i;12603:251::-;12923:1;12867:55;12879:42;12867:11;:55::i;:::-;:57;12863:249;;;12956:3;:69;;-1:-1:-1;;;;;;12956:69:1;12982:42;12956:69;;;13039:37;;;;;;;;;;;;;;;;;;;:23;:37::i;12863:249::-;13181:1;13125:55;13137:42;13125:11;:55::i;:::-;:57;13121:199;;;-1:-1:-1;13215:3:1;:69;;-1:-1:-1;;;;;;13215:69:1;13241:42;13215:69;;;;13298:11;;13121:199;13389:1;13333:55;13345:42;13333:11;:55::i;:::-;:57;13329:198;;;-1:-1:-1;13422:3:1;:69;;-1:-1:-1;;;;;;13422:69:1;13448:42;13422:69;;;;13505:11;;13329:198;13596:1;13540:55;13552:42;13540:11;:55::i;:::-;:57;13536:200;;;-1:-1:-1;13631:3:1;:69;;-1:-1:-1;;;;;;13631:69:1;13657:42;13631:69;;;;13714:11;;13536:200;-1:-1:-1;13752:5:1;11771:1993;:::o;36695:823::-;36792:6;36810:16;36848;36886;36924;36962;37000:19;37106;37150:6;37175;36835:2;36810:28;;36873:2;36848:28;;36911:2;36886:28;;36949:2;36924:28;;36987:2;36962:28;;37085:3;:10;37072:3;:10;37059:3;:10;37046:3;:10;37033:3;:10;:23;:36;:49;:62;37022:74;;;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;37022:74:1;;37000:96;;37134:5;37106:34;;37159:1;37150:10;;37184:1;37175:10;;37170:58;37191:3;:10;37187:1;:14;37170:58;;;37222:3;37226:1;37222:6;;;;;;;;;;;;;;;-1:-1:-1;;;37222:6:1;;-1:-1:-1;;;37222:6:1;37208;37215:3;;;;;;37208:11;;;;;;;;;;;;;;:20;-1:-1:-1;;;;;37208:20:1;;;;;;;;-1:-1:-1;37203:3:1;;37170:58;;;-1:-1:-1;37247:1:1;37238:53;37254:3;:10;37250:1;:14;37238:53;;;37285:3;37289:1;37285:6;;;;;;;;;;;;;;;-1:-1:-1;;;37285:6:1;;-1:-1:-1;;;37285:6:1;37271;37278:3;;;;;;37271:11;;;;;;;;;;;;;;:20;-1:-1:-1;;;;;37271:20:1;;;;;;;;-1:-1:-1;37266:3:1;;37238:53;;;-1:-1:-1;37310:1:1;37301:53;37317:3;:10;37313:1;:14;37301:53;;;37348:3;37352:1;37348:6;;;;;;;;;;;;;;;-1:-1:-1;;;37348:6:1;;-1:-1:-1;;;37348:6:1;37334;37341:3;;;;;;37334:11;;;;;;;;;;;;;;:20;-1:-1:-1;;;;;37334:20:1;;;;;;;;-1:-1:-1;37329:3:1;;37301:53;;;-1:-1:-1;37373:1:1;37364:53;37380:3;:10;37376:1;:14;37364:53;;;37411:3;37415:1;37411:6;;;;;;;;;;;;;;;-1:-1:-1;;;37411:6:1;;-1:-1:-1;;;37411:6:1;37397;37404:3;;;;;;37397:11;;;;;;;;;;;;;;:20;-1:-1:-1;;;;;37397:20:1;;;;;;;;-1:-1:-1;37392:3:1;;37364:53;;;-1:-1:-1;37436:1:1;37427:53;37443:3;:10;37439:1;:14;37427:53;;;37474:3;37478:1;37474:6;;;;;;;;;;;;;;;-1:-1:-1;;;37474:6:1;;-1:-1:-1;;;37474:6:1;37460;37467:3;;;;;;37460:11;;;;;;;;;;;;;;:20;-1:-1:-1;;;;;37460:20:1;;;;;;;;-1:-1:-1;37455:3:1;;37427:53;;;-1:-1:-1;37504:6:1;;36695:823;-1:-1:-1;;;;;;;;;;;;;36695:823:1:o;39864:118::-;39938:37;;;;:21;;:37;;;;;:::i;:::-;;39864:118;:::o;805:7321:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;805:7321:0;;;-1:-1:-1;805:7321:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;

Swarm Source

bzzr://80bfec4903d6c6aa2f5730faed15030b56f63e8e5981960a3351eb907fe4b758

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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