Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

EthAccountABI

Fully qualified path: openzeppelin_interfaces::account::accounts::EthAccountABI

pub trait EthAccountABI<TState>

Trait functions

execute

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

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

validate

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

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

is_valid_signature

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

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

supports_interface

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

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

validate_declare

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

fn __validate_declare__(self: @TState, class_hash: felt252) -> felt252

validate_deploy

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

fn __validate_deploy__(
    self: @TState, class_hash: felt252, contract_address_salt: felt252, public_key: Secp256k1Point,
) -> felt252

get_public_key

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

fn get_public_key(self: @TState) -> Secp256k1Point

set_public_key

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

fn set_public_key(ref self: TState, new_public_key: Secp256k1Point, signature: Span<felt252>)

isValidSignature

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

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

getPublicKey

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

fn getPublicKey(self: @TState) -> Secp256k1Point

setPublicKey

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

fn setPublicKey(ref self: TState, newPublicKey: Secp256k1Point, signature: Span<felt252>)