Source Code
Overview
HYPE Balance
HYPE Value
$0.00View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Cross-Chain Transactions
Loading...
Loading
Contract Name:
GhoOracle
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
london EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// 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;
}
}{
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs",
"useLiteralContent": true
},
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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"}]Contract Creation Code
6080604052348015600f57600080fd5b5060a88061001e6000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c8063313ce56714604157806350d25bcd146055578063abe30b30146068575b600080fd5b604051600881526020015b60405180910390f35b6305f5e1005b604051908152602001604c565b605b6305f5e1008156fea26469706673582212200993790947c88c0cc94ac4e7bcfcec54921d012167a28480ca41487da353a21264736f6c634300080a0033
Deployed Bytecode
0x6080604052348015600f57600080fd5b5060043610603c5760003560e01c8063313ce56714604157806350d25bcd146055578063abe30b30146068575b600080fd5b604051600881526020015b60405180910390f35b6305f5e1005b604051908152602001604c565b605b6305f5e1008156fea26469706673582212200993790947c88c0cc94ac4e7bcfcec54921d012167a28480ca41487da353a21264736f6c634300080a0033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in HYPE
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.