Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ITimelockedDispatcherTrait

Fully qualified path: openzeppelin_interfaces::governance::extensions::ITimelockedDispatcherTrait

Part of the group: dispatchers

pub trait ITimelockedDispatcherTrait<T>

Trait functions

timelock

Returns address of the associated timelock.

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

fn timelock(self: T) -> ContractAddress

get_timelock_id

Returns the timelock proposal id for a given proposal id.

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

fn get_timelock_id(self: T, proposal_id: felt252) -> felt252

update_timelock

Updates the associated timelock.

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

fn update_timelock(self: T, new_timelock: ContractAddress)