OneDayDelayTimelockController
Inherits: TimelockController
Author: luoyhang003
A TimelockController with a 1-day delay for executing operations
This contract extends OpenZeppelin's TimelockController and sets the execution delay to 1 day. Proposals must wait 1 day before they can be executed.
Functions
constructor
Deploys the OneDayDelayTimelockController
Calls the parent TimelockController constructor with delay = 1 days
constructor(address[] memory proposers, address[] memory executors, address admin)
TimelockController(1 days, proposers, executors, admin);
Parameters
| Name | Type | Description |
|---|---|---|
proposers | address[] | The list of addresses allowed to propose operations |
executors | address[] | The list of addresses allowed to execute operations |
admin | address | The account that will be granted the DEFAULT_ADMIN_ROLE |