TimelockABIDispatcherTrait
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait
Part of the group: dispatchers
pub trait TimelockABIDispatcherTrait<T>
Trait functions
is_operation
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::is_operation
fn is_operation(self: T, id: felt252) -> bool
is_operation_pending
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::is_operation_pending
fn is_operation_pending(self: T, id: felt252) -> bool
is_operation_ready
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::is_operation_ready
fn is_operation_ready(self: T, id: felt252) -> bool
is_operation_done
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::is_operation_done
fn is_operation_done(self: T, id: felt252) -> bool
get_timestamp
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::get_timestamp
fn get_timestamp(self: T, id: felt252) -> u64
get_operation_state
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::get_operation_state
fn get_operation_state(self: T, id: felt252) -> OperationState
get_min_delay
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::get_min_delay
fn get_min_delay(self: T) -> u64
hash_operation
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::hash_operation
fn hash_operation(self: T, call: Call, predecessor: felt252, salt: felt252) -> felt252
hash_operation_batch
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::hash_operation_batch
fn hash_operation_batch(self: T, calls: Span<Call>, predecessor: felt252, salt: felt252) -> felt252
schedule
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::schedule
fn schedule(self: T, call: Call, predecessor: felt252, salt: felt252, delay: u64)
schedule_batch
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::schedule_batch
fn schedule_batch(self: T, calls: Span<Call>, predecessor: felt252, salt: felt252, delay: u64)
cancel
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::cancel
fn cancel(self: T, id: felt252)
execute
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::execute
fn execute(self: T, call: Call, predecessor: felt252, salt: felt252)
execute_batch
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::execute_batch
fn execute_batch(self: T, calls: Span<Call>, predecessor: felt252, salt: felt252)
update_delay
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::update_delay
fn update_delay(self: T, new_delay: u64)
supports_interface
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::supports_interface
fn supports_interface(self: T, interface_id: felt252) -> bool
has_role
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::has_role
fn has_role(self: T, role: felt252, account: ContractAddress) -> bool
get_role_admin
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::get_role_admin
fn get_role_admin(self: T, role: felt252) -> felt252
grant_role
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::grant_role
fn grant_role(self: T, role: felt252, account: ContractAddress)
revoke_role
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::revoke_role
fn revoke_role(self: T, role: felt252, account: ContractAddress)
renounce_role
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::renounce_role
fn renounce_role(self: T, role: felt252, account: ContractAddress)
hasRole
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::hasRole
fn hasRole(self: T, role: felt252, account: ContractAddress) -> bool
getRoleAdmin
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::getRoleAdmin
fn getRoleAdmin(self: T, role: felt252) -> felt252
grantRole
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::grantRole
fn grantRole(self: T, role: felt252, account: ContractAddress)
revokeRole
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::revokeRole
fn revokeRole(self: T, role: felt252, account: ContractAddress)
renounceRole
Fully qualified path: openzeppelin_interfaces::governance::timelock::TimelockABIDispatcherTrait::renounceRole
fn renounceRole(self: T, role: felt252, account: ContractAddress)