Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ITimelockedSafeDispatcherTrait

Fully qualified path: openzeppelin_interfaces::governance::extensions::ITimelockedSafeDispatcherTrait

Part of the group: dispatchers

pub trait ITimelockedSafeDispatcherTrait<T>

Trait functions

timelock

Returns address of the associated timelock.

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

fn timelock(self: T) -> Result<ContractAddress, Array<felt252>>

get_timelock_id

Returns the timelock proposal id for a given proposal id.

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

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

update_timelock

Updates the associated timelock.

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

fn update_timelock(self: T, new_timelock: ContractAddress) -> Result<(), Array<felt252>>