{% content-ref url="../../solidity-wizard.md" %} solidity-wizard.md {% endcontent-ref %}
Parameters | Type | Description |
---|---|---|
_witnetRandomness | WitnetRandomness |
Address of the WitnetRandomness contract to interact with. |
Name | Visibility | Description |
---|---|---|
witnet | Immutable public | Address of the WitnetOracle instance used by WitnetRandomness for posting randomize requests. |
__RNG | Immutable internal | WitnetRandomness instance where to query and fetch randomness from. |
Events | Arguments | Description |
---|---|---|
WitnetQuery |
| Emitted every time a new randomize query gets posted to the WitnetOracle contract. |
WitnetQueryUpgrade |
| Emitted if the EVM reward for solving a previously posted randomize is increased by anyone in any amount. |
Randomizing |
| Emitted every time a new randomize is requested to the WitnetRandomness contract. |