WitnetOracleTrustableOvm2
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
29
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "WitnetOracleTrustableOvm2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "WitnetOracleTrustableOvm2"
ABI
ABI objects
Getter at block 22163995
base() view returns (address)
0xdc5ec161b72c5710e2d648b3f360c9b76952397b
channel() view returns (bytes4)
0x195a8c36
class() view returns (string)
WitnetOracleTrustableOvm2
codehash() view returns (bytes32 _codehash)
0x820bc17d2c53557c30a1a715a72c5a9c09301376d1c304e7db9769acf6b41ed6
currency() view returns (address)
0x0000000000000000000000000000000000000000
deployer() view returns (address)
0x03232abe800d1638b30432feef300581de323a4e
factory() view returns (address)
0x000db36997af1f02209a6f995883b9b699900000
getNextQueryId() view returns (uint256)
1
isUpgradable() view returns (bool)
true
owner() view returns (address)
0x03232abe800d1638b30432feef300581de323a4e
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x9969c6aff411c5e5f0807500693e8f819ce88529615cfa6cab569b24788a1018
registry() view returns (address)
0x000b61fe075f545fd37767f40391658275900000
specs() view returns (bytes4)
0xbaeca88b
version() view returns (string)
2.0.14-d1063eb
Read-only
estimateBaseFee(uint256 _gasPrice, uint16 _resultMaxSize) view returns (uint256)
estimateBaseFee(uint256 gasPrice, bytes32 radHash) view returns (uint256)
estimateBaseFeeWithCallback(uint256 _gasPrice, uint24 _callbackGasLimit) view returns (uint256)
estimateReportEarnings(uint256[] _witnetQueryIds, bytes _reportTxMsgData, uint256 _reportTxGasPrice, uint256 _nanoWitPrice) view returns (uint256 _revenues, uint256 _expenses)
extractWitnetDataRequests(uint256[] _queryIds) view returns (bytes[] _bytecodes)
getQuery(uint256 _witnetQueryId) view returns (struct WitnetV2Query)
getQueryEvmReward(uint256 _witnetQueryId) view returns (uint256)
getQueryRequest(uint256 _witnetQueryId) view returns (struct WitnetV2Request)
getQueryResponse(uint256 _witnetQueryId) view returns (struct WitnetV2Response)
getQueryResponseStatus(uint256 _witnetQueryId) view returns (uint8)
getQueryResultCborBytes(uint256 _witnetQueryId) view returns (bytes)
getQueryResultError(uint256 _witnetQueryId) view returns (struct WitnetResultError)
getQueryStatus(uint256 _witnetQueryId) view returns (uint8)
getQueryStatusBatch(uint256[] _witnetQueryIds) view returns (uint8[] _status)
isReporter(address _reporter) view returns (bool)
isUpgradableFrom(address _from) view returns (bool)
State-modifying
Events acceptOwnership()
fetchQueryResponse(uint256 _witnetQueryId) returns (struct WitnetV2Response _response)
initialize(bytes _initData)
postRequest(bytes32 _queryRAD, struct WitnetV2RadonSLA _querySLA) payable returns (uint256 _witnetQueryId)
postRequestWithCallback(bytes _queryUnverifiedBytecode, struct WitnetV2RadonSLA _querySLA, uint24 _queryCallbackGasLimit) payable returns (uint256 _witnetQueryId)
postRequestWithCallback(bytes32 _queryRAD, struct WitnetV2RadonSLA _querySLA, uint24 _queryCallbackGasLimit) payable returns (uint256 _witnetQueryId)
renounceOwnership()
reportResult(uint256 _witnetQueryId, bytes32 _witnetQueryResultTallyHash, bytes _witnetQueryResultCborBytes) returns (uint256)
reportResult(uint256 _witnetQueryId, uint32 _witnetQueryResultTimestamp, bytes32 _witnetQueryResultTallyHash, bytes _witnetQueryResultCborBytes) returns (uint256)
reportResultBatch(struct IWitnetOracleReporterBatchResult[] _batchResults) returns (uint256 _batchReward)
setReporters(address[] _reporters)
transferOwnership(address newOwner)
unsetReporters(address[] _exReporters)
upgradeQueryEvmReward(uint256 _witnetQueryId) payable
BatchReportError(uint256 queryId, string reason)
Initialized(uint64 version)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Received(address from, uint256 value)
ReportersSet(address[] reporters)
ReportersUnset(address[] reporters)
Transfer(address to, uint256 value)
Upgraded(address indexed from, address indexed baseAddr, bytes32 indexed baseCodehash, string versionTag)
WitnetQuery(uint256 id, uint256 evmReward, struct WitnetV2RadonSLA witnetSLA)
WitnetQueryResponse(uint256 id, uint256 evmGasPrice)
WitnetQueryResponseDelivered(uint256 id, uint256 evmGasPrice, uint256 evmCallbackGas)
WitnetQueryResponseDeliveryFailed(uint256 id, bytes resultCborBytes, uint256 evmGasPrice, uint256 evmCallbackActualGas, string evmCallbackRevertReason)
WitnetQueryRewardUpgraded(uint256 id, uint256 evmReward)
constructor(address _factory, address _registry, bool _upgradable, bytes32 _versionTag, uint256 _reportResultGasBase, uint256 _reportResultWithCallbackGasBase, uint256 _reportResultWithCallbackRevertGasBase, uint256 _sstoreFromZeroGas)
fallback()
receive()
EmptyBuffer()
IndexOutOfBounds(uint256 index, uint256 range)
InvalidInitialization()
InvalidLengthEncoding(uint256 length)
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall()
UnexpectedMajorType(uint256 read, uint256 expected)
UnsupportedMajorType(uint256 unexpected)