๐UsingWitnetRandomness
๐งSolidity Wizard
Constructor
Parameters
Type
Description
Properties
Name
Visibility
Description
witnet
Immutable public
Address of the WitnetOracle instance used by WitnetRandomness for posting randomize requests.
Events
Events
Arguments
Description
WitnetQuery
address evmRequester
uint256 evmGasPrice
uint256 evmReward
uint256 queryId
bytes32 queryRadHash
RadonSLA querySLA
Emitted every time a new randomize query gets posted to the WitnetOracle contract.
WitnetQueryUpgrade
uint256 queryId
address evmSender
uint256 evmGasPrice
uint256 evmReward
Emitted if the EVM reward for solving a previously posted randomize is increased by anyone in any amount.
Randomizing
address evmOrigin
address evmSender
uint256 witOracleQueryId
Emitted every time a new randomize is requested to the WitnetRandomness contract.
Last updated
Was this helpful?