OneDayDelayTimelockController

Git Source

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

NameTypeDescription
proposersaddress[]The list of addresses allowed to propose operations
executorsaddress[]The list of addresses allowed to execute operations
adminaddressThe account that will be granted the DEFAULT_ADMIN_ROLE