Проверенный контрактЧастичноеGPL-3.0
ChainlinkOracleFeed
Адрес0x7c19b0cf11b396dfd4b9e8a7274e22b8948a6fa4
- Баланс
0 ETH
- Транзакций
0
- Компилятор
solc 0.8.30
- Тот же код
ещё 6 контрактов
Подробности
- Компилятор
- solc 0.8.30+commit.73712a01
- Язык
- solidity
- Оптимизация
- Да, 1 500 прогонов
- Версия EVM
- osaka
- Через IR
- да
- Лицензия
- GPL-3.0
- Совпадение
- Частичноекод создания: да, код в сети: да
- Проверен на Sourcify
- Создан в блоке
- 26 297 114
- Транзакция создания
- 0x1a3a6fe7ca…8df16fe880
Чтение2
- oracle() → (address)
- oracleStalenessThreshold() → (uint256)
Запись1
- getPrice() → (uint256,uint256)
События1
- OraclePrice(uint256)
Ошибки2
- InvalidOracleAddress()
- InvalidOraclePrice()
ABI в JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "_oracle",
"type": "address",
"internalType": "address"
},
{
"name": "_oracleStalenessThreshold",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "InvalidOracleAddress",
"type": "error",
"inputs": []
},
{
"name": "InvalidOraclePrice",
"type": "error",
"inputs": []
},
{
"name": "OraclePrice",
"type": "event",
"inputs": [
{
"name": "price",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "getPrice",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "oracle",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract AggregatorV3Interface"
}
],
"stateMutability": "view"
},
{
"name": "oracleStalenessThreshold",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
}
]Исходный код и метаданные: Sourcify.
Исходный код принадлежит авторам контракта.