Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IUpgradedAccountSafeDispatcherTrait

Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountSafeDispatcherTrait

Part of the group: dispatchers

pub trait IUpgradedAccountSafeDispatcherTrait<T>

Trait functions

get_public_key

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

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

set_public_key

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

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

isValidSignature

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

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

validate

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

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

validate_declare

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

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

validate_deploy

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

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

execute

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

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

token

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

fn token(self: T) -> Result<(ContractAddress, u256), Array<felt252>>

owner

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

fn owner(
    self: T, token_contract: ContractAddress, token_id: u256,
) -> Result<ContractAddress, Array<felt252>>

upgrade

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

fn upgrade(self: T, implementation: ClassHash) -> Result<(), Array<felt252>>

version

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

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