Contract 0x96d017f938b5425713ab4d8ce460e1dd04b962ca

 
Txn Hash Method
Index
From
To
Value
0x9afc9c3af11b5753fb689c3e0939d9be9193ff28264e966e9503e74d0d647881Request Update8306862022-10-04 6:03:256 hrs 24 mins ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0002930231
0x7dd5906a82f045d05caf687010d8c86aeb2517667cfbbcce7ca45ceea445cd75Request Update8306112022-10-04 3:23:189 hrs 4 mins ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0002920351
0x7efa7db5c3c8d6f13d6600736639bc69bf4391bb02a2b9d393d416cf21a7e716Request Update8304742022-10-03 22:43:0213 hrs 44 mins ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003025491
0xdcd3652aa9b6cb82022e29a444703284333be35df2cc47cba733c5fb5f987385Request Update8304662022-10-03 22:31:0413 hrs 56 mins ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003197061
0x65213d61ba2df642dd45b1e5d82c5cb8b76e84cb17013c37d8580c7904cf127bRequest Update8304562022-10-03 21:58:5714 hrs 28 mins ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003132241
0xa80418b93e70a47e7b261e44b5ec3ae325fd605fecdf4b6829321a9e7f642bd1Request Update8304512022-10-03 21:47:0214 hrs 40 mins ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.000321471
0xcc2575749c6b6b653561ae1d9d59dd3cb80953faf8627326ea47c7f8ce63dba9Request Update8304392022-10-03 21:23:0115 hrs 4 mins ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003130211
0xedb62c232e5521b28286b5a9fa350829cdf2be39cc097e6085e6dacd09343175Request Update8302442022-10-03 14:38:4321 hrs 48 mins ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003757541
0xcc50005fae3ac2076f00be4e34951d889daf93a187b7380714dc3da9c0468292Request Update8302332022-10-03 14:26:3922 hrs 1 min ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003817011
0xdc8425febb346e3af3edcb8c5c01b440a0894daa8a7c453c31873fd4704da564Request Update8301842022-10-03 13:36:3622 hrs 51 mins ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003247541
0xb1504450d2eafbfc4aa69556c9ce70381f7f617601a89b4d2e655b9ac16d40f8Request Update8301732022-10-03 13:24:3823 hrs 3 mins ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003298851
0x9d97029135067c70146177649adf4316cfdee334e9c8a7bca40803a4ddb03660Request Update8301092022-10-03 11:56:361 day 31 mins ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003002071
0x0729819f5583ad0e3a1a6303d6bb0a2317ff61b267118e4fdedf744fbdf399bfRequest Update8300792022-10-03 10:36:321 day 1 hr ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0002833011
0x488ddab07bd6e3047d9a0d8bc8a630d9d80cf4dd96f8a2ae83829931795e3603Request Update8300742022-10-03 10:24:341 day 2 hrs ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0002833011
0x876b89609cde47df05ade94ed631352f5fc5e6f35fb8be04ad78ec3f15083442Request Update8300422022-10-03 9:02:301 day 3 hrs ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003359831
0x7114f32a24a00602710b9cd94e72d135d28138905c30214d37e193d61160d818Request Update8300362022-10-03 8:50:301 day 3 hrs ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003210681
0x38a6b897f26742524f72e246c1f035d029be5def24dd0d226d65c86948548e5fRequest Update8299112022-10-03 4:46:231 day 7 hrs ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003625921
0xc2781a5a116d88a638c82d345918fb625ca08e33fa00d7c9839e65d2e6babfd0Request Update8297942022-10-02 23:58:091 day 12 hrs ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0002975021
0x441622977ebbb64431364ab42c66475984a77a57fd6561f950c2fca2d7ef12abRequest Update8297892022-10-02 23:46:071 day 12 hrs ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003041521
0xca130587d00654bdd7f3f999ddd5104ca71aa923fc08d588e80d86a10324d5c8Request Update8297772022-10-02 23:34:061 day 12 hrs ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003041521
0x36943c55473dd8616a770587f767cae3b069f427d8d9108c5217feed134dda29Request Update8297672022-10-02 23:22:051 day 13 hrs ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0002849041
0x67122542682083812f4218d7850fff2caedbd6ca4523220f82de6d90c818e97fRequest Update8297062022-10-02 21:46:031 day 14 hrs ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0003090781
0xd5fda64082ca00c4e7e9fbfade36c70bd5c5377f6580639c5aefa5a09e87689eRequest Update8296392022-10-02 18:47:531 day 17 hrs ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0002903511
0x49b1c34e5bbd94f226bf72bf14d127806292badd495717a1d45defedbc74fbc6Request Update8296322022-10-02 18:35:531 day 17 hrs ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0002975441
0x70c5307b4a6ca4a2a2a03c52abd856ec35e51625f2913c6e6120c5dfb288adb3Request Update8296262022-10-02 18:23:551 day 18 hrs ago0x102cb4da51a9936ba2297be8c930b4ca658586da IN  0x96d017f938b5425713ab4d8ce460e1dd04b962ca0.000245 Ether0.0002889391
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x9afc9c3af11b5753fb689c3e0939d9be9193ff28264e966e9503e74d0d6478818306862022-10-04 6:03:256 hrs 24 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca0x102cb4da51a9936ba2297be8c930b4ca658586da0 Ether
0x9afc9c3af11b5753fb689c3e0939d9be9193ff28264e966e9503e74d0d6478818306862022-10-04 6:03:256 hrs 24 mins ago 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e292 0x96d017f938b5425713ab4d8ce460e1dd04b962ca0 Ether
0x9afc9c3af11b5753fb689c3e0939d9be9193ff28264e966e9503e74d0d6478818306862022-10-04 6:03:256 hrs 24 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920.000245 Ether
0x9afc9c3af11b5753fb689c3e0939d9be9193ff28264e966e9503e74d0d6478818306862022-10-04 6:03:256 hrs 24 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920 Ether
0x9afc9c3af11b5753fb689c3e0939d9be9193ff28264e966e9503e74d0d6478818306862022-10-04 6:03:256 hrs 24 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920 Ether
0x9afc9c3af11b5753fb689c3e0939d9be9193ff28264e966e9503e74d0d6478818306862022-10-04 6:03:256 hrs 24 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920 Ether
0x9afc9c3af11b5753fb689c3e0939d9be9193ff28264e966e9503e74d0d6478818306862022-10-04 6:03:256 hrs 24 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920 Ether
0x7dd5906a82f045d05caf687010d8c86aeb2517667cfbbcce7ca45ceea445cd758306112022-10-04 3:23:189 hrs 4 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca0x102cb4da51a9936ba2297be8c930b4ca658586da0 Ether
0x7dd5906a82f045d05caf687010d8c86aeb2517667cfbbcce7ca45ceea445cd758306112022-10-04 3:23:189 hrs 4 mins ago 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e292 0x96d017f938b5425713ab4d8ce460e1dd04b962ca0 Ether
0x7dd5906a82f045d05caf687010d8c86aeb2517667cfbbcce7ca45ceea445cd758306112022-10-04 3:23:189 hrs 4 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920.000245 Ether
0x7dd5906a82f045d05caf687010d8c86aeb2517667cfbbcce7ca45ceea445cd758306112022-10-04 3:23:189 hrs 4 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920 Ether
0x7dd5906a82f045d05caf687010d8c86aeb2517667cfbbcce7ca45ceea445cd758306112022-10-04 3:23:189 hrs 4 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920 Ether
0x7dd5906a82f045d05caf687010d8c86aeb2517667cfbbcce7ca45ceea445cd758306112022-10-04 3:23:189 hrs 4 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920 Ether
0x7dd5906a82f045d05caf687010d8c86aeb2517667cfbbcce7ca45ceea445cd758306112022-10-04 3:23:189 hrs 4 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920 Ether
0x7efa7db5c3c8d6f13d6600736639bc69bf4391bb02a2b9d393d416cf21a7e7168304742022-10-03 22:43:0213 hrs 44 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca0x102cb4da51a9936ba2297be8c930b4ca658586da0 Ether
0x7efa7db5c3c8d6f13d6600736639bc69bf4391bb02a2b9d393d416cf21a7e7168304742022-10-03 22:43:0213 hrs 44 mins ago 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e292 0x96d017f938b5425713ab4d8ce460e1dd04b962ca0 Ether
0x7efa7db5c3c8d6f13d6600736639bc69bf4391bb02a2b9d393d416cf21a7e7168304742022-10-03 22:43:0213 hrs 44 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920.000245 Ether
0x7efa7db5c3c8d6f13d6600736639bc69bf4391bb02a2b9d393d416cf21a7e7168304742022-10-03 22:43:0213 hrs 44 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920 Ether
0x7efa7db5c3c8d6f13d6600736639bc69bf4391bb02a2b9d393d416cf21a7e7168304742022-10-03 22:43:0213 hrs 44 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920 Ether
0x7efa7db5c3c8d6f13d6600736639bc69bf4391bb02a2b9d393d416cf21a7e7168304742022-10-03 22:43:0213 hrs 44 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920 Ether
0x7efa7db5c3c8d6f13d6600736639bc69bf4391bb02a2b9d393d416cf21a7e7168304742022-10-03 22:43:0213 hrs 44 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920 Ether
0xdcd3652aa9b6cb82022e29a444703284333be35df2cc47cba733c5fb5f9873858304662022-10-03 22:31:0413 hrs 56 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca0x102cb4da51a9936ba2297be8c930b4ca658586da0 Ether
0xdcd3652aa9b6cb82022e29a444703284333be35df2cc47cba733c5fb5f9873858304662022-10-03 22:31:0413 hrs 56 mins ago 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e292 0x96d017f938b5425713ab4d8ce460e1dd04b962ca0 Ether
0xdcd3652aa9b6cb82022e29a444703284333be35df2cc47cba733c5fb5f9873858304662022-10-03 22:31:0413 hrs 56 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920.000245 Ether
0xdcd3652aa9b6cb82022e29a444703284333be35df2cc47cba733c5fb5f9873858304662022-10-03 22:31:0413 hrs 56 mins ago 0x96d017f938b5425713ab4d8ce460e1dd04b962ca 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e2920 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WitnetPriceFeed

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at bobascan.com on 2022-08-12
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.7.0 <0.9.0;
pragma experimental ABIEncoderV2;

// File: node_modules\witnet-solidity-bridge\contracts\interfaces\IWitnetRequestBoardEvents.sol
/// @title Witnet Request Board emitting events interface.
/// @author The Witnet Foundation.
interface IWitnetRequestBoardEvents {
    /// Emitted when a Witnet Data Request is posted to the WRB.
    event PostedRequest(uint256 queryId, address from);

    /// Emitted when a Witnet-solved result is reported to the WRB.
    event PostedResult(uint256 queryId, address from);

    /// Emitted when all data related to given query is deleted from the WRB.
    event DeletedQuery(uint256 queryId, address from);
}
// File: node_modules\witnet-solidity-bridge\contracts\interfaces\IWitnetRequestBoardReporter.sol
/// @title The Witnet Request Board Reporter interface.
/// @author The Witnet Foundation.
interface IWitnetRequestBoardReporter {
    /// Reports the Witnet-provided result to a previously posted request. 
    /// @dev Will assume `block.timestamp` as the timestamp at which the request was solved.
    /// @dev Fails if:
    /// @dev - the `_queryId` is not in 'Posted' status.
    /// @dev - provided `_drTxHash` is zero;
    /// @dev - length of provided `_result` is zero.
    /// @param _queryId The unique identifier of the data request.
    /// @param _drTxHash The hash of the corresponding data request transaction in Witnet.
    /// @param _result The result itself as bytes.
    function reportResult(
            uint256 _queryId,
            bytes32 _drTxHash,
            bytes calldata _result
        ) external;

    /// Reports the Witnet-provided result to a previously posted request.
    /// @dev Fails if:
    /// @dev - called from unauthorized address;
    /// @dev - the `_queryId` is not in 'Posted' status.
    /// @dev - provided `_drTxHash` is zero;
    /// @dev - length of provided `_result` is zero.
    /// @param _queryId The unique query identifier
    /// @param _timestamp The timestamp of the solving tally transaction in Witnet.
    /// @param _drTxHash The hash of the corresponding data request transaction in Witnet.
    /// @param _result The result itself as bytes.
    function reportResult(
            uint256 _queryId,
            uint256 _timestamp,
            bytes32 _drTxHash,
            bytes calldata _result
        ) external;

    /// Reports Witnet-provided results to multiple requests within a single EVM tx.
    /// @dev Must emit a PostedResult event for every succesfully reported result.
    /// @param _batchResults Array of BatchResult structs, every one containing:
    ///         - unique query identifier;
    ///         - timestamp of the solving tally txs in Witnet. If zero is provided, EVM-timestamp will be used instead;
    ///         - hash of the corresponding data request tx at the Witnet side-chain level;
    ///         - data request result in raw bytes.
    /// @param _verbose If true, must emit a BatchReportError event for every failing report, if any. 
    function reportResultBatch(BatchResult[] calldata _batchResults, bool _verbose) external;
        
        struct BatchResult {
            uint256 queryId;
            uint256 timestamp;
            bytes32 drTxHash;
            bytes   cborBytes;
        }

        event BatchReportError(uint256 queryId, string reason);
}
// File: node_modules\witnet-solidity-bridge\contracts\interfaces\IWitnetRequest.sol
/// @title The Witnet Data Request basic interface.
/// @author The Witnet Foundation.
interface IWitnetRequest {
    /// A `IWitnetRequest` is constructed around a `bytes` value containing 
    /// a well-formed Witnet Data Request using Protocol Buffers.
    function bytecode() external view returns (bytes memory);

    /// Returns SHA256 hash of Witnet Data Request as CBOR-encoded bytes.
    function hash() external view returns (bytes32);
}
// File: node_modules\witnet-solidity-bridge\contracts\libs\Witnet.sol
library Witnet {

    /// @notice Witnet function that computes the hash of a CBOR-encoded Data Request.
    /// @param _bytecode CBOR-encoded RADON.
    function hash(bytes memory _bytecode) internal pure returns (bytes32) {
        return sha256(_bytecode);
    }

    /// Struct containing both request and response data related to every query posted to the Witnet Request Board
    struct Query {
        Request request;
        Response response;
        address from;      // Address from which the request was posted.
    }

    /// Possible status of a Witnet query.
    enum QueryStatus {
        Unknown,
        Posted,
        Reported,
        Deleted
    }

    /// Data kept in EVM-storage for every Request posted to the Witnet Request Board.
    struct Request {
        IWitnetRequest addr;    // The contract containing the Data Request which execution has been requested.
        address requester;      // Address from which the request was posted.
        bytes32 hash;           // Hash of the Data Request whose execution has been requested.
        uint256 gasprice;       // Minimum gas price the DR resolver should pay on the solving tx.
        uint256 reward;         // Escrowed reward to be paid to the DR resolver.
    }

    /// Data kept in EVM-storage containing Witnet-provided response metadata and result.
    struct Response {
        address reporter;       // Address from which the result was reported.
        uint256 timestamp;      // Timestamp of the Witnet-provided result.
        bytes32 drTxHash;       // Hash of the Witnet transaction that solved the queried Data Request.
        bytes   cborBytes;      // Witnet-provided result CBOR-bytes to the queried Data Request.
    }

    /// Data struct containing the Witnet-provided result to a Data Request.
    struct Result {
        bool success;           // Flag stating whether the request could get solved successfully, or not.
        CBOR value;             // Resulting value, in CBOR-serialized bytes.
    }

    /// Data struct following the RFC-7049 standard: Concise Binary Object Representation.
    struct CBOR {
        Buffer buffer;
        uint8 initialByte;
        uint8 majorType;
        uint8 additionalInformation;
        uint64 len;
        uint64 tag;
    }

    /// Iterable bytes buffer.
    struct Buffer {
        bytes data;
        uint32 cursor;
    }

    /// Witnet error codes table.
    enum ErrorCodes {
        // 0x00: Unknown error. Something went really bad!
        Unknown,
        // Script format errors
        /// 0x01: At least one of the source scripts is not a valid CBOR-encoded value.
        SourceScriptNotCBOR,
        /// 0x02: The CBOR value decoded from a source script is not an Array.
        SourceScriptNotArray,
        /// 0x03: The Array value decoded form a source script is not a valid Data Request.
        SourceScriptNotRADON,
        /// Unallocated
        ScriptFormat0x04,
        ScriptFormat0x05,
        ScriptFormat0x06,
        ScriptFormat0x07,
        ScriptFormat0x08,
        ScriptFormat0x09,
        ScriptFormat0x0A,
        ScriptFormat0x0B,
        ScriptFormat0x0C,
        ScriptFormat0x0D,
        ScriptFormat0x0E,
        ScriptFormat0x0F,
        // Complexity errors
        /// 0x10: The request contains too many sources.
        RequestTooManySources,
        /// 0x11: The script contains too many calls.
        ScriptTooManyCalls,
        /// Unallocated
        Complexity0x12,
        Complexity0x13,
        Complexity0x14,
        Complexity0x15,
        Complexity0x16,
        Complexity0x17,
        Complexity0x18,
        Complexity0x19,
        Complexity0x1A,
        Complexity0x1B,
        Complexity0x1C,
        Complexity0x1D,
        Complexity0x1E,
        Complexity0x1F,
        // Operator errors
        /// 0x20: The operator does not exist.
        UnsupportedOperator,
        /// Unallocated
        Operator0x21,
        Operator0x22,
        Operator0x23,
        Operator0x24,
        Operator0x25,
        Operator0x26,
        Operator0x27,
        Operator0x28,
        Operator0x29,
        Operator0x2A,
        Operator0x2B,
        Operator0x2C,
        Operator0x2D,
        Operator0x2E,
        Operator0x2F,
        // Retrieval-specific errors
        /// 0x30: At least one of the sources could not be retrieved, but returned HTTP error.
        HTTP,
        /// 0x31: Retrieval of at least one of the sources timed out.
        RetrievalTimeout,
        /// Unallocated
        Retrieval0x32,
        Retrieval0x33,
        Retrieval0x34,
        Retrieval0x35,
        Retrieval0x36,
        Retrieval0x37,
        Retrieval0x38,
        Retrieval0x39,
        Retrieval0x3A,
        Retrieval0x3B,
        Retrieval0x3C,
        Retrieval0x3D,
        Retrieval0x3E,
        Retrieval0x3F,
        // Math errors
        /// 0x40: Math operator caused an underflow.
        Underflow,
        /// 0x41: Math operator caused an overflow.
        Overflow,
        /// 0x42: Tried to divide by zero.
        DivisionByZero,
        /// Unallocated
        Math0x43,
        Math0x44,
        Math0x45,
        Math0x46,
        Math0x47,
        Math0x48,
        Math0x49,
        Math0x4A,
        Math0x4B,
        Math0x4C,
        Math0x4D,
        Math0x4E,
        Math0x4F,
        // Other errors
        /// 0x50: Received zero reveals
        NoReveals,
        /// 0x51: Insufficient consensus in tally precondition clause
        InsufficientConsensus,
        /// 0x52: Received zero commits
        InsufficientCommits,
        /// 0x53: Generic error during tally execution
        TallyExecution,
        /// Unallocated
        OtherError0x54,
        OtherError0x55,
        OtherError0x56,
        OtherError0x57,
        OtherError0x58,
        OtherError0x59,
        OtherError0x5A,
        OtherError0x5B,
        OtherError0x5C,
        OtherError0x5D,
        OtherError0x5E,
        OtherError0x5F,
        /// 0x60: Invalid reveal serialization (malformed reveals are converted to this value)
        MalformedReveal,
        /// Unallocated
        OtherError0x61,
        OtherError0x62,
        OtherError0x63,
        OtherError0x64,
        OtherError0x65,
        OtherError0x66,
        OtherError0x67,
        OtherError0x68,
        OtherError0x69,
        OtherError0x6A,
        OtherError0x6B,
        OtherError0x6C,
        OtherError0x6D,
        OtherError0x6E,
        OtherError0x6F,
        // Access errors
        /// 0x70: Tried to access a value from an index using an index that is out of bounds
        ArrayIndexOutOfBounds,
        /// 0x71: Tried to access a value from a map using a key that does not exist
        MapKeyNotFound,
        /// Unallocated
        OtherError0x72,
        OtherError0x73,
        OtherError0x74,
        OtherError0x75,
        OtherError0x76,
        OtherError0x77,
        OtherError0x78,
        OtherError0x79,
        OtherError0x7A,
        OtherError0x7B,
        OtherError0x7C,
        OtherError0x7D,
        OtherError0x7E,
        OtherError0x7F,
        OtherError0x80,
        OtherError0x81,
        OtherError0x82,
        OtherError0x83,
        OtherError0x84,
        OtherError0x85,
        OtherError0x86,
        OtherError0x87,
        OtherError0x88,
        OtherError0x89,
        OtherError0x8A,
        OtherError0x8B,
        OtherError0x8C,
        OtherError0x8D,
        OtherError0x8E,
        OtherError0x8F,
        OtherError0x90,
        OtherError0x91,
        OtherError0x92,
        OtherError0x93,
        OtherError0x94,
        OtherError0x95,
        OtherError0x96,
        OtherError0x97,
        OtherError0x98,
        OtherError0x99,
        OtherError0x9A,
        OtherError0x9B,
        OtherError0x9C,
        OtherError0x9D,
        OtherError0x9E,
        OtherError0x9F,
        OtherError0xA0,
        OtherError0xA1,
        OtherError0xA2,
        OtherError0xA3,
        OtherError0xA4,
        OtherError0xA5,
        OtherError0xA6,
        OtherError0xA7,
        OtherError0xA8,
        OtherError0xA9,
        OtherError0xAA,
        OtherError0xAB,
        OtherError0xAC,
        OtherError0xAD,
        OtherError0xAE,
        OtherError0xAF,
        OtherError0xB0,
        OtherError0xB1,
        OtherError0xB2,
        OtherError0xB3,
        OtherError0xB4,
        OtherError0xB5,
        OtherError0xB6,
        OtherError0xB7,
        OtherError0xB8,
        OtherError0xB9,
        OtherError0xBA,
        OtherError0xBB,
        OtherError0xBC,
        OtherError0xBD,
        OtherError0xBE,
        OtherError0xBF,
        OtherError0xC0,
        OtherError0xC1,
        OtherError0xC2,
        OtherError0xC3,
        OtherError0xC4,
        OtherError0xC5,
        OtherError0xC6,
        OtherError0xC7,
        OtherError0xC8,
        OtherError0xC9,
        OtherError0xCA,
        OtherError0xCB,
        OtherError0xCC,
        OtherError0xCD,
        OtherError0xCE,
        OtherError0xCF,
        OtherError0xD0,
        OtherError0xD1,
        OtherError0xD2,
        OtherError0xD3,
        OtherError0xD4,
        OtherError0xD5,
        OtherError0xD6,
        OtherError0xD7,
        OtherError0xD8,
        OtherError0xD9,
        OtherError0xDA,
        OtherError0xDB,
        OtherError0xDC,
        OtherError0xDD,
        OtherError0xDE,
        OtherError0xDF,
        // Bridge errors: errors that only belong in inter-client communication
        /// 0xE0: Requests that cannot be parsed must always get this error as their result.
        /// However, this is not a valid result in a Tally transaction, because invalid requests
        /// are never included into blocks and therefore never get a Tally in response.
        BridgeMalformedRequest,
        /// 0xE1: Witnesses exceeds 100
        BridgePoorIncentives,
        /// 0xE2: The request is rejected on the grounds that it may cause the submitter to spend or stake an
        /// amount of value that is unjustifiably high when compared with the reward they will be getting
        BridgeOversizedResult,
        /// Unallocated
        OtherError0xE3,
        OtherError0xE4,
        OtherError0xE5,
        OtherError0xE6,
        OtherError0xE7,
        OtherError0xE8,
        OtherError0xE9,
        OtherError0xEA,
        OtherError0xEB,
        OtherError0xEC,
        OtherError0xED,
        OtherError0xEE,
        OtherError0xEF,
        OtherError0xF0,
        OtherError0xF1,
        OtherError0xF2,
        OtherError0xF3,
        OtherError0xF4,
        OtherError0xF5,
        OtherError0xF6,
        OtherError0xF7,
        OtherError0xF8,
        OtherError0xF9,
        OtherError0xFA,
        OtherError0xFB,
        OtherError0xFC,
        OtherError0xFD,
        OtherError0xFE,
        // This should not exist:
        /// 0xFF: Some tally error is not intercepted but should
        UnhandledIntercept
    }
}
// File: node_modules\witnet-solidity-bridge\contracts\interfaces\IWitnetRequestBoardRequestor.sol
/// @title Witnet Requestor Interface
/// @notice It defines how to interact with the Witnet Request Board in order to:
///   - request the execution of Witnet Radon scripts (data request);
///   - upgrade the resolution reward of any previously posted request, in case gas price raises in mainnet;
///   - read the result of any previously posted request, eventually reported by the Witnet DON.
///   - remove from storage all data related to past and solved data requests, and results.
/// @author The Witnet Foundation.
interface IWitnetRequestBoardRequestor {
    /// Retrieves a copy of all Witnet-provided data related to a previously posted request, removing the whole query from the WRB storage.
    /// @dev Fails if the `_queryId` is not in 'Reported' status, or called from an address different to
    /// @dev the one that actually posted the given request.
    /// @param _queryId The unique query identifier.
    function deleteQuery(uint256 _queryId) external returns (Witnet.Response memory);

    /// Requests the execution of the given Witnet Data Request in expectation that it will be relayed and solved by the Witnet DON.
    /// A reward amount is escrowed by the Witnet Request Board that will be transferred to the reporter who relays back the Witnet-provided 
    /// result to this request.
    /// @dev Fails if:
    /// @dev - provided reward is too low.
    /// @dev - provided script is zero address.
    /// @dev - provided script bytecode is empty.
    /// @param _addr The address of the IWitnetRequest contract that can provide the actual Data Request bytecode.
    /// @return _queryId An unique query identifier.
    function postRequest(IWitnetRequest _addr) external payable returns (uint256 _queryId);

    /// Increments the reward of a previously posted request by adding the transaction value to it.
    /// @dev Updates request `gasPrice` in case this method is called with a higher 
    /// @dev gas price value than the one used in previous calls to `postRequest` or
    /// @dev `upgradeReward`. 
    /// @dev Fails if the `_queryId` is not in 'Posted' status.
    /// @dev Fails also in case the request `gasPrice` is increased, and the new 
    /// @dev reward value gets below new recalculated threshold. 
    /// @param _queryId The unique query identifier.
    function upgradeReward(uint256 _queryId) external payable;
}
// File: node_modules\witnet-solidity-bridge\contracts\interfaces\IWitnetRequestBoardView.sol
/// @title Witnet Request Board info interface.
/// @author The Witnet Foundation.
interface IWitnetRequestBoardView {
    /// Estimates the amount of reward we need to insert for a given gas price.
    /// @param _gasPrice The gas price for which we need to calculate the rewards.
    function estimateReward(uint256 _gasPrice) external view returns (uint256);

    /// Returns next query id to be generated by the Witnet Request Board.
    function getNextQueryId() external view returns (uint256);

    /// Gets the whole Query data contents, if any, no matter its current status.
    function getQueryData(uint256 _queryId) external view returns (Witnet.Query memory);

    /// Gets current status of given query.
    function getQueryStatus(uint256 _queryId) external view returns (Witnet.QueryStatus);

    /// Retrieves the whole Request record posted to the Witnet Request Board.
    /// @dev Fails if the `_queryId` is not valid or, if it has already been reported
    /// @dev or deleted.
    /// @param _queryId The unique identifier of a previously posted query.
    function readRequest(uint256 _queryId) external view returns (Witnet.Request memory);

    /// Retrieves the serialized bytecode of a previously posted Witnet Data Request.
    /// @dev Fails if the `_queryId` is not valid, or if the related script bytecode 
    /// @dev got changed after being posted. Returns empty array once it gets reported, 
    /// @dev or deleted.
    /// @param _queryId The unique query identifier.
    function readRequestBytecode(uint256 _queryId) external view returns (bytes memory);

    /// Retrieves the gas price that any assigned reporter will have to pay when reporting 
    /// result to a previously posted Witnet data request.
    /// @dev Fails if the `_queryId` is not valid or, if it has already been 
    /// @dev reported, or deleted. 
    /// @param _queryId The unique query identifie
    function readRequestGasPrice(uint256 _queryId) external view returns (uint256);

    /// Retrieves the reward currently set for the referred query.
    /// @dev Fails if the `_queryId` is not valid or, if it has already been 
    /// @dev reported, or deleted. 
    /// @param _queryId The unique query identifier.
    function readRequestReward(uint256 _queryId) external view returns (uint256);

    /// Retrieves the whole `Witnet.Response` record referred to a previously posted Witnet Data Request.
    /// @dev Fails if the `_queryId` is not in 'Reported' status.
    /// @param _queryId The unique query identifier.
    function readResponse(uint256 _queryId) external view returns (Witnet.Response memory);

    /// Retrieves the hash of the Witnet transaction hash that actually solved the referred query.
    /// @dev Fails if the `_queryId` is not in 'Reported' status.
    /// @param _queryId The unique query identifier.
    function readResponseDrTxHash(uint256 _queryId) external view returns (bytes32);    

    /// Retrieves the address that reported the result to a previously-posted request.
    /// @dev Fails if the `_queryId` is not in 'Reported' status.
    /// @param _queryId The unique query identifier.
    function readResponseReporter(uint256 _queryId) external view returns (address);

    /// Retrieves the Witnet-provided CBOR-bytes result of a previously posted request.
    /// @dev Fails if the `_queryId` is not in 'Reported' status.
    /// @param _queryId The unique query identifier.
    function readResponseResult(uint256 _queryId) external view returns (Witnet.Result memory);

    /// Retrieves the timestamp in which the result to the referred query was solved by the Witnet DON.
    /// @dev Fails if the `_queryId` is not in 'Reported' status.
    /// @param _queryId The unique query identifier.
    function readResponseTimestamp(uint256 _queryId) external view returns (uint256);
}
// File: node_modules\witnet-solidity-bridge\contracts\interfaces\IWitnetRequestParser.sol
/// @title The Witnet interface for decoding Witnet-provided request to Data Requests.
/// This interface exposes functions to check for the success/failure of
/// a Witnet-provided result, as well as to parse and convert result into
/// Solidity types suitable to the application level. 
/// @author The Witnet Foundation.
interface IWitnetRequestParser {

    /// Decode raw CBOR bytes into a Witnet.Result instance.
    /// @param _cborBytes Raw bytes representing a CBOR-encoded value.
    /// @return A `Witnet.Result` instance.
    function resultFromCborBytes(bytes memory _cborBytes) external pure returns (Witnet.Result memory);

    /// Decode a CBOR value into a Witnet.Result instance.
    /// @param _cborValue An instance of `Witnet.CBOR`.
    /// @return A `Witnet.Result` instance.
    function resultFromCborValue(Witnet.CBOR memory _cborValue) external pure returns (Witnet.Result memory);

    /// Tell if a Witnet.Result is successful.
    /// @param _result An instance of Witnet.Result.
    /// @return `true` if successful, `false` if errored.
    function isOk(Witnet.Result memory _result) external pure returns (bool);

    /// Tell if a Witnet.Result is errored.
    /// @param _result An instance of Witnet.Result.
    /// @return `true` if errored, `false` if successful.
    function isError(Witnet.Result memory _result) external pure returns (bool);

    /// Decode a bytes value from a Witnet.Result as a `bytes` value.
    /// @param _result An instance of Witnet.Result.
    /// @return The `bytes` decoded from the Witnet.Result.
    function asBytes(Witnet.Result memory _result) external pure returns (bytes memory);

    /// Decode a bytes value from a Witnet.Result as a `bytes32` value.
    /// @param _result An instance of Witnet.Result.
    /// @return The `bytes32` decoded from the Witnet.Result.
    function asBytes32(Witnet.Result memory _result) external pure returns (bytes32);

    /// Decode an error code from a Witnet.Result as a member of `Witnet.ErrorCodes`.
    /// @param _result An instance of `Witnet.Result`.
    /// @return The `CBORValue.Error memory` decoded from the Witnet.Result.
    function asErrorCode(Witnet.Result memory _result) external pure returns (Witnet.ErrorCodes);


    /// Generate a suitable error message for a member of `Witnet.ErrorCodes` and its corresponding arguments.
    /// @dev WARN: Note that client contracts should wrap this function into a try-catch foreseing potential errors generated in this function
    /// @param _result An instance of `Witnet.Result`.
    /// @return A tuple containing the `CBORValue.Error memory` decoded from the `Witnet.Result`, plus a loggable error message.
    function asErrorMessage(Witnet.Result memory _result) external pure returns (Witnet.ErrorCodes, string memory);

    /// Decode a raw error from a `Witnet.Result` as a `uint64[]`.
    /// @param _result An instance of `Witnet.Result`.
    /// @return The `uint64[]` raw error as decoded from the `Witnet.Result`.
    function asRawError(Witnet.Result memory _result) external pure returns(uint64[] memory);

    /// Decode a boolean value from a Witnet.Result as an `bool` value.
    /// @param _result An instance of Witnet.Result.
    /// @return The `bool` decoded from the Witnet.Result.
    function asBool(Witnet.Result memory _result) external pure returns (bool);

    /// Decode a fixed16 (half-precision) numeric value from a Witnet.Result as an `int32` value.
    /// @dev Due to the lack of support for floating or fixed point arithmetic in the EVM, this method offsets all values.
    /// by 5 decimal orders so as to get a fixed precision of 5 decimal positions, which should be OK for most `fixed16`.
    /// use cases. In other words, the output of this method is 10,000 times the actual value, encoded into an `int32`.
    /// @param _result An instance of Witnet.Result.
    /// @return The `int128` decoded from the Witnet.Result.
    function asFixed16(Witnet.Result memory _result) external pure returns (int32);

    /// Decode an array of fixed16 values from a Witnet.Result as an `int128[]` value.
    /// @param _result An instance of Witnet.Result.
    /// @return The `int128[]` decoded from the Witnet.Result.
    function asFixed16Array(Witnet.Result memory _result) external pure returns (int32[] memory);

    /// Decode a integer numeric value from a Witnet.Result as an `int128` value.
    /// @param _result An instance of Witnet.Result.
    /// @return The `int128` decoded from the Witnet.Result.
    function asInt128(Witnet.Result memory _result) external pure returns (int128);

    /// Decode an array of integer numeric values from a Witnet.Result as an `int128[]` value.
    /// @param _result An instance of Witnet.Result.
    /// @return The `int128[]` decoded from the Witnet.Result.
    function asInt128Array(Witnet.Result memory _result) external pure returns (int128[] memory);

    /// Decode a string value from a Witnet.Result as a `string` value.
    /// @param _result An instance of Witnet.Result.
    /// @return The `string` decoded from the Witnet.Result.
    function asString(Witnet.Result memory _result) external pure returns (string memory);

    /// Decode an array of string values from a Witnet.Result as a `string[]` value.
    /// @param _result An instance of Witnet.Result.
    /// @return The `string[]` decoded from the Witnet.Result.
    function asStringArray(Witnet.Result memory _result) external pure returns (string[] memory);

    /// Decode a natural numeric value from a Witnet.Result as a `uint64` value.
    /// @param _result An instance of Witnet.Result.
    /// @return The `uint64` decoded from the Witnet.Result.
    function asUint64(Witnet.Result memory _result) external pure returns(uint64);

    /// Decode an array of natural numeric values from a Witnet.Result as a `uint64[]` value.
    /// @param _result An instance of Witnet.Result.
    /// @return The `uint64[]` decoded from the Witnet.Result.
    function asUint64Array(Witnet.Result memory _result) external pure returns (uint64[] memory);

}
// File: node_modules\witnet-solidity-bridge\contracts\WitnetRequestBoard.sol
/// @title Witnet Request Board functionality base contract.
/// @author The Witnet Foundation.
abstract contract WitnetRequestBoard is
    IWitnetRequestBoardEvents,
    IWitnetRequestBoardReporter,
    IWitnetRequestBoardRequestor,
    IWitnetRequestBoardView,
    IWitnetRequestParser
{
    receive() external payable {
        revert("WitnetRequestBoard: no transfers accepted");
    }
}
// File: witnet-solidity-bridge\contracts\UsingWitnet.sol
/// @title The UsingWitnet contract
/// @dev Witnet-aware contracts can inherit from this contract in order to interact with Witnet.
/// @author The Witnet Foundation.
abstract contract UsingWitnet {

    WitnetRequestBoard public immutable witnet;

    /// Include an address to specify the WitnetRequestBoard entry point address.
    /// @param _wrb The WitnetRequestBoard entry point address.
    constructor(WitnetRequestBoard _wrb)
    {
        require(address(_wrb) != address(0), "UsingWitnet: zero address");
        witnet = _wrb;
    }

    /// Provides a convenient way for client contracts extending this to block the execution of the main logic of the
    /// contract until a particular request has been successfully solved and reported by Witnet.
    modifier witnetRequestSolved(uint256 _id) {
        require(
                _witnetCheckResultAvailability(_id),
                "UsingWitnet: request not solved"
            );
        _;
    }

    /// Check if a data request has been solved and reported by Witnet.
    /// @dev Contracts depending on Witnet should not start their main business logic (e.g. receiving value from third.
    /// parties) before this method returns `true`.
    /// @param _id The unique identifier of a previously posted data request.
    /// @return A boolean telling if the request has been already resolved or not. Returns `false` also, if the result was deleted.
    function _witnetCheckResultAvailability(uint256 _id)
        internal view
        virtual
        returns (bool)
    {
        return witnet.getQueryStatus(_id) == Witnet.QueryStatus.Reported;
    }

    /// Estimate the reward amount.
    /// @param _gasPrice The gas price for which we want to retrieve the estimation.
    /// @return The reward to be included when either posting a new request, or upgrading the reward of a previously posted one.
    function _witnetEstimateReward(uint256 _gasPrice)
        internal view
        virtual
        returns (uint256)
    {
        return witnet.estimateReward(_gasPrice);
    }

    /// Estimates the reward amount, considering current transaction gas price.
    /// @return The reward to be included when either posting a new request, or upgrading the reward of a previously posted one.
    function _witnetEstimateReward()
        internal view
        virtual
        returns (uint256)
    {
        return witnet.estimateReward(tx.gasprice);
    }

    /// Send a new request to the Witnet network with transaction value as a reward.
    /// @param _request An instance of `IWitnetRequest` contract.
    /// @return _id Sequential identifier for the request included in the WitnetRequestBoard.
    /// @return _reward Current reward amount escrowed by the WRB until a result gets reported.
    function _witnetPostRequest(IWitnetRequest _request)
        internal
        virtual
        returns (uint256 _id, uint256 _reward)
    {
        _reward = _witnetEstimateReward();
        require(
            _reward <= msg.value,
            "UsingWitnet: reward too low"
        );
        _id = witnet.postRequest{value: _reward}(_request);
    }

    /// Upgrade the reward for a previously posted request.
    /// @dev Call to `upgradeReward` function in the WitnetRequestBoard contract.
    /// @param _id The unique identifier of a request that has been previously sent to the WitnetRequestBoard.
    /// @return Amount in which the reward has been increased.
    function _witnetUpgradeReward(uint256 _id)
        internal
        virtual
        returns (uint256)
    {
        uint256 _currentReward = witnet.readRequestReward(_id);        
        uint256 _newReward = _witnetEstimateReward();
        uint256 _fundsToAdd = 0;
        if (_newReward > _currentReward) {
            _fundsToAdd = (_newReward - _currentReward);
        }
        witnet.upgradeReward{value: _fundsToAdd}(_id); // Let Request.gasPrice be updated
        return _fundsToAdd;
    }

    /// Read the Witnet-provided result to a previously posted request.
    /// @param _id The unique identifier of a request that was posted to Witnet.
    /// @return The result of the request as an instance of `Witnet.Result`.
    function _witnetReadResult(uint256 _id)
        internal view
        virtual
        returns (Witnet.Result memory)
    {
        return witnet.readResponseResult(_id);
    }

    /// Retrieves copy of all response data related to a previously posted request, removing the whole query from storage.
    /// @param _id The unique identifier of a previously posted request.
    /// @return The Witnet-provided result to the request.
    function _witnetDeleteQuery(uint256 _id)
        internal
        virtual
        returns (Witnet.Response memory)
    {
        return witnet.deleteQuery(_id);
    }

}
// File: node_modules\witnet-solidity-bridge\contracts\requests\WitnetRequestBase.sol
abstract contract WitnetRequestBase
    is
        IWitnetRequest
{
    /// Contains a well-formed Witnet Data Request, encoded using Protocol Buffers.
    bytes public override bytecode;

    /// Returns SHA256 hash of Witnet Data Request as CBOR-encoded bytes.
    bytes32 public override hash;
}
// File: witnet-solidity-bridge\contracts\requests\WitnetRequest.sol
contract WitnetRequest
    is
        WitnetRequestBase
{
    using Witnet for bytes;
    constructor(bytes memory _bytecode) {
        bytecode = _bytecode;
        hash = _bytecode.hash();
    }
}
// File: ado-contracts\contracts\interfaces\IERC2362.sol
/**
* @dev EIP2362 Interface for pull oracles
* https://github.com/adoracles/EIPs/blob/erc-2362/EIPS/eip-2362.md
*/
interface IERC2362
{
	/**
	 * @dev Exposed function pertaining to EIP standards
	 * @param _id bytes32 ID of the query
	 * @return int,uint,uint returns the value, timestamp, and status code of query
	 */
	function valueFor(bytes32 _id) external view returns(int256,uint256,uint256);
}
// File: node_modules\witnet-solidity-bridge\contracts\interfaces\IERC165.sol
/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
// File: node_modules\witnet-solidity-bridge\contracts\interfaces\IWitnetPriceRouter.sol
/// @title The Witnet Price Router basic interface.
/// @dev Guides implementation of price feeds aggregation contracts.
/// @author The Witnet Foundation.
abstract contract IWitnetPriceRouter
    is
        IERC2362 
{
    /// Emitted everytime a currency pair is attached to a new price feed contract
    /// @dev See https://github.com/adoracles/ADOIPs/blob/main/adoip-0010.md 
    /// @dev to learn how these ids are created.
    event CurrencyPairSet(bytes32 indexed erc2362ID, IERC165 pricefeed);

    /// Helper pure function: returns hash of the provided ERC2362-compliant currency pair caption (aka ID).
    function currencyPairId(string memory) external pure virtual returns (bytes32);

    /// Returns the ERC-165-compliant price feed contract currently serving 
    /// updates on the given currency pair.
    function getPriceFeed(bytes32 _erc2362id) external view virtual returns (IERC165);

    /// Returns human-readable ERC2362-based caption of the currency pair being
    /// served by the given price feed contract address. 
    /// @dev Should fail if the given price feed contract address is not currently
    /// @dev registered in the router.
    function getPriceFeedCaption(IERC165) external view virtual returns (string memory);

    /// Returns human-readable caption of the ERC2362-based currency pair identifier, if known.
    function lookupERC2362ID(bytes32 _erc2362id) external view virtual returns (string memory);

    /// Register a price feed contract that will serve updates for the given currency pair.
    /// @dev Setting zero address to a currency pair implies that it will not be served any longer.
    /// @dev Otherwise, should fail if the price feed contract does not support the `IWitnetPriceFeed` interface,
    /// @dev or if given price feed is already serving another currency pair (within this WitnetPriceRouter instance).
    function setPriceFeed(
            IERC165 _pricefeed,
            uint256 _decimals,
            string calldata _base,
            string calldata _quote
        )
        external virtual;

    /// Returns list of known currency pairs IDs.
    function supportedCurrencyPairs() external view virtual returns (bytes32[] memory);

    /// Returns `true` if given pair is currently being served by a compliant price feed contract.
    function supportsCurrencyPair(bytes32 _erc2362id) external view virtual returns (bool);

    /// Returns `true` if given price feed contract is currently serving updates to any known currency pair. 
    function supportsPriceFeed(IERC165 _priceFeed) external view virtual returns (bool);
}
// File: node_modules\@openzeppelin\contracts\utils\Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)


/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}
// File: @openzeppelin\contracts\access\Ownable.sol
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)



/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
// File: node_modules\witnet-solidity-bridge\contracts\interfaces\IWitnetPriceFeed.sol
/// @title The Witnet Price Feed basic interface.
/// @dev Guides implementation of active price feed polling contracts.
/// @author The Witnet Foundation.

interface IWitnetPriceFeed {

    /// Signals that a new price update request is being posted to the Witnet Request Board
    event PriceFeeding(address indexed from, uint256 queryId, uint256 extraFee);

    /// Estimates minimum fee amount in native currency to be paid when 
    /// requesting a new price update.
    /// @dev Actual fee depends on the gas price of the `requestUpdate()` transaction.
    /// @param _gasPrice Gas price expected to be paid when calling `requestUpdate()`
    function estimateUpdateFee(uint256 _gasPrice) external view returns (uint256);

    /// Returns result of the last valid price update request successfully solved by the Witnet oracle.
    function lastPrice() external view returns (int256);

    /// Returns the EVM-timestamp when last valid price was reported back from the Witnet oracle.
    function lastTimestamp() external view returns (uint256);    

    /// Returns tuple containing last valid price and timestamp, as well as status code of latest update
    /// request that got posted to the Witnet Request Board.
    /// @return _lastPrice Last valid price reported back from the Witnet oracle.
    /// @return _lastTimestamp EVM-timestamp of the last valid price.
    /// @return _lastDrTxHash Hash of the Witnet Data Request that solved the last valid price.
    /// @return _latestUpdateStatus Status code of the latest update request.
    function lastValue() external view returns (
        int _lastPrice,
        uint _lastTimestamp,
        bytes32 _lastDrTxHash,
        uint _latestUpdateStatus
    );

    /// Returns identifier of the latest update request posted to the Witnet Request Board.
    function latestQueryId() external view returns (uint256);

    /// Returns hash of the Witnet Data Request that solved the latest update request.
    /// @dev Returning 0 while the latest update request remains unsolved.
    function latestUpdateDrTxHash() external view returns (bytes32);

    /// Returns error message of latest update request posted to the Witnet Request Board.
    /// @dev Returning empty string if the latest update request remains unsolved, or
    /// @dev if it was succesfully solved with no errors.
    function latestUpdateErrorMessage() external view returns (string memory);

    /// Returns status code of latest update request posted to the Witnet Request Board:
    /// @dev Status codes:
    /// @dev   - 200: update request was succesfully solved with no errors
    /// @dev   - 400: update request was solved with errors
    /// @dev   - 404: update request was not solved yet 
    function latestUpdateStatus() external view returns (uint256);

    /// Returns `true` if latest update request posted to the Witnet Request Board 
    /// has not been solved yet by the Witnet oracle.
    function pendingUpdate() external view returns (bool);

    /// Posts a new price update request to the Witnet Request Board. Requires payment of a fee
    /// that depends on the value of `tx.gasprice`. See `estimateUpdateFee(uint256)`.
    /// @dev If previous update request was not solved yet, calling this method again allows
    /// @dev upgrading the update fee if called with a higher `tx.gasprice` value.
    function requestUpdate() external payable;

    /// Tells whether this contract implements the interface defined by `interfaceId`. 
    /// @dev See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
    /// @dev to learn more about how these ids are created.
    function supportsInterface(bytes4) external view returns (bool);
}
// File: @openzeppelin\contracts\utils\Strings.sol
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)


/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}
// File: witnet-solidity-bridge\contracts\apps\WitnetPriceRouter.sol
contract WitnetPriceRouter
    is
        IWitnetPriceRouter,
        Ownable
{
    using Strings for uint256;
    
    struct Pair {
        IERC165 pricefeed;
        uint256 decimals;
        string  base;
        string  quote;
    }    

    mapping (bytes4 => Pair) internal __pairs;
    mapping (address => bytes32) internal __pricefeedId_;

    bytes32[] internal __supportedCurrencyPairs;

    // ========================================================================
    // --- Implementation of 'IERC2362' ---------------------------------------

    /// Returns last valid price value and timestamp, as well as status of
    /// the latest update request that got posted to the Witnet Request Board. 
    /// @dev Fails if the given currency pair is not currently supported.
    /// @param _erc2362id Price pair identifier as specified in https://github.com/adoracles/ADOIPs/blob/main/adoip-0010.md
    /// @return _lastPrice Last valid price reported back from the Witnet oracle.
    /// @return _lastTimestamp EVM-timestamp of the last valid price.
    /// @return _latestUpdateStatus Status code of latest update request that got posted to the Witnet Request Board:
    ///          - 200: latest update request was succesfully solved with no errors
    ///          - 400: latest update request was solved with errors
    ///          - 404: latest update request is still pending to be solved    
	function valueFor(bytes32 _erc2362id)
        external view
        virtual override
        returns (
            int256 _lastPrice,
            uint256 _lastTimestamp,
            uint256 _latestUpdateStatus
        )
    {
        IWitnetPriceFeed _pricefeed = IWitnetPriceFeed(address(getPriceFeed(_erc2362id)));
        require(address(_pricefeed) != address(0), "WitnetPriceRouter: unsupported currency pair");
        (_lastPrice, _lastTimestamp,, _latestUpdateStatus) = _pricefeed.lastValue();
    }


    // ========================================================================
    // --- Implementation of 'IWitnetPriceRouter' ---------------------------    

    /// Helper pure function: returns hash of the provided ERC2362-compliant currency pair caption (aka ID).
    function currencyPairId(string memory _caption)
        public pure
        virtual override
        returns (bytes32)
    {
        return keccak256(bytes(_caption));
    }

    /// Returns the ERC-165-compliant price feed contract currently serving 
    /// updates on the given currency pair.
    function getPriceFeed(bytes32 _erc2362id)
        public view
        virtual override
        returns (IERC165)
    {
        return __pairs[bytes4(_erc2362id)].pricefeed;
    }

    /// Returns human-readable ERC2362-based caption of the currency pair being
    /// served by the given price feed contract address. 
    /// @dev Fails if the given price feed contract address is not currently
    /// @dev registered in the router.
    function getPriceFeedCaption(IERC165 _pricefeed) 
        public view
        virtual override
        returns (string memory)
    {
        require(supportsPriceFeed(_pricefeed), "WitnetPriceRouter: unknown");
        return lookupERC2362ID(__pricefeedId_[address(_pricefeed)]);
    }

    /// Returns human-readable caption of the ERC2362-based currency pair identifier, if known.
    function lookupERC2362ID(bytes32 _erc2362id)
        public view
        virtual override
        returns (string memory _caption)
    {
        Pair storage _pair = __pairs[bytes4(_erc2362id)];
        if (
            bytes(_pair.base).length > 0 
                && bytes(_pair.quote).length > 0
        ) {
            _caption = string(abi.encodePacked(
                "Price-",
                _pair.base,
                "/",
                _pair.quote,
                "-",
                _pair.decimals.toString()
            ));
        }
    }

    /// Register a price feed contract that will serve updates for the given currency pair.
    /// @dev Setting zero address to a currency pair implies that it will not be served any longer.
    /// @dev Otherwise, fails if the price feed contract does not support the `IWitnetPriceFeed` interface,
    /// @dev or if given price feed is already serving another currency pair (within this WitnetPriceRouter instance).
    function setPriceFeed(
            IERC165 _pricefeed,
            uint256 _decimals,
            string calldata _base,
            string calldata _quote
        )
        public 
        virtual override
        onlyOwner
    {
        if (address(_pricefeed) != address(0)) {
            require(
                _pricefeed.supportsInterface(type(IWitnetPriceFeed).interfaceId),
                "WitnetPriceRouter: feed contract is not compliant with IWitnetPriceFeed"
            );
            require(
                __pricefeedId_[address(_pricefeed)] == bytes32(0),
                "WitnetPriceRouter: already serving a currency pair"
            );
        }
        bytes memory _caption = abi.encodePacked(
            "Price-",
            bytes(_base),
            "/",
            bytes(_quote),
            "-",
            _decimals.toString()
        );
        bytes32 _erc2362id = keccak256(_caption);
        
        Pair storage _record = __pairs[bytes4(_erc2362id)];
        address _currentPriceFeed = address(_record.pricefeed);
        if (bytes(_record.base).length == 0) {
            _record.base = _base;
            _record.quote = _quote;
            _record.decimals = _decimals;
            __supportedCurrencyPairs.push(_erc2362id);
        }
        else if (_currentPriceFeed != address(0)) {
            __pricefeedId_[_currentPriceFeed] = bytes32(0);
        }
        if (address(_pricefeed) != _currentPriceFeed) {
            __pricefeedId_[address(_pricefeed)] = _erc2362id;
        }
        _record.pricefeed = _pricefeed;
        emit CurrencyPairSet(_erc2362id, _pricefeed);
    }

    /// Returns list of known currency pairs IDs.
    function supportedCurrencyPairs()
        external view
        virtual override
        returns (bytes32[] memory)
    {
        return __supportedCurrencyPairs;
    }

    /// Returns `true` if given pair is currently being served by a compliant price feed contract.
    function supportsCurrencyPair(bytes32 _erc2362id)
        public view
        virtual override
        returns (bool)
    {
        return address(__pairs[bytes4(_erc2362id)].pricefeed) != address(0);
    }

    /// Returns `true` if given price feed contract is currently serving updates to any known currency pair. 
    function supportsPriceFeed(IERC165 _pricefeed)
        public view
        virtual override
        returns (bool)
    {
        return __pairs[bytes4(__pricefeedId_[address(_pricefeed)])].pricefeed == _pricefeed;
    }
}
// File: contracts\WitnetPriceFeed.sol
// force WitnetPriceRouter artifact generation on deployment


// Your contract needs to inherit from UsingWitnet
contract WitnetPriceFeed
    is
        IWitnetPriceFeed,
        UsingWitnet,
        WitnetRequest
{
    using Witnet for bytes;

    /// Stores the ID of the last price update posted to the Witnet Request Board.
    uint256 public override latestQueryId;

    /// Stores the ID of the last price update succesfully solved by the WRB.
    uint256 internal __lastValidQueryId;

    /// Constructor.
    /// @param _witnetRequestBoard WitnetRequestBoard entrypoint address.
    /// @param _witnetRequestBytecode Raw bytecode of Witnet Data Request to be used on every update request.
    constructor (
            WitnetRequestBoard _witnetRequestBoard,
            bytes memory _witnetRequestBytecode
        )
        UsingWitnet(_witnetRequestBoard)
        WitnetRequest(_witnetRequestBytecode)
    {}

    /// Estimates minimum fee amount in native currency to be paid when
    /// requesting a new price update.
    /// @dev Actual fee depends on the gas price of the `requestUpdate()` transaction.
    /// @param _gasPrice Gas price expected to be paid when calling `requestUpdate()`
    function estimateUpdateFee(uint256 _gasPrice)
        external view
        virtual override
        returns (uint256)
    {
        return witnet.estimateReward(_gasPrice);
    }

    /// Returns result of the last valid price update request successfully solved by the Witnet oracle.
    function lastPrice()
        public view
        virtual override
        returns (int256 _lastPrice)
    {
        Witnet.Result memory _result;
        uint _latestQueryId = latestQueryId;
        if (
            _latestQueryId > 0
                && _witnetCheckResultAvailability(_latestQueryId)
        ) {
            _result = witnet.readResponseResult(_latestQueryId);
            if (_result.success) {
                return int256(int64(witnet.asUint64(_result)));
            }
        }
        if (__lastValidQueryId > 0) {
            _result = witnet.readResponseResult(__lastValidQueryId);
            return int256(int64(witnet.asUint64(_result)));
        }
    }

    /// Returns the EVM-timestamp when last valid price was reported back from the Witnet oracle.
    function lastTimestamp()
        public view
        virtual override
        returns (uint256 _lastTimestamp)
    {
        Witnet.Result memory _result;
        Witnet.Response memory _response;
        uint _latestQueryId = latestQueryId;
        if (
            _latestQueryId > 0
                && _witnetCheckResultAvailability(_latestQueryId)
        ) {
            _response = witnet.readResponse(_latestQueryId);
            _result = witnet.resultFromCborBytes(_response.cborBytes);
            if (_result.success) {
                return _response.timestamp;
            }
        }
        if (__lastValidQueryId > 0) {
            _response = witnet.readResponse(__lastValidQueryId);
            return _response.timestamp;
        }
    }

    /// Returns tuple containing last valid price and timestamp, as well as status code of latest update
    /// request that got posted to the Witnet Request Board.
    /// @return _lastPrice Last valid price reported back from the Witnet oracle.
    /// @return _lastTimestamp EVM-timestamp of the last valid price.
    /// @return _lastDrTxHash Hash of the Witnet Data Request that solved the last valid price.
    /// @return _latestUpdateStatus Status code of the latest update request.
    function lastValue()
        external view
        virtual override
        returns (
            int _lastPrice,
            uint _lastTimestamp,
            bytes32 _lastDrTxHash,
            uint _latestUpdateStatus
        )
    {
        uint _latestQueryId = latestQueryId;
        if (_latestQueryId > 0) {
            bool _completed = _witnetCheckResultAvailability(_latestQueryId);
            if (_completed) {
                Witnet.Response memory _latestResponse = witnet.readResponse(_latestQueryId);
                Witnet.Result memory _latestResult = witnet.resultFromCborBytes(_latestResponse.cborBytes);
                if (_latestResult.success) {
                    return (
                        int256(int64(witnet.asUint64(_latestResult))),
                        _latestResponse.timestamp,
                        _latestResponse.drTxHash,
                        200
                    );
                }
            }
            if (__lastValidQueryId > 0) {
                Witnet.Response memory _lastValidResponse = witnet.readResponse(__lastValidQueryId);
                Witnet.Result memory _lastValidResult = witnet.resultFromCborBytes(_lastValidResponse.cborBytes);
                return (
                    int256(int64(witnet.asUint64(_lastValidResult))),
                    _lastValidResponse.timestamp,
                    _lastValidResponse.drTxHash,
                    _completed ? 400 : 404
                );
            }
        }
        return (0, 0, 0, 404);
    }

    /// Returns identifier of the latest update request posted to the Witnet Request Board.
    /// @dev Returning 0 while the latest update request remains unsolved.
    function latestUpdateDrTxHash()
        external view
        virtual override
        returns (bytes32)
    {
        uint256 _latestQueryId = latestQueryId;
        if (_latestQueryId > 0) {
            if (_witnetCheckResultAvailability(_latestQueryId)) {
                return witnet.readResponseDrTxHash(_latestQueryId);
            }
        }
        return bytes32(0);
    }

    /// Returns error message of latest update request posted to the Witnet Request Board.
    /// @dev Returning empty string if the latest update request remains unsolved, or
    /// @dev if it was succesfully solved with no errors.
    function latestUpdateErrorMessage()
        external view
        virtual override
        returns (string memory _errorMessage)
    {
        uint256 _latestQueryId = latestQueryId;
        if (_latestQueryId > 0) {
            if (_witnetCheckResultAvailability(_latestQueryId)) {
                Witnet.Result memory _latestResult = witnet.readResponseResult(_latestQueryId);
                if (_latestResult.success == false) {
                    (, _errorMessage) = witnet.asErrorMessage(_latestResult);
                }
            }
        }
    }

    /// Returns status code of latest update request posted to the Witnet Request Board:
    /// @dev Status codes:
    /// @dev   - 200: update request was succesfully solved with no errors
    /// @dev   - 400: update request was solved with errors
    /// @dev   - 404: update request was not solved yet
    function latestUpdateStatus()
        public view
        virtual override
        returns (uint256)
    {
        uint _latestQueryId = latestQueryId;
        if (_latestQueryId > 0) {
            if (_witnetCheckResultAvailability(_latestQueryId)) {
                Witnet.Result memory _result = witnet.readResponseResult(_latestQueryId);
                return (
                    _result.success
                        ? 200 // OK
                        : 400 // Bad result
                );
            } else {
                return 404; // not yet solved;
            }
        }
        return 200;
    }

    /// Returns `true` if latest update request posted to the Witnet Request Board
    /// has not been solved yet by the Witnet oracle.
    function pendingUpdate()
        public view
        virtual override
        returns (bool)
    {
        return (
            latestQueryId != 0
                && !_witnetCheckResultAvailability(latestQueryId)
        );
    }

    /// Posts a new price update request to the Witnet Request Board. Requires payment of a fee
    /// that depends on the value of `tx.gasprice`. See `estimateUpdateFee(uint256)`.
    /// @dev If previous update request was not solved yet, calling this method again allows
    /// @dev upgrading the update fee if called with a higher `tx.gasprice` value.
    function requestUpdate()
        public payable
        virtual override
    {
        uint _usedFunds;
        uint _latestQueryId = latestQueryId;
        uint _latestUpdateStatus = latestUpdateStatus();
        if (_latestUpdateStatus == 404) {
            // latest update is still pending, so just raise upgrade reward,
            // accordingly to current tx gasprice:
            _usedFunds = _witnetUpgradeReward(_latestQueryId);
        } else {
            // Check if latest update ended successfully:
            if (_latestUpdateStatus == 200) {
                // If so, remove previous last valid query from the WRB:
                if (__lastValidQueryId > 0) {
                    _witnetDeleteQuery(__lastValidQueryId);
                }
                __lastValidQueryId = _latestQueryId;
            } else {
                // Otherwise, delete latest query, as it was faulty
                // and we are about to post a new update request:
                _witnetDeleteQuery(_latestQueryId);
            }
            // Post update request to the WRB:
            (_latestQueryId, _usedFunds) = _witnetPostRequest(this);
            // Update latest query id:
            latestQueryId = _latestQueryId;
        }
        // Transfer back unused funds:
        payable(msg.sender).transfer(msg.value - _usedFunds);
        if (_usedFunds > 0) {
            emit PriceFeeding(msg.sender, _latestQueryId, _usedFunds);
        }
    }

    /// Tells whether this contract implements the interface defined by `interfaceId`.
    /// @dev See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
    /// @dev to learn more about how these ids are created.
    function supportsInterface(bytes4 _interfaceId)
        public view
        virtual override
        returns (bool)
    {
        return (
            _interfaceId == type(IERC165).interfaceId
                || _interfaceId == type(IWitnetPriceFeed).interfaceId
        );
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract WitnetRequestBoard","name":"_witnetRequestBoard","type":"address"},{"internalType":"bytes","name":"_witnetRequestBytecode","type":"bytes"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"queryId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"extraFee","type":"uint256"}],"name":"PriceFeeding","type":"event"},{"inputs":[],"name":"bytecode","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_gasPrice","type":"uint256"}],"name":"estimateUpdateFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastPrice","outputs":[{"internalType":"int256","name":"_lastPrice","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimestamp","outputs":[{"internalType":"uint256","name":"_lastTimestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastValue","outputs":[{"internalType":"int256","name":"_lastPrice","type":"int256"},{"internalType":"uint256","name":"_lastTimestamp","type":"uint256"},{"internalType":"bytes32","name":"_lastDrTxHash","type":"bytes32"},{"internalType":"uint256","name":"_latestUpdateStatus","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestQueryId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestUpdateDrTxHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestUpdateErrorMessage","outputs":[{"internalType":"string","name":"_errorMessage","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestUpdateStatus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingUpdate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"requestUpdate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"witnet","outputs":[{"internalType":"contract WitnetRequestBoard","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60a06040523480156200001157600080fd5b5060405162001f8538038062001f85833981016040819052620000349162000222565b80826001600160a01b038116620000915760405162461bcd60e51b815260206004820152601960248201527f5573696e675769746e65743a207a65726f206164647265737300000000000000604482015260640160405180910390fd5b6001600160a01b03166080528051620000b290600090602084019062000133565b50620000c981620000d660201b620010651760201c565b6001555062000371915050565b6000600282604051620000ea9190620002fd565b602060405180830381855afa15801562000108573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906200012d91906200031b565b92915050565b828054620001419062000335565b90600052602060002090601f016020900481019282620001655760008555620001b0565b82601f106200018057805160ff1916838001178555620001b0565b82800160010185558215620001b0579182015b82811115620001b057825182559160200191906001019062000193565b50620001be929150620001c2565b5090565b5b80821115620001be5760008155600101620001c3565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200020c578181015183820152602001620001f2565b838111156200021c576000848401525b50505050565b600080604083850312156200023657600080fd5b82516001600160a01b03811681146200024e57600080fd5b60208401519092506001600160401b03808211156200026c57600080fd5b818501915085601f8301126200028157600080fd5b815181811115620002965762000296620001d9565b604051601f8201601f19908116603f01168101908382118183101715620002c157620002c1620001d9565b81604052828152886020848701011115620002db57600080fd5b620002ee836020830160208801620001ef565b80955050505050509250929050565b6000825162000311818460208701620001ef565b9190910192915050565b6000602082840312156200032e57600080fd5b5051919050565b600181811c908216806200034a57607f821691505b6020821081036200036b57634e487b7160e01b600052602260045260246000fd5b50919050565b608051611b5062000435600039600081816101c00152818161032f015281816103c701528181610469015281816104fa0152818161059201528181610628015281816106d70152818161079e0152818161081b015281816108cf0152818161098d01528181610a0f01528181610abc01528181610b9a01528181610c4001528181610cdc01528181610e7c01528181610f30015281816110d10152818161117f01528181611225015281816112cd015281816113c601526114540152611b506000f3fe6080604052600436106100dc5760003560e01c80635f7fac8c1161007f578063b15cde0711610059578063b15cde0714610246578063c47500c91461025b578063d86d8ebc14610270578063f09400021461028657600080fd5b80635f7fac8c146101fa57806371bc17651461021a5780639c312cfd1461023c57600080fd5b806309bd5a60116100bb57806309bd5a601461014e57806319d8ac6114610164578063431838341461017957806346d1d21a146101ae57600080fd5b8062a4dcac146100e157806301ffc9a71461010b578063053f14da1461012b575b600080fd5b3480156100ed57600080fd5b506100f661029b565b60405190151581526020015b60405180910390f35b34801561011757600080fd5b506100f661012636600461151a565b6102bd565b34801561013757600080fd5b506101406102f4565b604051908152602001610102565b34801561015a57600080fd5b5061014060015481565b34801561017057600080fd5b50610140610534565b34801561018557600080fd5b5061018e610760565b604080519485526020850193909352918301526060820152608001610102565b3480156101ba57600080fd5b506101e27f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610102565b34801561020657600080fd5b5061014061021536600461154b565b610b81565b34801561022657600080fd5b5061022f610c0d565b60405161010291906115c0565b610244610d5f565b005b34801561025257600080fd5b50610140610e4c565b34801561026757600080fd5b50610140610efd565b34801561027c57600080fd5b5061014060025481565b34801561029257600080fd5b5061022f610fd7565b60006002546000141580156102b857506102b66002546110b7565b155b905090565b60006001600160e01b031982166301ffc9a760e01b14806102ee57506001600160e01b03198216632089297160e11b145b92915050565b60006102fe6114c7565b60025480158015906103145750610314816110b7565b15610447576040516335369a6b60e21b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d4da69ac90602401600060405180830381865afa15801561037e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103a6919081019061171a565b8051909250156104475760405163bc7e25ff60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063bc7e25ff906103fc90859060040161186d565b602060405180830381865afa158015610419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043d9190611928565b60070b9250505090565b6003541561052f576003546040516335369a6b60e21b815260048101919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d4da69ac90602401600060405180830381865afa1580156104b8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104e0919081019061171a565b60405163bc7e25ff60e01b81529092506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063bc7e25ff906103fc90859060040161186d565b505090565b600061053e6114c7565b604080516080810182526000808252602082018190529181019190915260608082015260025480158015906105775750610577816110b7565b156106b557604051633aa72df560e11b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063754e5bea90602401600060405180830381865afa1580156105e1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106099190810190611943565b606081015160405163e99e47f360e01b81529193506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163e99e47f39161065b916004016115c0565b600060405180830381865afa158015610678573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106a0919081019061171a565b8051909350156106b557506020015192915050565b6003541561075a57600354604051633aa72df560e11b815260048101919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063754e5bea90602401600060405180830381865afa158015610726573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261074e9190810190611943565b60200151949350505050565b50505090565b6002546000908190819081908015610b6a57600061077d826110b7565b9050801561096857604051633aa72df560e11b8152600481018390526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063754e5bea90602401600060405180830381865afa1580156107ed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108159190810190611943565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e99e47f383606001516040518263ffffffff1660e01b815260040161086991906115c0565b600060405180830381865afa158015610886573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108ae919081019061171a565b8051909150156109655760405163bc7e25ff60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063bc7e25ff9061090490849060040161186d565b602060405180830381865afa158015610921573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109459190611928565b60070b8260200151836040015160c8975097509750975050505050610b7b565b50505b60035415610b6857600354604051633aa72df560e11b81526000916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163754e5bea916109c49160040190815260200190565b600060405180830381865afa1580156109e1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a099190810190611943565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e99e47f383606001516040518263ffffffff1660e01b8152600401610a5d91906115c0565b600060405180830381865afa158015610a7a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610aa2919081019061171a565b60405163bc7e25ff60e01b81529091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063bc7e25ff90610af190849060040161186d565b602060405180830381865afa158015610b0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b329190611928565b60070b8260200151836040015185610b4c57610194610b50565b6101905b8061ffff169050975097509750975050505050610b7b565b505b506000935083925082915061019490505b90919293565b60405163d2e8756160e01b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d2e8756190602401602060405180830381865afa158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ee91906119e5565b6002546060908015610d5b57610c22816110b7565b15610d5b576040516335369a6b60e21b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d4da69ac90602401600060405180830381865afa158015610c8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cb7919081019061171a565b8051909150151560000361052f57604051636ba401df60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d74803be90610d1190849060040161186d565b600060405180830381865afa158015610d2e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d5691908101906119fe565b935050505b5090565b60025460009081610d6e610efd565b90508061019403610d8957610d828261115c565b9250610dce565b8060c803610db05760035415610da657610da4600354611294565b505b6003829055610dbb565b610db982611294565b505b610dc430611346565b6002829055935091505b336108fc610ddc8534611a68565b6040518115909202916000818181858888f19350505050158015610e04573d6000803e3d6000fd5b508215610e4757604080518381526020810185905233917f177160e50d083725209651bf251badbab2b70d078dda089acd2101eefccd82c7910160405180910390a25b505050565b6002546000908015610ef557610e61816110b7565b15610ef55760405163dc3c71cd60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063dc3c71cd90602401602060405180830381865afa158015610ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eef91906119e5565b91505090565b506000919050565b6002546000908015610fcf57610f12816110b7565b15610fc6576040516335369a6b60e21b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d4da69ac90602401600060405180830381865afa158015610f7f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fa7919081019061171a565b8051909150610fb857610190610fbb565b60c85b61ffff169250505090565b61019491505090565b60c891505090565b60008054610fe490611a8d565b80601f016020809104026020016040519081016040528092919081815260200182805461101090611a8d565b801561105d5780601f106110325761010080835404028352916020019161105d565b820191906000526020600020905b81548152906001019060200180831161104057829003601f168201915b505050505081565b60006002826040516110779190611ac7565b602060405180830381855afa158015611094573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906102ee91906119e5565b60006002604051631bc1eaf360e21b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636f07abcc90602401602060405180830381865afa158015611120573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111449190611af9565b600381111561115557611155611ae3565b1492915050565b604051631dd27daf60e01b81526004810182905260009081906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690631dd27daf90602401602060405180830381865afa1580156111c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ea91906119e5565b905060006111f661143c565b905060008282111561120f5761120c8383611a68565b90505b6040516366bfdc7560e01b8152600481018690527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906366bfdc759083906024016000604051808303818588803b15801561127257600080fd5b505af1158015611286573d6000803e3d6000fd5b509398975050505050505050565b6040805160808101825260008082526020820181905291810191909152606080820152604051637c1fbda360e01b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690637c1fbda3906024016000604051808303816000875af115801561131e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102ee9190810190611943565b60008061135161143c565b9050348111156113a75760405162461bcd60e51b815260206004820152601b60248201527f5573696e675769746e65743a2072657761726420746f6f206c6f770000000000604482015260640160405180910390fd5b60405163b281a7bd60e01b81526001600160a01b0384811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063b281a7bd90839060240160206040518083038185885af1158015611410573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061143591906119e5565b9150915091565b60405163d2e8756160e01b81523a60048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d2e8756190602401602060405180830381865afa1580156114a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b891906119e5565b6040805180820182526000808252825161010081018452606060c0820181815260e083018490528252602082810184905294820183905281018290526080810182905260a0810191909152909182015290565b60006020828403121561152c57600080fd5b81356001600160e01b03198116811461154457600080fd5b9392505050565b60006020828403121561155d57600080fd5b5035919050565b60005b8381101561157f578181015183820152602001611567565b8381111561158e576000848401525b50505050565b600081518084526115ac816020860160208601611564565b601f01601f19169290920160200192915050565b6020815260006115446020830184611594565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561160c5761160c6115d3565b60405290565b60405160c0810167ffffffffffffffff8111828210171561160c5761160c6115d3565b6040516080810167ffffffffffffffff8111828210171561160c5761160c6115d3565b600067ffffffffffffffff80841115611673576116736115d3565b604051601f8501601f19908116603f0116810190828211818310171561169b5761169b6115d3565b816040528093508581528686860111156116b457600080fd5b6116c2866020830187611564565b5050509392505050565b600082601f8301126116dd57600080fd5b61154483835160208501611658565b805160ff811681146116fd57600080fd5b919050565b805167ffffffffffffffff811681146116fd57600080fd5b6000602080838503121561172d57600080fd5b825167ffffffffffffffff8082111561174557600080fd5b908401906040828703121561175957600080fd5b6117616115e9565b8251801515811461177157600080fd5b8152828401518281111561178457600080fd5b929092019160c0838803121561179957600080fd5b6117a1611612565b8351838111156117b057600080fd5b84016040818a0312156117c257600080fd5b6117ca6115e9565b8151858111156117d957600080fd5b6117e58b8285016116cc565b82525086820151945063ffffffff8516851461180057600080fd5b8087018590528252506118148486016116ec565b85820152611824604085016116ec565b6040820152611835606085016116ec565b606082015261184660808501611702565b608082015261185760a08501611702565b60a0820152938101939093525090949350505050565b6020815281511515602082015260006020830151604080840152805160c06060850152805160406101208601526118a8610160860182611594565b60209283015163ffffffff166101408701529183015160ff81166080870152919050604083015160ff811660a08701529150606083015160ff811660c08701529150608083015167ffffffffffffffff811660e0870152915060a0830151925061191f61010086018467ffffffffffffffff169052565b95945050505050565b60006020828403121561193a57600080fd5b61154482611702565b60006020828403121561195557600080fd5b815167ffffffffffffffff8082111561196d57600080fd5b908301906080828603121561198157600080fd5b611989611635565b82516001600160a01b03811681146119a057600080fd5b8082525060208301516020820152604083015160408201526060830151828111156119ca57600080fd5b6119d6878286016116cc565b60608301525095945050505050565b6000602082840312156119f757600080fd5b5051919050565b60008060408385031215611a1157600080fd5b82516101008110611a2157600080fd5b602084015190925067ffffffffffffffff811115611a3e57600080fd5b8301601f81018513611a4f57600080fd5b611a5e85825160208401611658565b9150509250929050565b600082821015611a8857634e487b7160e01b600052601160045260246000fd5b500390565b600181811c90821680611aa157607f821691505b602082108103611ac157634e487b7160e01b600052602260045260246000fd5b50919050565b60008251611ad9818460208701611564565b9190910192915050565b634e487b7160e01b600052602160045260246000fd5b600060208284031215611b0b57600080fd5b81516004811061154457600080fdfea26469706673582212203940a9e1315a2d4271431eb1b63dc1833b222d7c6ebf43b7b1c59bbfbb402a0464736f6c634300080d0033000000000000000000000000d3ad9a4b26527e3ba5fc60b75eb002d47d98e2920000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000015d0ac802124a0801122f68747470733a2f2f646174612e676174656170692e696f2f617069322f312f7469636b65722f667261785f757364741a15841877821864646c6173748218571a000f4240185b12db010803123a68747470733a2f2f6170692e74686567726170682e636f6d2f7375626772617068732f6e616d652f756e69737761702f756e69737761702d76331a2c861877821866646461746182186664706f6f6c8218646b746f6b656e3150726963658218571a000f4240185b226d7b227175657279223a227b5c6e20202020706f6f6c202869643a205c223078633261383536633361666632313130633131373162386639343232353664343065393830633732365c2229207b5c6e202020202020746f6b656e3150726963655c6e202020207d5c6e20207d227d1a0d0a0908051205fa3fc000001003220d0a0908051205fa40200000100310c0843d180a20c0843d28333080e497d012000000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000d3ad9a4b26527e3ba5fc60b75eb002d47d98e2920000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000015d0ac802124a0801122f68747470733a2f2f646174612e676174656170692e696f2f617069322f312f7469636b65722f667261785f757364741a15841877821864646c6173748218571a000f4240185b12db010803123a68747470733a2f2f6170692e74686567726170682e636f6d2f7375626772617068732f6e616d652f756e69737761702f756e69737761702d76331a2c861877821866646461746182186664706f6f6c8218646b746f6b656e3150726963658218571a000f4240185b226d7b227175657279223a227b5c6e20202020706f6f6c202869643a205c223078633261383536633361666632313130633131373162386639343232353664343065393830633732365c2229207b5c6e202020202020746f6b656e3150726963655c6e202020207d5c6e20207d227d1a0d0a0908051205fa3fc000001003220d0a0908051205fa40200000100310c0843d180a20c0843d28333080e497d012000000

-----Decoded View---------------
Arg [0] : _witnetRequestBoard (address): 0xd3ad9a4b26527e3ba5fc60b75eb002d47d98e292
Arg [1] : _witnetRequestBytecode (bytes): 0x0ac802124a0801122f68747470733a2f2f646174612e676174656170692e696f2f617069322f312f7469636b65722f667261785f757364741a15841877821864646c6173748218571a000f4240185b12db010803123a68747470733a2f2f6170692e74686567726170682e636f6d2f7375626772617068732f6e616d652f756e69737761702f756e69737761702d76331a2c861877821866646461746182186664706f6f6c8218646b746f6b656e3150726963658218571a000f4240185b226d7b227175657279223a227b5c6e20202020706f6f6c202869643a205c223078633261383536633361666632313130633131373162386639343232353664343065393830633732365c2229207b5c6e202020202020746f6b656e3150726963655c6e202020207d5c6e20207d227d1a0d0a0908051205fa3fc000001003220d0a0908051205fa40200000100310c0843d180a20c0843d28333080e497d012

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 000000000000000000000000d3ad9a4b26527e3ba5fc60b75eb002d47d98e292
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 000000000000000000000000000000000000000000000000000000000000015d
Arg [3] : 0ac802124a0801122f68747470733a2f2f646174612e676174656170692e696f
Arg [4] : 2f617069322f312f7469636b65722f667261785f757364741a15841877821864
Arg [5] : 646c6173748218571a000f4240185b12db010803123a68747470733a2f2f6170
Arg [6] : 692e74686567726170682e636f6d2f7375626772617068732f6e616d652f756e
Arg [7] : 69737761702f756e69737761702d76331a2c8618778218666464617461821866
Arg [8] : 64706f6f6c8218646b746f6b656e3150726963658218571a000f4240185b226d
Arg [9] : 7b227175657279223a227b5c6e20202020706f6f6c202869643a205c22307863
Arg [10] : 3261383536633361666632313130633131373162386639343232353664343065
Arg [11] : 393830633732365c2229207b5c6e202020202020746f6b656e3150726963655c
Arg [12] : 6e202020207d5c6e20207d227d1a0d0a0908051205fa3fc000001003220d0a09
Arg [13] : 08051205fa40200000100310c0843d180a20c0843d28333080e497d012000000


Deployed ByteCode Sourcemap

54928:10240:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62503:238;;;;;;;;;;;;;:::i;:::-;;;179:14:1;;172:22;154:41;;142:2;127:18;62503:238:0;;;;;;;;64877:288;;;;;;;;;;-1:-1:-1;64877:288:0;;;;;:::i;:::-;;:::i;56350:703::-;;;;;;;;;;;;;:::i;:::-;;;641:25:1;;;629:2;614:18;56350:703:0;497:175:1;33985:28:0;;;;;;;;;;;;;;;;57160:779;;;;;;;;;;;;;:::i;58445:1563::-;;;;;;;;;;;;;:::i;:::-;;;;1270:25:1;;;1326:2;1311:18;;1304:34;;;;1354:18;;;1347:34;1412:2;1397:18;;1390:34;1257:3;1242:19;58445:1563:0;1041:389:1;28928:42:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1633:32:1;;;1615:51;;1603:2;1588:18;28928:42:0;1435:237:1;56052:185:0;;;;;;;;;;-1:-1:-1;56052:185:0;;;;;:::i;:::-;;:::i;60826:572::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;63111:1491::-;;;:::i;:::-;;60185:395;;;;;;;;;;;;;:::i;61718:638::-;;;;;;;;;;;;;:::i;55156:37::-;;;;;;;;;;;;;;;;33871:30;;;;;;;;;;;;;:::i;62503:238::-;62593:4;62637:13;;62654:1;62637:18;;:85;;;;;62677:45;62708:13;;62677:30;:45::i;:::-;62676:46;62637:85;62615:118;;62503:238;:::o;64877:288::-;64990:4;-1:-1:-1;;;;;;65034:41:0;;-1:-1:-1;;;65034:41:0;;:112;;-1:-1:-1;;;;;;;65096:50:0;;-1:-1:-1;;;65096:50:0;65034:112;65012:145;64877:288;-1:-1:-1;;64877:288:0:o;56350:703::-;56436:17;56471:28;;:::i;:::-;56532:13;;56574:18;;;;;:85;;;56613:46;56644:14;56613:30;:46::i;:::-;56556:309;;;56696:41;;-1:-1:-1;;;56696:41:0;;;;;641:25:1;;;56696:6:0;-1:-1:-1;;;;;56696:25:0;;;;614:18:1;;56696:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;56696:41:0;;;;;;;;;;;;:::i;:::-;56756:15;;56686:51;;-1:-1:-1;56752:102:0;;;56812:24;;-1:-1:-1;;;56812:24:0;;-1:-1:-1;;;;;56812:6:0;:15;;;;:24;;56828:7;;56812:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56799:39;;56792:46;;;;56350:703;:::o;56752:102::-;56879:18;;:22;56875:171;;56954:18;;56928:45;;-1:-1:-1;;;56928:45:0;;;;;641:25:1;;;;56928:6:0;-1:-1:-1;;;;;56928:25:0;;;;614:18:1;;56928:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;56928:45:0;;;;;;;;;;;;:::i;:::-;57008:24;;-1:-1:-1;;;57008:24:0;;56918:55;;-1:-1:-1;;;;;;57008:6:0;:15;;;;:24;;56918:55;;57008:24;;;:::i;56875:171::-;56460:593;;56350:703;:::o;57160:779::-;57250:22;57290:28;;:::i;:::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57394:13:0;;57436:18;;;;;:85;;;57475:46;57506:14;57475:30;:46::i;:::-;57418:357;;;57560:35;;-1:-1:-1;;;57560:35:0;;;;;641:25:1;;;57560:6:0;-1:-1:-1;;;;;57560:19:0;;;;614:18:1;;57560:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;57560:35:0;;;;;;;;;;;;:::i;:::-;57647:19;;;;57620:47;;-1:-1:-1;;;57620:47:0;;57548;;-1:-1:-1;;;;;;57620:6:0;:26;;;;:47;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;57620:47:0;;;;;;;;;;;;:::i;:::-;57686:15;;57610:57;;-1:-1:-1;57682:82:0;;;-1:-1:-1;57729:19:0;;;;57160:779;-1:-1:-1;;57160:779:0:o;57682:82::-;57789:18;;:22;57785:147;;57860:18;;57840:39;;-1:-1:-1;;;57840:39:0;;;;;641:25:1;;;;57840:6:0;-1:-1:-1;;;;;57840:19:0;;;;614:18:1;;57840:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;57840:39:0;;;;;;;;;;;;:::i;:::-;57901:19;;;;57160:779;-1:-1:-1;;;;57160:779:0:o;57785:147::-;57279:660;;;57160:779;:::o;58445:1563::-;58720:13;;58547:14;;;;;;;;58748:18;;58744:1225;;58783:15;58801:46;58832:14;58801:30;:46::i;:::-;58783:64;;58866:10;58862:559;;;58938:35;;-1:-1:-1;;;58938:35:0;;;;;641:25:1;;;58897:38:0;;58938:6;-1:-1:-1;;;;;58938:19:0;;;;614:18:1;;58938:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;58938:35:0;;;;;;;;;;;;:::i;:::-;58897:76;;58992:34;59029:6;-1:-1:-1;;;;;59029:26:0;;59056:15;:25;;;59029:53;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;59029:53:0;;;;;;;;;;;;:::i;:::-;59105:21;;58992:90;;-1:-1:-1;59101:305:0;;;59198:30;;-1:-1:-1;;;59198:30:0;;-1:-1:-1;;;;;59198:6:0;:15;;;;:30;;59214:13;;59198:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59185:45;;59257:15;:25;;;59309:15;:24;;;59360:3;59151:235;;;;;;;;;;;;;;59101:305;58878:543;;58862:559;59439:18;;:22;59435:523;;59546:18;;59526:39;;-1:-1:-1;;;59526:39:0;;59482:41;;-1:-1:-1;;;;;59526:6:0;:19;;;;:39;;;;641:25:1;;;629:2;614:18;;497:175;59526:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;59526:39:0;;;;;;;;;;;;:::i;:::-;59482:83;;59584:37;59624:6;-1:-1:-1;;;;;59624:26:0;;59651:18;:28;;;59624:56;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;59624:56:0;;;;;;;;;;;;:::i;:::-;59742:33;;-1:-1:-1;;;59742:33:0;;59584:96;;-1:-1:-1;;;;;;59742:6:0;:15;;;;:33;;59584:96;;59742:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59729:48;;59800:18;:28;;;59851:18;:27;;;59901:10;:22;;59920:3;59901:22;;;59914:3;59901:22;59699:243;;;;;;;;;;;;;;;;;;;59435:523;58768:1201;58744:1225;-1:-1:-1;59987:1:0;;-1:-1:-1;59987:1:0;;-1:-1:-1;59987:1:0;;-1:-1:-1;59996:3:0;;-1:-1:-1;58445:1563:0;;;;;:::o;56052:185::-;56197:32;;-1:-1:-1;;;56197:32:0;;;;;641:25:1;;;56165:7:0;;56197:6;-1:-1:-1;;;;;56197:21:0;;;;614:18:1;;56197:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;60826:572::-;60999:13;;60929:27;;61027:18;;61023:368;;61066:46;61097:14;61066:30;:46::i;:::-;61062:318;;;61170:41;;-1:-1:-1;;;61170:41:0;;;;;641:25:1;;;61133:34:0;;61170:6;-1:-1:-1;;;;;61170:25:0;;;;614:18:1;;61170:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61170:41:0;;;;;;;;;;;;:::i;:::-;61234:21;;61133:78;;-1:-1:-1;61234:30:0;;:21;:30;61230:135;;61309:36;;-1:-1:-1;;;61309:36:0;;-1:-1:-1;;;;;61309:6:0;:21;;;;:36;;61331:13;;61309:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61309:36:0;;;;;;;;;;;;:::i;:::-;61289:56;-1:-1:-1;;61114:266:0;61062:318;60963:435;60826:572;:::o;63111:1491::-;63250:13;;63202:15;;;63301:20;:18;:20::i;:::-;63274:47;;63336:19;63359:3;63336:26;63332:1046;;63522:36;63543:14;63522:20;:36::i;:::-;63509:49;;63332:1046;;;63654:19;63677:3;63654:26;63650:514;;63779:18;;:22;63775:109;;63826:38;63845:18;;63826;:38::i;:::-;;63775:109;63902:18;:35;;;63650:514;;;64114:34;64133:14;64114:18;:34::i;:::-;;63650:514;64257:24;64276:4;64257:18;:24::i;:::-;64336:13;:30;;;64226:55;-1:-1:-1;64226:55:0;-1:-1:-1;63332:1046:0;64436:10;64428:52;64457:22;64469:10;64457:9;:22;:::i;:::-;64428:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64495:14:0;;64491:104;;64531:52;;;10588:25:1;;;10644:2;10629:18;;10622:34;;;64544:10:0;;64531:52;;10561:18:1;64531:52:0;;;;;;;64491:104;63191:1411;;;63111:1491::o;60185:395::-;60334:13;;60284:7;;60362:18;;60358:187;;60401:46;60432:14;60401:30;:46::i;:::-;60397:137;;;60475:43;;-1:-1:-1;;;60475:43:0;;;;;641:25:1;;;60475:6:0;-1:-1:-1;;;;;60475:27:0;;;;614:18:1;;60475:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60468:50;;;60185:395;:::o;60397:137::-;-1:-1:-1;60570:1:0;;60185:395;-1:-1:-1;60185:395:0:o;61718:638::-;61860:13;;61813:7;;61888:18;;61884:444;;61927:46;61958:14;61927:30;:46::i;:::-;61923:394;;;62025:41;;-1:-1:-1;;;62025:41:0;;;;;641:25:1;;;61994:28:0;;62025:6;-1:-1:-1;;;;;62025:25:0;;;;614:18:1;;62025:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62025:41:0;;;;;;;;;;;;:::i;:::-;62115:15;;61994:72;;-1:-1:-1;62115:83:0;;62195:3;62115:83;;;62158:3;62115:83;62085:146;;;;;;61718:638;:::o;61923:394::-;62279:3;62272:10;;;61718:638;:::o;61923:394::-;62345:3;62338:10;;;61718:638;:::o;33871:30::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4232:113::-;4293:7;4320:17;4327:9;4320:17;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;30170:205::-;30281:4;30340:27;30310:26;;-1:-1:-1;;;30310:26:0;;;;;641:25:1;;;30310:6:0;-1:-1:-1;;;;;30310:21:0;;;;614:18:1;;30310:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:57;;;;;;;;:::i;:::-;;;30170:205;-1:-1:-1;;30170:205:0:o;32243:513::-;32389:29;;-1:-1:-1;;;32389:29:0;;;;;641:25:1;;;32339:7:0;;;;-1:-1:-1;;;;;32389:6:0;:24;;;;614:18:1;;32389:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32364:54;;32437:18;32458:23;:21;:23::i;:::-;32437:44;;32492:19;32543:14;32530:10;:27;32526:103;;;32589:27;32602:14;32589:10;:27;:::i;:::-;32574:43;;32526:103;32639:45;;-1:-1:-1;;;32639:45:0;;;;;641:25:1;;;32639:6:0;-1:-1:-1;;;;;32639:20:0;;;;32667:11;;614:18:1;;32639:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32737:11:0;;32243:513;-1:-1:-1;;;;;;;;32243:513:0:o;33444:172::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33585:23:0;;-1:-1:-1;;;33585:23:0;;;;;641:25:1;;;33585:6:0;-1:-1:-1;;;;;33585:18:0;;;;614::1;;33585:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33585:23:0;;;;;;;;;;;;:::i;31553:362::-;31659:11;31672:15;31715:23;:21;:23::i;:::-;31705:33;;31782:9;31771:7;:20;;31749:97;;;;-1:-1:-1;;;31749:97:0;;12134:2:1;31749:97:0;;;12116:21:1;12173:2;12153:18;;;12146:30;12212:29;12192:18;;;12185:57;12259:18;;31749:97:0;;;;;;;;31863:44;;-1:-1:-1;;;31863:44:0;;-1:-1:-1;;;;;1633:32:1;;;31863:44:0;;;1615:51:1;31863:6:0;:18;;;;31889:7;;1588:18:1;;31863:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31857:50;;31553:362;;;:::o;31035:165::-;31158:34;;-1:-1:-1;;;31158:34:0;;31180:11;31158:34;;;641:25:1;31126:7:0;;31158:6;-1:-1:-1;;;;;31158:21:0;;;;614:18:1;;31158:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;206:286:1:-;264:6;317:2;305:9;296:7;292:23;288:32;285:52;;;333:1;330;323:12;285:52;359:23;;-1:-1:-1;;;;;;411:32:1;;401:43;;391:71;;458:1;455;448:12;391:71;481:5;206:286;-1:-1:-1;;;206:286:1:o;1677:180::-;1736:6;1789:2;1777:9;1768:7;1764:23;1760:32;1757:52;;;1805:1;1802;1795:12;1757:52;-1:-1:-1;1828:23:1;;1677:180;-1:-1:-1;1677:180:1:o;1862:258::-;1934:1;1944:113;1958:6;1955:1;1952:13;1944:113;;;2034:11;;;2028:18;2015:11;;;2008:39;1980:2;1973:10;1944:113;;;2075:6;2072:1;2069:13;2066:48;;;2110:1;2101:6;2096:3;2092:16;2085:27;2066:48;;1862:258;;;:::o;2125:::-;2167:3;2205:5;2199:12;2232:6;2227:3;2220:19;2248:63;2304:6;2297:4;2292:3;2288:14;2281:4;2274:5;2270:16;2248:63;:::i;:::-;2365:2;2344:15;-1:-1:-1;;2340:29:1;2331:39;;;;2372:4;2327:50;;2125:258;-1:-1:-1;;2125:258:1:o;2388:220::-;2537:2;2526:9;2519:21;2500:4;2557:45;2598:2;2587:9;2583:18;2575:6;2557:45;:::i;2836:127::-;2897:10;2892:3;2888:20;2885:1;2878:31;2928:4;2925:1;2918:15;2952:4;2949:1;2942:15;2968:257;3040:4;3034:11;;;3072:17;;3119:18;3104:34;;3140:22;;;3101:62;3098:88;;;3166:18;;:::i;:::-;3202:4;3195:24;2968:257;:::o;3230:253::-;3302:2;3296:9;3344:4;3332:17;;3379:18;3364:34;;3400:22;;;3361:62;3358:88;;;3426:18;;:::i;3488:248::-;3555:2;3549:9;3597:4;3585:17;;3632:18;3617:34;;3653:22;;;3614:62;3611:88;;;3679:18;;:::i;3741:601::-;3816:5;3846:18;3887:2;3879:6;3876:14;3873:40;;;3893:18;;:::i;:::-;3968:2;3962:9;3936:2;4022:15;;-1:-1:-1;;4018:24:1;;;4044:2;4014:33;4010:42;3998:55;;;4068:18;;;4088:22;;;4065:46;4062:72;;;4114:18;;:::i;:::-;4154:10;4150:2;4143:22;4183:6;4174:15;;4213:6;4205;4198:22;4253:3;4244:6;4239:3;4235:16;4232:25;4229:45;;;4270:1;4267;4260:12;4229:45;4283:53;4329:6;4322:4;4314:6;4310:17;4305:3;4283:53;:::i;:::-;;;;3741:601;;;;;:::o;4347:235::-;4400:5;4453:3;4446:4;4438:6;4434:17;4430:27;4420:55;;4471:1;4468;4461:12;4420:55;4493:83;4572:3;4563:6;4557:13;4550:4;4542:6;4538:17;4493:83;:::i;4587:160::-;4664:13;;4717:4;4706:16;;4696:27;;4686:55;;4737:1;4734;4727:12;4686:55;4587:160;;;:::o;4752:175::-;4830:13;;4883:18;4872:30;;4862:41;;4852:69;;4917:1;4914;4907:12;4932:1833;5025:6;5056:2;5099;5087:9;5078:7;5074:23;5070:32;5067:52;;;5115:1;5112;5105:12;5067:52;5148:9;5142:16;5177:18;5218:2;5210:6;5207:14;5204:34;;;5234:1;5231;5224:12;5204:34;5257:22;;;;5313:4;5295:16;;;5291:27;5288:47;;;5331:1;5328;5321:12;5288:47;5357:22;;:::i;:::-;5409:2;5403:9;5457:7;5450:15;5443:23;5434:7;5431:36;5421:64;;5481:1;5478;5471:12;5421:64;5494:22;;5547:11;;;5541:18;5571:16;;;5568:36;;;5600:1;5597;5590:12;5568:36;5623:17;;;;;5674:4;5656:16;;;5652:27;5649:47;;;5692:1;5689;5682:12;5649:47;5720:22;;:::i;:::-;5773:2;5767:9;5801:2;5791:8;5788:16;5785:36;;;5817:1;5814;5807:12;5785:36;5840:17;;5891:4;5873:16;;;5869:27;5866:47;;;5909:1;5906;5899:12;5866:47;5937:22;;:::i;:::-;5990:2;5984:9;6018:2;6008:8;6005:16;6002:36;;;6034:1;6031;6024:12;6002:36;6063:55;6110:7;6099:8;6095:2;6091:17;6063:55;:::i;:::-;6054:7;6047:72;;6157:2;6153;6149:11;6143:18;6128:33;;6205:10;6196:7;6192:24;6183:7;6180:37;6170:65;;6231:1;6228;6221:12;6170:65;6251:16;;;6244:33;;;6286:24;;-1:-1:-1;6344:40:1;6372:11;;;6344:40;:::i;:::-;6339:2;6330:7;6326:16;6319:66;6421:42;6457:4;6453:2;6449:13;6421:42;:::i;:::-;6414:4;6405:7;6401:18;6394:70;6498:40;6534:2;6530;6526:11;6498:40;:::i;:::-;6493:2;6484:7;6480:16;6473:66;6574:42;6611:3;6607:2;6603:12;6574:42;:::i;:::-;6568:3;6559:7;6555:17;6548:69;6652:42;6689:3;6685:2;6681:12;6652:42;:::i;:::-;6646:3;6633:17;;6626:69;6711:14;;;6704:31;;;;-1:-1:-1;6715:5:1;;4932:1833;-1:-1:-1;;;;4932:1833:1:o;6957:1326::-;7132:2;7121:9;7114:21;7191:6;7185:13;7178:21;7171:29;7166:2;7155:9;7151:18;7144:57;7095:4;7248:2;7240:6;7236:15;7230:22;7290:4;7283;7272:9;7268:20;7261:34;7332:12;7326:19;7381:4;7376:2;7365:9;7361:18;7354:32;7423:14;7417:21;7475:4;7469:3;7458:9;7454:19;7447:33;7503:54;7552:3;7541:9;7537:19;7521:14;7503:54;:::i;:::-;7624:2;7604:23;;;7598:30;7630:10;7594:47;7588:3;7573:19;;7566:76;7679:21;;;7673:28;6837:4;6826:16;;7758:3;7743:19;;6814:29;7673:28;7489:68;-1:-1:-1;7818:4:1;7800:23;;7794:30;6837:4;6826:16;;7881:3;7866:19;;6814:29;7794:30;-1:-1:-1;7941:2:1;7923:21;;7917:28;6837:4;6826:16;;8002:4;7987:20;;6814:29;7917:28;-1:-1:-1;8063:3:1;8045:22;;8039:29;6926:18;6915:30;;8126:3;8111:19;;6903:43;8039:29;-1:-1:-1;8186:3:1;8172:12;8168:22;8162:29;8140:51;;8200:54;8249:3;8238:9;8234:19;8218:14;6926:18;6915:30;6903:43;;6850:102;8200:54;8271:6;6957:1326;-1:-1:-1;;;;;6957:1326:1:o;8288:206::-;8357:6;8410:2;8398:9;8389:7;8385:23;8381:32;8378:52;;;8426:1;8423;8416:12;8378:52;8449:39;8478:9;8449:39;:::i;8499:878::-;8594:6;8647:2;8635:9;8626:7;8622:23;8618:32;8615:52;;;8663:1;8660;8653:12;8615:52;8696:9;8690:16;8725:18;8766:2;8758:6;8755:14;8752:34;;;8782:1;8779;8772:12;8752:34;8805:22;;;;8861:4;8843:16;;;8839:27;8836:47;;;8879:1;8876;8869:12;8836:47;8905:17;;:::i;:::-;8946:9;;-1:-1:-1;;;;;8986:33:1;;8974:46;;8964:74;;9034:1;9031;9024:12;8964:74;9061:7;9054:5;9047:22;;9115:2;9111;9107:11;9101:18;9096:2;9089:5;9085:14;9078:42;9166:2;9162;9158:11;9152:18;9147:2;9140:5;9136:14;9129:42;9210:2;9206;9202:11;9196:18;9239:2;9229:8;9226:16;9223:36;;;9255:1;9252;9245:12;9223:36;9291:55;9338:7;9327:8;9323:2;9319:17;9291:55;:::i;:::-;9286:2;9275:14;;9268:79;-1:-1:-1;9279:5:1;8499:878;-1:-1:-1;;;;;8499:878:1:o;9382:184::-;9452:6;9505:2;9493:9;9484:7;9480:23;9476:32;9473:52;;;9521:1;9518;9511:12;9473:52;-1:-1:-1;9544:16:1;;9382:184;-1:-1:-1;9382:184:1:o;9571:611::-;9674:6;9682;9735:2;9723:9;9714:7;9710:23;9706:32;9703:52;;;9751:1;9748;9741:12;9703:52;9783:9;9777:16;9822:3;9815:5;9812:14;9802:42;;9840:1;9837;9830:12;9802:42;9912:2;9897:18;;9891:25;9863:5;;-1:-1:-1;9939:18:1;9928:30;;9925:50;;;9971:1;9968;9961:12;9925:50;9994:22;;10047:4;10039:13;;10035:27;-1:-1:-1;10025:55:1;;10076:1;10073;10066:12;10025:55;10099:77;10168:7;10163:2;10157:9;10152:2;10148;10144:11;10099:77;:::i;:::-;10089:87;;;9571:611;;;;;:::o;10187:222::-;10227:4;10255:1;10252;10249:8;10246:131;;;10299:10;10294:3;10290:20;10287:1;10280:31;10334:4;10331:1;10324:15;10362:4;10359:1;10352:15;10246:131;-1:-1:-1;10394:9:1;;10187:222::o;10856:380::-;10935:1;10931:12;;;;10978;;;10999:61;;11053:4;11045:6;11041:17;11031:27;;10999:61;11106:2;11098:6;11095:14;11075:18;11072:38;11069:161;;11152:10;11147:3;11143:20;11140:1;11133:31;11187:4;11184:1;11177:15;11215:4;11212:1;11205:15;11069:161;;10856:380;;;:::o;11241:274::-;11370:3;11408:6;11402:13;11424:53;11470:6;11465:3;11458:4;11450:6;11446:17;11424:53;:::i;:::-;11493:16;;;;;11241:274;-1:-1:-1;;11241:274:1:o;11520:127::-;11581:10;11576:3;11572:20;11569:1;11562:31;11612:4;11609:1;11602:15;11636:4;11633:1;11626:15;11652:275;11737:6;11790:2;11778:9;11769:7;11765:23;11761:32;11758:52;;;11806:1;11803;11796:12;11758:52;11838:9;11832:16;11877:1;11870:5;11867:12;11857:40;;11893:1;11890;11883:12

Swarm Source

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