Verified contractPartialUNLICENSED
ChainlinkEthUsdOracle
Address0x899e6f258e4fa77dfa3f94fbacbbae37a87dfd9a
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.8.26
- Same code
Only this contract
Details
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- cancun
- Via IR
- yes
- License
- UNLICENSED
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,329,889
- Creation transaction
- 0xcdee3bd703…e5ca9ed54a
Read4
- ethUsd6() → (uint256)
- feed() → (address)
- feedDecimals() → (uint8)
- maxAge() → (uint256)
Errors3
- BadAnswer(int256)
- BadFeed()
- StalePrice(uint256,uint256)
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "feed_",
"type": "address",
"internalType": "address"
},
{
"name": "maxAge_",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "BadAnswer",
"type": "error",
"inputs": [
{
"name": "answer",
"type": "int256",
"internalType": "int256"
}
]
},
{
"name": "BadFeed",
"type": "error",
"inputs": []
},
{
"name": "StalePrice",
"type": "error",
"inputs": [
{
"name": "updatedAt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxAge",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "ethUsd6",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "feed",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract AggregatorV3Interface"
}
],
"stateMutability": "view"
},
{
"name": "feedDecimals",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "uint8"
}
],
"stateMutability": "view"
},
{
"name": "maxAge",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.