Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

TimelockABISafeDispatcherTrait

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait

Part of the group: dispatchers

pub trait TimelockABISafeDispatcherTrait<T>

Trait functions

is_operation

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

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

is_operation_pending

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::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::TimelockABISafeDispatcherTrait::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::TimelockABISafeDispatcherTrait::is_operation_done

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

get_timestamp

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

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

get_operation_state

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::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::TimelockABISafeDispatcherTrait::get_min_delay

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

hash_operation

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::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::TimelockABISafeDispatcherTrait::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::TimelockABISafeDispatcherTrait::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::TimelockABISafeDispatcherTrait::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::TimelockABISafeDispatcherTrait::cancel

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

execute

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

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

execute_batch

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::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::TimelockABISafeDispatcherTrait::update_delay

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

supports_interface

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::supports_interface

fn supports_interface(self: T, interface_id: felt252) -> Result<bool, Array<felt252>>

has_role

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::has_role

fn has_role(self: T, role: felt252, account: ContractAddress) -> Result<bool, Array<felt252>>

get_role_admin

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::get_role_admin

fn get_role_admin(self: T, role: felt252) -> Result<felt252, Array<felt252>>

grant_role

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::grant_role

fn grant_role(self: T, role: felt252, account: ContractAddress) -> Result<(), Array<felt252>>

revoke_role

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::revoke_role

fn revoke_role(self: T, role: felt252, account: ContractAddress) -> Result<(), Array<felt252>>

renounce_role

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::renounce_role

fn renounce_role(self: T, role: felt252, account: ContractAddress) -> Result<(), Array<felt252>>

hasRole

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::hasRole

fn hasRole(self: T, role: felt252, account: ContractAddress) -> Result<bool, Array<felt252>>

getRoleAdmin

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::getRoleAdmin

fn getRoleAdmin(self: T, role: felt252) -> Result<felt252, Array<felt252>>

grantRole

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::grantRole

fn grantRole(self: T, role: felt252, account: ContractAddress) -> Result<(), Array<felt252>>

revokeRole

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::revokeRole

fn revokeRole(self: T, role: felt252, account: ContractAddress) -> Result<(), Array<felt252>>

renounceRole

Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABISafeDispatcherTrait::renounceRole

fn renounceRole(self: T, role: felt252, account: ContractAddress) -> Result<(), Array<felt252>>