Comment on page
The DrawCalculatorTimelock is responsible for pushing Draws to a DrawBuffer and routing claim requests from a PrizeDistributor to a DrawCalculator. The primary objective is to include a "cooldown" period for all new Draws. Allowing the correction of a maliciously set Draw in the unfortunate event an Owner is compromised.
Allows to initialize the contract during the deployment.
Timelockstruct. Only callable by the contract owner.
Lock passed draw ID for
timelockDurationseconds. Restricts new draws by forcing a push timelock.
Transfers ownership of the contract to a
_pendingOwner. Can only be called by the current owner.
pendingOwneraddress to claim the owner role. This function is only callable by the
Leaves the contract without owner. It will not be possible to call the owner's functions anymore. Can only be called by the current owner. The method does not take any parameters. Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
Allows the owner to give the manager role to an address. The manager role has access to the functions with the modified
Read internal Timelock struct. Includes values: timestamp, drawId.
Returns bool for
Owner role that can be granted exclusive access to specific functions with the modifier
Manager role that can be granted exclusive access to specific functions with the modifier
The address that can claim the owner role. It is used to transfer the owner.