Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ITimelocked

Fully qualified path: openzeppelin_interfaces::governance::extensions::ITimelocked

pub trait ITimelocked<TState>

Trait functions

timelock

Returns address of the associated timelock.

Fully qualified path: openzeppelin_interfaces::governance::extensions::ITimelocked::timelock

fn timelock(self: @TState) -> ContractAddress

get_timelock_id

Returns the timelock proposal id for a given proposal id.

Fully qualified path: openzeppelin_interfaces::governance::extensions::ITimelocked::get_timelock_id

fn get_timelock_id(self: @TState, proposal_id: felt252) -> felt252

update_timelock

Updates the associated timelock.

Fully qualified path: openzeppelin_interfaces::governance::extensions::ITimelocked::update_timelock

fn update_timelock(ref self: TState, new_timelock: ContractAddress)