Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IUpgradedAccountDispatcherTrait

Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountDispatcherTrait

Part of the group: dispatchers

pub trait IUpgradedAccountDispatcherTrait<T>

Trait functions

get_public_key

Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountDispatcherTrait::get_public_key

fn get_public_key(self: T) -> felt252

set_public_key

Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountDispatcherTrait::set_public_key

fn set_public_key(self: T, new_public_key: felt252)

isValidSignature

Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountDispatcherTrait::isValidSignature

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

validate

Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountDispatcherTrait::validate

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

validate_declare

Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountDispatcherTrait::validate_declare

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

validate_deploy

Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountDispatcherTrait::validate_deploy

fn __validate_deploy__(
    self: T, _public_key: felt252, token_contract: ContractAddress, token_id: u256,
) -> felt252

execute

Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountDispatcherTrait::execute

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

token

Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountDispatcherTrait::token

fn token(self: T) -> (ContractAddress, u256)

owner

Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountDispatcherTrait::owner

fn owner(self: T, token_contract: ContractAddress, token_id: u256) -> ContractAddress

upgrade

Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountDispatcherTrait::upgrade

fn upgrade(self: T, implementation: ClassHash)

version

Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountDispatcherTrait::version

fn version(self: T) -> u8