Callback
Callback
This file documents a contract which is not yet deployed to Mainnet.
Library for handling calls to random beacon consumer.
Data
CallbackFailed
setCallbackContract
Sets callback contract.
Parameters
Name | Type | Description |
---|---|---|
self | struct Callback.Data | |
callbackContract | contract IRandomBeaconConsumer | Callback contract. |
executeCallback
Executes consumer specified callback for the relay entry request.
Parameters
Name | Type | Description |
---|---|---|
self | struct Callback.Data | |
entry | uint256 | The generated random number. |
callbackGasLimit | uint256 | Callback gas limit. |
Last updated