Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

AccountABISafeDispatcherTrait

Fully qualified path: openzeppelin_interfaces::account::accounts::AccountABISafeDispatcherTrait

Part of the group: dispatchers

pub trait AccountABISafeDispatcherTrait<T>

Trait functions

execute

Fully qualified path: openzeppelin_interfaces::account::accounts::AccountABISafeDispatcherTrait::execute

fn __execute__(self: T, calls: Array<Call>) -> Result<(), Array<felt252>>

validate

Fully qualified path: openzeppelin_interfaces::account::accounts::AccountABISafeDispatcherTrait::validate

fn __validate__(self: T, calls: Array<Call>) -> Result<felt252, Array<felt252>>

is_valid_signature

Fully qualified path: openzeppelin_interfaces::account::accounts::AccountABISafeDispatcherTrait::is_valid_signature

fn is_valid_signature(
    self: T, hash: felt252, signature: Array<felt252>,
) -> Result<felt252, Array<felt252>>

supports_interface

Fully qualified path: openzeppelin_interfaces::account::accounts::AccountABISafeDispatcherTrait::supports_interface

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

validate_declare

Fully qualified path: openzeppelin_interfaces::account::accounts::AccountABISafeDispatcherTrait::validate_declare

fn __validate_declare__(self: T, class_hash: felt252) -> Result<felt252, Array<felt252>>

validate_deploy

Fully qualified path: openzeppelin_interfaces::account::accounts::AccountABISafeDispatcherTrait::validate_deploy

fn __validate_deploy__(
    self: T, class_hash: felt252, contract_address_salt: felt252, public_key: felt252,
) -> Result<felt252, Array<felt252>>

get_public_key

Fully qualified path: openzeppelin_interfaces::account::accounts::AccountABISafeDispatcherTrait::get_public_key

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

set_public_key

Fully qualified path: openzeppelin_interfaces::account::accounts::AccountABISafeDispatcherTrait::set_public_key

fn set_public_key(
    self: T, new_public_key: felt252, signature: Span<felt252>,
) -> Result<(), Array<felt252>>

isValidSignature

Fully qualified path: openzeppelin_interfaces::account::accounts::AccountABISafeDispatcherTrait::isValidSignature

fn isValidSignature(
    self: T, hash: felt252, signature: Array<felt252>,
) -> Result<felt252, Array<felt252>>

getPublicKey

Fully qualified path: openzeppelin_interfaces::account::accounts::AccountABISafeDispatcherTrait::getPublicKey

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

setPublicKey

Fully qualified path: openzeppelin_interfaces::account::accounts::AccountABISafeDispatcherTrait::setPublicKey

fn setPublicKey(
    self: T, newPublicKey: felt252, signature: Span<felt252>,
) -> Result<(), Array<felt252>>