Overview
CRO Balance
0 CRO
CRO Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 17,882 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Update Price | 16174111 | 48 mins ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16173472 | 1 hr ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16172835 | 2 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16172198 | 3 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16171560 | 4 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16170921 | 5 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16170282 | 6 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16169646 | 7 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16169005 | 8 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16168368 | 9 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16167728 | 10 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16167088 | 11 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16166454 | 12 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16165820 | 13 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16165184 | 14 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16164548 | 15 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16163910 | 16 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16163274 | 17 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16162637 | 18 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16161998 | 19 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16161361 | 20 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16160723 | 21 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16160086 | 22 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16159449 | 23 hrs ago | IN | 0 CRO | 0.40522751 | ||||
Update Price | 16158813 | 24 hrs ago | IN | 0 CRO | 0.40522751 |
Loading...
Loading
Contract Name:
CronosOracle
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//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; } }
// 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); } }
// 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; } }
//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 {}
//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); } }
//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; }
//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; } }
// 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 ); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./AggregatorInterface.sol"; import "./AggregatorV3Interface.sol"; interface AggregatorV2V3Interface is AggregatorInterface, AggregatorV3Interface { }
// 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 ); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620018b4380380620018b4833981810160405281019062000037919062000299565b620000576200004b6200009260201b60201c565b6200009a60201b60201c565b816000806101000a81548160ff021916908360ff16021790555080600190805190602001906200008992919062000160565b5050506200048a565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200016e9062000395565b90600052602060002090601f016020900481019282620001925760008555620001de565b82601f10620001ad57805160ff1916838001178555620001de565b82800160010185558215620001de579182015b82811115620001dd578251825591602001919060010190620001c0565b5b509050620001ed9190620001f1565b5090565b5b808211156200020c576000816000905550600101620001f2565b5090565b60006200022762000221846200031c565b620002f3565b9050828152602081018484840111156200024057600080fd5b6200024d8482856200035f565b509392505050565b600082601f8301126200026757600080fd5b81516200027984826020860162000210565b91505092915050565b600081519050620002938162000470565b92915050565b60008060408385031215620002ad57600080fd5b6000620002bd8582860162000282565b925050602083015167ffffffffffffffff811115620002db57600080fd5b620002e98582860162000255565b9150509250929050565b6000620002ff62000312565b90506200030d8282620003cb565b919050565b6000604051905090565b600067ffffffffffffffff8211156200033a576200033962000430565b5b62000345826200045f565b9050602081019050919050565b600060ff82169050919050565b60005b838110156200037f57808201518184015260208101905062000362565b838111156200038f576000848401525b50505050565b60006002820490506001821680620003ae57607f821691505b60208210811415620003c557620003c462000401565b5b50919050565b620003d6826200045f565b810181811067ffffffffffffffff82111715620003f857620003f762000430565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200047b8162000352565b81146200048757600080fd5b50565b61141a806200049a6000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80638205bf6a116100ad578063b5ab58dc11610071578063b5ab58dc14610315578063b633620c14610345578063cfa84dfe14610375578063f2fde38b14610393578063feaf968c146103af5761012c565b80638205bf6a146102595780638c9b9fdc146102775780638da5cb5b146102a7578063938608c2146102c55780639a6fc8f5146102e15761012c565b806354fd4d50116100f457806354fd4d50146101c5578063603cda09146101e3578063668a0f0214610213578063715018a6146102315780637284e4161461023b5761012c565b80631b3edf4e14610131578063313ce5671461014d57806332424aa31461016b5780633e118dbe1461018957806350d25bcd146101a7575b600080fd5b61014b60048036038101906101469190610ea5565b6103d1565b005b6101556104b5565b6040516101629190611196565b60405180910390f35b6101736104cb565b6040516101809190611196565b60405180910390f35b6101916104dc565b60405161019e9190611128565b60405180910390f35b6101af6104e1565b6040516101bc919061108b565b60405180910390f35b6101cd6104fe565b6040516101da9190611128565b60405180910390f35b6101fd60048036038101906101f89190610e53565b610507565b60405161020a9190611070565b60405180910390f35b61021b61062e565b6040516102289190611128565b60405180910390f35b610239610638565b005b6102436106c0565b60405161025091906110a6565b60405180910390f35b610261610752565b60405161026e9190611128565b60405180910390f35b610291600480360381019061028c9190610e53565b61076f565b60405161029e9190611070565b60405180910390f35b6102af6108b1565b6040516102bc9190611055565b60405180910390f35b6102df60048036038101906102da9190610ee1565b6108db565b005b6102fb60048036038101906102f69190610f30565b610a22565b60405161030c959493929190611143565b60405180910390f35b61032f600480360381019061032a9190610e7c565b610a46565b60405161033c919061108b565b60405180910390f35b61035f600480360381019061035a9190610e7c565b610a63565b60405161036c9190611128565b60405180910390f35b61037d610a80565b60405161038a91906110a6565b60405180910390f35b6103ad60048036038101906103a89190610e53565b610b0e565b005b6103b7610c06565b6040516103c8959493929190611143565b60405180910390f35b6103d96108b1565b73ffffffffffffffffffffffffffffffffffffffff166103f7610c2a565b73ffffffffffffffffffffffffffffffffffffffff16146104a6576006600061041e610c2a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166104a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049c90611108565b60405180910390fd5b5b6104b18242836108db565b5050565b60008060009054906101000a900460ff16905090565b60008054906101000a900460ff1681565b600281565b600060046000600254815260200190815260200160002054905090565b60006002905090565b6000610511610c2a565b73ffffffffffffffffffffffffffffffffffffffff1661052f6108b1565b73ffffffffffffffffffffffffffffffffffffffff1614610585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057c906110e8565b60405180910390fd5b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905580915050919050565b6000600254905090565b610640610c2a565b73ffffffffffffffffffffffffffffffffffffffff1661065e6108b1565b73ffffffffffffffffffffffffffffffffffffffff16146106b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ab906110e8565b60405180910390fd5b6106be6000610c32565b565b6060600180546106cf90611275565b80601f01602080910402602001604051908101604052809291908181526020018280546106fb90611275565b80156107485780601f1061071d57610100808354040283529160200191610748565b820191906000526020600020905b81548152906001019060200180831161072b57829003601f168201915b5050505050905090565b600060056000600254815260200190815260200160002054905090565b6000610779610c2a565b73ffffffffffffffffffffffffffffffffffffffff166107976108b1565b73ffffffffffffffffffffffffffffffffffffffff16146107ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e4906110e8565b60405180910390fd5b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050801561084e5760009150506108ac565b6001600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060019150505b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6108e36108b1565b73ffffffffffffffffffffffffffffffffffffffff16610901610c2a565b73ffffffffffffffffffffffffffffffffffffffff16146109b05760066000610928610c2a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166109af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a690611108565b60405180910390fd5b5b82600281905550816003819055508060046000858152602001908152602001600020819055508160056000858152602001908152602001600020819055508082847fd98bb4fece24c1eb306f81d8fffd2124de98694e552ec1b1b106b3fc69d5e51a60405160405180910390a4505050565b6000806000806000610a3386610cf8565b9450945094509450945091939590929450565b600060046000838152602001908152602001600020549050919050565b600060056000838152602001908152602001600020549050919050565b60018054610a8d90611275565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab990611275565b8015610b065780601f10610adb57610100808354040283529160200191610b06565b820191906000526020600020905b815481529060010190602001808311610ae957829003601f168201915b505050505081565b610b16610c2a565b73ffffffffffffffffffffffffffffffffffffffff16610b346108b1565b73ffffffffffffffffffffffffffffffffffffffff1614610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b81906110e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf1906110c8565b60405180910390fd5b610c0381610c32565b50565b6000806000806000610c19600254610cf8565b945094509450945094509091929394565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000806000806000600460008769ffffffffffffffffffff1681526020019081526020016000205493506000600560008869ffffffffffffffffffff16815260200190815260200160002054905060008167ffffffffffffffff16116040518060400160405280600f81526020017f4e6f20646174612070726573656e74000000000000000000000000000000000081525090610dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc291906110a6565b60405180910390fd5b50868582838a8267ffffffffffffffff1692508167ffffffffffffffff169150955095509550955095505091939590929450565b600081359050610e0e81611388565b92915050565b600081359050610e238161139f565b92915050565b600081359050610e38816113b6565b92915050565b600081359050610e4d816113cd565b92915050565b600060208284031215610e6557600080fd5b6000610e7384828501610dff565b91505092915050565b600060208284031215610e8e57600080fd5b6000610e9c84828501610e29565b91505092915050565b60008060408385031215610eb857600080fd5b6000610ec685828601610e29565b9250506020610ed785828601610e14565b9150509250929050565b600080600060608486031215610ef657600080fd5b6000610f0486828701610e29565b9350506020610f1586828701610e29565b9250506040610f2686828701610e14565b9150509250925092565b600060208284031215610f4257600080fd5b6000610f5084828501610e3e565b91505092915050565b610f62816111cd565b82525050565b610f71816111df565b82525050565b610f80816111eb565b82525050565b6000610f91826111b1565b610f9b81856111bc565b9350610fab818560208601611242565b610fb4816112d6565b840191505092915050565b6000610fcc6026836111bc565b9150610fd7826112e7565b604082019050919050565b6000610fef6020836111bc565b9150610ffa82611336565b602082019050919050565b60006110126015836111bc565b915061101d8261135f565b602082019050919050565b61103181611215565b82525050565b6110408161122c565b82525050565b61104f8161121f565b82525050565b600060208201905061106a6000830184610f59565b92915050565b60006020820190506110856000830184610f68565b92915050565b60006020820190506110a06000830184610f77565b92915050565b600060208201905081810360008301526110c08184610f86565b905092915050565b600060208201905081810360008301526110e181610fbf565b9050919050565b6000602082019050818103600083015261110181610fe2565b9050919050565b6000602082019050818103600083015261112181611005565b9050919050565b600060208201905061113d6000830184611028565b92915050565b600060a0820190506111586000830188611037565b6111656020830187610f77565b6111726040830186611028565b61117f6060830185611028565b61118c6080830184611037565b9695505050505050565b60006020820190506111ab6000830184611046565b92915050565b600081519050919050565b600082825260208201905092915050565b60006111d8826111f5565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600069ffffffffffffffffffff82169050919050565b60005b83811015611260578082015181840152602081019050611245565b8381111561126f576000848401525b50505050565b6000600282049050600182168061128d57607f821691505b602082108114156112a1576112a06112a7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616c6c6572206e6f7420617574686f72697a65640000000000000000000000600082015250565b611391816111cd565b811461139c57600080fd5b50565b6113a8816111eb565b81146113b357600080fd5b50565b6113bf81611215565b81146113ca57600080fd5b50565b6113d68161122c565b81146113e157600080fd5b5056fea264697066735822122074d81a3021bf7539dccc93477786049484477d386c112c8c7725615efe9611a464736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001043524f49442f555344204f5241434c4500000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80638205bf6a116100ad578063b5ab58dc11610071578063b5ab58dc14610315578063b633620c14610345578063cfa84dfe14610375578063f2fde38b14610393578063feaf968c146103af5761012c565b80638205bf6a146102595780638c9b9fdc146102775780638da5cb5b146102a7578063938608c2146102c55780639a6fc8f5146102e15761012c565b806354fd4d50116100f457806354fd4d50146101c5578063603cda09146101e3578063668a0f0214610213578063715018a6146102315780637284e4161461023b5761012c565b80631b3edf4e14610131578063313ce5671461014d57806332424aa31461016b5780633e118dbe1461018957806350d25bcd146101a7575b600080fd5b61014b60048036038101906101469190610ea5565b6103d1565b005b6101556104b5565b6040516101629190611196565b60405180910390f35b6101736104cb565b6040516101809190611196565b60405180910390f35b6101916104dc565b60405161019e9190611128565b60405180910390f35b6101af6104e1565b6040516101bc919061108b565b60405180910390f35b6101cd6104fe565b6040516101da9190611128565b60405180910390f35b6101fd60048036038101906101f89190610e53565b610507565b60405161020a9190611070565b60405180910390f35b61021b61062e565b6040516102289190611128565b60405180910390f35b610239610638565b005b6102436106c0565b60405161025091906110a6565b60405180910390f35b610261610752565b60405161026e9190611128565b60405180910390f35b610291600480360381019061028c9190610e53565b61076f565b60405161029e9190611070565b60405180910390f35b6102af6108b1565b6040516102bc9190611055565b60405180910390f35b6102df60048036038101906102da9190610ee1565b6108db565b005b6102fb60048036038101906102f69190610f30565b610a22565b60405161030c959493929190611143565b60405180910390f35b61032f600480360381019061032a9190610e7c565b610a46565b60405161033c919061108b565b60405180910390f35b61035f600480360381019061035a9190610e7c565b610a63565b60405161036c9190611128565b60405180910390f35b61037d610a80565b60405161038a91906110a6565b60405180910390f35b6103ad60048036038101906103a89190610e53565b610b0e565b005b6103b7610c06565b6040516103c8959493929190611143565b60405180910390f35b6103d96108b1565b73ffffffffffffffffffffffffffffffffffffffff166103f7610c2a565b73ffffffffffffffffffffffffffffffffffffffff16146104a6576006600061041e610c2a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166104a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049c90611108565b60405180910390fd5b5b6104b18242836108db565b5050565b60008060009054906101000a900460ff16905090565b60008054906101000a900460ff1681565b600281565b600060046000600254815260200190815260200160002054905090565b60006002905090565b6000610511610c2a565b73ffffffffffffffffffffffffffffffffffffffff1661052f6108b1565b73ffffffffffffffffffffffffffffffffffffffff1614610585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057c906110e8565b60405180910390fd5b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905580915050919050565b6000600254905090565b610640610c2a565b73ffffffffffffffffffffffffffffffffffffffff1661065e6108b1565b73ffffffffffffffffffffffffffffffffffffffff16146106b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ab906110e8565b60405180910390fd5b6106be6000610c32565b565b6060600180546106cf90611275565b80601f01602080910402602001604051908101604052809291908181526020018280546106fb90611275565b80156107485780601f1061071d57610100808354040283529160200191610748565b820191906000526020600020905b81548152906001019060200180831161072b57829003601f168201915b5050505050905090565b600060056000600254815260200190815260200160002054905090565b6000610779610c2a565b73ffffffffffffffffffffffffffffffffffffffff166107976108b1565b73ffffffffffffffffffffffffffffffffffffffff16146107ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e4906110e8565b60405180910390fd5b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050801561084e5760009150506108ac565b6001600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060019150505b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6108e36108b1565b73ffffffffffffffffffffffffffffffffffffffff16610901610c2a565b73ffffffffffffffffffffffffffffffffffffffff16146109b05760066000610928610c2a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166109af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a690611108565b60405180910390fd5b5b82600281905550816003819055508060046000858152602001908152602001600020819055508160056000858152602001908152602001600020819055508082847fd98bb4fece24c1eb306f81d8fffd2124de98694e552ec1b1b106b3fc69d5e51a60405160405180910390a4505050565b6000806000806000610a3386610cf8565b9450945094509450945091939590929450565b600060046000838152602001908152602001600020549050919050565b600060056000838152602001908152602001600020549050919050565b60018054610a8d90611275565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab990611275565b8015610b065780601f10610adb57610100808354040283529160200191610b06565b820191906000526020600020905b815481529060010190602001808311610ae957829003601f168201915b505050505081565b610b16610c2a565b73ffffffffffffffffffffffffffffffffffffffff16610b346108b1565b73ffffffffffffffffffffffffffffffffffffffff1614610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b81906110e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf1906110c8565b60405180910390fd5b610c0381610c32565b50565b6000806000806000610c19600254610cf8565b945094509450945094509091929394565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000806000806000600460008769ffffffffffffffffffff1681526020019081526020016000205493506000600560008869ffffffffffffffffffff16815260200190815260200160002054905060008167ffffffffffffffff16116040518060400160405280600f81526020017f4e6f20646174612070726573656e74000000000000000000000000000000000081525090610dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc291906110a6565b60405180910390fd5b50868582838a8267ffffffffffffffff1692508167ffffffffffffffff169150955095509550955095505091939590929450565b600081359050610e0e81611388565b92915050565b600081359050610e238161139f565b92915050565b600081359050610e38816113b6565b92915050565b600081359050610e4d816113cd565b92915050565b600060208284031215610e6557600080fd5b6000610e7384828501610dff565b91505092915050565b600060208284031215610e8e57600080fd5b6000610e9c84828501610e29565b91505092915050565b60008060408385031215610eb857600080fd5b6000610ec685828601610e29565b9250506020610ed785828601610e14565b9150509250929050565b600080600060608486031215610ef657600080fd5b6000610f0486828701610e29565b9350506020610f1586828701610e29565b9250506040610f2686828701610e14565b9150509250925092565b600060208284031215610f4257600080fd5b6000610f5084828501610e3e565b91505092915050565b610f62816111cd565b82525050565b610f71816111df565b82525050565b610f80816111eb565b82525050565b6000610f91826111b1565b610f9b81856111bc565b9350610fab818560208601611242565b610fb4816112d6565b840191505092915050565b6000610fcc6026836111bc565b9150610fd7826112e7565b604082019050919050565b6000610fef6020836111bc565b9150610ffa82611336565b602082019050919050565b60006110126015836111bc565b915061101d8261135f565b602082019050919050565b61103181611215565b82525050565b6110408161122c565b82525050565b61104f8161121f565b82525050565b600060208201905061106a6000830184610f59565b92915050565b60006020820190506110856000830184610f68565b92915050565b60006020820190506110a06000830184610f77565b92915050565b600060208201905081810360008301526110c08184610f86565b905092915050565b600060208201905081810360008301526110e181610fbf565b9050919050565b6000602082019050818103600083015261110181610fe2565b9050919050565b6000602082019050818103600083015261112181611005565b9050919050565b600060208201905061113d6000830184611028565b92915050565b600060a0820190506111586000830188611037565b6111656020830187610f77565b6111726040830186611028565b61117f6060830185611028565b61118c6080830184611037565b9695505050505050565b60006020820190506111ab6000830184611046565b92915050565b600081519050919050565b600082825260208201905092915050565b60006111d8826111f5565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600069ffffffffffffffffffff82169050919050565b60005b83811015611260578082015181840152602081019050611245565b8381111561126f576000848401525b50505050565b6000600282049050600182168061128d57607f821691505b602082108114156112a1576112a06112a7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616c6c6572206e6f7420617574686f72697a65640000000000000000000000600082015250565b611391816111cd565b811461139c57600080fd5b50565b6113a8816111eb565b81146113b357600080fd5b50565b6113bf81611215565b81146113ca57600080fd5b50565b6113d68161122c565b81146113e157600080fd5b5056fea264697066735822122074d81a3021bf7539dccc93477786049484477d386c112c8c7725615efe9611a464736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001043524f49442f555344204f5241434c4500000000000000000000000000000000
-----Decoded View---------------
Arg [0] : __decimals (uint8): 8
Arg [1] : __description (string): CROID/USD ORACLE
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [3] : 43524f49442f555344204f5241434c4500000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.