Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 778 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Update Answer | 20274096 | 3 hrs ago | IN | 0 ETH | 0.00017596 | ||||
Update Answer | 20272502 | 9 hrs ago | IN | 0 ETH | 0.00011762 | ||||
Update Answer | 20268898 | 21 hrs ago | IN | 0 ETH | 0.00012589 | ||||
Update Answer | 20265470 | 32 hrs ago | IN | 0 ETH | 0.00008605 | ||||
Update Answer | 20261879 | 44 hrs ago | IN | 0 ETH | 0.00011167 | ||||
Update Answer | 20261333 | 46 hrs ago | IN | 0 ETH | 0.00012846 | ||||
Update Answer | 20258079 | 2 days ago | IN | 0 ETH | 0.00010292 | ||||
Update Answer | 20254497 | 2 days ago | IN | 0 ETH | 0.00008543 | ||||
Update Answer | 20250894 | 3 days ago | IN | 0 ETH | 0.00007756 | ||||
Update Answer | 20249151 | 3 days ago | IN | 0 ETH | 0.00010621 | ||||
Update Answer | 20246291 | 4 days ago | IN | 0 ETH | 0.00011985 | ||||
Update Answer | 20242683 | 4 days ago | IN | 0 ETH | 0.00012526 | ||||
Update Answer | 20242459 | 4 days ago | IN | 0 ETH | 0.00014817 | ||||
Update Answer | 20242235 | 4 days ago | IN | 0 ETH | 0.00017928 | ||||
Update Answer | 20242036 | 4 days ago | IN | 0 ETH | 0.00023122 | ||||
Update Answer | 20241762 | 4 days ago | IN | 0 ETH | 0.00024426 | ||||
Update Answer | 20241513 | 4 days ago | IN | 0 ETH | 0.00043402 | ||||
Update Answer | 20241115 | 4 days ago | IN | 0 ETH | 0.00040419 | ||||
Update Answer | 20240741 | 4 days ago | IN | 0 ETH | 0.00040229 | ||||
Update Answer | 20240145 | 4 days ago | IN | 0 ETH | 0.00025945 | ||||
Update Answer | 20239274 | 5 days ago | IN | 0 ETH | 0.00031218 | ||||
Update Answer | 20238926 | 5 days ago | IN | 0 ETH | 0.0006044 | ||||
Update Answer | 20238653 | 5 days ago | IN | 0 ETH | 0.00055309 | ||||
Update Answer | 20238454 | 5 days ago | IN | 0 ETH | 0.00046277 | ||||
Update Answer | 20238231 | 5 days ago | IN | 0 ETH | 0.00046059 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
OracleFeed
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 300 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/AccessControl.sol"; import "../interfaces/IAggregatorV3Interface.sol"; /** * @title OracleFeed */ contract OracleFeed is IAggregatorV3Interface, AccessControl { event AnswerUpdated(int256 indexed current, uint256 roundId, uint256 updatedAt); uint256 public constant version = 0; uint8 public override decimals; int256 public latestAnswer; uint256 public latestTimestamp; string public description; constructor(uint8 _decimals, int256 _initialAnswer, string memory _description) { decimals = _decimals; description = _description; _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); updateAnswer(_initialAnswer); } function updateAnswer(int256 _answer) public onlyRole(DEFAULT_ADMIN_ROLE) { latestAnswer = _answer; latestTimestamp = block.timestamp; emit AnswerUpdated(latestAnswer, 0, block.timestamp); } function latestRoundData() external view override returns ( uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound ) { return ( uint80(0), latestAnswer, latestTimestamp, latestTimestamp, uint80(0) ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) 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: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; interface IAggregatorV3Interface { function decimals() external view returns (uint8); function latestRoundData() external view returns ( uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound ); }
{ "optimizer": { "enabled": true, "runs": 300 }, "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":"int256","name":"_initialAnswer","type":"int256"},{"internalType":"string","name":"_description","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"int256","name":"current","type":"int256"},{"indexed":false,"internalType":"uint256","name":"roundId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"updatedAt","type":"uint256"}],"name":"AnswerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestAnswer","outputs":[{"internalType":"int256","name":"","type":"int256"}],"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":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int256","name":"_answer","type":"int256"}],"name":"updateAnswer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200114b3803806200114b8339810160408190526200003491620004d0565b6001805460ff191660ff85161790558051620000589060049060208401906200042a565b50620000666000336200007a565b62000071826200008a565b5050506200074a565b620000868282620000ea565b5050565b60006200009881336200018a565b600282905542600381905560405183917f0559884fd3a460db3073b7fc896cc77986f16e378210ded43186175bf646fc5f91620000de9160008252602082015260400190565b60405180910390a25050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000086576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001463390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200008657620001d4816001600160a01b031660146200022e60201b620004461760201c565b620001ea836020620004466200022e821b17811c565b604051602001620001fd929190620005a9565b60408051601f198184030181529082905262461bcd60e51b8252620002259160040162000622565b60405180910390fd5b606060006200023f83600262000672565b6200024c90600262000657565b6001600160401b038111156200027257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156200029d576020820181803683370190505b509050600360fc1b81600081518110620002c757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106200030557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060006200032b84600262000672565b6200033890600162000657565b90505b6001811115620003d2576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106200037c57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110620003a157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93620003ca81620006c7565b90506200033b565b508315620004235760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640162000225565b9392505050565b8280546200043890620006e1565b90600052602060002090601f0160209004810192826200045c5760008555620004a7565b82601f106200047757805160ff1916838001178555620004a7565b82800160010185558215620004a7579182015b82811115620004a75782518255916020019190600101906200048a565b50620004b5929150620004b9565b5090565b5b80821115620004b55760008155600101620004ba565b600080600060608486031215620004e5578283fd5b835160ff81168114620004f6578384fd5b6020850151604086015191945092506001600160401b03808211156200051a578283fd5b818601915086601f8301126200052e578283fd5b81518181111562000543576200054362000734565b604051601f8201601f19908116603f011681019083821181831017156200056e576200056e62000734565b8160405282815289602084870101111562000587578586fd5b6200059a83602083016020880162000694565b80955050505050509250925092565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351620005e381601785016020880162000694565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516200061681602884016020880162000694565b01602801949350505050565b60208152600082518060208401526200064381604085016020870162000694565b601f01601f19169190910160400192915050565b600082198211156200066d576200066d6200071e565b500190565b60008160001904831182151516156200068f576200068f6200071e565b500290565b60005b83811015620006b157818101518382015260200162000697565b83811115620006c1576000848401525b50505050565b600081620006d957620006d96200071e565b506000190190565b600181811c90821680620006f657607f821691505b602082108114156200071857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6109f1806200075a6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80637284e4161161008c578063a217fddf11610066578063a217fddf14610198578063a87a20ce146101f5578063d547741f14610208578063feaf968c1461021b57600080fd5b80637284e416146101a05780638205bf6a146101b557806391d14854146101be57600080fd5b8063313ce567116100c8578063313ce5671461015d57806336568abe1461017c57806350d25bcd1461018f57806354fd4d501461019857600080fd5b806301ffc9a7146100ef578063248a9ca3146101175780632f2ff15d14610148575b600080fd5b6101026100fd36600461081c565b610250565b60405190151581526020015b60405180910390f35b61013a6101253660046107ca565b60009081526020819052604090206001015490565b60405190815260200161010e565b61015b6101563660046107e2565b610287565b005b60015461016a9060ff1681565b60405160ff909116815260200161010e565b61015b61018a3660046107e2565b6102b2565b61013a60025481565b61013a600081565b6101a8610335565b60405161010e91906108b9565b61013a60035481565b6101026101cc3660046107e2565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b61015b6102033660046107ca565b6103c3565b61015b6102163660046107e2565b610420565b60025460035460408051600080825260208201949094529081018290526060810191909152608081019190915260a00161010e565b60006001600160e01b03198216637965db0b60e01b148061028157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000828152602081905260409020600101546102a3813361062f565b6102ad83836106ad565b505050565b6001600160a01b03811633146103275760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610331828261074b565b5050565b600480546103429061096a565b80601f016020809104026020016040519081016040528092919081815260200182805461036e9061096a565b80156103bb5780601f10610390576101008083540402835291602001916103bb565b820191906000526020600020905b81548152906001019060200180831161039e57829003601f168201915b505050505081565b60006103cf813361062f565b600282905542600381905560405183917f0559884fd3a460db3073b7fc896cc77986f16e378210ded43186175bf646fc5f916104149160008252602082015260400190565b60405180910390a25050565b60008281526020819052604090206001015461043c813361062f565b6102ad838361074b565b60606000610455836002610904565b6104609060026108ec565b67ffffffffffffffff81111561048657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156104b0576020820181803683370190505b509050600360fc1b816000815181106104d957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061051657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061053a846002610904565b6105459060016108ec565b90505b60018111156105d9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061058757634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106105ab57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936105d281610953565b9050610548565b5083156106285760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161031e565b9392505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166103315761066b816001600160a01b03166014610446565b610676836020610446565b604051602001610687929190610844565b60408051601f198184030181529082905262461bcd60e51b825261031e916004016108b9565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610331576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556107073390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615610331576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000602082840312156107db578081fd5b5035919050565b600080604083850312156107f4578081fd5b8235915060208301356001600160a01b0381168114610811578182fd5b809150509250929050565b60006020828403121561082d578081fd5b81356001600160e01b031981168114610628578182fd5b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161087c816017850160208801610923565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516108ad816028840160208801610923565b01602801949350505050565b60208152600082518060208401526108d8816040850160208701610923565b601f01601f19169190910160400192915050565b600082198211156108ff576108ff6109a5565b500190565b600081600019048311821515161561091e5761091e6109a5565b500290565b60005b8381101561093e578181015183820152602001610926565b8381111561094d576000848401525b50505050565b600081610962576109626109a5565b506000190190565b600181811c9082168061097e57607f821691505b6020821081141561099f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212201e751c3d161d8f4ac829f1df2281199ef0c340dad913d31182de95e28136a7f764736f6c63430008040033000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000001a4a504547642042414b4320466c6f6f7220507269636520455448000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80637284e4161161008c578063a217fddf11610066578063a217fddf14610198578063a87a20ce146101f5578063d547741f14610208578063feaf968c1461021b57600080fd5b80637284e416146101a05780638205bf6a146101b557806391d14854146101be57600080fd5b8063313ce567116100c8578063313ce5671461015d57806336568abe1461017c57806350d25bcd1461018f57806354fd4d501461019857600080fd5b806301ffc9a7146100ef578063248a9ca3146101175780632f2ff15d14610148575b600080fd5b6101026100fd36600461081c565b610250565b60405190151581526020015b60405180910390f35b61013a6101253660046107ca565b60009081526020819052604090206001015490565b60405190815260200161010e565b61015b6101563660046107e2565b610287565b005b60015461016a9060ff1681565b60405160ff909116815260200161010e565b61015b61018a3660046107e2565b6102b2565b61013a60025481565b61013a600081565b6101a8610335565b60405161010e91906108b9565b61013a60035481565b6101026101cc3660046107e2565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b61015b6102033660046107ca565b6103c3565b61015b6102163660046107e2565b610420565b60025460035460408051600080825260208201949094529081018290526060810191909152608081019190915260a00161010e565b60006001600160e01b03198216637965db0b60e01b148061028157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000828152602081905260409020600101546102a3813361062f565b6102ad83836106ad565b505050565b6001600160a01b03811633146103275760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610331828261074b565b5050565b600480546103429061096a565b80601f016020809104026020016040519081016040528092919081815260200182805461036e9061096a565b80156103bb5780601f10610390576101008083540402835291602001916103bb565b820191906000526020600020905b81548152906001019060200180831161039e57829003601f168201915b505050505081565b60006103cf813361062f565b600282905542600381905560405183917f0559884fd3a460db3073b7fc896cc77986f16e378210ded43186175bf646fc5f916104149160008252602082015260400190565b60405180910390a25050565b60008281526020819052604090206001015461043c813361062f565b6102ad838361074b565b60606000610455836002610904565b6104609060026108ec565b67ffffffffffffffff81111561048657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156104b0576020820181803683370190505b509050600360fc1b816000815181106104d957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061051657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061053a846002610904565b6105459060016108ec565b90505b60018111156105d9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061058757634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106105ab57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936105d281610953565b9050610548565b5083156106285760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161031e565b9392505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166103315761066b816001600160a01b03166014610446565b610676836020610446565b604051602001610687929190610844565b60408051601f198184030181529082905262461bcd60e51b825261031e916004016108b9565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610331576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556107073390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615610331576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000602082840312156107db578081fd5b5035919050565b600080604083850312156107f4578081fd5b8235915060208301356001600160a01b0381168114610811578182fd5b809150509250929050565b60006020828403121561082d578081fd5b81356001600160e01b031981168114610628578182fd5b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161087c816017850160208801610923565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516108ad816028840160208801610923565b01602801949350505050565b60208152600082518060208401526108d8816040850160208701610923565b601f01601f19169190910160400192915050565b600082198211156108ff576108ff6109a5565b500190565b600081600019048311821515161561091e5761091e6109a5565b500290565b60005b8381101561093e578181015183820152602001610926565b8381111561094d576000848401525b50505050565b600081610962576109626109a5565b506000190190565b600181811c9082168061097e57607f821691505b6020821081141561099f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212201e751c3d161d8f4ac829f1df2281199ef0c340dad913d31182de95e28136a7f764736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000001a4a504547642042414b4320466c6f6f7220507269636520455448000000000000
-----Decoded View---------------
Arg [0] : _decimals (uint8): 18
Arg [1] : _initialAnswer (int256): 0
Arg [2] : _description (string): JPEGd BAKC Floor Price ETH
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 000000000000000000000000000000000000000000000000000000000000001a
Arg [4] : 4a504547642042414b4320466c6f6f7220507269636520455448000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.