Goerli Testnet

Contract

0xDD714B0A68b9c81C6878688c5dc6238f8AC8eadD
Source Code

Overview

ETH Balance

0 ETH

Multi Chain

Multichain Addresses

N/A
Transaction Hash
Method
Block
From
To
Value
0x6080604083764922023-01-25 23:16:24316 days 4 hrs ago1674688584IN
 Create: GhoOracle
0 ETH00.0000001

Latest 25 internal transactions (View All)

Advanced mode:
Parent Txn Hash Block From To Value
101452002023-12-02 15:19:245 days 11 hrs ago1701530364
0xDD714B...8AC8eadD
0 ETH
101378672023-12-01 8:48:126 days 18 hrs ago1701420492
0xDD714B...8AC8eadD
0 ETH
101364842023-12-01 3:04:367 days 14 mins ago1701399876
0xDD714B...8AC8eadD
0 ETH
100814802023-11-21 9:23:3616 days 17 hrs ago1700558616
0xDD714B...8AC8eadD
0 ETH
100730602023-11-19 21:52:2418 days 5 hrs ago1700430744
0xDD714B...8AC8eadD
0 ETH
100730552023-11-19 21:51:2418 days 5 hrs ago1700430684
0xDD714B...8AC8eadD
0 ETH
100697692023-11-19 8:16:0018 days 19 hrs ago1700381760
0xDD714B...8AC8eadD
0 ETH
100675082023-11-18 22:40:3619 days 4 hrs ago1700347236
0xDD714B...8AC8eadD
0 ETH
100675082023-11-18 22:40:3619 days 4 hrs ago1700347236
0xDD714B...8AC8eadD
0 ETH
100674992023-11-18 22:38:3619 days 4 hrs ago1700347116
0xDD714B...8AC8eadD
0 ETH
100654962023-11-18 14:19:1219 days 12 hrs ago1700317152
0xDD714B...8AC8eadD
0 ETH
100653372023-11-18 13:40:2419 days 13 hrs ago1700314824
0xDD714B...8AC8eadD
0 ETH
100640992023-11-18 8:33:3619 days 18 hrs ago1700296416
0xDD714B...8AC8eadD
0 ETH
100614542023-11-17 21:21:4820 days 5 hrs ago1700256108
0xDD714B...8AC8eadD
0 ETH
100614542023-11-17 21:21:4820 days 5 hrs ago1700256108
0xDD714B...8AC8eadD
0 ETH
100611302023-11-17 20:03:0020 days 7 hrs ago1700251380
0xDD714B...8AC8eadD
0 ETH
100609142023-11-17 19:09:0020 days 8 hrs ago1700248140
0xDD714B...8AC8eadD
0 ETH
100259522023-11-11 17:30:3626 days 9 hrs ago1699723836
0xDD714B...8AC8eadD
0 ETH
99985822023-11-06 22:36:1231 days 4 hrs ago1699310172
0xDD714B...8AC8eadD
0 ETH
99796612023-11-03 14:55:2434 days 12 hrs ago1699023324
0xDD714B...8AC8eadD
0 ETH
99685282023-11-01 13:29:4836 days 13 hrs ago1698845388
0xDD714B...8AC8eadD
0 ETH
99685272023-11-01 13:29:1236 days 13 hrs ago1698845352
0xDD714B...8AC8eadD
0 ETH
99674462023-11-01 8:48:0036 days 18 hrs ago1698828480
0xDD714B...8AC8eadD
0 ETH
99674462023-11-01 8:48:0036 days 18 hrs ago1698828480
0xDD714B...8AC8eadD
0 ETH
99674392023-11-01 8:46:0036 days 18 hrs ago1698828360
0xDD714B...8AC8eadD
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GhoOracle

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 100000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : GhoOracle.sol
// 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;
  }
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 100000
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[],"name":"GHO_PRICE","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"latestAnswer","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"pure","type":"function"}]

6080604052348015600f57600080fd5b5060a88061001e6000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c8063313ce56714604157806350d25bcd146055578063abe30b30146068575b600080fd5b604051600881526020015b60405180910390f35b6305f5e1005b604051908152602001604c565b605b6305f5e1008156fea26469706673582212204533d05e4ca7ecd8bbe7b301679b70f04ff3508237c5efaf6c374a067c799cfc64736f6c634300080a0033

Deployed Bytecode

0x6080604052348015600f57600080fd5b5060043610603c5760003560e01c8063313ce56714604157806350d25bcd146055578063abe30b30146068575b600080fd5b604051600881526020015b60405180910390f35b6305f5e1005b604051908152602001604c565b605b6305f5e1008156fea26469706673582212204533d05e4ca7ecd8bbe7b301679b70f04ff3508237c5efaf6c374a067c799cfc64736f6c634300080a0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ 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.