Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

AccountABIDispatcherTrait

Fully qualified path: openzeppelin_interfaces::account::accounts::AccountABIDispatcherTrait

Part of the group: dispatchers

pub trait AccountABIDispatcherTrait<T>

Trait functions

execute

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

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

validate

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

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

is_valid_signature

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

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

supports_interface

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

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

validate_declare

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

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

validate_deploy

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

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

get_public_key

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

fn get_public_key(self: T) -> felt252

set_public_key

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

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

isValidSignature

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

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

getPublicKey

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

fn getPublicKey(self: T) -> felt252

setPublicKey

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

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