Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

TimelockControllerComponent

TimelockController Component

Component that acts as a timelocked controller. When set as the owner of an Ownable smart contract, it enforces a timelock on all only_owner maintenance operations. This gives time for users of the controlled contract to exit before a potentially dangerous maintenance operation is applied.

By default, this component is self administered, meaning administration tasks have to go through the timelock process. The proposer role is in charge of proposing operations. A common use case is to position the timelock controller as the owner of a smart contract, with a multi-sig or a DAO as the sole proposer.

Fully qualified path: openzeppelin_governance::timelock::timelock_controller::TimelockControllerComponent

Modules

Constants

Free functions

Structs

Storage
CallScheduledEmitted when call is scheduled as part of operation id .
CallExecutedEmitted when call is performed as part of operation id .
CallSaltEmitted when a new proposal is scheduled with non-zero salt.
CallCancelledEmitted when operation id is cancelled.
MinDelayChangedEmitted when the minimum delay for future operations is modified.
ComponentState

Enums

Event

Traits