Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ITimelockSafeDispatcherTrait

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait

Part of the group: dispatchers

pub trait ITimelockSafeDispatcherTrait<T>

Trait functions

is_operation

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::is_operation

fn is_operation(self: T, id: felt252) -> Result<bool, Array<felt252>>

is_operation_pending

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::is_operation_pending

fn is_operation_pending(self: T, id: felt252) -> Result<bool, Array<felt252>>

is_operation_ready

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::is_operation_ready

fn is_operation_ready(self: T, id: felt252) -> Result<bool, Array<felt252>>

is_operation_done

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::is_operation_done

fn is_operation_done(self: T, id: felt252) -> Result<bool, Array<felt252>>

get_timestamp

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::get_timestamp

fn get_timestamp(self: T, id: felt252) -> Result<u64, Array<felt252>>

get_operation_state

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::get_operation_state

fn get_operation_state(self: T, id: felt252) -> Result<OperationState, Array<felt252>>

get_min_delay

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::get_min_delay

fn get_min_delay(self: T) -> Result<u64, Array<felt252>>

hash_operation

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::hash_operation

fn hash_operation(
    self: T, call: Call, predecessor: felt252, salt: felt252,
) -> Result<felt252, Array<felt252>>

hash_operation_batch

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::hash_operation_batch

fn hash_operation_batch(
    self: T, calls: Span<Call>, predecessor: felt252, salt: felt252,
) -> Result<felt252, Array<felt252>>

schedule

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::schedule

fn schedule(
    self: T, call: Call, predecessor: felt252, salt: felt252, delay: u64,
) -> Result<(), Array<felt252>>

schedule_batch

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::schedule_batch

fn schedule_batch(
    self: T, calls: Span<Call>, predecessor: felt252, salt: felt252, delay: u64,
) -> Result<(), Array<felt252>>

cancel

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::cancel

fn cancel(self: T, id: felt252) -> Result<(), Array<felt252>>

execute

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::execute

fn execute(self: T, call: Call, predecessor: felt252, salt: felt252) -> Result<(), Array<felt252>>

execute_batch

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::execute_batch

fn execute_batch(
    self: T, calls: Span<Call>, predecessor: felt252, salt: felt252,
) -> Result<(), Array<felt252>>

update_delay

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelockSafeDispatcherTrait::update_delay

fn update_delay(self: T, new_delay: u64) -> Result<(), Array<felt252>>