Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ITimelock

Fully qualified path: openzeppelin_interfaces::governance::timelock::ITimelock

pub trait ITimelock<TState>

Trait functions

is_operation

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

fn is_operation(self: @TState, id: felt252) -> bool

is_operation_pending

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

fn is_operation_pending(self: @TState, id: felt252) -> bool

is_operation_ready

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

fn is_operation_ready(self: @TState, id: felt252) -> bool

is_operation_done

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

fn is_operation_done(self: @TState, id: felt252) -> bool

get_timestamp

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

fn get_timestamp(self: @TState, id: felt252) -> u64

get_operation_state

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

fn get_operation_state(self: @TState, id: felt252) -> OperationState

get_min_delay

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

fn get_min_delay(self: @TState) -> u64

hash_operation

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

fn hash_operation(self: @TState, call: Call, predecessor: felt252, salt: felt252) -> felt252

hash_operation_batch

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

fn hash_operation_batch(
    self: @TState, calls: Span<Call>, predecessor: felt252, salt: felt252,
) -> felt252

schedule

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

fn schedule(ref self: TState, call: Call, predecessor: felt252, salt: felt252, delay: u64)

schedule_batch

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

fn schedule_batch(
    ref self: TState, calls: Span<Call>, predecessor: felt252, salt: felt252, delay: u64,
)

cancel

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

fn cancel(ref self: TState, id: felt252)

execute

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

fn execute(ref self: TState, call: Call, predecessor: felt252, salt: felt252)

execute_batch

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

fn execute_batch(ref self: TState, calls: Span<Call>, predecessor: felt252, salt: felt252)

update_delay

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

fn update_delay(ref self: TState, new_delay: u64)