Contract 0xbB2Dfc930A209Aa32E49f0b49264ba6b4270782A 2

 
Txn Hash
Method
Block
From
To
Value
0x0b076d7b9e771aed6cc34d10bce6d0e353c7303ab2589ee184d2b1af375c846fClaim Bet133930322021-10-10 20:25:16360 days 14 hrs ago0xbf9f1ca6deaa8fb1b33f72218fbfd405cdd450af IN  0xbb2dfc930a209aa32e49f0b49264ba6b4270782a0 Ether0.00573492 62.73091043
0x90034ade4512ac63a7cc201e68011c9a766e0d3a2252103f0f94460ea5e7227d__callback133926432021-10-10 18:56:35360 days 15 hrs ago0x000042429c09de5881f05a0c2a068222f4f5b091 IN  0xbb2dfc930a209aa32e49f0b49264ba6b4270782a0 Ether0.01067712120
0xffa6b2a220395466320d3b372b9410d53a2ae3953223d65be3127bc8adb83d6cPlace Bets133360022021-10-01 21:54:18369 days 12 hrs ago0xbf9f1ca6deaa8fb1b33f72218fbfd405cdd450af IN  0xbb2dfc930a209aa32e49f0b49264ba6b4270782a0.005 Ether0.02429627 77.40108453
0xbc16f0f679d6d1e673c5fb5820fc9318fdf000d2cfa694aa968ad248bc0ee952Place Bets133340662021-10-01 14:38:37369 days 20 hrs ago0xbf9f1ca6deaa8fb1b33f72218fbfd405cdd450af IN  0xbb2dfc930a209aa32e49f0b49264ba6b4270782a0.025 Ether0.08115672 59.98732294
0xe500ed71509114db04b28a3e3dce6deb3d43bd3c7d56eb4941494fc712ea612dPlace Bets132875192021-09-24 8:49:24377 days 1 hr ago0x1670cee6229962918419b3f24322f074b9d9d04f IN  0xbb2dfc930a209aa32e49f0b49264ba6b4270782a0.031 Ether0.0100109 47.8583128
0x15565bb1c21f1c70a711061bcc8e6a03f83f545e609f7b4a55a6c9540ac0a178Create Bet132875002021-09-24 8:45:21377 days 1 hr ago0x1670cee6229962918419b3f24322f074b9d9d04f IN  0xbb2dfc930a209aa32e49f0b49264ba6b4270782a0.25 Ether0.02112154 43.97251988
0x4714be943c18f3f8075f2e916e96615669d3cc1bbe19641d21f6e1e1ea96ed270x60806040132872942021-09-24 8:02:16377 days 2 hrs ago0x1670cee6229962918419b3f24322f074b9d9d04f IN  Create: WeiStakingByDecentralizedDegenerates0 Ether0.17624114 53.53110328
[ Download CSV Export 
Latest 6 internal transactions
Parent Txn Hash Block From To Value
0x0b076d7b9e771aed6cc34d10bce6d0e353c7303ab2589ee184d2b1af375c846f133930322021-10-10 20:25:16360 days 14 hrs ago 0xbb2dfc930a209aa32e49f0b49264ba6b4270782a0x1670cee6229962918419b3f24322f074b9d9d04f0.00000015 Ether
0x0b076d7b9e771aed6cc34d10bce6d0e353c7303ab2589ee184d2b1af375c846f133930322021-10-10 20:25:16360 days 14 hrs ago 0xbb2dfc930a209aa32e49f0b49264ba6b4270782a0x1670cee6229962918419b3f24322f074b9d9d04f0.000075 Ether
0x0b076d7b9e771aed6cc34d10bce6d0e353c7303ab2589ee184d2b1af375c846f133930322021-10-10 20:25:16360 days 14 hrs ago 0xbb2dfc930a209aa32e49f0b49264ba6b4270782a0xbf9f1ca6deaa8fb1b33f72218fbfd405cdd450af0.01492485 Ether
0xffa6b2a220395466320d3b372b9410d53a2ae3953223d65be3127bc8adb83d6c133360022021-10-01 21:54:18369 days 12 hrs ago 0xbb2dfc930a209aa32e49f0b49264ba6b4270782a0x1670cee6229962918419b3f24322f074b9d9d04f0.0025 Ether
0xbc16f0f679d6d1e673c5fb5820fc9318fdf000d2cfa694aa968ad248bc0ee952133340662021-10-01 14:38:37369 days 20 hrs ago 0xbb2dfc930a209aa32e49f0b49264ba6b4270782a0x1670cee6229962918419b3f24322f074b9d9d04f0.0125 Ether
0xe500ed71509114db04b28a3e3dce6deb3d43bd3c7d56eb4941494fc712ea612d132875192021-09-24 8:49:24377 days 1 hr ago 0xbb2dfc930a209aa32e49f0b49264ba6b4270782a0x1670cee6229962918419b3f24322f074b9d9d04f0.0015 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WeiStakingByDecentralizedDegenerates

Compiler Version
v0.6.11+commit.5ef660b1

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-09-24
*/

// File: github.com/provable-things/ethereum-api/blob/master/provableAPI_0.6.sol

// <provableAPI>
/*
Copyright (c) 2015-2016 Oraclize SRL
Copyright (c) 2016-2019 Oraclize LTD
Copyright (c) 2019-2020 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.6.1 < 0.7.0; // Incompatible compiler version - please select a compiler within the stated pragma range, or use a different version of the provableAPI!

// Dummy contract only used to emit to end-user they are using wrong solc
abstract contract solcChecker {
/* INCOMPATIBLE SOLC: import the following instead: "github.com/oraclize/ethereum-api/oraclizeAPI_0.4.sol" */ function f(bytes calldata x) virtual external;
}

interface ProvableI {

    function cbAddress() external returns (address _cbAddress);
    function setProofType(byte _proofType) external;
    function setCustomGasPrice(uint _gasPrice) external;
    function getPrice(string calldata _datasource) external returns (uint _dsprice);
    function randomDS_getSessionPubKeyHash() external view returns (bytes32 _sessionKeyHash);
    function getPrice(string calldata _datasource, uint _gasLimit)  external returns (uint _dsprice);
    function queryN(uint _timestamp, string calldata _datasource, bytes calldata _argN) external payable returns (bytes32 _id);
    function query(uint _timestamp, string calldata _datasource, string calldata _arg) external payable returns (bytes32 _id);
    function query2(uint _timestamp, string calldata _datasource, string calldata _arg1, string calldata _arg2) external payable returns (bytes32 _id);
    function query_withGasLimit(uint _timestamp, string calldata _datasource, string calldata _arg, uint _gasLimit) external payable returns (bytes32 _id);
    function queryN_withGasLimit(uint _timestamp, string calldata _datasource, bytes calldata _argN, uint _gasLimit) external payable returns (bytes32 _id);
    function query2_withGasLimit(uint _timestamp, string calldata _datasource, string calldata _arg1, string calldata _arg2, uint _gasLimit) external payable returns (bytes32 _id);
}

interface OracleAddrResolverI {
    function getAddress() external returns (address _address);
}
/*
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);
        }
        _buf.capacity = capacity; // Allocate space for the buffer data
        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 _max) {
        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 _buffer The original buffer.
      *
      */
    function append(buffer memory _buf, bytes memory _data) internal pure returns (buffer memory _buffer) {
        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 {
            let bufptr := mload(_buf) // Memory address of the buffer data
            let buflen := mload(bufptr) // Length of existing buffer data
            dest := add(add(bufptr, buflen), 32) // Start address = buffer address + buffer length + sizeof(buffer length)
            mstore(bufptr, add(buflen, mload(_data))) // Update buffer length
            src := add(_data, 32)
        }
        for(; len >= 32; len -= 32) { // Copy word-length chunks while possible
            assembly {
                mstore(dest, mload(src))
            }
            dest += 32;
            src += 32;
        }
        uint mask = 256 ** (32 - len) - 1; // Copy remaining bytes
        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.
      *
      */
    function append(buffer memory _buf, uint8 _data) internal pure {
        if (_buf.buf.length + 1 > _buf.capacity) {
            resize(_buf, _buf.capacity * 2);
        }
        assembly {
            let bufptr := mload(_buf) // Memory address of the buffer data
            let buflen := mload(bufptr) // Length of existing buffer data
            let dest := add(add(bufptr, buflen), 32) // Address = buffer address + buffer length + sizeof(buffer length)
            mstore8(dest, _data)
            mstore(bufptr, add(buflen, 1)) // Update buffer length
        }
    }
    /**
      *
      * @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 _buffer The original buffer.
      *
      */
    function appendInt(buffer memory _buf, uint _data, uint _len) internal pure returns (buffer memory _buffer) {
        if (_len + _buf.buf.length > _buf.capacity) {
            resize(_buf, max(_buf.capacity, _len) * 2);
        }
        uint mask = 256 ** _len - 1;
        assembly {
            let bufptr := mload(_buf) // Memory address of the buffer data
            let buflen := mload(bufptr) // Length of existing buffer data
            let dest := add(add(bufptr, buflen), _len) // Address = buffer address + buffer length + sizeof(buffer length) + len
            mstore(dest, or(and(mload(dest), not(mask)), _data))
            mstore(bufptr, add(buflen, _len)) // Update buffer length
        }
        return _buf;
    }
}

library CBOR {

    using Buffer for Buffer.buffer;

    uint8 private constant MAJOR_TYPE_INT = 0;
    uint8 private constant MAJOR_TYPE_MAP = 5;
    uint8 private constant MAJOR_TYPE_BYTES = 2;
    uint8 private constant MAJOR_TYPE_ARRAY = 4;
    uint8 private constant MAJOR_TYPE_STRING = 3;
    uint8 private constant MAJOR_TYPE_NEGATIVE_INT = 1;
    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 memory _value) internal pure {
        encodeType(_buf, MAJOR_TYPE_BYTES, _value.length);
        _buf.append(_value);
    }

    function encodeString(Buffer.buffer memory _buf, string memory _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 {

    using CBOR for Buffer.buffer;

    ProvableI provable;
    OracleAddrResolverI OAR;

    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_Ledger = 0x30;
    byte constant proofType_Native = 0xF0;
    byte constant proofStorage_IPFS = 0x01;
    byte constant proofType_Android = 0x40;
    byte constant proofType_TLSNotary = 0x10;

    string provable_network_name;
    uint8 constant networkID_auto = 0;
    uint8 constant networkID_morden = 2;
    uint8 constant networkID_mainnet = 1;
    uint8 constant networkID_testnet = 2;
    uint8 constant networkID_consensys = 161;

    mapping(bytes32 => bytes32) provable_randomDS_args;
    mapping(bytes32 => bool) provable_randomDS_sessionKeysHashVerified;

    modifier provableAPI {
        if ((address(OAR) == address(0)) || (getCodeSize(address(OAR)) == 0)) {
            provable_setNetwork(networkID_auto);
        }
        if (address(provable) != OAR.getAddress()) {
            provable = ProvableI(OAR.getAddress());
        }
        _;
    }

    modifier provable_randomDS_proofVerify(bytes32 _queryId, string memory _result, bytes memory _proof) {
        // RandomDS Proof Step 1: The prefix has to match 'LP\x01' (Ledger Proof version 1)
        require((_proof[0] == "L") && (_proof[1] == "P") && (uint8(_proof[2]) == uint8(1)));
        bool proofVerified = provable_randomDS_proofVerify__main(_proof, _queryId, bytes(_result), provable_getNetworkName());
        require(proofVerified);
        _;
    }

    function provable_setNetwork(uint8 _networkID) internal returns (bool _networkSet) {
      _networkID; // NOTE: Silence the warning and remain backwards compatible
      return provable_setNetwork();
    }

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

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

    function provable_setNetwork() internal returns (bool _networkSet) {
        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 memory _result) virtual public {
        __callback(_myid, _result, new bytes(0));
    }

    function __callback(bytes32 _myid, string memory _result, bytes memory _proof) virtual public {
      _myid; _result; _proof;
      provable_randomDS_args[bytes32(0)] = bytes32(0);
    }

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

    function provable_getPrice(string memory _datasource, uint _gasLimit) provableAPI internal returns (uint _queryPrice) {
        return provable.getPrice(_datasource, _gasLimit);
    }

    function provable_query(string memory _datasource, string memory _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 memory _datasource, string memory _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 memory _datasource, string memory _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 memory _datasource, string memory _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 memory _datasource, string memory _arg1, string memory _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 memory _datasource, string memory _arg1, string memory _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 memory _datasource, string memory _arg1, string memory _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 memory _datasource, string memory _arg1, string memory _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 memory _datasource, string[] memory _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 memory _datasource, string[] memory _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 memory _datasource, string[] memory _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 memory _datasource, string[] memory _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 memory _datasource, string[1] memory _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 memory _datasource, string[1] memory _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 memory _datasource, string[1] memory _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 memory _datasource, string[1] memory _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 memory _datasource, string[2] memory _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 memory _datasource, string[2] memory _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 memory _datasource, string[2] memory _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 memory _datasource, string[2] memory _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 memory _datasource, string[3] memory _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 memory _datasource, string[3] memory _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 memory _datasource, string[3] memory _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 memory _datasource, string[3] memory _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 memory _datasource, string[4] memory _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 memory _datasource, string[4] memory _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 memory _datasource, string[4] memory _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 memory _datasource, string[4] memory _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 memory _datasource, string[5] memory _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 memory _datasource, string[5] memory _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 memory _datasource, string[5] memory _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 memory _datasource, string[5] memory _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 memory _datasource, bytes[] memory _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 memory _datasource, bytes[] memory _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 memory _datasource, bytes[] memory _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 memory _datasource, bytes[] memory _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 memory _datasource, bytes[1] memory _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 memory _datasource, bytes[1] memory _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 memory _datasource, bytes[1] memory _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 memory _datasource, bytes[1] memory _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 memory _datasource, bytes[2] memory _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 memory _datasource, bytes[2] memory _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 memory _datasource, bytes[2] memory _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 memory _datasource, bytes[2] memory _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 memory _datasource, bytes[3] memory _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 memory _datasource, bytes[3] memory _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 memory _datasource, bytes[3] memory _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 memory _datasource, bytes[3] memory _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 memory _datasource, bytes[4] memory _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 memory _datasource, bytes[4] memory _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 memory _datasource, bytes[4] memory _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 memory _datasource, bytes[4] memory _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 memory _datasource, bytes[5] memory _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 memory _datasource, bytes[5] memory _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 memory _datasource, bytes[5] memory _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 memory _datasource, bytes[5] memory _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_setProof(byte _proofP) provableAPI internal {
        return provable.setProofType(_proofP);
    }


    function provable_cbAddress() provableAPI internal returns (address _callbackAddress) {
        return provable.cbAddress();
    }

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

    function provable_setCustomGasPrice(uint _gasPrice) provableAPI internal {
        return provable.setCustomGasPrice(_gasPrice);
    }

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

    function parseAddr(string memory _a) internal pure returns (address _parsedAddress) {
        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(uint8(tmp[i]));
            b2 = uint160(uint8(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 memory _a, string memory _b) internal pure returns (int _returnCode) {
        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 memory _haystack, string memory _needle) internal pure returns (int _returnCode) {
        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 memory _a, string memory _b) internal pure returns (string memory _concatenatedString) {
        return strConcat(_a, _b, "", "", "");
    }

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

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

    function strConcat(string memory _a, string memory _b, string memory _c, string memory _d, string memory _e) internal pure returns (string memory _concatenatedString) {
        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;
        uint i = 0;
        for (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 safeParseInt(string memory _a) internal pure returns (uint _parsedInt) {
        return safeParseInt(_a, 0);
    }

    function safeParseInt(string memory _a, uint _b) internal pure returns (uint _parsedInt) {
        bytes memory bresult = bytes(_a);
        uint mint = 0;
        bool decimals = false;
        for (uint i = 0; i < bresult.length; i++) {
            if ((uint(uint8(bresult[i])) >= 48) && (uint(uint8(bresult[i])) <= 57)) {
                if (decimals) {
                   if (_b == 0) break;
                    else _b--;
                }
                mint *= 10;
                mint += uint(uint8(bresult[i])) - 48;
            } else if (uint(uint8(bresult[i])) == 46) {
                require(!decimals, 'More than one decimal encountered in string!');
                decimals = true;
            } else {
                revert("Non-numeral character encountered in string!");
            }
        }
        if (_b > 0) {
            mint *= 10 ** _b;
        }
        return mint;
    }

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

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

    function uint2str(uint _i) internal pure returns (string memory _uintAsString) {
        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(uint8(48 + _i % 10));
            _i /= 10;
        }
        return string(bstr);
    }

    function stra2cbor(string[] memory _arr) internal pure returns (bytes memory _cborEncoding) {
        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[] memory _arr) internal pure returns (bytes memory _cborEncoding) {
        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;
    }

    function provable_newRandomDSQuery(uint _delay, uint _nbytes, uint _customGasLimit) internal returns (bytes32 _queryId) {
        require((_nbytes > 0) && (_nbytes <= 32));
        _delay *= 10; // Convert from seconds to ledger timer ticks
        bytes memory nbytes = new bytes(1);
        nbytes[0] = byte(uint8(_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 the relaxed random contract at https://github.com/oraclize/ethereum-examples
             for an idea on how to override and replace commit hash variables.
            */
            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;
    }

    function verifySig(bytes32 _tosignh, bytes memory _dersig, bytes memory _pubkey) internal returns (bool _sigVerified) {
        bool sigok;
        address signer;
        bytes32 sigr;
        bytes32 sigs;
        bytes memory sigr_ = new bytes(32);
        uint offset = 4 + (uint(uint8(_dersig[3])) - 0x20);
        sigr_ = copyBytes(_dersig, offset, 32, sigr_, 0);
        bytes memory sigs_ = new bytes(32);
        offset += 32 + 2;
        sigs_ = copyBytes(_dersig, offset + (uint(uint8(_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(uint160(uint256(keccak256(_pubkey)))) == signer) {
            return true;
        } else {
            (sigok, signer) = safer_ecrecover(_tosignh, 28, sigr, sigs);
            return (address(uint160(uint256(keccak256(_pubkey)))) == signer);
        }
    }

    function provable_randomDS_proofVerify__sessionKeyValidity(bytes memory _proof, uint _sig2offset) internal returns (bool _proofVerified) {
        bool sigok;
        // Random DS Proof Step 6: Verify the attestation signature, APPKEY1 must sign the sessionKey from the correct ledger app (CODEHASH)
        bytes memory sig2 = new bytes(uint(uint8(_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(uint8(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) {
            return false;
        }
        // Random DS Proof 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(uint8(_proof[3 + 65 + 1])) + 2);
        copyBytes(_proof, 3 + 65, sig3.length, sig3, 0);
        sigok = verifySig(sha256(tosign3), sig3, LEDGERKEY);
        return sigok;
    }

    function provable_randomDS_proofVerify__returnCode(bytes32 _queryId, string memory _result, bytes memory _proof) internal returns (uint8 _returnCode) {
        // Random DS Proof Step 1: The prefix has to match 'LP\x01' (Ledger Proof version 1)
        if ((_proof[0] != "L") || (_proof[1] != "P") || (uint8(_proof[2]) != uint8(1))) {
            return 1;
        }
        bool proofVerified = provable_randomDS_proofVerify__main(_proof, _queryId, bytes(_result), provable_getNetworkName());
        if (!proofVerified) {
            return 2;
        }
        return 0;
    }

    function matchBytes32Prefix(bytes32 _content, bytes memory _prefix, uint _nRandomBytes) internal pure returns (bool _matchesPrefix) {
        bool match_ = true;
        require(_prefix.length == _nRandomBytes);
        for (uint256 i = 0; i< _nRandomBytes; i++) {
            if (_content[i] != _prefix[i]) {
                match_ = false;
            }
        }
        return match_;
    }

    function provable_randomDS_proofVerify__main(bytes memory _proof, bytes32 _queryId, bytes memory _result, string memory _contextName) internal returns (bool _proofVerified) {
        // Random DS Proof Step 2: The unique keyhash has to match with the sha256 of (context name + _queryId)
        uint ledgerProofLength = 3 + 65 + (uint(uint8(_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(_contextName, _queryId)))))) {
            return false;
        }
        bytes memory sig1 = new bytes(uint(uint8(_proof[ledgerProofLength + (32 + 8 + 1 + 32) + 1])) + 2);
        copyBytes(_proof, ledgerProofLength + (32 + 8 + 1 + 32), sig1.length, sig1, 0);
        // Random DS Proof 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(uint8(_proof[ledgerProofLength + 32 + 8])))) {
            return false;
        }
        // Random DS Proof 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;
        // Random DS Proof 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]) {
            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 memory _from, uint _fromOffset, uint _length, bytes memory _to, uint _toOffset) internal pure returns (bytes memory _copiedBytes) {
        uint minLength = _length + _toOffset;
        require(_to.length >= minLength); // Buffer too small. Should be a better way?
        uint i = 32 + _fromOffset; // NOTE: the offset 32 is added to skip the `size` field of both bytes variables
        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 _success, address _recoveredAddress) {
        /*
         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)
            ret := call(3000, 1, 0, size, 128, size, 32) // NOTE: we can reuse the request memory because we deal with the return code.
            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 memory _sig) internal returns (bool _success, address _recoveredAddress) {
        bytes32 r;
        bytes32 s;
        uint8 v;
        if (_sig.length != 65) {
            return (false, address(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, address(0));
        }
        return safer_ecrecover(_hash, v, r, s);
    }

    function safeMemoryCleaner() internal pure {
        assembly {
            let fmem := mload(0x40)
            codecopy(fmem, codesize(), sub(msize(), fmem))
        }
    }
}
// </provableAPI>
// File: contracts/1_Storage.sol



pragma solidity 0.6.11;
pragma experimental ABIEncoderV2;

    
contract WeiStakingByDecentralizedDegenerates is usingProvable {
    
    
    address payable contractCreator;
    
    uint256 constant fixedCommission = 1e15 / 2;

    // Events are useful for the frontend to present information about each bet
    
    // Sender, required funds for Provable query
    event LackingFunds(address indexed, uint256);

    // Winner, amount won
    event WonBet(address indexed, uint256);

    // Loser
    event LostBet(address indexed);

    // Refunded user
    event UnwonBet(address indexed);

    // Creator, betId, betId, schedule, initialPool, description
    event CreatedBet(address indexed, string indexed, string, uint64, uint256, string);

    // User betting, betId, results, betId, results
    event PlacedBets(address indexed, string indexed, string[] indexed, string, string[]);

    constructor() public payable {
        contractCreator = msg.sender;
    }
    
    // BetId -> Deadline to place new bets
    mapping(string => uint64) public betDeadlines;

    // BetId -> Query
    mapping(string => string) public betQueries;
    
    // BetId -> Minimum bet entry
    mapping(string => uint256) public betMinimums;

    // Keep track of all createdBets to prevent duplicates
    mapping(string => bool) public createdBets;

    // Once a query is executed, associate its ID with the bet's ID to handle updating the bet's state in __callback
    mapping(bytes32 => string) public queryBets;
    
    // Keep track of all owners to handle awarding commission fees
    mapping(string => address payable) public betOwners; 
    mapping(string => uint256) public betCommissions;

    // To help people avoid overpaying for the oracle contract querying service, its last price is saved and then suggested in the frontend
    uint256 public lastQueryPrice;
    
    function createBet(string calldata betId, string calldata query, uint64 deadline, uint64 schedule, uint256 commission, uint256 minimum, uint256 initialPool, string calldata description) public payable {
        
        
        // Initial pool can't be higher than transferred value, commission can't be higher than 50%, minimum bet is 1 finney
        require(msg.value >= initialPool && commission > 1 && minimum >= 1e15 && !createdBets[betId] && deadline <= schedule && deadline > block.timestamp);
        uint256 balance = msg.value;
        balance -= initialPool;

        lastQueryPrice = provable_getPrice("URL");
        if (lastQueryPrice > balance) {
            emit LackingFunds(msg.sender, lastQueryPrice);
            msg.sender.transfer(msg.value);
            return;
        }
        
        createdBets[betId] = true;
        bytes32 queryId = provable_query(schedule, "URL", query);
        queryBets[queryId] = betId;
        betOwners[betId] = msg.sender;
        betCommissions[betId] = commission;
        betDeadlines[betId] = deadline;
        betMinimums[betId] = minimum;
        betQueries[betId] = query;

        // Owner's pool of bets is set to refund them in case nobody wins
        userPools[betId][msg.sender] += initialPool;
        betPools[betId] = initialPool;
        
        emit CreatedBet(msg.sender, betId, betId, schedule, initialPool, description);
    }
    
    // BetId -> Result -> Total pooled per result
    mapping(string => mapping(string => uint256)) public resultPools;
    
    // BetId -> User -> Total spent per user
    mapping(string => mapping(address => uint256)) public userPools;

    // BetId -> Total pooled
    mapping(string => uint256) public betPools;
    
    // BetId -> User -> Result -> How much user 
    mapping(string => mapping(address => mapping(string => uint256))) public userBets;
    
    function placeBets(string calldata betId, string[] calldata results, uint256[] calldata amounts) public payable {
        require(results.length == amounts.length && createdBets[betId] && !finishedBets[betId] && betDeadlines[betId] >= block.timestamp);
        uint256 total = msg.value;
        for (uint i = 0; i < results.length; i++) {

            // More than one bet can be placed at the same time, need to be careful the deposited amount is never less than all combined bets
            // When the oracle fails an empty string is returned, so by not allowing anyone to bet on an empty string bets can be refunded if an error happens
            uint256 bet = amounts[i];
            require(bytes(results[i]).length > 0 && total >= bet && bet >= betMinimums[betId]);
            total -= bet;

            bet -= fixedCommission;

            // Update all required state and emit the event for the frontend
            resultPools[betId][results[i]] += bet;
            userPools[betId][msg.sender] += bet;
            betPools[betId] += bet;
            userBets[betId][msg.sender][results[i]] += bet;
        }

        contractCreator.transfer(fixedCommission * results.length); // Commission transfer
        
        if (total != 0) {
            msg.sender.transfer(total);
        }

        emit PlacedBets(msg.sender, betId, results, betId, results);
    }
    
    // Keep track of which rewards have already been granted
    mapping(string => mapping(address => bool)) public claimedBets;
    

    function claimBet(string calldata betId) public {
        require(finishedBets[betId] && !claimedBets[betId][msg.sender] && userPools[betId][msg.sender] != 0);
        
        claimedBets[betId][msg.sender] = true;

        // What's the final result?
        string memory result = betResults[betId];
        
        // Did the user bet on the correct result?
        uint256 userBet = userBets[betId][msg.sender][result];
        
        uint256 winnerPool = resultPools[betId][result];
        
        uint256 reward;
        
        // If no one won then all bets get refunded
        if (winnerPool == 0) {
            emit UnwonBet(msg.sender);
            reward = userPools[betId][msg.sender];
        } else if (userBet != 0) {
            emit WonBet(msg.sender, reward);
        	uint256 loserPool = betPools[betId] - winnerPool;
            // User gets their corresponding fraction of the loser's pool, along with their original bet
        	reward = loserPool / (winnerPool / userBet) + userBet;
        } else {
            emit LostBet(msg.sender);
            return;
        }
        
        if (reward > 0) {
            uint256 ownerFee = reward / betCommissions[betId];
            uint256 generalFee = reward / 200;
            reward -= generalFee;
            reward -= ownerFee;
            msg.sender.transfer(reward);
            contractCreator.transfer(generalFee);
            betOwners[betId].transfer(ownerFee);
        }
    }
    
    // Keep track of when a bet ends and what its result was
    mapping(string => bool) public finishedBets;
    mapping(string => string) public betResults;

    function __callback(bytes32 queryId, string memory result) override public {
        string memory betId = queryBets[queryId];
        require(msg.sender == provable_cbAddress() && !finishedBets[betId]);
        betResults[betId] = result;
        finishedBets[betId] = true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"","type":"address"},{"indexed":true,"internalType":"string","name":"","type":"string"},{"indexed":false,"internalType":"string","name":"","type":"string"},{"indexed":false,"internalType":"uint64","name":"","type":"uint64"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"},{"indexed":false,"internalType":"string","name":"","type":"string"}],"name":"CreatedBet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"LackingFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"","type":"address"}],"name":"LostBet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"","type":"address"},{"indexed":true,"internalType":"string","name":"","type":"string"},{"indexed":true,"internalType":"string[]","name":"","type":"string[]"},{"indexed":false,"internalType":"string","name":"","type":"string"},{"indexed":false,"internalType":"string[]","name":"","type":"string[]"}],"name":"PlacedBets","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"","type":"address"}],"name":"UnwonBet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"WonBet","type":"event"},{"inputs":[{"internalType":"bytes32","name":"queryId","type":"bytes32"},{"internalType":"string","name":"result","type":"string"}],"name":"__callback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_myid","type":"bytes32"},{"internalType":"string","name":"_result","type":"string"},{"internalType":"bytes","name":"_proof","type":"bytes"}],"name":"__callback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"betCommissions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"betDeadlines","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"betMinimums","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"betOwners","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"betPools","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"betQueries","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"betResults","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"betId","type":"string"}],"name":"claimBet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"address","name":"","type":"address"}],"name":"claimedBets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"betId","type":"string"},{"internalType":"string","name":"query","type":"string"},{"internalType":"uint64","name":"deadline","type":"uint64"},{"internalType":"uint64","name":"schedule","type":"uint64"},{"internalType":"uint256","name":"commission","type":"uint256"},{"internalType":"uint256","name":"minimum","type":"uint256"},{"internalType":"uint256","name":"initialPool","type":"uint256"},{"internalType":"string","name":"description","type":"string"}],"name":"createBet","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"createdBets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"finishedBets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastQueryPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"betId","type":"string"},{"internalType":"string[]","name":"results","type":"string[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"placeBets","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"queryBets","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"name":"resultPools","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"address","name":"","type":"address"},{"internalType":"string","name":"","type":"string"}],"name":"userBets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"address","name":"","type":"address"}],"name":"userPools","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405233600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550613a3d806100546000396000f3fe60806040526004361061011f5760003560e01c8063914c9fd4116100a0578063ce15d08e11610064578063ce15d08e14610427578063d7984bbd14610464578063dd5d16a4146104a1578063e2156539146104de578063e498bae11461051b5761011f565b8063914c9fd4146102f6578063adb906a614610333578063b54916bd14610370578063b57e26f0146103ad578063c7d787c9146103ea5761011f565b806338bbfa50116100e757806338bbfa50146101ff5780634e05dcd8146102285780636fd81a68146102655780637d3855931461029057806385bf206a146102cd5761011f565b80630e70a723146101245780630eacf1ea146101615780631815b6ba1461017d57806327dc297e146101ba5780632ba4761a146101e3575b600080fd5b34801561013057600080fd5b5061014b6004803603810190610146919061318d565b610558565b604051610158919061369a565b60405180910390f35b61017b60048036038101906101769190613085565b61061e565b005b34801561018957600080fd5b506101a4600480360381019061019f919061318d565b610ac9565b6040516101b191906136bc565b60405180910390f35b3480156101c657600080fd5b506101e160048036038101906101dc9190612ec9565b610af7565b005b6101fd60048036038101906101f89190612fe1565b610c8a565b005b34801561020b57600080fd5b5061022660048036038101906102219190612f1d565b6110fc565b005b34801561023457600080fd5b5061024f600480360381019061024a919061318d565b61111f565b60405161025c91906135ed565b60405180910390f35b34801561027157600080fd5b5061027a611155565b60405161028791906136bc565b60405180910390f35b34801561029c57600080fd5b506102b760048036038101906102b29190613222565b61115b565b6040516102c491906136bc565b60405180910390f35b3480156102d957600080fd5b506102f460048036038101906102ef9190612f9c565b6111b9565b005b34801561030257600080fd5b5061031d6004803603810190610318919061318d565b6117ec565b60405161032a919061371c565b60405180910390f35b34801561033f57600080fd5b5061035a6004803603810190610355919061318d565b611829565b60405161036791906136bc565b60405180910390f35b34801561037c57600080fd5b506103976004803603810190610392919061318d565b611857565b6040516103a491906135d2565b60405180910390f35b3480156103b957600080fd5b506103d460048036038101906103cf91906131ce565b6118a0565b6040516103e191906136bc565b60405180910390f35b3480156103f657600080fd5b50610411600480360381019061040c919061318d565b6118db565b60405161041e919061369a565b60405180910390f35b34801561043357600080fd5b5061044e60048036038101906104499190612e77565b6119a1565b60405161045b919061369a565b60405180910390f35b34801561047057600080fd5b5061048b6004803603810190610486919061318d565b611a51565b60405161049891906135ed565b60405180910390f35b3480156104ad57600080fd5b506104c860048036038101906104c391906131ce565b611a87565b6040516104d591906135ed565b60405180910390f35b3480156104ea57600080fd5b506105056004803603810190610500919061318d565b611acc565b60405161051291906136bc565b60405180910390f35b34801561052757600080fd5b50610542600480360381019061053d91906132a1565b611afa565b60405161054f91906136bc565b60405180910390f35b6014818051602081018201805184825260208301602085012081835280955050505050506000915090508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106165780601f106105eb57610100808354040283529160200191610616565b820191906000526020600020905b8154815290600101906020018083116105f957829003601f168201915b505050505081565b82341015801561062e5750600185115b8015610641575066038d7ea4c680008410155b8015610678575060098b8b60405161065a9291906135a2565b908152602001604051809103902060009054906101000a900460ff16155b801561069857508567ffffffffffffffff168767ffffffffffffffff1611155b80156106ad5750428767ffffffffffffffff16115b6106b657600080fd5b600034905083810390506106fe6040518060400160405280600381526020017f55524c0000000000000000000000000000000000000000000000000000000000815250611b4b565b600d8190555080600d5411156107ab573373ffffffffffffffffffffffffffffffffffffffff167f5805a6723e0843158f2d50fa4201c6e0caafbf19176fdf60f7c6d5a510763398600d5460405161075691906136bc565b60405180910390a23373ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156107a4573d6000803e3d6000fd5b5050610abc565b600160098d8d6040516107bf9291906135a2565b908152602001604051809103902060006101000a81548160ff02191690831515021790555060006108748867ffffffffffffffff166040518060400160405280600381526020017f55524c00000000000000000000000000000000000000000000000000000000008152508d8d8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611e6e565b90508c8c600a60008481526020019081526020016000209190610898929190612b10565b5033600b8e8e6040516108ac9291906135a2565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555086600c8e8e60405161090b9291906135a2565b9081526020016040518091039020819055508860068e8e6040516109309291906135a2565b908152602001604051809103902060006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508560088e8e6040516109779291906135a2565b9081526020016040518091039020819055508a8a60078f8f60405161099d9291906135a2565b908152602001604051809103902091906109b8929190612b10565b5084600f8e8e6040516109cc9291906135a2565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508460108e8e604051610a379291906135a2565b9081526020016040518091039020819055508c8c604051610a599291906135a2565b60405180910390203373ffffffffffffffffffffffffffffffffffffffff167ff5973219bca7a18a834e77b7457ebd7c75f2f0bc6d4ce4f8093c958cc696bb3f8f8f8c8a8a8a604051610ab196959493929190613643565b60405180910390a350505b5050505050505050505050565b6010818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b6060600a60008481526020019081526020016000208054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ba05780601f10610b7557610100808354040283529160200191610ba0565b820191906000526020600020905b815481529060010190602001808311610b8357829003601f168201915b50505050509050610baf61226d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148015610c125750601381604051610bf491906135bb565b908152602001604051809103902060009054906101000a900460ff16155b610c1b57600080fd5b81601482604051610c2c91906135bb565b90815260200160405180910390209080519060200190610c4d929190612b90565b506001601382604051610c6091906135bb565b908152602001604051809103902060006101000a81548160ff021916908315150217905550505050565b8181905084849050148015610cc9575060098686604051610cac9291906135a2565b908152602001604051809103902060009054906101000a900460ff165b8015610d00575060138686604051610ce29291906135a2565b908152602001604051809103902060009054906101000a900460ff16155b8015610d4a57504260068787604051610d1a9291906135a2565b908152602001604051809103902060009054906101000a900467ffffffffffffffff1667ffffffffffffffff1610155b610d5357600080fd5b600034905060008090505b85859050811015610fa9576000848483818110610d7757fe5b9050602002013590506000878784818110610d8e57fe5b9050602002810190610da09190613737565b9050118015610daf5750808310155b8015610ddb575060088989604051610dc89291906135a2565b9081526020016040518091039020548110155b610de457600080fd5b80830392506601c6bf526340008103905080600e8a8a604051610e089291906135a2565b9081526020016040518091039020888885818110610e2257fe5b9050602002810190610e349190613737565b604051610e429291906135a2565b90815260200160405180910390206000828254019250508190555080600f8a8a604051610e709291906135a2565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508060108a8a604051610edb9291906135a2565b9081526020016040518091039020600082825401925050819055508060118a8a604051610f099291906135a2565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020888885818110610f6057fe5b9050602002810190610f729190613737565b604051610f809291906135a2565b908152602001604051809103902060008282540192505081905550508080600101915050610d5e565b50600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc868690506601c6bf52634000029081150290604051600060405180830381858888f1935050505015801561101e573d6000803e3d6000fd5b506000811461106f573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561106d573d6000803e3d6000fd5b505b848460405161107f929190613589565b604051809103902087876040516110979291906135a2565b60405180910390203373ffffffffffffffffffffffffffffffffffffffff167fb727ffd36a5446745e7dae9d44a3901a37c8590f78a0835972368809ec9b6ee58a8a8a8a6040516110eb9493929190613608565b60405180910390a450505050505050565b6000801b600360008060001b815260200190815260200160002081905550505050565b6009818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b600d5481565b6011838051602081018201805184825260208301602085012081835280955050505050506020528160005260406000208180516020810182018051848252602083016020850120818352809550505050505060009250925050505481565b601382826040516111cb9291906135a2565b908152602001604051809103902060009054906101000a900460ff16801561125b5750601282826040516112009291906135a2565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156112c557506000600f83836040516112769291906135a2565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414155b6112ce57600080fd5b6001601283836040516112e29291906135a2565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506060601483836040516113589291906135a2565b90815260200160405180910390208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113fa5780601f106113cf576101008083540402835291602001916113fa565b820191906000526020600020905b8154815290600101906020018083116113dd57829003601f168201915b505050505090506000601184846040516114159291906135a2565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208260405161146e91906135bb565b90815260200160405180910390205490506000600e85856040516114939291906135a2565b9081526020016040518091039020836040516114af91906135bb565b9081526020016040518091039020549050600080821415611572573373ffffffffffffffffffffffffffffffffffffffff167fd062202474cb0be44012226d41105de1db85c69c417fbc111907fcbb25a44aa560405160405180910390a2600f868660405161151f9291906135a2565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050611659565b6000831461160c573373ffffffffffffffffffffffffffffffffffffffff167fe60bab41c59bb7b8da014b17716e6924f66553ddd1751db88bfa8d831fb3b7b5826040516115c091906136bc565b60405180910390a2600082601088886040516115dd9291906135a2565b908152602001604051809103902054039050838484816115f957fe5b04828161160257fe5b0401915050611658565b3373ffffffffffffffffffffffffffffffffffffffff167f111af70af2304203f6ba46b1d8b86b412f7a22d454c779f8c526df94a3c56e2e60405160405180910390a2505050506117e8565b5b60008111156117e3576000600c87876040516116769291906135a2565b908152602001604051809103902054828161168d57fe5b049050600060c8838161169c57fe5b049050808303925081830392503373ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050501580156116ef573d6000803e3d6000fd5b50600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611758573d6000803e3d6000fd5b50600b888860405161176b9291906135a2565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156117df573d6000803e3d6000fd5b5050505b505050505b5050565b6006818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900467ffffffffffffffff1681565b6008818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b600b818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f82805160208101820180518482526020830160208501208183528095505050505050602052806000526040600020600091509150505481565b6007818051602081018201805184825260208301602085012081835280955050505050506000915090508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156119995780601f1061196e57610100808354040283529160200191611999565b820191906000526020600020905b81548152906001019060200180831161197c57829003601f168201915b505050505081565b600a6020528060005260406000206000915090508054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611a495780601f10611a1e57610100808354040283529160200191611a49565b820191906000526020600020905b815481529060010190602001808311611a2c57829003601f168201915b505050505081565b6013818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b6012828051602081018201805184825260208301602085012081835280955050505050506020528060005260406000206000915091509054906101000a900460ff1681565b600c818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b600e8280516020810182018051848252602083016020850120818352809550505050505081805160208101820180518482526020830160208501208183528095505050505050600091509150505481565b60008073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611bd357506000611bd1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612583565b145b15611be457611be2600061258e565b505b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015611c4e57600080fd5b505af1158015611c62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c869190612e4e565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611dbb57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015611d4357600080fd5b505af1158015611d57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7b9190612e4e565b6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663524f3889836040518263ffffffff1660e01b8152600401611e15919061369a565b602060405180830381600087803b158015611e2f57600080fd5b505af1158015611e43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e67919061330d565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611ef657506000611ef4600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612583565b145b15611f0757611f05600061258e565b505b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015611f7157600080fd5b505af1158015611f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa99190612e4e565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146120de57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561206657600080fd5b505af115801561207a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209e9190612e4e565b6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663524f3889856040518263ffffffff1660e01b815260040161213a919061369a565b602060405180830381600087803b15801561215457600080fd5b505af1158015612168573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061218c919061330d565b905062030d403a02670de0b6b3a7640000018111156121b1576000801b915050612266565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663adf59f99828787876040518563ffffffff1660e01b8152600401612210939291906136d7565b6020604051808303818588803b15801561222957600080fd5b505af115801561223d573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906122629190612ea0565b9150505b9392505050565b60008073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806122f5575060006122f3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612583565b145b1561230657612304600061258e565b505b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561237057600080fd5b505af1158015612384573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a89190612e4e565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146124dd57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561246557600080fd5b505af1158015612479573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249d9190612e4e565b6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c281d19e6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561254657600080fd5b505af115801561255a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061257e9190612e4e565b905090565b6000813b9050919050565b600061259861259f565b9050919050565b6000806125bf731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed612583565b111561266157731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506126586040518060400160405280600b81526020017f6574685f6d61696e6e6574000000000000000000000000000000000000000000815250612af6565b60019050612af3565b600061268073c03a2615d5efaf5f49f60b7bb6583eaec212fdf1612583565b11156127225773c03a2615d5efaf5f49f60b7bb6583eaec212fdf1600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506127196040518060400160405280600c81526020017f6574685f726f707374656e330000000000000000000000000000000000000000815250612af6565b60019050612af3565b600061274173b7a07bcf2ba2f2703b24c0691b5278999c59ac7e612583565b11156127e35773b7a07bcf2ba2f2703b24c0691b5278999c59ac7e600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506127da6040518060400160405280600981526020017f6574685f6b6f76616e0000000000000000000000000000000000000000000000815250612af6565b60019050612af3565b600061280273146500cfd35b22e4a392fe0adc06de1a1368ed48612583565b11156128a45773146500cfd35b22e4a392fe0adc06de1a1368ed48600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061289b6040518060400160405280600b81526020017f6574685f72696e6b656279000000000000000000000000000000000000000000815250612af6565b60019050612af3565b60006128c373a2998efd205fb9d4b4963afb70778d6354ad3a41612583565b11156129655773a2998efd205fb9d4b4963afb70778d6354ad3a41600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061295c6040518060400160405280600a81526020017f6574685f676f65726c6900000000000000000000000000000000000000000000815250612af6565b60019050612af3565b6000612984736f485c8bf6fc43ea212e93bbf8ce046c7f1cb475612583565b11156129e857736f485c8bf6fc43ea212e93bbf8ce046c7f1cb475600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050612af3565b6000612a077320e12a1f859b3feae5fb2a0a32c18f5a65555bbf612583565b1115612a6b577320e12a1f859b3feae5fb2a0a32c18f5a65555bbf600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050612af3565b6000612a8a7351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa612583565b1115612aee577351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050612af3565b600090505b90565b8060029080519060200190612b0c929190612b90565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612b5157803560ff1916838001178555612b7f565b82800160010185558215612b7f579182015b82811115612b7e578235825591602001919060010190612b63565b5b509050612b8c9190612c10565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612bd157805160ff1916838001178555612bff565b82800160010185558215612bff579182015b82811115612bfe578251825591602001919060010190612be3565b5b509050612c0c9190612c10565b5090565b612c3291905b80821115612c2e576000816000905550600101612c16565b5090565b90565b600081359050612c44816139ab565b92915050565b600081519050612c59816139ab565b92915050565b60008083601f840112612c7157600080fd5b8235905067ffffffffffffffff811115612c8a57600080fd5b602083019150836020820283011115612ca257600080fd5b9250929050565b60008083601f840112612cbb57600080fd5b8235905067ffffffffffffffff811115612cd457600080fd5b602083019150836020820283011115612cec57600080fd5b9250929050565b600081359050612d02816139c2565b92915050565b600081519050612d17816139c2565b92915050565b600082601f830112612d2e57600080fd5b8135612d41612d3c826137bb565b61378e565b91508082526020830160208301858383011115612d5d57600080fd5b612d68838284613958565b50505092915050565b60008083601f840112612d8357600080fd5b8235905067ffffffffffffffff811115612d9c57600080fd5b602083019150836001820283011115612db457600080fd5b9250929050565b600082601f830112612dcc57600080fd5b8135612ddf612dda826137e7565b61378e565b91508082526020830160208301858383011115612dfb57600080fd5b612e06838284613958565b50505092915050565b600081359050612e1e816139d9565b92915050565b600081519050612e33816139d9565b92915050565b600081359050612e48816139f0565b92915050565b600060208284031215612e6057600080fd5b6000612e6e84828501612c4a565b91505092915050565b600060208284031215612e8957600080fd5b6000612e9784828501612cf3565b91505092915050565b600060208284031215612eb257600080fd5b6000612ec084828501612d08565b91505092915050565b60008060408385031215612edc57600080fd5b6000612eea85828601612cf3565b925050602083013567ffffffffffffffff811115612f0757600080fd5b612f1385828601612dbb565b9150509250929050565b600080600060608486031215612f3257600080fd5b6000612f4086828701612cf3565b935050602084013567ffffffffffffffff811115612f5d57600080fd5b612f6986828701612dbb565b925050604084013567ffffffffffffffff811115612f8657600080fd5b612f9286828701612d1d565b9150509250925092565b60008060208385031215612faf57600080fd5b600083013567ffffffffffffffff811115612fc957600080fd5b612fd585828601612d71565b92509250509250929050565b60008060008060008060608789031215612ffa57600080fd5b600087013567ffffffffffffffff81111561301457600080fd5b61302089828a01612d71565b9650965050602087013567ffffffffffffffff81111561303f57600080fd5b61304b89828a01612c5f565b9450945050604087013567ffffffffffffffff81111561306a57600080fd5b61307689828a01612ca9565b92509250509295509295509295565b60008060008060008060008060008060006101008c8e0312156130a757600080fd5b60008c013567ffffffffffffffff8111156130c157600080fd5b6130cd8e828f01612d71565b9b509b505060208c013567ffffffffffffffff8111156130ec57600080fd5b6130f88e828f01612d71565b9950995050604061310b8e828f01612e39565b975050606061311c8e828f01612e39565b965050608061312d8e828f01612e0f565b95505060a061313e8e828f01612e0f565b94505060c061314f8e828f01612e0f565b93505060e08c013567ffffffffffffffff81111561316c57600080fd5b6131788e828f01612d71565b92509250509295989b509295989b9093969950565b60006020828403121561319f57600080fd5b600082013567ffffffffffffffff8111156131b957600080fd5b6131c584828501612dbb565b91505092915050565b600080604083850312156131e157600080fd5b600083013567ffffffffffffffff8111156131fb57600080fd5b61320785828601612dbb565b925050602061321885828601612c35565b9150509250929050565b60008060006060848603121561323757600080fd5b600084013567ffffffffffffffff81111561325157600080fd5b61325d86828701612dbb565b935050602061326e86828701612c35565b925050604084013567ffffffffffffffff81111561328b57600080fd5b61329786828701612dbb565b9150509250925092565b600080604083850312156132b457600080fd5b600083013567ffffffffffffffff8111156132ce57600080fd5b6132da85828601612dbb565b925050602083013567ffffffffffffffff8111156132f757600080fd5b61330385828601612dbb565b9150509250929050565b60006020828403121561331f57600080fd5b600061332d84828501612e24565b91505092915050565b6000613343848484613455565b90509392505050565b60006133598484846134af565b90509392505050565b61336b816138f2565b82525050565b600061337d8385613835565b93508360208402850161338f84613813565b8060005b878110156133d55784840389526133aa8284613889565b6133b5868284613336565b95506133c084613828565b935060208b019a505050600181019050613393565b50829750879450505050509392505050565b60006133f38385613846565b93506133fe82613813565b8060005b85811015613439576134148284613889565b61341f89828461334c565b985061342a84613828565b93505050600181019050613402565b5085925050509392505050565b61344f81613904565b82525050565b60006134618385613851565b935061346e838584613958565b6134778361399a565b840190509392505050565b600061348e8385613862565b935061349b838584613958565b6134a48361399a565b840190509392505050565b60006134bb8385613873565b93506134c8838584613958565b6134d18361399a565b840190509392505050565b60006134e8838561387e565b93506134f5838584613958565b82840190509392505050565b600061350c8261381d565b6135168185613862565b9350613526818560208601613967565b61352f8161399a565b840191505092915050565b60006135458261381d565b61354f818561387e565b935061355f818560208601613967565b80840191505092915050565b6135748161393a565b82525050565b61358381613944565b82525050565b60006135968284866133e7565b91508190509392505050565b60006135af8284866134dc565b91508190509392505050565b60006135c7828461353a565b915081905092915050565b60006020820190506135e76000830184613362565b92915050565b60006020820190506136026000830184613446565b92915050565b60006040820190508181036000830152613623818688613482565b90508181036020830152613638818486613371565b905095945050505050565b6000608082019050818103600083015261365e81888a613482565b905061366d602083018761357a565b61367a604083018661356b565b818103606083015261368d818486613482565b9050979650505050505050565b600060208201905081810360008301526136b48184613501565b905092915050565b60006020820190506136d1600083018461356b565b92915050565b60006060820190506136ec600083018661356b565b81810360208301526136fe8185613501565b905081810360408301526137128184613501565b9050949350505050565b6000602082019050613731600083018461357a565b92915050565b6000808335600160200384360303811261375057600080fd5b80840192508235915067ffffffffffffffff82111561376e57600080fd5b60208301925060018202360383131561378657600080fd5b509250929050565b6000604051905081810181811067ffffffffffffffff821117156137b157600080fd5b8060405250919050565b600067ffffffffffffffff8211156137d257600080fd5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156137fe57600080fd5b601f19601f8301169050602081019050919050565b6000819050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600081905092915050565b600080833560016020038436030381126138a257600080fd5b83810192508235915060208301925067ffffffffffffffff8211156138c657600080fd5b6001820236038413156138d857600080fd5b509250929050565b60006138eb8261391a565b9050919050565b60006138fd8261391a565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b8381101561398557808201518184015260208101905061396a565b83811115613994576000848401525b50505050565b6000601f19601f8301169050919050565b6139b4816138e0565b81146139bf57600080fd5b50565b6139cb81613910565b81146139d657600080fd5b50565b6139e28161393a565b81146139ed57600080fd5b50565b6139f981613944565b8114613a0457600080fd5b5056fea2646970667358221220c41311fc6906499047c7a83aec70e48278a159e00bf5cf93c73f0bec2525107664736f6c634300060b0033

Deployed ByteCode Sourcemap

59696:7312:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66667:43;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;61563:1436;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;63287:42;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66719:286;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;63486:1402;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;15968:189;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;60971:42;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;61521:29;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;63392:81;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;65039:1504;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;60689:45;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;60857;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;61264:51;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;63185:63;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;60766:43;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;61140;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66617;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;64962:62;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;61323:48;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;63062:64;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66667:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;61563:1436::-;61942:11;61929:9;:24;;:42;;;;;61970:1;61957:10;:14;61929:42;:61;;;;;61986:4;61975:7;:15;;61929:61;:84;;;;;61995:11;62007:5;;61995:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;61994:19;61929:84;:108;;;;;62029:8;62017:20;;:8;:20;;;;61929:108;:138;;;;;62052:15;62041:8;:26;;;61929:138;61921:147;;;;;;62079:15;62097:9;62079:27;;62128:11;62117:22;;;;62169:24;;;;;;;;;;;;;;;;;;:17;:24::i;:::-;62152:14;:41;;;;62225:7;62208:14;;:24;62204:168;;;62267:10;62254:40;;;62279:14;;62254:40;;;;;;:::i;:::-;;;;;;;;62309:10;:19;;:30;62329:9;62309:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62354:7;;;62204:168;62413:4;62392:11;62404:5;;62392:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;62428:15;62446:38;62461:8;62446:38;;;;;;;;;;;;;;;;;;;62478:5;;62446:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:14;:38::i;:::-;62428:56;;62516:5;;62495:9;:18;62505:7;62495:18;;;;;;;;;;;:26;;;;;;;:::i;:::-;;62551:10;62532:9;62542:5;;62532:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;62596:10;62572:14;62587:5;;62572:21;;;;;;;:::i;:::-;;;;;;;;;;;;;:34;;;;62639:8;62617:12;62630:5;;62617:19;;;;;;;:::i;:::-;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;62679:7;62658:11;62670:5;;62658:18;;;;;;;:::i;:::-;;;;;;;;;;;;;:28;;;;62717:5;;62697:10;62708:5;;62697:17;;;;;;;:::i;:::-;;;;;;;;;;;;;:25;;;;;;;:::i;:::-;;62842:11;62810:9;62820:5;;62810:16;;;;;;;:::i;:::-;;;;;;;;;;;;;:28;62827:10;62810:28;;;;;;;;;;;;;;;;:43;;;;;;;;;;;62882:11;62864:8;62873:5;;62864:15;;;;;;;:::i;:::-;;;;;;;;;;;;;:29;;;;62942:5;;62919:72;;;;;;;:::i;:::-;;;;;;;;62930:10;62919:72;;;62949:5;;62956:8;62966:11;62979;;62919:72;;;;;;;;;;;:::i;:::-;;;;;;;;61563:1436;;;;;;;;;;;;;;:::o;63287:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;66719:286::-;66805:19;66827:9;:18;66837:7;66827:18;;;;;;;;;;;66805:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66878:20;:18;:20::i;:::-;66864:34;;:10;:34;;;:58;;;;;66903:12;66916:5;66903:19;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;66902:20;66864:58;66856:67;;;;;;66954:6;66934:10;66945:5;66934:17;;;;;;:::i;:::-;;;;;;;;;;;;;:26;;;;;;;;;;;;:::i;:::-;;66993:4;66971:12;66984:5;66971:19;;;;;;:::i;:::-;;;;;;;;;;;;;;:26;;;;;;;;;;;;;;;;;;66719:286;;;:::o;63486:1402::-;63635:7;;:14;;63617:7;;:14;;:32;:54;;;;;63653:11;63665:5;;63653:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;63617:54;:78;;;;;63676:12;63689:5;;63676:19;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;63675:20;63617:78;:120;;;;;63722:15;63699:12;63712:5;;63699:19;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:38;;;;63617:120;63609:129;;;;;;63749:13;63765:9;63749:25;;63790:6;63799:1;63790:10;;63785:841;63806:7;;:14;;63802:1;:18;63785:841;;;64147:11;64161:7;;64169:1;64161:10;;;;;;;;;;;;;64147:24;;64221:1;64200:7;;64208:1;64200:10;;;;;;;;;;;;;;;;;;:::i;:::-;64194:24;;:28;:44;;;;;64235:3;64226:5;:12;;64194:44;:73;;;;;64249:11;64261:5;;64249:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;64242:3;:25;;64194:73;64186:82;;;;;;64292:3;64283:12;;;;59857:8;64312:22;;;;64463:3;64429:11;64441:5;;64429:18;;;;;;;:::i;:::-;;;;;;;;;;;;;64448:7;;64456:1;64448:10;;;;;;;;;;;;;;;;;;:::i;:::-;64429:30;;;;;;;:::i;:::-;;;;;;;;;;;;;;:37;;;;;;;;;;;64513:3;64481:9;64491:5;;64481:16;;;;;;;:::i;:::-;;;;;;;;;;;;;:28;64498:10;64481:28;;;;;;;;;;;;;;;;:35;;;;;;;;;;;64550:3;64531:8;64540:5;;64531:15;;;;;;;:::i;:::-;;;;;;;;;;;;;;:22;;;;;;;;;;;64611:3;64568:8;64577:5;;64568:15;;;;;;;:::i;:::-;;;;;;;;;;;;;:27;64584:10;64568:27;;;;;;;;;;;;;;;64596:7;;64604:1;64596:10;;;;;;;;;;;;;;;;;;:::i;:::-;64568:39;;;;;;;:::i;:::-;;;;;;;;;;;;;;:46;;;;;;;;;;;63785:841;63822:3;;;;;;;63785:841;;;;64638:15;;;;;;;;;;;:24;;:58;64681:7;;:14;;59857:8;64663:32;64638:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64753:1;64744:5;:10;64740:69;;64771:10;:19;;:26;64791:5;64771:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64740:69;64856:7;;64826:54;;;;;;;:::i;:::-;;;;;;;;64849:5;;64826:54;;;;;;;:::i;:::-;;;;;;;;64837:10;64826:54;;;64865:5;;64872:7;;64826:54;;;;;;;;;:::i;:::-;;;;;;;;63486:1402;;;;;;;:::o;15968:189::-;16147:1;16139:10;;16102:22;:34;16133:1;16125:10;;16102:34;;;;;;;;;;;:47;;;;15968:189;;;:::o;60971:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;61521:29::-;;;;:::o;63392:81::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;65039:1504::-;65106:12;65119:5;;65106:19;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:54;;;;;65130:11;65142:5;;65130:18;;;;;;;:::i;:::-;;;;;;;;;;;;;:30;65149:10;65130:30;;;;;;;;;;;;;;;;;;;;;;;;;65129:31;65106:54;:91;;;;;65196:1;65164:9;65174:5;;65164:16;;;;;;;:::i;:::-;;;;;;;;;;;;;:28;65181:10;65164:28;;;;;;;;;;;;;;;;:33;;65106:91;65098:100;;;;;;65252:4;65219:11;65231:5;;65219:18;;;;;;;:::i;:::-;;;;;;;;;;;;;:30;65238:10;65219:30;;;;;;;;;;;;;;;;:37;;;;;;;;;;;;;;;;;;65306:20;65329:10;65340:5;;65329:17;;;;;;;:::i;:::-;;;;;;;;;;;;;65306:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65419:15;65437:8;65446:5;;65437:15;;;;;;;:::i;:::-;;;;;;;;;;;;;:27;65453:10;65437:27;;;;;;;;;;;;;;;65465:6;65437:35;;;;;;:::i;:::-;;;;;;;;;;;;;;65419:53;;65493:18;65514:11;65526:5;;65514:18;;;;;;;:::i;:::-;;;;;;;;;;;;;65533:6;65514:26;;;;;;:::i;:::-;;;;;;;;;;;;;;65493:47;;65561:14;65667:1;65653:10;:15;65649:516;;;65699:10;65690:20;;;;;;;;;;;;65734:9;65744:5;;65734:16;;;;;;;:::i;:::-;;;;;;;;;;;;;:28;65751:10;65734:28;;;;;;;;;;;;;;;;65725:37;;65649:516;;;65795:1;65784:7;:12;65780:385;;65825:10;65818:26;;;65837:6;65818:26;;;;;;:::i;:::-;;;;;;;;65856:17;65894:10;65876:8;65885:5;;65876:15;;;;;;;:::i;:::-;;;;;;;;;;;;;;:28;65856:48;;66068:7;66057;66044:10;:20;;;;;;66031:9;:34;;;;;;:44;66022:53;;65780:385;;;;66121:10;66113:19;;;;;;;;;;;;66147:7;;;;;;65780:385;65649:516;66198:1;66189:6;:10;66185:351;;;66216:16;66244:14;66259:5;;66244:21;;;;;;;:::i;:::-;;;;;;;;;;;;;;66235:6;:30;;;;;;66216:49;;66280:18;66310:3;66301:6;:12;;;;;;66280:33;;66338:10;66328:20;;;;66373:8;66363:18;;;;66396:10;:19;;:27;66416:6;66396:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66438:15;;;;;;;;;;;:24;;:36;66463:10;66438:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66489:9;66499:5;;66489:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:25;;:35;66515:8;66489:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66185:351;;;65039:1504;;;;;;;:::o;60689:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;60857:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;61264:51::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;63185:63::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;60766:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;61140:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;66617:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;64962:62::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;61323:48::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;63062:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16165:158::-;16249:16;12297:1;12273:26;;12281:3;;;;;;;;;;;12273:26;;;12272:64;;;;12334:1;12305:25;12325:3;;;;;;;;;;;12305:11;:25::i;:::-;:30;12272:64;12268:132;;;12353:35;11919:1;12353:19;:35::i;:::-;;12268:132;12435:3;;;;;;;;;;;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12414:37;;12422:8;;;;;;;;;;;12414:37;;;12410:108;;12489:3;;;;;;;;;;;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12468:8;;:38;;;;;;;;;;;;;;;;;;12410:108;16285:8:::1;::::0;::::1;;;;;;;;;:17;;;16303:11;16285:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16278:37;;16165:158:::0;;;:::o;16892:386::-;17010:11;12297:1;12273:26;;12281:3;;;;;;;;;;;12273:26;;;12272:64;;;;12334:1;12305:25;12325:3;;;;;;;;;;;12305:11;:25::i;:::-;:30;12272:64;12268:132;;;12353:35;11919:1;12353:19;:35::i;:::-;;12268:132;12435:3;;;;;;;;;;;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12414:37;;12422:8;;;;;;;;;;;12414:37;;;12410:108;;12489:3;;;;;;;;;;;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12468:8;;:38;;;;;;;;;;;;;;;;;;12410:108;17034:10:::1;17047:8:::0;::::1;;;;;;;;;;:17;;;17065:11;17047:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;17034:43;;17124:6;17110:11;:20;17100:7;:30;17092:5;:38;17088:106;;;17154:1;17147:8:::0;::::1;;;;;;17088:106;17211:8;::::0;::::1;;;;;;;;;:14;;;17233:5;17240:10;17252:11;17265:4;17211:59;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;17204:66;;;12528:1;16892:386:::0;;;;;:::o;38198:132::-;38258:24;12297:1;12273:26;;12281:3;;;;;;;;;;;12273:26;;;12272:64;;;;12334:1;12305:25;12325:3;;;;;;;;;;;12305:11;:25::i;:::-;:30;12272:64;12268:132;;;12353:35;11919:1;12353:19;:35::i;:::-;;12268:132;12435:3;;;;;;;;;;;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12414:37;;12422:8;;;;;;;;;;;12414:37;;;12410:108;;12489:3;;;;;;;;;;;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12468:8;;:38;;;;;;;;;;;;;;;;;;12410:108;38302:8:::1;::::0;::::1;;;;;;;;;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;38295:27;;38198:132:::0;:::o;38338:151::-;38397:10;38465:5;38453:18;38444:27;;38429:53;;;:::o;13022:208::-;13087:16;13201:21;:19;:21::i;:::-;13194:28;;13022:208;;;:::o;13514:2070::-;13563:16;13654:1;13596:55;13608:42;13596:11;:55::i;:::-;:59;13592:250;;;13708:42;13682:3;;:69;;;;;;;;;;;;;;;;;;13766:38;;;;;;;;;;;;;;;;;;:23;:38::i;:::-;13826:4;13819:11;;;;13592:250;13914:1;13856:55;13868:42;13856:11;:55::i;:::-;:59;13852:259;;;13976:42;13950:3;;:69;;;;;;;;;;;;;;;;;;14034:39;;;;;;;;;;;;;;;;;;:23;:39::i;:::-;14095:4;14088:11;;;;13852:259;14183:1;14125:55;14137:42;14125:11;:55::i;:::-;:59;14121:254;;;14243:42;14217:3;;:69;;;;;;;;;;;;;;;;;;14301:36;;;;;;;;;;;;;;;;;;:23;:36::i;:::-;14359:4;14352:11;;;;14121:254;14447:1;14389:55;14401:42;14389:11;:55::i;:::-;:59;14385:258;;;14509:42;14483:3;;:69;;;;;;;;;;;;;;;;;;14567:38;;;;;;;;;;;;;;;;;;:23;:38::i;:::-;14627:4;14620:11;;;;14385:258;14715:1;14657:55;14669:42;14657:11;:55::i;:::-;:59;14653:256;;;14776:42;14750:3;;:69;;;;;;;;;;;;;;;;;;14834:37;;;;;;;;;;;;;;;;;;:23;:37::i;:::-;14893:4;14886:11;;;;14653:256;14981:1;14923:55;14935:42;14923:11;:55::i;:::-;:59;14919:205;;;15043:42;15017:3;;:69;;;;;;;;;;;;;;;;;;15108:4;15101:11;;;;14919:205;15196:1;15138:55;15150:42;15138:11;:55::i;:::-;:59;15134:204;;;15257:42;15231:3;;:69;;;;;;;;;;;;;;;;;;15322:4;15315:11;;;;15134:204;15410:1;15352:55;15364:42;15352:11;:55::i;:::-;:59;15348:206;;;15473:42;15447:3;;:69;;;;;;;;;;;;;;;;;;15538:4;15531:11;;;;15348:206;15571:5;15564:12;;13514:2070;;:::o;13238:127::-;13344:13;13320:21;:37;;;;;;;;;;;;:::i;:::-;;13238:127;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5:130::-;;85:6;72:20;63:29;;97:33;124:5;97:33;:::i;:::-;57:78;;;;:::o;142:134::-;;226:6;220:13;211:22;;238:33;265:5;238:33;:::i;:::-;205:71;;;;:::o;300:364::-;;;442:3;435:4;427:6;423:17;419:27;409:2;;460:1;457;450:12;409:2;493:6;480:20;470:30;;520:18;512:6;509:30;506:2;;;552:1;549;542:12;506:2;586:4;578:6;574:17;562:29;;637:3;629:4;621:6;617:17;607:8;603:32;600:41;597:2;;;654:1;651;644:12;597:2;402:262;;;;;:::o;690:352::-;;;820:3;813:4;805:6;801:17;797:27;787:2;;838:1;835;828:12;787:2;871:6;858:20;848:30;;898:18;890:6;887:30;884:2;;;930:1;927;920:12;884:2;964:4;956:6;952:17;940:29;;1015:3;1007:4;999:6;995:17;985:8;981:32;978:41;975:2;;;1032:1;1029;1022:12;975:2;780:262;;;;;:::o;1050:130::-;;1130:6;1117:20;1108:29;;1142:33;1169:5;1142:33;:::i;:::-;1102:78;;;;:::o;1187:134::-;;1271:6;1265:13;1256:22;;1283:33;1310:5;1283:33;:::i;:::-;1250:71;;;;:::o;1329:440::-;;1430:3;1423:4;1415:6;1411:17;1407:27;1397:2;;1448:1;1445;1438:12;1397:2;1485:6;1472:20;1507:64;1522:48;1563:6;1522:48;:::i;:::-;1507:64;:::i;:::-;1498:73;;1591:6;1584:5;1577:21;1627:4;1619:6;1615:17;1660:4;1653:5;1649:16;1695:3;1686:6;1681:3;1677:16;1674:25;1671:2;;;1712:1;1709;1702:12;1671:2;1722:41;1756:6;1751:3;1746;1722:41;:::i;:::-;1390:379;;;;;;;:::o;1792:337::-;;;1907:3;1900:4;1892:6;1888:17;1884:27;1874:2;;1925:1;1922;1915:12;1874:2;1958:6;1945:20;1935:30;;1985:18;1977:6;1974:30;1971:2;;;2017:1;2014;2007:12;1971:2;2051:4;2043:6;2039:17;2027:29;;2102:3;2094:4;2086:6;2082:17;2072:8;2068:32;2065:41;2062:2;;;2119:1;2116;2109:12;2062:2;1867:262;;;;;:::o;2138:442::-;;2240:3;2233:4;2225:6;2221:17;2217:27;2207:2;;2258:1;2255;2248:12;2207:2;2295:6;2282:20;2317:65;2332:49;2374:6;2332:49;:::i;:::-;2317:65;:::i;:::-;2308:74;;2402:6;2395:5;2388:21;2438:4;2430:6;2426:17;2471:4;2464:5;2460:16;2506:3;2497:6;2492:3;2488:16;2485:25;2482:2;;;2523:1;2520;2513:12;2482:2;2533:41;2567:6;2562:3;2557;2533:41;:::i;:::-;2200:380;;;;;;;:::o;2588:130::-;;2668:6;2655:20;2646:29;;2680:33;2707:5;2680:33;:::i;:::-;2640:78;;;;:::o;2725:134::-;;2809:6;2803:13;2794:22;;2821:33;2848:5;2821:33;:::i;:::-;2788:71;;;;:::o;2866:128::-;;2945:6;2932:20;2923:29;;2957:32;2983:5;2957:32;:::i;:::-;2917:77;;;;:::o;3001:263::-;;3116:2;3104:9;3095:7;3091:23;3087:32;3084:2;;;3132:1;3129;3122:12;3084:2;3167:1;3184:64;3240:7;3231:6;3220:9;3216:22;3184:64;:::i;:::-;3174:74;;3146:108;3078:186;;;;:::o;3271:241::-;;3375:2;3363:9;3354:7;3350:23;3346:32;3343:2;;;3391:1;3388;3381:12;3343:2;3426:1;3443:53;3488:7;3479:6;3468:9;3464:22;3443:53;:::i;:::-;3433:63;;3405:97;3337:175;;;;:::o;3519:263::-;;3634:2;3622:9;3613:7;3609:23;3605:32;3602:2;;;3650:1;3647;3640:12;3602:2;3685:1;3702:64;3758:7;3749:6;3738:9;3734:22;3702:64;:::i;:::-;3692:74;;3664:108;3596:186;;;;:::o;3789:472::-;;;3920:2;3908:9;3899:7;3895:23;3891:32;3888:2;;;3936:1;3933;3926:12;3888:2;3971:1;3988:53;4033:7;4024:6;4013:9;4009:22;3988:53;:::i;:::-;3978:63;;3950:97;4106:2;4095:9;4091:18;4078:32;4130:18;4122:6;4119:30;4116:2;;;4162:1;4159;4152:12;4116:2;4182:63;4237:7;4228:6;4217:9;4213:22;4182:63;:::i;:::-;4172:73;;4057:194;3882:379;;;;;:::o;4268:701::-;;;;4425:2;4413:9;4404:7;4400:23;4396:32;4393:2;;;4441:1;4438;4431:12;4393:2;4476:1;4493:53;4538:7;4529:6;4518:9;4514:22;4493:53;:::i;:::-;4483:63;;4455:97;4611:2;4600:9;4596:18;4583:32;4635:18;4627:6;4624:30;4621:2;;;4667:1;4664;4657:12;4621:2;4687:63;4742:7;4733:6;4722:9;4718:22;4687:63;:::i;:::-;4677:73;;4562:194;4815:2;4804:9;4800:18;4787:32;4839:18;4831:6;4828:30;4825:2;;;4871:1;4868;4861:12;4825:2;4891:62;4945:7;4936:6;4925:9;4921:22;4891:62;:::i;:::-;4881:72;;4766:193;4387:582;;;;;:::o;4976:367::-;;;5100:2;5088:9;5079:7;5075:23;5071:32;5068:2;;;5116:1;5113;5106:12;5068:2;5179:1;5168:9;5164:17;5151:31;5202:18;5194:6;5191:30;5188:2;;;5234:1;5231;5224:12;5188:2;5262:65;5319:7;5310:6;5299:9;5295:22;5262:65;:::i;:::-;5244:83;;;;5130:203;5062:281;;;;;:::o;5350:953::-;;;;;;;5590:2;5578:9;5569:7;5565:23;5561:32;5558:2;;;5606:1;5603;5596:12;5558:2;5669:1;5658:9;5654:17;5641:31;5692:18;5684:6;5681:30;5678:2;;;5724:1;5721;5714:12;5678:2;5752:65;5809:7;5800:6;5789:9;5785:22;5752:65;:::i;:::-;5734:83;;;;5620:203;5882:2;5871:9;5867:18;5854:32;5906:18;5898:6;5895:30;5892:2;;;5938:1;5935;5928:12;5892:2;5966:92;6050:7;6041:6;6030:9;6026:22;5966:92;:::i;:::-;5948:110;;;;5833:231;6123:2;6112:9;6108:18;6095:32;6147:18;6139:6;6136:30;6133:2;;;6179:1;6176;6169:12;6133:2;6207:80;6279:7;6270:6;6259:9;6255:22;6207:80;:::i;:::-;6189:98;;;;6074:219;5552:751;;;;;;;;:::o;6310:1497::-;;;;;;;;;;;;6592:3;6580:9;6571:7;6567:23;6563:33;6560:2;;;6609:1;6606;6599:12;6560:2;6672:1;6661:9;6657:17;6644:31;6695:18;6687:6;6684:30;6681:2;;;6727:1;6724;6717:12;6681:2;6755:65;6812:7;6803:6;6792:9;6788:22;6755:65;:::i;:::-;6737:83;;;;6623:203;6885:2;6874:9;6870:18;6857:32;6909:18;6901:6;6898:30;6895:2;;;6941:1;6938;6931:12;6895:2;6969:65;7026:7;7017:6;7006:9;7002:22;6969:65;:::i;:::-;6951:83;;;;6836:204;7071:2;7089:52;7133:7;7124:6;7113:9;7109:22;7089:52;:::i;:::-;7079:62;;7050:97;7178:2;7196:52;7240:7;7231:6;7220:9;7216:22;7196:52;:::i;:::-;7186:62;;7157:97;7285:3;7304:53;7349:7;7340:6;7329:9;7325:22;7304:53;:::i;:::-;7294:63;;7264:99;7394:3;7413:53;7458:7;7449:6;7438:9;7434:22;7413:53;:::i;:::-;7403:63;;7373:99;7503:3;7522:53;7567:7;7558:6;7547:9;7543:22;7522:53;:::i;:::-;7512:63;;7482:99;7640:3;7629:9;7625:19;7612:33;7665:18;7657:6;7654:30;7651:2;;;7697:1;7694;7687:12;7651:2;7726:65;7783:7;7774:6;7763:9;7759:22;7726:65;:::i;:::-;7707:84;;;;7591:206;6554:1253;;;;;;;;;;;;;;:::o;7814:347::-;;7928:2;7916:9;7907:7;7903:23;7899:32;7896:2;;;7944:1;7941;7934:12;7896:2;8007:1;7996:9;7992:17;7979:31;8030:18;8022:6;8019:30;8016:2;;;8062:1;8059;8052:12;8016:2;8082:63;8137:7;8128:6;8117:9;8113:22;8082:63;:::i;:::-;8072:73;;7958:193;7890:271;;;;:::o;8168:472::-;;;8299:2;8287:9;8278:7;8274:23;8270:32;8267:2;;;8315:1;8312;8305:12;8267:2;8378:1;8367:9;8363:17;8350:31;8401:18;8393:6;8390:30;8387:2;;;8433:1;8430;8423:12;8387:2;8453:63;8508:7;8499:6;8488:9;8484:22;8453:63;:::i;:::-;8443:73;;8329:193;8553:2;8571:53;8616:7;8607:6;8596:9;8592:22;8571:53;:::i;:::-;8561:63;;8532:98;8261:379;;;;;:::o;8647:703::-;;;;8805:2;8793:9;8784:7;8780:23;8776:32;8773:2;;;8821:1;8818;8811:12;8773:2;8884:1;8873:9;8869:17;8856:31;8907:18;8899:6;8896:30;8893:2;;;8939:1;8936;8929:12;8893:2;8959:63;9014:7;9005:6;8994:9;8990:22;8959:63;:::i;:::-;8949:73;;8835:193;9059:2;9077:53;9122:7;9113:6;9102:9;9098:22;9077:53;:::i;:::-;9067:63;;9038:98;9195:2;9184:9;9180:18;9167:32;9219:18;9211:6;9208:30;9205:2;;;9251:1;9248;9241:12;9205:2;9271:63;9326:7;9317:6;9306:9;9302:22;9271:63;:::i;:::-;9261:73;;9146:194;8767:583;;;;;:::o;9357:578::-;;;9498:2;9486:9;9477:7;9473:23;9469:32;9466:2;;;9514:1;9511;9504:12;9466:2;9577:1;9566:9;9562:17;9549:31;9600:18;9592:6;9589:30;9586:2;;;9632:1;9629;9622:12;9586:2;9652:63;9707:7;9698:6;9687:9;9683:22;9652:63;:::i;:::-;9642:73;;9528:193;9780:2;9769:9;9765:18;9752:32;9804:18;9796:6;9793:30;9790:2;;;9836:1;9833;9826:12;9790:2;9856:63;9911:7;9902:6;9891:9;9887:22;9856:63;:::i;:::-;9846:73;;9731:194;9460:475;;;;;:::o;9942:263::-;;10057:2;10045:9;10036:7;10032:23;10028:32;10025:2;;;10073:1;10070;10063:12;10025:2;10108:1;10125:64;10181:7;10172:6;10161:9;10157:22;10125:64;:::i;:::-;10115:74;;10087:108;10019:186;;;;:::o;10213:213::-;;10344:76;10416:3;10408:6;10400;10344:76;:::i;:::-;10330:90;;10323:103;;;;;:::o;10435:229::-;;10574:84;10654:3;10646:6;10638;10574:84;:::i;:::-;10560:98;;10553:111;;;;;:::o;10672:137::-;10771:32;10797:5;10771:32;:::i;:::-;10766:3;10759:45;10753:56;;:::o;10845:943::-;;11021:96;11110:6;11105:3;11021:96;:::i;:::-;11014:103;;11140:3;11182:4;11174:6;11170:17;11165:3;11161:27;11209:70;11273:5;11209:70;:::i;:::-;11299:7;11327:1;11312:437;11337:6;11334:1;11331:13;11312:437;;;11399:9;11393:4;11389:20;11384:3;11377:33;11453:54;11500:6;11491:7;11453:54;:::i;:::-;11522:101;11618:4;11603:13;11588;11522:101;:::i;:::-;11514:109;;11640:74;11707:6;11640:74;:::i;:::-;11630:84;;11737:4;11732:3;11728:14;11721:21;;11369:380;;11359:1;11356;11352:9;11347:14;;11312:437;;;11316:14;11762:4;11755:11;;11779:3;11772:10;;11001:787;;;;;;;;;:::o;11825:829::-;;12019:114;12126:6;12121:3;12019:114;:::i;:::-;12012:121;;12154:70;12218:5;12154:70;:::i;:::-;12244:7;12272:1;12257:375;12282:6;12279:1;12276:13;12257:375;;;12358:54;12405:6;12396:7;12358:54;:::i;:::-;12426:108;12530:3;12515:13;12500;12426:108;:::i;:::-;12419:115;;12551:74;12618:6;12551:74;:::i;:::-;12541:84;;12314:318;;12304:1;12301;12297:9;12292:14;;12257:375;;;12261:14;12645:3;12638:10;;11999:655;;;;;;;:::o;12662:104::-;12739:21;12754:5;12739:21;:::i;:::-;12734:3;12727:34;12721:45;;:::o;12798:280::-;;12904:61;12958:6;12953:3;12904:61;:::i;:::-;12897:68;;12977:43;13013:6;13008:3;13001:5;12977:43;:::i;:::-;13042:29;13064:6;13042:29;:::i;:::-;13037:3;13033:39;13026:46;;12890:188;;;;;:::o;13111:300::-;;13227:71;13291:6;13286:3;13227:71;:::i;:::-;13220:78;;13310:43;13346:6;13341:3;13334:5;13310:43;:::i;:::-;13375:29;13397:6;13375:29;:::i;:::-;13370:3;13366:39;13359:46;;13213:198;;;;;:::o;13444:296::-;;13558:69;13620:6;13615:3;13558:69;:::i;:::-;13551:76;;13639:43;13675:6;13670:3;13663:5;13639:43;:::i;:::-;13704:29;13726:6;13704:29;:::i;:::-;13699:3;13695:39;13688:46;;13544:196;;;;;:::o;13773:313::-;;13907:89;13989:6;13984:3;13907:89;:::i;:::-;13900:96;;14008:43;14044:6;14039:3;14032:5;14008:43;:::i;:::-;14073:6;14068:3;14064:16;14057:23;;13893:193;;;;;:::o;14094:347::-;;14206:39;14239:5;14206:39;:::i;:::-;14257:71;14321:6;14316:3;14257:71;:::i;:::-;14250:78;;14333:52;14378:6;14373:3;14366:4;14359:5;14355:16;14333:52;:::i;:::-;14406:29;14428:6;14406:29;:::i;:::-;14401:3;14397:39;14390:46;;14186:255;;;;;:::o;14448:360::-;;14578:39;14611:5;14578:39;:::i;:::-;14629:89;14711:6;14706:3;14629:89;:::i;:::-;14622:96;;14723:52;14768:6;14763:3;14756:4;14749:5;14745:16;14723:52;:::i;:::-;14796:6;14791:3;14787:16;14780:23;;14558:250;;;;;:::o;14815:113::-;14898:24;14916:5;14898:24;:::i;:::-;14893:3;14886:37;14880:48;;:::o;14935:110::-;15016:23;15033:5;15016:23;:::i;:::-;15011:3;15004:36;14998:47;;:::o;15052:399::-;;15269:157;15422:3;15413:6;15405;15269:157;:::i;:::-;15262:164;;15443:3;15436:10;;15250:201;;;;;:::o;15458:295::-;;15623:105;15724:3;15715:6;15707;15623:105;:::i;:::-;15616:112;;15745:3;15738:10;;15604:149;;;;;:::o;15760:275::-;;15915:95;16006:3;15997:6;15915:95;:::i;:::-;15908:102;;16027:3;16020:10;;15896:139;;;;:::o;16042:254::-;;16185:2;16174:9;16170:18;16162:26;;16199:87;16283:1;16272:9;16268:17;16259:6;16199:87;:::i;:::-;16156:140;;;;:::o;16303:210::-;;16424:2;16413:9;16409:18;16401:26;;16438:65;16500:1;16489:9;16485:17;16476:6;16438:65;:::i;:::-;16395:118;;;;:::o;16520:653::-;;16787:2;16776:9;16772:18;16764:26;;16837:9;16831:4;16827:20;16823:1;16812:9;16808:17;16801:47;16862:88;16945:4;16936:6;16928;16862:88;:::i;:::-;16854:96;;16998:9;16992:4;16988:20;16983:2;16972:9;16968:18;16961:48;17023:140;17158:4;17149:6;17141;17023:140;:::i;:::-;17015:148;;16758:415;;;;;;;:::o;17180:768::-;;17449:3;17438:9;17434:19;17426:27;;17500:9;17494:4;17490:20;17486:1;17475:9;17471:17;17464:47;17525:88;17608:4;17599:6;17591;17525:88;:::i;:::-;17517:96;;17624:70;17690:2;17679:9;17675:18;17666:6;17624:70;:::i;:::-;17705:72;17773:2;17762:9;17758:18;17749:6;17705:72;:::i;:::-;17825:9;17819:4;17815:20;17810:2;17799:9;17795:18;17788:48;17850:88;17933:4;17924:6;17916;17850:88;:::i;:::-;17842:96;;17420:528;;;;;;;;;:::o;17955:310::-;;18102:2;18091:9;18087:18;18079:26;;18152:9;18146:4;18142:20;18138:1;18127:9;18123:17;18116:47;18177:78;18250:4;18241:6;18177:78;:::i;:::-;18169:86;;18073:192;;;;:::o;18272:222::-;;18399:2;18388:9;18384:18;18376:26;;18413:71;18481:1;18470:9;18466:17;18457:6;18413:71;:::i;:::-;18370:124;;;;:::o;18501:620::-;;18724:2;18713:9;18709:18;18701:26;;18738:71;18806:1;18795:9;18791:17;18782:6;18738:71;:::i;:::-;18857:9;18851:4;18847:20;18842:2;18831:9;18827:18;18820:48;18882:78;18955:4;18946:6;18882:78;:::i;:::-;18874:86;;19008:9;19002:4;18998:20;18993:2;18982:9;18978:18;18971:48;19033:78;19106:4;19097:6;19033:78;:::i;:::-;19025:86;;18695:426;;;;;;:::o;19128:218::-;;19253:2;19242:9;19238:18;19230:26;;19267:69;19333:1;19322:9;19318:17;19309:6;19267:69;:::i;:::-;19224:122;;;;:::o;19353:507::-;;;19489:11;19476:25;19585:1;19579:4;19575:12;19564:8;19548:14;19544:29;19540:48;19520:18;19516:73;19506:2;;19603:1;19600;19593:12;19506:2;19634:18;19624:8;19620:33;19612:41;;19687:4;19674:18;19664:28;;19712:18;19704:6;19701:30;19698:2;;;19744:1;19741;19734:12;19698:2;19772;19766:4;19762:13;19754:21;;19826:4;19818:6;19814:17;19798:14;19794:38;19788:4;19784:49;19781:2;;;19846:1;19843;19836:12;19781:2;19444:416;;;;;;:::o;19867:256::-;;19929:2;19923:9;19913:19;;19967:4;19959:6;19955:17;20066:6;20054:10;20051:22;20030:18;20018:10;20015:34;20012:62;20009:2;;;20087:1;20084;20077:12;20009:2;20107:10;20103:2;20096:22;19907:216;;;;:::o;20130:321::-;;20273:18;20265:6;20262:30;20259:2;;;20305:1;20302;20295:12;20259:2;20372:4;20368:9;20361:4;20353:6;20349:17;20345:33;20337:41;;20436:4;20430;20426:15;20418:23;;20196:255;;;:::o;20458:322::-;;20602:18;20594:6;20591:30;20588:2;;;20634:1;20631;20624:12;20588:2;20701:4;20697:9;20690:4;20682:6;20678:17;20674:33;20666:41;;20765:4;20759;20755:15;20747:23;;20525:255;;;:::o;20787:130::-;;20887:3;20879:11;;20873:44;;;:::o;20924:122::-;;21018:5;21012:12;21002:22;;20983:63;;;:::o;21053:122::-;;21165:4;21160:3;21156:14;21148:22;;21142:33;;;:::o;21183:188::-;;21323:6;21318:3;21311:19;21360:4;21355:3;21351:14;21336:29;;21304:67;;;;:::o;21380:170::-;;21541:3;21526:18;;21519:31;;;;:::o;21559:153::-;;21664:6;21659:3;21652:19;21701:4;21696:3;21692:14;21677:29;;21645:67;;;;:::o;21721:163::-;;21836:6;21831:3;21824:19;21873:4;21868:3;21864:14;21849:29;;21817:67;;;;:::o;21893:125::-;;22009:3;21994:18;;21987:31;;;;:::o;22027:145::-;;22163:3;22148:18;;22141:31;;;;:::o;22181:502::-;;;22306:3;22293:17;22395:1;22389:4;22385:12;22374:8;22358:14;22354:29;22350:48;22330:18;22326:73;22316:2;;22413:1;22410;22403:12;22316:2;22456:8;22436:18;22432:33;22423:42;;22500:5;22487:19;22477:29;;22532:4;22525:5;22521:16;22512:25;;22557:18;22549:6;22546:30;22543:2;;;22589:1;22586;22579:12;22543:2;22648:4;22640:6;22636:17;22620:14;22616:38;22606:8;22602:53;22599:2;;;22668:1;22665;22658:12;22599:2;22260:423;;;;;;:::o;22691:91::-;;22753:24;22771:5;22753:24;:::i;:::-;22742:35;;22736:46;;;:::o;22789:99::-;;22859:24;22877:5;22859:24;:::i;:::-;22848:35;;22842:46;;;:::o;22895:85::-;;22968:5;22961:13;22954:21;22943:32;;22937:43;;;:::o;22987:72::-;;23049:5;23038:16;;23032:27;;;:::o;23066:121::-;;23139:42;23132:5;23128:54;23117:65;;23111:76;;;:::o;23194:72::-;;23256:5;23245:16;;23239:27;;;:::o;23273:96::-;;23345:18;23338:5;23334:30;23323:41;;23317:52;;;:::o;23377:145::-;23458:6;23453:3;23448;23435:30;23514:1;23505:6;23500:3;23496:16;23489:27;23428:94;;;:::o;23531:268::-;23596:1;23603:101;23617:6;23614:1;23611:13;23603:101;;;23693:1;23688:3;23684:11;23678:18;23674:1;23669:3;23665:11;23658:39;23639:2;23636:1;23632:10;23627:15;;23603:101;;;23719:6;23716:1;23713:13;23710:2;;;23784:1;23775:6;23770:3;23766:16;23759:27;23710:2;23580:219;;;;:::o;23807:97::-;;23895:2;23891:7;23886:2;23879:5;23875:14;23871:28;23861:38;;23855:49;;;:::o;23912:117::-;23981:24;23999:5;23981:24;:::i;:::-;23974:5;23971:35;23961:2;;24020:1;24017;24010:12;23961:2;23955:74;:::o;24036:117::-;24105:24;24123:5;24105:24;:::i;:::-;24098:5;24095:35;24085:2;;24144:1;24141;24134:12;24085:2;24079:74;:::o;24160:117::-;24229:24;24247:5;24229:24;:::i;:::-;24222:5;24219:35;24209:2;;24268:1;24265;24258:12;24209:2;24203:74;:::o;24284:115::-;24352:23;24369:5;24352:23;:::i;:::-;24345:5;24342:34;24332:2;;24390:1;24387;24380:12;24332:2;24326:73;:::o

Swarm Source

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

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