Random Chainlink
EeseeRandomChainlink
ChainlinkContructorArgs
Because of the Stack too deep error, we combine some constructor arguments into a single stuct
subscriptionID
Chainlink VRF V2 subscription ID.
callbackGasLimit
Chainlink VRF V2 gas limit to call fulfillRandomWords() with.
vrfCoordinator
Chainlink VRF V2 coordinator.
ChangeCallbackGasLimit
performUpkeep
Requests random from Chainlink. Emits {RequestRandom} event.
changeCallbackGasLimit
Changes callbackGasLimit. Emits {ChangeCallbackGasLimit} event.
Parameters
checkUpkeep
Called by Chainlink Keeper to determine if performUpkeep() needs to be called.
Inherited from VRFConsumerBaseV2
rawFulfillRandomWords
Inherited from EeseeRandomBase
requestRandomImmediate
Request random immediately, skipping canRequestRandom() check. Emits {RequestRandom} event. Note: This function can only be called by REQUEST_RANDOM_ROLE.
changeRandomRequestInterval
Changes randomRequestInterval. Emits {ChangeRandomRequestInterval} event.
Parameters
getRandomFromTimestamp
canRequestRandom
Check if random needs to be requested.
ChangeRandomRequestInterval
Inherited from EeseeRoleHandler
Inherited from IEeseeRandom
random
lastRandomRequestTimestamp
randomRequestInterval
MAX_RANDOM_REQUEST_INTERVAL
FulfillRandom
RequestRandom
Last updated