AxiomV1Query

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x1b17b90f at 17618031
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 39 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 39 additional slots

No balances found for "AxiomV1Query"

No transactions found for "AxiomV1Query"


Functions
Getter at block 21204006
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GUARDIAN_ROLE(view returns (bytes32)
0x55435dd261a4b9b3364963f7738a7a662ad9c84396d64be3365284bb7f0a5041
PROVER_ROLE(view returns (bytes32)
0x60044782a422109ac08a415e44260ad5d3bad63d96ebe1fac0363399642ee3f2
TIMELOCK_ROLE(view returns (bytes32)
0xf66846415d2bf9eabda9e84793ff9c0ea96d87f50fc41e66aa16469c6a442f05
axiomAddress(view returns (address)
0x0000000000000000000000000000000000000000
frozen(view returns (bool)
false
maxQueryPrice(view returns (uint256)
0
minQueryPrice(view returns (uint256)
0
mmrVerifierAddress(view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID(view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
queryDeadlineInterval(view returns (uint32)
0
Read-only
areResponsesValid(bytes32 keccakBlockResponsebytes32 keccakAccountResponsebytes32 keccakStorageResponsestruct IAxiomV1QueryBlockResponse[] blockResponsesstruct IAxiomV1QueryAccountResponse[] accountResponsesstruct IAxiomV1QueryStorageResponse[] storageResponsesview returns (bool)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isKeccakResultValid(bytes32 keccakBlockResponsebytes32 keccakAccountResponsebytes32 keccakStorageResponseview returns (bool)
isPoseidonResultValid(bytes32 poseidonBlockResponsebytes32 poseidonAccountResponsebytes32 poseidonStorageResponseview returns (bool)
queries(bytes32view returns (uint256 paymentuint8 stateuint32 deadlineBlockNumberaddress refundee)
supportsInterface(bytes4 interfaceIdview returns (bool)
verifiedKeccakResults(bytes32view returns (bool)
verifiedPoseidonResults(bytes32view returns (bool)
State-modifying
collectRefund(bytes32 keccakQueryResponse
freezeAll(
fulfillQueryVsMMR(bytes32 keccakQueryResponseaddress payeeuint32 mmrIdxstruct IAxiomV1QueryRecentMMRWitness mmrWitnessbytes proof
grantRole(bytes32 roleaddress account
initialize(address _axiomAddressaddress _mmrVerifierAddressuint256 _minQueryPriceuint256 _maxQueryPriceuint32 _queryDeadlineIntervaladdress timelockaddress guardian
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
sendOffchainQuery(bytes32 keccakQueryResponseaddress refundeebytes32 ipfsHashpayable 
sendQuery(bytes32 keccakQueryResponseaddress refundeebytes querypayable 
unfreezeAll(
updateAxiomAddress(address _axiomAddress
updateMMRVerifierAddress(address _mmrVerifierAddress
updateMaxQueryPrice(uint256 _maxQueryPrice
updateMinQueryPrice(uint256 _minQueryPrice
updateQueryDeadlineInterval(uint32 _queryDeadlineInterval
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
verifyResultVsMMR(uint32 mmrIdxstruct IAxiomV1QueryRecentMMRWitness mmrWitnessbytes proof
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
FreezeAll(
Initialized(uint8 version
KeccakResultEvent(bytes32 keccakBlockResponsebytes32 keccakAccountResponsebytes32 keccakStorageResponse
PoseidonResultEvent(bytes32 poseidonBlockResponsebytes32 poseidonAccountResponsebytes32 poseidonStorageResponse
QueryFulfilled(bytes32 keccakQueryResponseuint256 paymentaddress prover
QueryInitiatedOffchain(bytes32 keccakQueryResponseuint256 paymentuint32 deadlineBlockNumberaddress refundeebytes32 ipfsHash
QueryInitiatedOnchain(bytes32 keccakQueryResponseuint256 paymentuint32 deadlineBlockNumberaddress refundeebytes32 queryHash
QueryRefunded(bytes32 keccakQueryResponseuint256 paymentuint32 deadlineBlockNumberaddress refundee
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
UnfreezeAll(
UpdateAxiomAddress(address newAddress
UpdateMMRVerifierAddress(address newAddress
UpdateMaxQueryPrice(uint256 maxQueryPrice
UpdateMinQueryPrice(uint256 minQueryPrice
UpdateQueryDeadlineInterval(uint32 queryDeadlineInterval
Upgraded(address indexed implementation
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
BlockHashNotValidatedInCache(
BlockHashWitnessNotRecent(
BlockMerkleRootDoesNotMatchProof(
CannotFulfillIfNotActive(
CannotRefundBeforeDeadline(
CannotRefundIfNotActive(
ClaimedMMRDoesNotMatchRecent(
ContractIsFrozen(
HistoricalMMRKeccakDoesNotMatchProof(
KeccakQueryResponseDoesNotMatchProof(
MMREndBlockNotRecent(
MMRProofVerificationFailed(
NotProverRole(
PriceNotPaid(
PriceTooHigh(
ProofVerificationFailed(
QueryNotInactive(