ThreeDaysDelayTimelockController

Git Source

Inherits: TimelockController

Author: luoyhang003

A TimelockController with a 3-days delay for executing operations

This contract extends OpenZeppelin's TimelockController and sets the execution delay to 3 days. Proposals must wait 3 days 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(3 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