WitnetOracleTrustableOvm2

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xeecb34df at 14239840
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "WitnetOracleTrustableOvm2"

No transactions found for "WitnetOracleTrustableOvm2"


Functions
Getter at block 22941618
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 _gasPriceuint16 _resultMaxSizeview returns (uint256)
estimateBaseFee(uint256 gasPricebytes32 radHashview returns (uint256)
estimateBaseFeeWithCallback(uint256 _gasPriceuint24 _callbackGasLimitview returns (uint256)
estimateReportEarnings(uint256[] _witnetQueryIdsbytes _reportTxMsgDatauint256 _reportTxGasPriceuint256 _nanoWitPriceview returns (uint256 _revenuesuint256 _expenses)
extractWitnetDataRequests(uint256[] _queryIdsview returns (bytes[] _bytecodes)
getQuery(uint256 _witnetQueryIdview returns (struct WitnetV2Query)
getQueryEvmReward(uint256 _witnetQueryIdview returns (uint256)
getQueryRequest(uint256 _witnetQueryIdview returns (struct WitnetV2Request)
getQueryResponse(uint256 _witnetQueryIdview returns (struct WitnetV2Response)
getQueryResponseStatus(uint256 _witnetQueryIdview returns (uint8)
getQueryResultCborBytes(uint256 _witnetQueryIdview returns (bytes)
getQueryResultError(uint256 _witnetQueryIdview returns (struct WitnetResultError)
getQueryStatus(uint256 _witnetQueryIdview returns (uint8)
getQueryStatusBatch(uint256[] _witnetQueryIdsview returns (uint8[] _status)
isReporter(address _reporterview returns (bool)
isUpgradableFrom(address _fromview returns (bool)
State-modifying
acceptOwnership(
fetchQueryResponse(uint256 _witnetQueryIdreturns (struct WitnetV2Response _response)
initialize(bytes _initData
postRequest(bytes32 _queryRADstruct WitnetV2RadonSLA _querySLApayable returns (uint256 _witnetQueryId)
postRequestWithCallback(bytes _queryUnverifiedBytecodestruct WitnetV2RadonSLA _querySLAuint24 _queryCallbackGasLimitpayable returns (uint256 _witnetQueryId)
postRequestWithCallback(bytes32 _queryRADstruct WitnetV2RadonSLA _querySLAuint24 _queryCallbackGasLimitpayable returns (uint256 _witnetQueryId)
renounceOwnership(
reportResult(uint256 _witnetQueryIdbytes32 _witnetQueryResultTallyHashbytes _witnetQueryResultCborBytesreturns (uint256)
reportResult(uint256 _witnetQueryIduint32 _witnetQueryResultTimestampbytes32 _witnetQueryResultTallyHashbytes _witnetQueryResultCborBytesreturns (uint256)
reportResultBatch(struct IWitnetOracleReporterBatchResult[] _batchResultsreturns (uint256 _batchReward)
setReporters(address[] _reporters
transferOwnership(address newOwner
unsetReporters(address[] _exReporters
upgradeQueryEvmReward(uint256 _witnetQueryIdpayable 
Events
BatchReportError(uint256 queryIdstring reason
Initialized(uint64 version
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Received(address fromuint256 value
ReportersSet(address[] reporters
ReportersUnset(address[] reporters
Transfer(address touint256 value
Upgraded(address indexed fromaddress indexed baseAddrbytes32 indexed baseCodehashstring versionTag
WitnetQuery(uint256 iduint256 evmRewardstruct WitnetV2RadonSLA witnetSLA
WitnetQueryResponse(uint256 iduint256 evmGasPrice
WitnetQueryResponseDelivered(uint256 iduint256 evmGasPriceuint256 evmCallbackGas
WitnetQueryResponseDeliveryFailed(uint256 idbytes resultCborBytesuint256 evmGasPriceuint256 evmCallbackActualGasstring evmCallbackRevertReason
WitnetQueryRewardUpgraded(uint256 iduint256 evmReward
Constructor
constructor(address _factoryaddress _registrybool _upgradablebytes32 _versionTaguint256 _reportResultGasBaseuint256 _reportResultWithCallbackGasBaseuint256 _reportResultWithCallbackRevertGasBaseuint256 _sstoreFromZeroGas
Fallback and receive
fallback(
receive(
Errors
EmptyBuffer(
IndexOutOfBounds(uint256 indexuint256 range
InvalidInitialization(
InvalidLengthEncoding(uint256 length
NotInitializing(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(
UnexpectedMajorType(uint256 readuint256 expected
UnsupportedMajorType(uint256 unexpected