Contract 0xf2e2e42721c474a7b636df47613a0a468ce1d811 10

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x62f61a1966046dbbcf151abd65f72dd2721c592a0d0c68665b2ff97967e3e425Fulfill Oracle R...1842337482024-02-25 6:01:5216 hrs 33 mins ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000095150.1
0x4186f361524162a5f29ff0db13fad71f910439a7726b6618a6366d43dcca83fdFulfill Oracle R...1841491632024-02-24 23:52:4922 hrs 42 mins ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000089170.1
0x9871e1cac61e56029cfdb5180364328d38c21ae4cf485d7a3caecd19b19147a2Fulfill Oracle R...1840647912024-02-24 17:38:361 day 4 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000162940.1
0x47453724e008442575f2f85698047f96c3901dad010e2d3d71787a8f181a794bFulfill Oracle R...1839799102024-02-24 11:38:311 day 10 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000117190.1
0xa58a9bc2553bf277d2de866bd5fa2b1f88c936da663712a8b679d7f9f6b2d6adFulfill Oracle R...1832413232024-02-22 5:44:413 days 16 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.00015350.1
0x879e6e4c4aedc80c6f7357ba18488c6b5c996701fb83bfa1b0511e0bf1f65326Fulfill Oracle R...1831557652024-02-21 23:36:423 days 22 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000137560.1
0x5914d835860a3cac00d6d5273b2af20cf39f434a06a5bd84fc15866346ecea19Fulfill Oracle R...1830739192024-02-21 17:34:474 days 5 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000194520.1
0xd27c29d779f572ba9b467b34f4ee810c2ded0e7cdb45659793d9b082c3c53af8Fulfill Oracle R...1829884972024-02-21 11:34:094 days 11 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000118850.1
0x357fcc4dae1c46755c6b960383ceac44bcc572d1449007381d74a4370eedb390Fulfill Oracle R...1822337892024-02-19 5:33:356 days 17 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000080010.1
0x666067df9e245f1af5578f8c5f183fcdb11a57ab9faf2386f7efee424db0c448Fulfill Oracle R...1821523362024-02-18 23:33:206 days 23 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000099980.1
0x7061334c3500da644a3efdf2c022f3719471645927a63fa76512ccaecc716063Fulfill Oracle R...1820691282024-02-18 17:33:197 days 5 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000118260.1
0xec917dd725a34153dfcabb746cb35c09d261e11c3f64d6024ef907cb93a611b6Fulfill Oracle R...1819837362024-02-18 11:32:517 days 11 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000088510.1
0x12e273f63b39162d85a65c4faa4b4619847f360b590eba0614892fb9f537b0e7Fulfill Oracle R...1812402272024-02-16 5:52:149 days 16 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.0000730.1
0x0f116c1d9da074da5361d9e7d4405485d66e9229a950996dbdab8d2ae485306bFulfill Oracle R...1811554612024-02-15 23:49:379 days 22 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000100770.1
0x1a38ddbc11f746f1d2cba2eca81540c7a24091d7c2e9514190f51fbec7e82125Fulfill Oracle R...1810748462024-02-15 17:46:1310 days 4 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000154110.1
0x42e6ecab2fd1c03fbecfbf38743c288a04b9612292073005679186545ef8d36cFulfill Oracle R...1809865122024-02-15 11:31:4110 days 11 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000086420.1
0x1428aa28168da7e76cf93538a54c409f3f6f0423327ad0bf57f09d58500d82dfFulfill Oracle R...1802293272024-02-13 5:41:0612 days 16 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000080630.1
0x63ec85ffb63df9820592c5cf7caa1a26c534834d5a15ad9459e65ac31d1476e0Fulfill Oracle R...1801434612024-02-12 23:27:0012 days 23 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000340090.1
0xea6045ebb6e6d796e30df6eadaaf7b8b6848a8f3414cf981e79302ac75b355bdFulfill Oracle R...1800619572024-02-12 17:26:5513 days 5 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000144190.1
0xc2364b0305b10161842ac8d6b6b2c0edcd6f300a631ee24a3c989bea6a7e2d84Fulfill Oracle R...1799762382024-02-12 11:26:2313 days 11 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000083830.1
0x71473c5e1047fb5858903f851c7599b5090e6d404ddff138cbffa5d04d3e8011Fulfill Oracle R...1792282342024-02-10 5:29:1815 days 17 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000130160.1
0x5ec55240ed17ebe3484b8e886687a7449ae7cd6c8385443597684011a16acb9eFulfill Oracle R...1791446372024-02-09 23:28:1315 days 23 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000180060.1
0xe743a0b9c0279af707de11bdf0ea6e88bf6c700a6255b1babfa98575061c96ffFulfill Oracle R...1790644922024-02-09 17:24:5616 days 5 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.00029020.1
0xd9dd7f014d51b1b210cb12bfff800510bbeb376d1e0cc16fc727fad0cf462d92Fulfill Oracle R...1789815232024-02-09 11:24:4416 days 11 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000186530.1
0x660928ae8dc61aa319d24ed2c134e0697ad7ca45a7a1860a93c5033df68656ebFulfill Oracle R...1782425682024-02-07 5:26:4218 days 17 hrs ago0x6cacd6ce6743c5164115eb8c1e44f2751d726e75 IN  0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH0.000089150.1
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x084ea1ed41db0bcceddef9249699397c6f69be9ec986e2d67aef862f6de6ce1c720858672023-03-21 10:15:30341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 Gains Network: GNS Price Aggregator V6_30 ETH
0x8c25666d2276b035a3e6036c28274459f80ba3450a9738bc16aae35203b76c46720858592023-03-21 10:15:28341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 Gains Network: GNS Price Aggregator V6_30 ETH
0xeef748751f239ad7cb6ed356b585864399f4c014e45971e97740fd6ca3dec0e3720858592023-03-21 10:15:28341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0xeef748751f239ad7cb6ed356b585864399f4c014e45971e97740fd6ca3dec0e3720858592023-03-21 10:15:28341 days 12 hrs ago 0xf97f4df75117a78c1a5a0dbb814af92458539fb4 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0xdbc85fcebab08e6907b1568328d6ec4027956eaa1fca3f54f07f3ada30c4545d720858512023-03-21 10:15:26341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0xdbc85fcebab08e6907b1568328d6ec4027956eaa1fca3f54f07f3ada30c4545d720858512023-03-21 10:15:26341 days 12 hrs ago 0xf97f4df75117a78c1a5a0dbb814af92458539fb4 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0x14127f35795a3f5d809dad36a4fac7bf170345a4700826e148be2af91f2c7e49720857682023-03-21 10:15:05341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 Gains Network: GNS Price Aggregator V6_30 ETH
0x9d28943914f5f196c280aa6662438565c35a51c84225ca5394bfe6ffead3092f720857602023-03-21 10:15:03341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0x9d28943914f5f196c280aa6662438565c35a51c84225ca5394bfe6ffead3092f720857602023-03-21 10:15:03341 days 12 hrs ago 0xf97f4df75117a78c1a5a0dbb814af92458539fb4 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0x72c958ed57b992fe0a9dbfda01b77fdb7be07ce56884fa3a039cafbb041cbbd1720852532023-03-21 10:12:55341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 Gains Network: GNS Price Aggregator V6_30 ETH
0xaae1c711a67d4a204c0402d13d03b1842a6ee3773da5771205febec42c4bd86f720852482023-03-21 10:12:54341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0xaae1c711a67d4a204c0402d13d03b1842a6ee3773da5771205febec42c4bd86f720852482023-03-21 10:12:54341 days 12 hrs ago 0xf97f4df75117a78c1a5a0dbb814af92458539fb4 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0x872a968744d064bbaeb2e96c45e580c773ca7cf4d2d6591623721f4ede7313fe720850572023-03-21 10:12:05341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 Gains Network: GNS Price Aggregator V6_30 ETH
0x0bf478090f52dcebb55995ad709088892ede7bd2cb4dd14bac9385b897a16c0f720850492023-03-21 10:12:03341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0x0bf478090f52dcebb55995ad709088892ede7bd2cb4dd14bac9385b897a16c0f720850492023-03-21 10:12:03341 days 12 hrs ago 0xf97f4df75117a78c1a5a0dbb814af92458539fb4 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0x1263cac962b666ba1248d7e7c3bf7389134cb89165b96ab2c725c339dab573e4720850292023-03-21 10:11:58341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 Gains Network: GNS Price Aggregator V6_30 ETH
0x55cf75e9183c7a2d0ce39a4ab56c016494fcdcddf79c2529c03e6d833479c06e720850212023-03-21 10:11:56341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0x55cf75e9183c7a2d0ce39a4ab56c016494fcdcddf79c2529c03e6d833479c06e720850212023-03-21 10:11:56341 days 12 hrs ago 0xf97f4df75117a78c1a5a0dbb814af92458539fb4 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0x74f568453a2fbfad5b4268f496bc789e8131802cf26c89f2f1f96bf346fd6c49720849562023-03-21 10:11:46341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 Gains Network: GNS Price Aggregator V6_30 ETH
0xd32d538e732075c0f46e7cef34676847eebed1a284104520a0626ff8ea6fbd99720849502023-03-21 10:11:45341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0xd32d538e732075c0f46e7cef34676847eebed1a284104520a0626ff8ea6fbd99720849502023-03-21 10:11:45341 days 12 hrs ago 0xf97f4df75117a78c1a5a0dbb814af92458539fb4 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0xe45c2d4e77a8fbd8fe7b49be795168ee58da009e5c46d79006686b6fec7cd10d720849222023-03-21 10:11:38341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 Gains Network: GNS Price Aggregator V6_30 ETH
0x09316685c1a35bdb5b5c259d7a57ed2eee875d3e72f5816233f363784fa8e2c3720849152023-03-21 10:11:36341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0x09316685c1a35bdb5b5c259d7a57ed2eee875d3e72f5816233f363784fa8e2c3720849152023-03-21 10:11:36341 days 12 hrs ago 0xf97f4df75117a78c1a5a0dbb814af92458539fb4 0xf2e2e42721c474a7b636df47613a0a468ce1d8110 ETH
0x6afef5b18ccc39463f7cc9f9d6eaf8e9f3df38637a0bcee9f3dab337347acb44720848402023-03-21 10:11:16341 days 12 hrs ago 0xf2e2e42721c474a7b636df47613a0a468ce1d811 Gains Network: GNS Price Aggregator V6_30 ETH
[ Download CSV Export 
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

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

Contract Name:
Oracle

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan.io on 2022-10-03
*/

// File: https://github.com/GainsNetwork-org/chainlink-tests/blob/develop/contracts/src/v0.6/vendor/SafeMathChainlink.sol


pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMathChainlink {
  /**
    * @dev Returns the addition of two unsigned integers, reverting on
    * overflow.
    *
    * Counterpart to Solidity's `+` operator.
    *
    * Requirements:
    * - Addition cannot overflow.
    */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a, "SafeMath: addition overflow");

    return c;
  }

  /**
    * @dev Returns the subtraction of two unsigned integers, reverting on
    * overflow (when the result is negative).
    *
    * Counterpart to Solidity's `-` operator.
    *
    * Requirements:
    * - Subtraction cannot overflow.
    */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b <= a, "SafeMath: subtraction overflow");
    uint256 c = a - b;

    return c;
  }

  /**
    * @dev Returns the multiplication of two unsigned integers, reverting on
    * overflow.
    *
    * Counterpart to Solidity's `*` operator.
    *
    * Requirements:
    * - Multiplication cannot overflow.
    */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b, "SafeMath: multiplication overflow");

    return c;
  }

  /**
    * @dev Returns the integer division of two unsigned integers. Reverts on
    * division by zero. The result is rounded towards zero.
    *
    * Counterpart to Solidity's `/` operator. Note: this function uses a
    * `revert` opcode (which leaves remaining gas untouched) while Solidity
    * uses an invalid opcode to revert (consuming all remaining gas).
    *
    * Requirements:
    * - The divisor cannot be zero.
    */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // Solidity only automatically asserts when dividing by 0
    require(b > 0, "SafeMath: division by zero");
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold

    return c;
  }

  /**
    * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
    * Reverts when dividing by zero.
    *
    * Counterpart to Solidity's `%` operator. This function uses a `revert`
    * opcode (which leaves remaining gas untouched) while Solidity uses an
    * invalid opcode to revert (consuming all remaining gas).
    *
    * Requirements:
    * - The divisor cannot be zero.
    */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b != 0, "SafeMath: modulo by zero");
    return a % b;
  }
}

// File: https://github.com/GainsNetwork-org/chainlink-tests/blob/develop/contracts/src/v0.6/vendor/Ownable.sol


pragma solidity ^0.6.0;

/**
 * @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.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be aplied to your functions to restrict their use to
 * the owner.
 *
 * This contract has been modified to remove the revokeOwnership function
 */
contract Ownable {
  address private _owner;

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

  /**
   * @dev Initializes the contract setting the deployer as the initial owner.
   */
  constructor () internal {
    _owner = msg.sender;
    emit OwnershipTransferred(address(0), _owner);
  }

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

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

  /**
   * @dev Returns true if the caller is the current owner.
   */
  function isOwner() public view returns (bool) {
    return msg.sender == _owner;
  }

  /**
   * @dev Transfers ownership of the contract to a new account (`newOwner`).
   * Can only be called by the current owner.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    _transferOwnership(newOwner);
  }

  /**
   * @dev Transfers ownership of the contract to a new account (`newOwner`).
   */
  function _transferOwnership(address newOwner) internal {
    require(newOwner != address(0), "Ownable: new owner is the zero address");
    emit OwnershipTransferred(_owner, newOwner);
    _owner = newOwner;
  }
}

// File: https://github.com/GainsNetwork-org/chainlink-tests/blob/develop/contracts/src/v0.6/interfaces/WithdrawalInterface.sol


pragma solidity ^0.6.0;

interface WithdrawalInterface {
  /**
   * @notice transfer LINK held by the contract belonging to msg.sender to
   * another address
   * @param recipient is the address to send the LINK to
   * @param amount is the amount of LINK to send
   */
  function withdraw(address recipient, uint256 amount) external;

  /**
   * @notice query the available amount of LINK to withdraw by msg.sender
   */
  function withdrawable() external view returns (uint256);
}

// File: https://github.com/GainsNetwork-org/chainlink-tests/blob/develop/contracts/src/v0.6/interfaces/LinkTokenInterface.sol


pragma solidity ^0.6.0;

interface LinkTokenInterface {
  function allowance(address owner, address spender) external view returns (uint256 remaining);
  function approve(address spender, uint256 value) external returns (bool success);
  function balanceOf(address owner) external view returns (uint256 balance);
  function decimals() external view returns (uint8 decimalPlaces);
  function decreaseApproval(address spender, uint256 addedValue) external returns (bool success);
  function increaseApproval(address spender, uint256 subtractedValue) external;
  function name() external view returns (string memory tokenName);
  function symbol() external view returns (string memory tokenSymbol);
  function totalSupply() external view returns (uint256 totalTokensIssued);
  function transfer(address to, uint256 value) external returns (bool success);
  function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool success);
  function transferFrom(address from, address to, uint256 value) external returns (bool success);
}

// File: https://github.com/GainsNetwork-org/chainlink-tests/blob/develop/contracts/src/v0.6/interfaces/OracleInterface.sol


pragma solidity ^0.6.0;

interface OracleInterface {
  function fulfillOracleRequest(
    bytes32 requestId,
    uint256 payment,
    address callbackAddress,
    bytes4 callbackFunctionId,
    uint256 expiration,
    bytes32 data
  ) external returns (bool);
  function getAuthorizationStatus(address node) external view returns (bool);
  function setFulfillmentPermission(address node, bool allowed) external;
  function withdraw(address recipient, uint256 amount) external;
  function withdrawable() external view returns (uint256);
}

// File: https://github.com/GainsNetwork-org/chainlink-tests/blob/develop/contracts/src/v0.6/interfaces/ChainlinkRequestInterface.sol


pragma solidity ^0.6.0;

interface ChainlinkRequestInterface {
  function oracleRequest(
    address sender,
    uint256 requestPrice,
    bytes32 serviceAgreementID,
    address callbackAddress,
    bytes4 callbackFunctionId,
    uint256 nonce,
    uint256 dataVersion,
    bytes calldata data
  ) external;

  function cancelOracleRequest(
    bytes32 requestId,
    uint256 payment,
    bytes4 callbackFunctionId,
    uint256 expiration
  ) external;
}

// File: https://github.com/GainsNetwork-org/chainlink-tests/blob/develop/contracts/src/v0.6/LinkTokenReceiver.sol


pragma solidity ^0.6.0;

abstract contract LinkTokenReceiver {

  bytes4 constant private ORACLE_REQUEST_SELECTOR = 0x40429946;
  uint256 constant private SELECTOR_LENGTH = 4;
  uint256 constant private EXPECTED_REQUEST_WORDS = 2;
  uint256 constant private MINIMUM_REQUEST_LENGTH = SELECTOR_LENGTH + (32 * EXPECTED_REQUEST_WORDS);
  /**
   * @notice Called when LINK is sent to the contract via `transferAndCall`
   * @dev The data payload's first 2 words will be overwritten by the `_sender` and `_amount`
   * values to ensure correctness. Calls oracleRequest.
   * @param _sender Address of the sender
   * @param _amount Amount of LINK sent (specified in wei)
   * @param _data Payload of the transaction
   */
  function onTokenTransfer(
    address _sender,
    uint256 _amount,
    bytes memory _data
  )
    public
    onlyLINK
    validRequestLength(_data)
    permittedFunctionsForLINK(_data)
  {
    assembly {
      // solhint-disable-next-line avoid-low-level-calls
      mstore(add(_data, 36), _sender) // ensure correct sender is passed
      // solhint-disable-next-line avoid-low-level-calls
      mstore(add(_data, 68), _amount)    // ensure correct amount is passed
    }
    // solhint-disable-next-line avoid-low-level-calls
    (bool success, ) = address(this).delegatecall(_data); // calls oracleRequest
    require(success, "Unable to create request");
  }

  function getChainlinkToken() public view virtual returns (address);

  /**
   * @dev Reverts if not sent from the LINK token
   */
  modifier onlyLINK() {
    require(msg.sender == getChainlinkToken(), "Must use LINK token");
    _;
  }

  /**
   * @dev Reverts if the given data does not begin with the `oracleRequest` function selector
   * @param _data The data payload of the request
   */
  modifier permittedFunctionsForLINK(bytes memory _data) {
    bytes4 funcSelector;
    assembly {
      // solhint-disable-next-line avoid-low-level-calls
      funcSelector := mload(add(_data, 32))
    }
    require(funcSelector == ORACLE_REQUEST_SELECTOR, "Must use whitelisted functions");
    _;
  }

  /**
   * @dev Reverts if the given payload is less than needed to create a request
   * @param _data The request payload
   */
  modifier validRequestLength(bytes memory _data) {
    require(_data.length >= MINIMUM_REQUEST_LENGTH, "Invalid request length");
    _;
  }
}

// File: https://github.com/GainsNetwork-org/chainlink-tests/blob/develop/contracts/src/v0.6/Oracle.sol


pragma solidity 0.6.6;








/**
 * @title The Chainlink Oracle contract
 * @notice Node operators can deploy this contract to fulfill requests sent to them
 */
contract Oracle is ChainlinkRequestInterface, OracleInterface, Ownable, LinkTokenReceiver, WithdrawalInterface {
  using SafeMathChainlink for uint256;

  uint256 constant public EXPIRY_TIME = 5 minutes;
  uint256 constant private MINIMUM_CONSUMER_GAS_LIMIT = 400000;
  // We initialize fields to 1 instead of 0 so that the first invocation
  // does not cost more gas.
  uint256 constant private ONE_FOR_CONSISTENT_GAS_COST = 1;

  LinkTokenInterface internal LinkToken;
  mapping(bytes32 => bytes32) private commitments;
  mapping(address => bool) private authorizedNodes;
  uint256 private withdrawableTokens = ONE_FOR_CONSISTENT_GAS_COST;

  event OracleRequest(
    bytes32 indexed specId,
    address requester,
    bytes32 requestId,
    uint256 payment,
    address callbackAddr,
    bytes4 callbackFunctionId,
    uint256 cancelExpiration,
    uint256 dataVersion,
    bytes data
  );

  event CancelOracleRequest(
    bytes32 indexed requestId
  );

  /**
   * @notice Deploy with the address of the LINK token
   * @dev Sets the LinkToken address for the imported LinkTokenInterface
   * @param _link The address of the LINK token
   */
  constructor(address _link)
    public
    Ownable()
  {
    LinkToken = LinkTokenInterface(_link); // external but already deployed and unalterable
  }

  /**
   * @notice Creates the Chainlink request
   * @dev Stores the hash of the params as the on-chain commitment for the request.
   * Emits OracleRequest event for the Chainlink node to detect.
   * @param _sender The sender of the request
   * @param _payment The amount of payment given (specified in wei)
   * @param _specId The Job Specification ID
   * @param _callbackAddress The callback address for the response
   * @param _callbackFunctionId The callback function ID for the response
   * @param _nonce The nonce sent by the requester
   * @param _dataVersion The specified data version
   * @param _data The CBOR payload of the request
   */
  function oracleRequest(
    address _sender,
    uint256 _payment,
    bytes32 _specId,
    address _callbackAddress,
    bytes4 _callbackFunctionId,
    uint256 _nonce,
    uint256 _dataVersion,
    bytes calldata _data
  )
    external
    override
    onlyLINK()
    checkCallbackAddress(_callbackAddress)
  {
    bytes32 requestId = keccak256(abi.encodePacked(_sender, _nonce));
    require(commitments[requestId] == 0, "Must use a unique ID");
    // solhint-disable-next-line not-rely-on-time
    uint256 expiration = now.add(EXPIRY_TIME);

    commitments[requestId] = keccak256(
      abi.encodePacked(
        _payment,
        _callbackAddress,
        _callbackFunctionId,
        expiration
      )
    );

    emit OracleRequest(
      _specId,
      _sender,
      requestId,
      _payment,
      _callbackAddress,
      _callbackFunctionId,
      expiration,
      _dataVersion,
      _data);
  }

  /**
   * @notice Called by the Chainlink node to fulfill requests
   * @dev Given params must hash back to the commitment stored from `oracleRequest`.
   * Will call the callback address' callback function without bubbling up error
   * checking in a `require` so that the node can get paid.
   * @param _requestId The fulfillment request ID that must match the requester's
   * @param _payment The payment amount that will be released for the oracle (specified in wei)
   * @param _callbackAddress The callback address to call for fulfillment
   * @param _callbackFunctionId The callback function ID to use for fulfillment
   * @param _expiration The expiration that the node should respond by before the requester can cancel
   * @param _data The data to return to the consuming contract
   * @return Status if the external call was successful
   */
  function fulfillOracleRequest(
    bytes32 _requestId,
    uint256 _payment,
    address _callbackAddress,
    bytes4 _callbackFunctionId,
    uint256 _expiration,
    bytes32 _data
  )
    external
    onlyAuthorizedNode
    override
    isValidRequest(_requestId)
    returns (bool)
  {
    bytes32 paramsHash = keccak256(
      abi.encodePacked(
        _payment,
        _callbackAddress,
        _callbackFunctionId,
        _expiration
      )
    );
    require(commitments[_requestId] == paramsHash, "Params do not match request ID");
    withdrawableTokens = withdrawableTokens.add(_payment);
    delete commitments[_requestId];
    //require(gasleft() >= MINIMUM_CONSUMER_GAS_LIMIT, "Must provide consumer enough gas");
    // All updates to the oracle's fulfillment should come before calling the
    // callback(addr+functionId) as it is untrusted.
    // See: https://solidity.readthedocs.io/en/develop/security-considerations.html#use-the-checks-effects-interactions-pattern
    (bool success, ) = _callbackAddress.call(abi.encodeWithSelector(_callbackFunctionId, _requestId, _data)); // solhint-disable-line avoid-low-level-calls
    return success;
  }

  /**
   * @notice Use this to check if a node is authorized for fulfilling requests
   * @param _node The address of the Chainlink node
   * @return The authorization status of the node
   */
  function getAuthorizationStatus(address _node)
    external
    view
    override
    returns (bool)
  {
    return authorizedNodes[_node];
  }

  /**
   * @notice Sets the fulfillment permission for a given node. Use `true` to allow, `false` to disallow.
   * @param _node The address of the Chainlink node
   * @param _allowed Bool value to determine if the node can fulfill requests
   */
  function setFulfillmentPermission(address _node, bool _allowed)
    external
    override
    onlyOwner()
  {
    authorizedNodes[_node] = _allowed;
  }

  /**
   * @notice Allows the node operator to withdraw earned LINK to a given address
   * @dev The owner of the contract can be another wallet and does not have to be a Chainlink node
   * @param _recipient The address to send the LINK token to
   * @param _amount The amount to send (specified in wei)
   */
  function withdraw(address _recipient, uint256 _amount)
    external
    override(OracleInterface, WithdrawalInterface)
    onlyOwner
    hasAvailableFunds(_amount)
  {
    withdrawableTokens = withdrawableTokens.sub(_amount);
    assert(LinkToken.transfer(_recipient, _amount));
  }

  /**
   * @notice Displays the amount of LINK that is available for the node operator to withdraw
   * @dev We use `ONE_FOR_CONSISTENT_GAS_COST` in place of 0 in storage
   * @return The amount of withdrawable LINK on the contract
   */
  function withdrawable()
    external
    view
    override(OracleInterface, WithdrawalInterface)
    onlyOwner()
    returns (uint256)
  {
    return withdrawableTokens.sub(ONE_FOR_CONSISTENT_GAS_COST);
  }

  /**
   * @notice Allows requesters to cancel requests sent to this oracle contract. Will transfer the LINK
   * sent for the request back to the requester's address.
   * @dev Given params must hash to a commitment stored on the contract in order for the request to be valid
   * Emits CancelOracleRequest event.
   * @param _requestId The request ID
   * @param _payment The amount of payment given (specified in wei)
   * @param _callbackFunc The requester's specified callback address
   * @param _expiration The time of the expiration for the request
   */
  function cancelOracleRequest(
    bytes32 _requestId,
    uint256 _payment,
    bytes4 _callbackFunc,
    uint256 _expiration
  )
    external
    override
  {
    bytes32 paramsHash = keccak256(
      abi.encodePacked(
        _payment,
        msg.sender,
        _callbackFunc,
        _expiration)
    );
    require(paramsHash == commitments[_requestId], "Params do not match request ID");
    // solhint-disable-next-line not-rely-on-time
    require(_expiration <= now, "Request is not expired");

    delete commitments[_requestId];
    emit CancelOracleRequest(_requestId);

    assert(LinkToken.transfer(msg.sender, _payment));
  }

  /**
   * @notice Returns the address of the LINK token
   * @dev This is the public implementation for chainlinkTokenAddress, which is
   * an internal method of the ChainlinkClient contract
   */
  function getChainlinkToken()
    public
    view
    override
    returns (address)
  {
    return address(LinkToken);
  }

  // MODIFIERS

  /**
   * @dev Reverts if amount requested is greater than withdrawable balance
   * @param _amount The given amount to compare to `withdrawableTokens`
   */
  modifier hasAvailableFunds(uint256 _amount) {
    require(withdrawableTokens >= _amount.add(ONE_FOR_CONSISTENT_GAS_COST), "Amount requested is greater than withdrawable balance");
    _;
  }

  /**
   * @dev Reverts if request ID does not exist
   * @param _requestId The given request ID to check in stored `commitments`
   */
  modifier isValidRequest(bytes32 _requestId) {
    require(commitments[_requestId] != 0, "Must have a valid requestId");
    _;
  }

  /**
   * @dev Reverts if `msg.sender` is not authorized to fulfill requests
   */
  modifier onlyAuthorizedNode() {
    require(authorizedNodes[msg.sender] || msg.sender == owner(), "Not an authorized node to fulfill requests");
    _;
  }

  /**
   * @dev Reverts if the callback address is the LINK token
   * @param _to The callback address
   */
  modifier checkCallbackAddress(address _to) {
    require(_to != address(LinkToken), "Cannot callback to LINK");
    _;
  }

}

// File: gns-arb-oracle.sol



pragma solidity ^0.6.6;

Contract ABI

[{"inputs":[{"internalType":"address","name":"_link","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"requestId","type":"bytes32"}],"name":"CancelOracleRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"specId","type":"bytes32"},{"indexed":false,"internalType":"address","name":"requester","type":"address"},{"indexed":false,"internalType":"bytes32","name":"requestId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"payment","type":"uint256"},{"indexed":false,"internalType":"address","name":"callbackAddr","type":"address"},{"indexed":false,"internalType":"bytes4","name":"callbackFunctionId","type":"bytes4"},{"indexed":false,"internalType":"uint256","name":"cancelExpiration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"dataVersion","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"OracleRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"EXPIRY_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_requestId","type":"bytes32"},{"internalType":"uint256","name":"_payment","type":"uint256"},{"internalType":"bytes4","name":"_callbackFunc","type":"bytes4"},{"internalType":"uint256","name":"_expiration","type":"uint256"}],"name":"cancelOracleRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_requestId","type":"bytes32"},{"internalType":"uint256","name":"_payment","type":"uint256"},{"internalType":"address","name":"_callbackAddress","type":"address"},{"internalType":"bytes4","name":"_callbackFunctionId","type":"bytes4"},{"internalType":"uint256","name":"_expiration","type":"uint256"},{"internalType":"bytes32","name":"_data","type":"bytes32"}],"name":"fulfillOracleRequest","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_node","type":"address"}],"name":"getAuthorizationStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainlinkToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onTokenTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_payment","type":"uint256"},{"internalType":"bytes32","name":"_specId","type":"bytes32"},{"internalType":"address","name":"_callbackAddress","type":"address"},{"internalType":"bytes4","name":"_callbackFunctionId","type":"bytes4"},{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"uint256","name":"_dataVersion","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"oracleRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_node","type":"address"},{"internalType":"bool","name":"_allowed","type":"bool"}],"name":"setFulfillmentPermission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c80637fcd56db1161008c578063a4c0ed3611610066578063a4c0ed3614610439578063d3e9c3141461051e578063f2fde38b1461057a578063f3fef3a3146105be576100cf565b80637fcd56db1461037d5780638da5cb5b146103cd5780638f32d59b14610417576100cf565b8063165d35e1146100d4578063404299461461011e5780634ab0d190146102295780634b602282146102d657806350188301146102f45780636ee4d55314610312575b600080fd5b6100dc61060c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610227600480360361010081101561013557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690602001909291908035906020019092919080359060200190929190803590602001906401000000008111156101e357600080fd5b8201836020820111156101f557600080fd5b8035906020019184600183028401116401000000008311171561021757600080fd5b9091929391929390505050610636565b005b6102bc600480360360c081101561023f57600080fd5b810190808035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690602001909291908035906020019092919080359060200190929190505050610aac565b604051808215151515815260200191505060405180910390f35b6102de610ec2565b6040518082815260200191505060405180910390f35b6102fc610ec8565b6040518082815260200191505060405180910390f35b61037b6004803603608081101561032857600080fd5b81019080803590602001909291908035906020019092919080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916906020019092919080359060200190929190505050610f5f565b005b6103cb6004803603604081101561039357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611242565b005b6103d5611317565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61041f611340565b604051808215151515815260200191505060405180910390f35b61051c6004803603606081101561044f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019064010000000081111561049657600080fd5b8201836020820111156104a857600080fd5b803590602001918460018302840111640100000000831117156104ca57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611397565b005b6105606004803603602081101561053457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116c0565b604051808215151515815260200191505060405180910390f35b6105bc6004803603602081101561059057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611716565b005b61060a600480360360408110156105d457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061179c565b005b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61063e61060c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4d75737420757365204c494e4b20746f6b656e0000000000000000000000000081525060200191505060405180910390fd5b85600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156107a3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f43616e6e6f742063616c6c6261636b20746f204c494e4b00000000000000000081525060200191505060405180910390fd5b60008a86604051602001808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b8152601401828152602001925050506040516020818303038152906040528051906020012090506000801b600260008381526020019081526020016000205414610890576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4d75737420757365206120756e6971756520494400000000000000000000000081525060200191505060405180910390fd5b60006108a761012c4261198f90919063ffffffff16565b90508a898983604051602001808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b8152601401837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152600401828152602001945050505050604051602081830303815290604052805190602001206002600084815260200190815260200160002081905550897fd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c658d848e8d8d878d8d8d604051808a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018981526020018881526020018773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509a505050505050505050505060405180910390a2505050505050505050505050565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610b385750610b09611317565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610b8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611c40602a913960400191505060405180910390fd5b866000801b60026000838152602001908152602001600020541415610c1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4d757374206861766520612076616c696420726571756573744964000000000081525060200191505060405180910390fd5b600087878787604051602001808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b8152601401837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260040182815260200194505050505060405160208183030381529060405280519060200120905080600260008b81526020019081526020016000205414610d52576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f506172616d7320646f206e6f74206d617463682072657175657374204944000081525060200191505060405180910390fd5b610d678860045461198f90919063ffffffff16565b600481905550600260008a81526020019081526020016000206000905560008773ffffffffffffffffffffffffffffffffffffffff16878b876040516024018083815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b60208310610e475780518252602082019150602081019050602083039250610e24565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610ea9576040519150601f19603f3d011682016040523d82523d6000602084013e610eae565b606091505b505090508093505050509695505050505050565b61012c81565b6000610ed2611340565b610f44576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610f5a6001600454611a1790919063ffffffff16565b905090565b600083338484604051602001808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b8152601401837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260040182815260200194505050505060405160208183030381529060405280519060200120905060026000868152602001908152602001600020548114611097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f506172616d7320646f206e6f74206d617463682072657175657374204944000081525060200191505060405180910390fd5b4282111561110d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f52657175657374206973206e6f7420657870697265640000000000000000000081525060200191505060405180910390fd5b6002600086815260200190815260200160002060009055847fa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e9360405160405180910390a2600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33866040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156111fa57600080fd5b505af115801561120e573d6000803e3d6000fd5b505050506040513d602081101561122457600080fd5b810190808051906020019092919050505061123b57fe5b5050505050565b61124a611340565b6112bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b61139f61060c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461143f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4d75737420757365204c494e4b20746f6b656e0000000000000000000000000081525060200191505060405180910390fd5b806002602002600401815110156114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f496e76616c69642072657175657374206c656e6774680000000000000000000081525060200191505060405180910390fd5b81600060208201519050634042994660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4d757374207573652077686974656c69737465642066756e6374696f6e73000081525060200191505060405180910390fd5b85602485015284604485015260003073ffffffffffffffffffffffffffffffffffffffff16856040518082805190602001908083835b602083106115db57805182526020820191506020810190506020830392506115b8565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461163b576040519150601f19603f3d011682016040523d82523d6000602084013e611640565b606091505b50509050806116b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f556e61626c6520746f206372656174652072657175657374000000000000000081525060200191505060405180910390fd5b50505050505050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61171e611340565b611790576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61179981611aa0565b50565b6117a4611340565b611816576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8061182b60018261198f90919063ffffffff16565b6004541015611885576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526035815260200180611c0b6035913960400191505060405180910390fd5b61189a82600454611a1790919063ffffffff16565b600481905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561194957600080fd5b505af115801561195d573d6000803e3d6000fd5b505050506040513d602081101561197357600080fd5b810190808051906020019092919050505061198a57fe5b505050565b600080828401905083811015611a0d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600082821115611a8f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b600082840390508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611be56026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416d6f756e74207265717565737465642069732067726561746572207468616e20776974686472617761626c652062616c616e63654e6f7420616e20617574686f72697a6564206e6f646520746f2066756c66696c6c207265717565737473a2646970667358221220b122887eec5532ee5abba7333c18379a1822f5ab55af14a11b12a2b5007ac3f464736f6c63430006060033

Deployed ByteCode Sourcemap

11587:9628:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;11587:9628:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;19927:129:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;13604:951;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;13604:951:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:11:-1;14;11:28;8:2;;;52:1;49;42:12;8:2;13604:951:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;13604:951:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;13604:951:0;;;;;;;;;;;;:::i;:::-;;15428:1199;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;15428:1199:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;11745:47;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18259:214;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19052:665;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;19052:665:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;17239:158;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;17239:158:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4616:73;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;4950:86;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;9606:682;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;9606:682:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:11:-1;14;11:28;8:2;;;52:1;49;42:12;8:2;9606:682:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;9606:682:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;9606:682:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;9606:682:0;;;;;;;;;;;;;;;:::i;:::-;;16831:150;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;16831:150:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;5181:103;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;5181:103:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;17720:290;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;17720:290:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19927:129;20006:7;20040:9;;;;;;;;;;;20025:25;;19927:129;:::o;13604:951::-;10481:19;:17;:19::i;:::-;10467:33;;:10;:33;;;10459:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13908:16:::1;21158:9;;;;;;;;;;;21143:25;;:3;:25;;;;21135:61;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;13936:17:::2;13983:7;13992:6;13966:33;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;13966:33:0;;;13956:44;;;;;;13936:64;;14041:1;14015:27:::0;::::2;:11;:22;14027:9;14015:22;;;;;;;;;;;;:27;14007:60;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;14125:18;14146:20;11783:9;14146:3;:7;;:20;;;;:::i;:::-;14125:41;;14245:8;14264:16;14291:19;14321:10;14218:122;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;14218:122:0;;;14200:147;;;;;;14175:11;:22;14187:9;14175:22;;;;;;;;;;;:172;;;;14383:7;14361:188;14399:7;14415:9;14433:8;14450:16;14475:19;14503:10;14522:12;14543:5;;14361:188;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;14361:188:0;;;;;;;;;;;;;;;;;;;;;21203:1;;10531::::1;13604:951:::0;;;;;;;;;:::o;15428:1199::-;15719:4;20853:15;:27;20869:10;20853:27;;;;;;;;;;;;;;;;;;;;;;;;;:52;;;;20898:7;:5;:7::i;:::-;20884:21;;:10;:21;;;20853:52;20845:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15693:10:::1;20668:1;20641:28:::0;::::1;:11;:23;20653:10;20641:23;;;;;;;;;;;;:28;;20633:68;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;15735:18:::2;15801:8;15820:16;15847:19;15877:11;15774:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;15774:123:0;;;15756:148;;;;;;15735:169;;15946:10;15919:11;:23;15931:10;15919:23;;;;;;;;;;;;:37;15911:80;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;16019:32;16042:8;16019:18;;:22;;:32;;;;:::i;:::-;15998:18;:53;;;;16065:11;:23;16077:10;16065:23;;;;;;;;;;;16058:30;;;16451:12;16469:16;:21;;16514:19;16535:10;16547:5;16491:62;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;16491:62:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;16491:62:0;16469:85;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;16469:85:0;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;16450:104:0;;;16614:7;16607:14;;;;20959:1:::1;15428:1199:::0;;;;;;;;:::o;11745:47::-;11783:9;11745:47;:::o;18259:214::-;18390:7;4810:9;:7;:9::i;:::-;4802:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18416:51:::1;12021:1;18416:18;;:22;;:51;;;;:::i;:::-;18409:58;;18259:214:::0;:::o;19052:665::-;19225:18;19291:8;19310:10;19331:13;19355:11;19264:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;19264:103:0;;;19246:128;;;;;;19225:149;;19403:11;:23;19415:10;19403:23;;;;;;;;;;;;19389:10;:37;19381:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19542:3;19527:11;:18;;19519:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19588:11;:23;19600:10;19588:23;;;;;;;;;;;19581:30;;;19643:10;19623:31;;;;;;;;;;19670:9;;;;;;;;;;;:18;;;19689:10;19701:8;19670:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;19670:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19670:40:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;19670:40:0;;;;;;;;;;;;;;;;19663:48;;;;19052:665;;;;;:::o;17239:158::-;4810:9;:7;:9::i;:::-;4802:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17383:8:::1;17358:15;:22;17374:5;17358:22;;;;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;17239:158:::0;;:::o;4616:73::-;4654:7;4677:6;;;;;;;;;;;4670:13;;4616:73;:::o;4950:86::-;4990:4;5024:6;;;;;;;;;;;5010:20;;:10;:20;;;5003:27;;4950:86;:::o;9606:682::-;10481:19;:17;:19::i;:::-;10467:33;;:10;:33;;;10459:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9755:5:::1;9106:1;9181:2;:27;9050:1;9162:47;11216:5;:12;:38;;11208:73;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9793:5:::2;10766:19;10901:2;10894:5;10890:14;10884:21;10868:37;;8992:10;10942:23;;10926:39;;;:12;:39;;;;10918:82;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;9909:7:::3;9904:2;9897:5;9893:14;9886:31;10041:7;10036:2;10029:5;10025:14;10018:31;10157:12;10183:4;10175:26;;10202:5;10175:33;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;10175:33:0;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;10156:52:0;;;10246:7;10238:44;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;11007:1;11288::::2;;10531::::1;9606:682:::0;;;:::o;16831:150::-;16930:4;16953:15;:22;16969:5;16953:22;;;;;;;;;;;;;;;;;;;;;;;;;16946:29;;16831:150;;;:::o;5181:103::-;4810:9;:7;:9::i;:::-;4802:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5250:28:::1;5269:8;5250:18;:28::i;:::-;5181:103:::0;:::o;17720:290::-;4810:9;:7;:9::i;:::-;4802:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17879:7:::1;20324:40;12021:1;20324:7;:11;;:40;;;;:::i;:::-;20302:18;;:62;;20294:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17919:31:::2;17942:7;17919:18;;:22;;:31;;;;:::i;:::-;17898:18;:52;;;;17964:9;;;;;;;;;;;:18;;;17983:10;17995:7;17964:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;17964:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;17964:39:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::2;4:2;17964:39:0;;;;;;;;;;;;;;;;17957:47;;;;4863:1:::1;17720:290:::0;;:::o;983:167::-;1041:7;1057:9;1073:1;1069;:5;1057:17;;1094:1;1089;:6;;1081:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1143:1;1136:8;;;983:167;;;;:::o;1413:170::-;1471:7;1500:1;1495;:6;;1487:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1543:9;1559:1;1555;:5;1543:17;;1576:1;1569:8;;;1413:170;;;;:::o;5382:215::-;5472:1;5452:22;;:8;:22;;;;5444:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5558:8;5529:38;;5550:6;;;;;;;;;;;5529:38;;;;;;;;;;;;5583:8;5574:6;;:17;;;;;;;;;;;;;;;;;;5382:215;:::o

Metadata Hash

b122887eec5532ee5abba7333c18379a1822f5ab55af14a11b12a2b5007ac3f4
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.