Проверенный контрактЧастичное
AccessControlledAggregator
Адрес0x07f91b341be87a94a36ec052d3468cfd1fa29aa6
- Баланс
0 ETH
- Транзакций
10 419
- Компилятор
solc 0.6.6
- Тот же код
ещё 4 контракта
Подробности
- Компилятор
- solc 0.6.6+commit.6c089d02
- Язык
- solidity
- Оптимизация
- Да, 1 000 000 прогонов
- Версия EVM
- istanbul
- Лицензия
- Не указана
- Совпадение
- Частичноекод создания: да, код в сети: да
- Проверен на Sourcify
- Создан в блоке
- 11 375 786
- Транзакция создания
- 0xadfbaa3137…e39424acfc
- Основная копия (больше всего транзакций)
- 0x8ca9ea8e…ff093be3
Чтение29
- allocatedFunds() → (uint128)
- availableFunds() → (uint128)
- checkEnabled() → (bool)
- decimals() → (uint8)
- description() → (string)
- getAdmin(address) → (address)
- getAnswer(uint256) → (int256)
- getOracles() → (address[])
- getRoundData(uint80) → (uint80,int256,uint256,uint256,uint80)
- getTimestamp(uint256) → (uint256)
- hasAccess(address,bytes) → (bool)
- latestAnswer() → (int256)
- latestRound() → (uint256)
- latestRoundData() → (uint80,int256,uint256,uint256,uint80)
- latestTimestamp() → (uint256)
- linkToken() → (address)
- maxSubmissionCount() → (uint32)
- maxSubmissionValue() → (int256)
- minSubmissionCount() → (uint32)
- minSubmissionValue() → (int256)
- oracleCount() → (uint8)
- oracleRoundState(address,uint32) → (bool,uint32,int256,uint64,uint64,uint128,uint8,uint128)
- owner() → (address)
- paymentAmount() → (uint128)
- restartDelay() → (uint32)
- timeout() → (uint32)
- validator() → (address)
- version() → (uint256)
- withdrawablePayment(address) → (uint256)
Запись18
- acceptAdmin(address)
- acceptOwnership()
- addAccess(address)
- changeOracles(address[],address[],address[],uint32,uint32,uint32)
- disableAccessCheck()
- enableAccessCheck()
- onTokenTransfer(address,uint256,bytes)
- removeAccess(address)
- requestNewRound() → (uint80)
- setRequesterPermissions(address,bool,uint32)
- setValidator(address)
- submit(uint256,int256)
- transferAdmin(address,address)
- transferOwnership(address)
- updateAvailableFunds()
- updateFutureRounds(uint128,uint32,uint32,uint32,uint32)
- withdrawFunds(address,uint256)
- withdrawPayment(address,address,uint256)
События16
- AddedAccess(address)
- AnswerUpdated(int256,uint256,uint256)
- AvailableFundsUpdated(uint256)
- CheckAccessDisabled()
- CheckAccessEnabled()
- NewRound(uint256,address,uint256)
- OracleAdminUpdateRequested(address,address,address)
- OracleAdminUpdated(address,address)
- OraclePermissionsUpdated(address,bool)
- OwnershipTransferRequested(address,address)
- OwnershipTransferred(address,address)
- RemovedAccess(address)
- RequesterPermissionsSet(address,bool,uint32)
- RoundDetailsUpdated(uint128,uint32,uint32,uint32,uint32)
- SubmissionReceived(int256,uint32,address)
- ValidatorUpdated(address,address)
ABI в JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "_link",
"type": "address",
"internalType": "address"
},
{
"name": "_paymentAmount",
"type": "uint128",
"internalType": "uint128"
},
{
"name": "_timeout",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_validator",
"type": "address",
"internalType": "address"
},
{
"name": "_minSubmissionValue",
"type": "int256",
"internalType": "int256"
},
{
"name": "_maxSubmissionValue",
"type": "int256",
"internalType": "int256"
},
{
"name": "_decimals",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "_description",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "nonpayable"
},
{
"name": "AddedAccess",
"type": "event",
"inputs": [
{
"name": "user",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "AnswerUpdated",
"type": "event",
"inputs": [
{
"name": "current",
"type": "int256",
"indexed": true,
"internalType": "int256"
},
{
"name": "roundId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "updatedAt",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "AvailableFundsUpdated",
"type": "event",
"inputs": [
{
"name": "amount",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "CheckAccessDisabled",
"type": "event",
"inputs": [],
"anonymous": false
},
{
"name": "CheckAccessEnabled",
"type": "event",
"inputs": [],
"anonymous": false
},
{
"name": "NewRound",
"type": "event",
"inputs": [
{
"name": "roundId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "startedBy",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "startedAt",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "OracleAdminUpdateRequested",
"type": "event",
"inputs": [
{
"name": "oracle",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "admin",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "newAdmin",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "OracleAdminUpdated",
"type": "event",
"inputs": [
{
"name": "oracle",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newAdmin",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "OraclePermissionsUpdated",
"type": "event",
"inputs": [
{
"name": "oracle",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "whitelisted",
"type": "bool",
"indexed": true,
"internalType": "bool"
}
],
"anonymous": false
},
{
"name": "OwnershipTransferRequested",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "OwnershipTransferred",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "RemovedAccess",
"type": "event",
"inputs": [
{
"name": "user",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "RequesterPermissionsSet",
"type": "event",
"inputs": [
{
"name": "requester",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "authorized",
"type": "bool",
"indexed": false,
"internalType": "bool"
},
{
"name": "delay",
"type": "uint32",
"indexed": false,
"internalType": "uint32"
}
],
"anonymous": false
},
{
"name": "RoundDetailsUpdated",
"type": "event",
"inputs": [
{
"name": "paymentAmount",
"type": "uint128",
"indexed": true,
"internalType": "uint128"
},
{
"name": "minSubmissionCount",
"type": "uint32",
"indexed": true,
"internalType": "uint32"
},
{
"name": "maxSubmissionCount",
"type": "uint32",
"indexed": true,
"internalType": "uint32"
},
{
"name": "restartDelay",
"type": "uint32",
"indexed": false,
"internalType": "uint32"
},
{
"name": "timeout",
"type": "uint32",
"indexed": false,
"internalType": "uint32"
}
],
"anonymous": false
},
{
"name": "SubmissionReceived",
"type": "event",
"inputs": [
{
"name": "submission",
"type": "int256",
"indexed": true,
"internalType": "int256"
},
{
"name": "round",
"type": "uint32",
"indexed": true,
"internalType": "uint32"
},
{
"name": "oracle",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "ValidatorUpdated",
"type": "event",
"inputs": [
{
"name": "previous",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "current",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "acceptAdmin",
"type": "function",
"inputs": [
{
"name": "_oracle",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "acceptOwnership",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "addAccess",
"type": "function",
"inputs": [
{
"name": "_user",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "allocatedFunds",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint128",
"internalType": "uint128"
}
],
"stateMutability": "view"
},
{
"name": "availableFunds",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint128",
"internalType": "uint128"
}
],
"stateMutability": "view"
},
{
"name": "changeOracles",
"type": "function",
"inputs": [
{
"name": "_removed",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "_added",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "_addedAdmins",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "_minSubmissions",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_maxSubmissions",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_restartDelay",
"type": "uint32",
"internalType": "uint32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "checkEnabled",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "decimals",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "uint8"
}
],
"stateMutability": "view"
},
{
"name": "description",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "disableAccessCheck",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "enableAccessCheck",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "getAdmin",
"type": "function",
"inputs": [
{
"name": "_oracle",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "getAnswer",
"type": "function",
"inputs": [
{
"name": "_roundId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "int256",
"internalType": "int256"
}
],
"stateMutability": "view"
},
{
"name": "getOracles",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address[]",
"internalType": "address[]"
}
],
"stateMutability": "view"
},
{
"name": "getRoundData",
"type": "function",
"inputs": [
{
"name": "_roundId",
"type": "uint80",
"internalType": "uint80"
}
],
"outputs": [
{
"name": "roundId",
"type": "uint80",
"internalType": "uint80"
},
{
"name": "answer",
"type": "int256",
"internalType": "int256"
},
{
"name": "startedAt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "updatedAt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "answeredInRound",
"type": "uint80",
"internalType": "uint80"
}
],
"stateMutability": "view"
},
{
"name": "getTimestamp",
"type": "function",
"inputs": [
{
"name": "_roundId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "hasAccess",
"type": "function",
"inputs": [
{
"name": "_user",
"type": "address",
"internalType": "address"
},
{
"name": "_calldata",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "latestAnswer",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "int256",
"internalType": "int256"
}
],
"stateMutability": "view"
},
{
"name": "latestRound",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "latestRoundData",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "roundId",
"type": "uint80",
"internalType": "uint80"
},
{
"name": "answer",
"type": "int256",
"internalType": "int256"
},
{
"name": "startedAt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "updatedAt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "answeredInRound",
"type": "uint80",
"internalType": "uint80"
}
],
"stateMutability": "view"
},
{
"name": "latestTimestamp",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "linkToken",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract LinkTokenInterface"
}
],
"stateMutability": "view"
},
{
"name": "maxSubmissionCount",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint32",
"internalType": "uint32"
}
],
"stateMutability": "view"
},
{
"name": "maxSubmissionValue",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "int256",
"internalType": "int256"
}
],
"stateMutability": "view"
},
{
"name": "minSubmissionCount",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint32",
"internalType": "uint32"
}
],
"stateMutability": "view"
},
{
"name": "minSubmissionValue",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "int256",
"internalType": "int256"
}
],
"stateMutability": "view"
},
{
"name": "onTokenTransfer",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "oracleCount",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "uint8"
}
],
"stateMutability": "view"
},
{
"name": "oracleRoundState",
"type": "function",
"inputs": [
{
"name": "_oracle",
"type": "address",
"internalType": "address"
},
{
"name": "_queriedRoundId",
"type": "uint32",
"internalType": "uint32"
}
],
"outputs": [
{
"name": "_eligibleToSubmit",
"type": "bool",
"internalType": "bool"
},
{
"name": "_roundId",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_latestSubmission",
"type": "int256",
"internalType": "int256"
},
{
"name": "_startedAt",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "_timeout",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "_availableFunds",
"type": "uint128",
"internalType": "uint128"
},
{
"name": "_oracleCount",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "_paymentAmount",
"type": "uint128",
"internalType": "uint128"
}
],
"stateMutability": "view"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "paymentAmount",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint128",
"internalType": "uint128"
}
],
"stateMutability": "view"
},
{
"name": "removeAccess",
"type": "function",
"inputs": [
{
"name": "_user",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "requestNewRound",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint80",
"internalType": "uint80"
}
],
"stateMutability": "nonpayable"
},
{
"name": "restartDelay",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint32",
"internalType": "uint32"
}
],
"stateMutability": "view"
},
{
"name": "setRequesterPermissions",
"type": "function",
"inputs": [
{
"name": "_requester",
"type": "address",
"internalType": "address"
},
{
"name": "_authorized",
"type": "bool",
"internalType": "bool"
},
{
"name": "_delay",
"type": "uint32",
"internalType": "uint32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setValidator",
"type": "function",
"inputs": [
{
"name": "_newValidator",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "submit",
"type": "function",
"inputs": [
{
"name": "_roundId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_submission",
"type": "int256",
"internalType": "int256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "timeout",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint32",
"internalType": "uint32"
}
],
"stateMutability": "view"
},
{
"name": "transferAdmin",
"type": "function",
"inputs": [
{
"name": "_oracle",
"type": "address",
"internalType": "address"
},
{
"name": "_newAdmin",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "_to",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updateAvailableFunds",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updateFutureRounds",
"type": "function",
"inputs": [
{
"name": "_paymentAmount",
"type": "uint128",
"internalType": "uint128"
},
{
"name": "_minSubmissions",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_maxSubmissions",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_restartDelay",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_timeout",
"type": "uint32",
"internalType": "uint32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "validator",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract AggregatorValidatorInterface"
}
],
"stateMutability": "view"
},
{
"name": "version",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "withdrawFunds",
"type": "function",
"inputs": [
{
"name": "_recipient",
"type": "address",
"internalType": "address"
},
{
"name": "_amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "withdrawPayment",
"type": "function",
"inputs": [
{
"name": "_oracle",
"type": "address",
"internalType": "address"
},
{
"name": "_recipient",
"type": "address",
"internalType": "address"
},
{
"name": "_amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "withdrawablePayment",
"type": "function",
"inputs": [
{
"name": "_oracle",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
}
]Исходный код и метаданные: Sourcify.
Исходный код принадлежит авторам контракта.