Forkchoice Ethereum Mainnet

Address Contract Verified

Address 0xD110cac5d8682A3b045D5524a9903E031d70FCCd
Balance 0 ETH
Nonce 1
Code Size 168 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

168 bytes
0x6080604052348015600f57600080fd5b5060043610603c5760003560e01c8063313ce56714604157806350d25bcd146055578063abe30b30146068575b600080fd5b604051600881526020015b60405180910390f35b6305f5e1005b604051908152602001604c565b605b6305f5e1008156fea264697066735822122098ae2ab2ca16f84bf5acf8bde9c9f04f9aefcf4fbe5892944fefa8dddc78787664736f6c634300080a0033

Verified Source Code Full Match

Compiler: v0.8.10+commit.fc410830 EVM: london Optimization: Yes (200 runs)
GhoOracle.sol 29 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

/**
 * @title GhoOracle
 * @notice Price feed for GHO (USD denominated)
 * @dev Price fixed at 1 USD, Chainlink format with 8 decimals
 * @author Aave
 */
contract GhoOracle {
  int256 public constant GHO_PRICE = 1e8;

  /**
   * @notice Returns the price of a unit of GHO (USD denominated)
   * @dev GHO price is fixed at 1 USD
   * @return The price of a unit of GHO (with 8 decimals)
   */
  function latestAnswer() external pure returns (int256) {
    return GHO_PRICE;
  }

  /**
   * @notice Returns the number of decimals the price is formatted with
   * @return The number of decimals
   */
  function decimals() external pure returns (uint8) {
    return 8;
  }
}

Read Contract

GHO_PRICE 0xabe30b30 → int256
decimals 0x313ce567 → uint8
latestAnswer 0x50d25bcd → int256

Recent Transactions

No transactions found for this address