Contract 0xc907c2a4a550e2dace0181d36d2f5fee799a2dd3

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x312c2b4954bb37f5ac2abc9f6833bd3d63d17105588b3965276881b9cfddc8ccUpdate Price136359132024-04-24 21:52:3917 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0x7b5cc4c1bad2279a1bc86f803c9c5d347d10edd1b3a08ffde7511f913d7db1ecUpdate Price136355962024-04-24 21:22:3747 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0xebc0d51f9b3dd98d7de7df0cb3a0debf68ef8f90bd131a5ae59131a25e3a70c3Update Price136352782024-04-24 20:52:281 hr 17 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0x3db11475a309523646d1dbae39bd1fd0a0ae30826ef7042c2c34d19ae29f2b18Update Price136349612024-04-24 20:22:281 hr 47 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0xd68693b6b849fa744286f191e713f397b59acf0161d118a0d0ec9a1eb057f7d9Update Price136346442024-04-24 19:52:272 hrs 17 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0x40196bab2deabcda03096bda714e1a57cd8180867f339e71195e0b33dc6850c5Update Price136343272024-04-24 19:22:262 hrs 47 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0x0401dfbd6a002520bd87f5bae91b14d802e7d283f940cafea051bc6ed9f86290Update Price136340092024-04-24 18:52:183 hrs 18 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0xf90ad7aeeecb27b1e890a2005f12d6f704d5a6192e20ecb5aa092d7c62e6d2baUpdate Price136336932024-04-24 18:22:213 hrs 47 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0xaed85e3f5991fcf53ea2554c13e064b30e5bf1dfba3cb1361d74d7e8aea74088Update Price136333752024-04-24 17:52:144 hrs 18 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0x567d7a19b1b73122c23de1ae3f146a68eda0b69478e3e3a0d3f2cf490554d7eaUpdate Price136330572024-04-24 17:22:084 hrs 48 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0xd0a15cecc6c295fedfe444fd488f71f9b8b818c6c1463006b394059f83abc86cUpdate Price136327392024-04-24 16:52:005 hrs 18 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0xff9bb8f8228a16ea7e954414034d2e51dc95eaeaffc4fed3960afbbcea7ba192Update Price136324232024-04-24 16:22:025 hrs 48 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0xc324467282c097fd438b450c498409f3b30de316d947bae08c87afc775d798c6Update Price136321062024-04-24 15:51:586 hrs 18 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0x3d805faf4cf570f079d39ad635b7f0349480b0074197ea6e5a1c0ed614ec7b46Update Price136317892024-04-24 15:21:566 hrs 48 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0x28ab0d20573a9e5aa8376582390f40bc08aebfc00395b4573693c3565a4960ffUpdate Price136314752024-04-24 14:51:597 hrs 18 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0xf8483fbd3aa85ef59db6cf09813593c6e85b4ae776afddedb83d8303f7972708Update Price136311602024-04-24 14:21:527 hrs 48 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0xca0e6071c1d5af89f2f8667a9e9a53ee731ec4d20e10fc6a8ad4bb3ee64f2570Update Price136308442024-04-24 13:51:528 hrs 18 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0xfb70d34fdaad6251abaf3a50fab91d3e9832297cc78e2540a3075faa72d27f5eUpdate Price136305282024-04-24 13:21:508 hrs 48 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052275125 5,002.5
0x51d96533e6fdb57d5811f95fac99255ca150ef8459ab5aa516c4f08d480376e9Update Price136302112024-04-24 12:51:469 hrs 18 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4051674825 5,002.5
0xf538e84edebad53f4016bbf165e1f2f2ab8f6aa4ca5821951e6c9c341db149deUpdate Price136298942024-04-24 12:21:429 hrs 48 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0xaf76b41cd3d2aca5a18a0d1e6265bb3f8f211962fe33e679aef92282f887a20eUpdate Price136295772024-04-24 11:51:4210 hrs 18 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0x2f416bbf33c39ea740560d1499c60ae71bf981f606a2d496143e6bdbd23e638eUpdate Price136292602024-04-24 11:21:3910 hrs 48 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0xcabcc2263eee605b4f9e8955568320e9c6f1bb1932900b9e4570a969151ce7a9Update Price136289432024-04-24 10:51:3811 hrs 18 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0x0f0c86ea71ca747da4a39935e7418c89937f6ba8ff52e719fa96505fea273e97Update Price136286252024-04-24 10:21:3311 hrs 48 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
0x6efa314fccd8a896fb7c8027048fb5caf5225e546078eda6899f81e9ffd74958Update Price136283072024-04-24 9:51:2912 hrs 18 mins ago0x71f0cdb17454ad7eeb7e26242292fe0e0189645a IN  0xc907c2a4a550e2dace0181d36d2f5fee799a2dd30 CRO0.4052875425 5,002.5
[ Download CSV Export 
Parent Txn Hash Block From To Value
Index Block
Loading

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

Contract Name:
CronosOracle

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 2 of 10 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @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 3 of 10 : CronosOracle.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "./CronosOracleBase.sol";
import "./CronosOracleReader.sol";
import "./CronosOracleUpdater.sol";
import "./CronosOracleStorage.sol";

contract CronosOracle is 
  AggregatorV2V3Interface,
  CronosOracleBase,
  CronosOracleUpdater,
  CronosOracleReader {

  constructor(
    uint8 __decimals,
    string memory __description
  ) {
    _decimals = __decimals;
    _description = __description;
  }


}

File 4 of 10 : CronosOracleBase.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "./interface/chainlink/AggregatorV2V3Interface.sol";

abstract contract CronosOracleBase is Ownable {}

File 5 of 10 : CronosOracleReader.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "./CronosOracleStorage.sol";
import "./interface/chainlink/AggregatorV2V3Interface.sol";

contract CronosOracleReader is CronosOracleStorage, AggregatorV2V3Interface {

  string constant private V3_NO_DATA_ERROR = "No data present";

  function latestAnswer()
    override
    external
    view
    returns (
      int256
    )
  {
    return prices[lastCompletedRoundId];
  }
  
  function latestTimestamp()
    override
    external
    view
    returns (
      uint256
    ) {
    return updatedTimestamps[lastCompletedRoundId];
  }

  function latestRound()
    override
    external
    view
    returns (
      uint256
    ) {
    return lastCompletedRoundId;
  }

  function getAnswer(
    uint256 _roundId
  )
    override
    external
    view
    returns (
      int256
    ) {
    return prices[_roundId];
  }

  function getTimestamp(
    uint256 _roundId
  )
    override
    external
    view
    returns (
      uint256
    ) {
    return updatedTimestamps[_roundId];
  }

  function decimals()
    override
    external
    view
    returns (
      uint8
    ) {
    return _decimals;
  }

  function description()
    override
    external
    view
    returns (
      string memory
    ) {
    return _description;
  }

  function version()
    override
    external
    view
    returns (
      uint256
    ) {
    return _version;
  }

  // getRoundData and latestRoundData should both raise "No data present"
  // if they do not have data to report, instead of returning unset values
  // which could be misinterpreted as actual reported values.


  function getRoundData(
    uint80 _roundId
  )
    override
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    )
  {
    return _getRoundData(_roundId);
  }

  function latestRoundData()
    override
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    ) {
    return _getRoundData(uint80(lastCompletedRoundId));
    }

  /*
   * Internal
   */

  function _getRoundData(uint80 _roundId)
    internal
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    )
  {
    answer = prices[_roundId];
    uint64 timestamp = uint64(updatedTimestamps[_roundId]);

    require(timestamp > 0, V3_NO_DATA_ERROR);

    return (_roundId, answer, timestamp, timestamp, _roundId);
  }


}

File 6 of 10 : CronosOracleStorage.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";

contract CronosOracleStorage {

  uint8 public _decimals;
  string public _description;
  uint256 constant public _version = 2;

  uint256 internal lastCompletedRoundId;
  uint256 internal lastUpdatedTimestamp;

  mapping(uint256 => int256) internal prices;               // roundId to price
  mapping(uint256 => uint256) internal updatedTimestamps;   // roundId to timestamp

  mapping(address => bool) internal authorizedUpdaters;
}

File 7 of 10 : CronosOracleUpdater.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "./CronosOracleStorage.sol";
import "./CronosOracleBase.sol";

contract CronosOracleUpdater is CronosOracleStorage, CronosOracleBase {

  event PriceUpdated(
    uint256 indexed roundId,
    uint256 indexed timestamp,
    int256 indexed price
  );

  function updatePrice(
    uint256 _roundId,
    uint256 _timestamp,
    int256 _newPrice
  ) public onlyAuthorizedUpdaters {
    lastCompletedRoundId = _roundId;
    lastUpdatedTimestamp = _timestamp;
    prices[_roundId] = _newPrice;
    updatedTimestamps[_roundId] = _timestamp;

    emit PriceUpdated(_roundId, _timestamp, _newPrice);
  }

  // gas savings when we don't send the timestamp in calldata
  function updatePriceNoTimestamp(
    uint256 _roundId,
    int256 _newPrice
  ) external onlyAuthorizedUpdaters {
    updatePrice((_roundId), block.timestamp, _newPrice);
  }

  modifier onlyAuthorizedUpdaters() {
    if (_msgSender() != owner()) {
      require(authorizedUpdaters[_msgSender()], "Caller not authorized");
    }
    _;
  }

  function addAuthorizedUpdater(address signer) public onlyOwner returns (bool) {
    bool wasAuthorized = authorizedUpdaters[signer];
    if (wasAuthorized) {
      return false;
    } else {
      authorizedUpdaters[signer] = true;
      return true;
    }
  }

  function removeAuthorizedUpdater(address signer) public onlyOwner returns (bool) {
    bool wasAuthorized = authorizedUpdaters[signer];
    delete authorizedUpdaters[signer];
    return wasAuthorized;
  }
}

File 8 of 10 : AggregatorInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface AggregatorInterface {
  function latestAnswer()
    external
    view
    returns (
      int256
    );
  
  function latestTimestamp()
    external
    view
    returns (
      uint256
    );

  function latestRound()
    external
    view
    returns (
      uint256
    );

  function getAnswer(
    uint256 roundId
  )
    external
    view
    returns (
      int256
    );

  function getTimestamp(
    uint256 roundId
  )
    external
    view
    returns (
      uint256
    );

  event AnswerUpdated(
    int256 indexed current,
    uint256 indexed roundId,
    uint256 updatedAt
  );

  event NewRound(
    uint256 indexed roundId,
    address indexed startedBy,
    uint256 startedAt
  );
}

File 9 of 10 : AggregatorV2V3Interface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./AggregatorInterface.sol";
import "./AggregatorV3Interface.sol";

interface AggregatorV2V3Interface is AggregatorInterface, AggregatorV3Interface
{
}

File 10 of 10 : AggregatorV3Interface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface AggregatorV3Interface {

  function decimals()
    external
    view
    returns (
      uint8
    );

  function description()
    external
    view
    returns (
      string memory
    );

  function version()
    external
    view
    returns (
      uint256
    );

  // getRoundData and latestRoundData should both raise "No data present"
  // if they do not have data to report, instead of returning unset values
  // which could be misinterpreted as actual reported values.
  function getRoundData(
    uint80 _roundId
  )
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );

  function latestRoundData()
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );

}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"uint8","name":"__decimals","type":"uint8"},{"internalType":"string","name":"__description","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"int256","name":"current","type":"int256"},{"indexed":true,"internalType":"uint256","name":"roundId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"updatedAt","type":"uint256"}],"name":"AnswerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"roundId","type":"uint256"},{"indexed":true,"internalType":"address","name":"startedBy","type":"address"},{"indexed":false,"internalType":"uint256","name":"startedAt","type":"uint256"}],"name":"NewRound","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"roundId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":true,"internalType":"int256","name":"price","type":"int256"}],"name":"PriceUpdated","type":"event"},{"inputs":[],"name":"_decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_version","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"addAuthorizedUpdater","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_roundId","type":"uint256"}],"name":"getAnswer","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint80","name":"_roundId","type":"uint80"}],"name":"getRoundData","outputs":[{"internalType":"uint80","name":"roundId","type":"uint80"},{"internalType":"int256","name":"answer","type":"int256"},{"internalType":"uint256","name":"startedAt","type":"uint256"},{"internalType":"uint256","name":"updatedAt","type":"uint256"},{"internalType":"uint80","name":"answeredInRound","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_roundId","type":"uint256"}],"name":"getTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestAnswer","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestRoundData","outputs":[{"internalType":"uint80","name":"roundId","type":"uint80"},{"internalType":"int256","name":"answer","type":"int256"},{"internalType":"uint256","name":"startedAt","type":"uint256"},{"internalType":"uint256","name":"updatedAt","type":"uint256"},{"internalType":"uint80","name":"answeredInRound","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"removeAuthorizedUpdater","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_roundId","type":"uint256"},{"internalType":"uint256","name":"_timestamp","type":"uint256"},{"internalType":"int256","name":"_newPrice","type":"int256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_roundId","type":"uint256"},{"internalType":"int256","name":"_newPrice","type":"int256"}],"name":"updatePriceNoTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80638205bf6a116100ad578063b5ab58dc11610071578063b5ab58dc14610315578063b633620c14610345578063cfa84dfe14610375578063f2fde38b14610393578063feaf968c146103af5761012c565b80638205bf6a146102595780638c9b9fdc146102775780638da5cb5b146102a7578063938608c2146102c55780639a6fc8f5146102e15761012c565b806354fd4d50116100f457806354fd4d50146101c5578063603cda09146101e3578063668a0f0214610213578063715018a6146102315780637284e4161461023b5761012c565b80631b3edf4e14610131578063313ce5671461014d57806332424aa31461016b5780633e118dbe1461018957806350d25bcd146101a7575b600080fd5b61014b60048036038101906101469190610ea5565b6103d1565b005b6101556104b5565b6040516101629190611196565b60405180910390f35b6101736104cb565b6040516101809190611196565b60405180910390f35b6101916104dc565b60405161019e9190611128565b60405180910390f35b6101af6104e1565b6040516101bc919061108b565b60405180910390f35b6101cd6104fe565b6040516101da9190611128565b60405180910390f35b6101fd60048036038101906101f89190610e53565b610507565b60405161020a9190611070565b60405180910390f35b61021b61062e565b6040516102289190611128565b60405180910390f35b610239610638565b005b6102436106c0565b60405161025091906110a6565b60405180910390f35b610261610752565b60405161026e9190611128565b60405180910390f35b610291600480360381019061028c9190610e53565b61076f565b60405161029e9190611070565b60405180910390f35b6102af6108b1565b6040516102bc9190611055565b60405180910390f35b6102df60048036038101906102da9190610ee1565b6108db565b005b6102fb60048036038101906102f69190610f30565b610a22565b60405161030c959493929190611143565b60405180910390f35b61032f600480360381019061032a9190610e7c565b610a46565b60405161033c919061108b565b60405180910390f35b61035f600480360381019061035a9190610e7c565b610a63565b60405161036c9190611128565b60405180910390f35b61037d610a80565b60405161038a91906110a6565b60405180910390f35b6103ad60048036038101906103a89190610e53565b610b0e565b005b6103b7610c06565b6040516103c8959493929190611143565b60405180910390f35b6103d96108b1565b73ffffffffffffffffffffffffffffffffffffffff166103f7610c2a565b73ffffffffffffffffffffffffffffffffffffffff16146104a6576006600061041e610c2a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166104a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049c90611108565b60405180910390fd5b5b6104b18242836108db565b5050565b60008060009054906101000a900460ff16905090565b60008054906101000a900460ff1681565b600281565b600060046000600254815260200190815260200160002054905090565b60006002905090565b6000610511610c2a565b73ffffffffffffffffffffffffffffffffffffffff1661052f6108b1565b73ffffffffffffffffffffffffffffffffffffffff1614610585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057c906110e8565b60405180910390fd5b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905580915050919050565b6000600254905090565b610640610c2a565b73ffffffffffffffffffffffffffffffffffffffff1661065e6108b1565b73ffffffffffffffffffffffffffffffffffffffff16146106b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ab906110e8565b60405180910390fd5b6106be6000610c32565b565b6060600180546106cf90611275565b80601f01602080910402602001604051908101604052809291908181526020018280546106fb90611275565b80156107485780601f1061071d57610100808354040283529160200191610748565b820191906000526020600020905b81548152906001019060200180831161072b57829003601f168201915b5050505050905090565b600060056000600254815260200190815260200160002054905090565b6000610779610c2a565b73ffffffffffffffffffffffffffffffffffffffff166107976108b1565b73ffffffffffffffffffffffffffffffffffffffff16146107ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e4906110e8565b60405180910390fd5b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050801561084e5760009150506108ac565b6001600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060019150505b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6108e36108b1565b73ffffffffffffffffffffffffffffffffffffffff16610901610c2a565b73ffffffffffffffffffffffffffffffffffffffff16146109b05760066000610928610c2a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166109af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a690611108565b60405180910390fd5b5b82600281905550816003819055508060046000858152602001908152602001600020819055508160056000858152602001908152602001600020819055508082847fd98bb4fece24c1eb306f81d8fffd2124de98694e552ec1b1b106b3fc69d5e51a60405160405180910390a4505050565b6000806000806000610a3386610cf8565b9450945094509450945091939590929450565b600060046000838152602001908152602001600020549050919050565b600060056000838152602001908152602001600020549050919050565b60018054610a8d90611275565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab990611275565b8015610b065780601f10610adb57610100808354040283529160200191610b06565b820191906000526020600020905b815481529060010190602001808311610ae957829003601f168201915b505050505081565b610b16610c2a565b73ffffffffffffffffffffffffffffffffffffffff16610b346108b1565b73ffffffffffffffffffffffffffffffffffffffff1614610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b81906110e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf1906110c8565b60405180910390fd5b610c0381610c32565b50565b6000806000806000610c19600254610cf8565b945094509450945094509091929394565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000806000806000600460008769ffffffffffffffffffff1681526020019081526020016000205493506000600560008869ffffffffffffffffffff16815260200190815260200160002054905060008167ffffffffffffffff16116040518060400160405280600f81526020017f4e6f20646174612070726573656e74000000000000000000000000000000000081525090610dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc291906110a6565b60405180910390fd5b50868582838a8267ffffffffffffffff1692508167ffffffffffffffff169150955095509550955095505091939590929450565b600081359050610e0e81611388565b92915050565b600081359050610e238161139f565b92915050565b600081359050610e38816113b6565b92915050565b600081359050610e4d816113cd565b92915050565b600060208284031215610e6557600080fd5b6000610e7384828501610dff565b91505092915050565b600060208284031215610e8e57600080fd5b6000610e9c84828501610e29565b91505092915050565b60008060408385031215610eb857600080fd5b6000610ec685828601610e29565b9250506020610ed785828601610e14565b9150509250929050565b600080600060608486031215610ef657600080fd5b6000610f0486828701610e29565b9350506020610f1586828701610e29565b9250506040610f2686828701610e14565b9150509250925092565b600060208284031215610f4257600080fd5b6000610f5084828501610e3e565b91505092915050565b610f62816111cd565b82525050565b610f71816111df565b82525050565b610f80816111eb565b82525050565b6000610f91826111b1565b610f9b81856111bc565b9350610fab818560208601611242565b610fb4816112d6565b840191505092915050565b6000610fcc6026836111bc565b9150610fd7826112e7565b604082019050919050565b6000610fef6020836111bc565b9150610ffa82611336565b602082019050919050565b60006110126015836111bc565b915061101d8261135f565b602082019050919050565b61103181611215565b82525050565b6110408161122c565b82525050565b61104f8161121f565b82525050565b600060208201905061106a6000830184610f59565b92915050565b60006020820190506110856000830184610f68565b92915050565b60006020820190506110a06000830184610f77565b92915050565b600060208201905081810360008301526110c08184610f86565b905092915050565b600060208201905081810360008301526110e181610fbf565b9050919050565b6000602082019050818103600083015261110181610fe2565b9050919050565b6000602082019050818103600083015261112181611005565b9050919050565b600060208201905061113d6000830184611028565b92915050565b600060a0820190506111586000830188611037565b6111656020830187610f77565b6111726040830186611028565b61117f6060830185611028565b61118c6080830184611037565b9695505050505050565b60006020820190506111ab6000830184611046565b92915050565b600081519050919050565b600082825260208201905092915050565b60006111d8826111f5565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600069ffffffffffffffffffff82169050919050565b60005b83811015611260578082015181840152602081019050611245565b8381111561126f576000848401525b50505050565b6000600282049050600182168061128d57607f821691505b602082108114156112a1576112a06112a7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616c6c6572206e6f7420617574686f72697a65640000000000000000000000600082015250565b611391816111cd565b811461139c57600080fd5b50565b6113a8816111eb565b81146113b357600080fd5b50565b6113bf81611215565b81146113ca57600080fd5b50565b6113d68161122c565b81146113e157600080fd5b5056fea264697066735822122074d81a3021bf7539dccc93477786049484477d386c112c8c7725615efe9611a464736f6c63430008040033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.