token_bound_accounts
Fully qualified path: token_bound_accounts
Modules
Modules
Modules
accountV3
Fully qualified path: token_bound_accounts::accountV3
Modules
Modules
Modules
accountV3
Fully qualified path: token_bound_accounts::accountV3::accountV3
Modules
Modules
Modules
AccountV3
Fully qualified path: token_bound_accounts::accountV3::accountV3::AccountV3
Modules
Free functions
Structs
Modules
Modules
Errors
Fully qualified path: token_bound_accounts::accountV3::accountV3::AccountV3::Errors
Constants
Constants
Constants
UNAUTHORIZED
Fully qualified path: token_bound_accounts::accountV3::accountV3::AccountV3::Errors::UNAUTHORIZED
pub const UNAUTHORIZED: felt252 = 95565013996018498247890117593540195050286445389156;
ACCOUNT_LOCKED
Fully qualified path: token_bound_accounts::accountV3::accountV3::AccountV3::Errors::ACCOUNT_LOCKED
pub const ACCOUNT_LOCKED: felt252 = 339515132438416238783984132420232548;
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::accountV3::accountV3::AccountV3::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
ContractState
Fully qualified path: token_bound_accounts::accountV3::accountV3::AccountV3::ContractState
pub struct ContractState { /* private fields */ }
components
Fully qualified path: token_bound_accounts::components
Modules
Modules
Modules
account
Fully qualified path: token_bound_accounts::components::account
Modules
Modules
Modules
account
Fully qualified path: token_bound_accounts::components::account::account
Modules
Modules
Modules
AccountComponent
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent
Modules
Free functions
Structs
| Storage | — |
| TBACreated | @notice Emitted exactly once when the account is initialized @param owner The owner address |
| TransactionExecuted | @notice Emitted when the account executes a transaction @param hash The transaction hash @param response The data returned by the methods called |
| ComponentState | — |
Enums
Traits
Impls
Modules
Modules
Errors
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::Errors
Constants
Constants
Constants
UNAUTHORIZED
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::Errors::UNAUTHORIZED
pub const UNAUTHORIZED: felt252 = 95565013996018498247890117593540195050286445389156;
INV_SIG_LEN
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::Errors::INV_SIG_LEN
pub const INV_SIG_LEN: felt252 = 26899160088882821476234389471510102233170287340162692025273513064;
INV_TX_VERSION
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::Errors::INV_TX_VERSION
pub const INV_TX_VERSION: felt252 =
26899160088882821476234389471510102233170292334138446031203430254;
__external_AccountImpl
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::__external_AccountImpl
__l1_handler_AccountImpl
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::__l1_handler_AccountImpl
__constructor_AccountImpl
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::__constructor_AccountImpl
Free functions
Free functions
unsafe_new_component_state
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::unsafe_new_component_state
pub fn unsafe_new_component_state<TContractState>() -> ComponentState<TContractState>
Structs
Structs
| Storage | — |
| TBACreated | @notice Emitted exactly once when the account is initialized @param owner The owner address |
| TransactionExecuted | @notice Emitted when the account executes a transaction @param hash The transaction hash @param response The data returned by the methods called |
| ComponentState | — |
Storage
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::Storage
[storage]
pub struct Storage { /* private fields */ }
TBACreated
@notice Emitted exactly once when the account is initialized @param owner The owner address
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::TBACreated
[derive(Drop, starknet::Event)]
pub struct TBACreated {
pub account_address: ContractAddress,
pub parent_account: ContractAddress,
pub token_contract: ContractAddress,
pub token_id: u256,
}
Members
account_address
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::TBACreated::account_address
pub account_address: ContractAddress
parent_account
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::TBACreated::parent_account
pub parent_account: ContractAddress
token_contract
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::TBACreated::token_contract
pub token_contract: ContractAddress
token_id
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::TBACreated::token_id
pub token_id: u256
TransactionExecuted
@notice Emitted when the account executes a transaction @param hash The transaction hash @param response The data returned by the methods called
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::TransactionExecuted
[derive(Drop, starknet::Event)]
pub struct TransactionExecuted {
pub hash: felt252,
pub account_address: ContractAddress,
pub response: Span<Span<felt252>>,
}
Members
hash
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::TransactionExecuted::hash
pub hash: felt252
account_address
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::TransactionExecuted::account_address
pub account_address: ContractAddress
response
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::TransactionExecuted::response
pub response: Span<Span<felt252>>
ComponentState
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::ComponentState
pub struct ComponentState<TContractState> {}
Enums
Enums
Event
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::Event
pub enum Event {
TBACreated: TBACreated,
TransactionExecuted: TransactionExecuted,
}
Variants
TBACreated
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::Event::TBACreated
TBACreated: TBACreated
TransactionExecuted
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::Event::TransactionExecuted
TransactionExecuted: TransactionExecuted
Traits
Traits
HasComponent
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::HasComponent
pub trait HasComponent<TContractState>
Trait functions
get_component
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::HasComponent::get_component
fn get_component(self: @TContractState) -> @ComponentState<TContractState>
get_component_mut
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::HasComponent::get_component_mut
fn get_component_mut(ref self: TContractState) -> ComponentState<TContractState>
get_contract
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::HasComponent::get_contract
fn get_contract(self: @ComponentState<TContractState>) -> @TContractState
get_contract_mut
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::HasComponent::get_contract_mut
fn get_contract_mut(ref self: ComponentState<TContractState>) -> TContractState
emit
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::HasComponent::emit
fn emit<
S,
impl IntoImp: Into<
S, token_bound_accounts::components::account::account::AccountComponent::Event,
>,
>(
ref self: ComponentState<TContractState>, event: S,
)
AccountPrivateTrait
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::AccountPrivateTrait
pub trait AccountPrivateTrait<
TContractState,
+HasComponent<TContractState>,
+Drop<TContractState>,
impl SRC5: HasComponent<TContractState>,
>
Trait functions
initializer
@notice initializes the account by setting the initial token contract and token id
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::AccountPrivateTrait::initializer
fn initializer(
ref self: ComponentState<TContractState>,
token_contract: ContractAddress,
token_id: u256,
registry: ContractAddress,
implementation_hash: felt252,
salt: felt252,
)
_execute
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::AccountPrivateTrait::_execute
fn _execute(ref self: ComponentState<TContractState>, calls: Array<Call>) -> Array<Span<felt252>>
_update_state
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::AccountPrivateTrait::_update_state
fn _update_state(ref self: ComponentState<TContractState>)
_get_owner
@notice internal function for getting NFT owner @param token_contract contract address of NFT
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::AccountPrivateTrait::_get_owner
fn _get_owner(
self: @ComponentState<TContractState>, token_contract: ContractAddress, token_id: u256,
) -> ContractAddress
_context
@notice internal function to retrieve deployment details of an account
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::AccountPrivateTrait::_context
fn _context(self: @ComponentState<TContractState>) -> (ContractAddress, felt252, felt252)
_is_tokenbound_account
@notice internal function for checking if an account is a tokenbound account @param token_contract contract address of NFT @param token_id token ID of NFT
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::AccountPrivateTrait::_is_tokenbound_account
fn _is_tokenbound_account(
self: @ComponentState<TContractState>,
account: ContractAddress,
token_contract: ContractAddress,
token_id: u256,
registry: ContractAddress,
implementation: felt252,
salt: felt252,
) -> bool
_get_token
@notice internal transaction for returning the contract address and token ID of the NFT
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::AccountPrivateTrait::_get_token
fn _get_token(self: @ComponentState<TContractState>) -> (ContractAddress, u256, felt252)
_execute_calls
@notice internal function for executing transactions @param calls An array of transactions to be executed
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::AccountPrivateTrait::_execute_calls
fn _execute_calls(
ref self: ComponentState<TContractState>, calls: Array<Call>,
) -> Array<Span<felt252>>
UnsafeNewContractStateTraitForAccountImpl
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::UnsafeNewContractStateTraitForAccountImpl
pub trait UnsafeNewContractStateTraitForAccountImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::UnsafeNewContractStateTraitForAccountImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
Impls
Impls
Account
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::Account
pub impl Account<
TContractState,
+HasComponent<TContractState>,
+Drop<TContractState>,
impl SRC5: HasComponent<TContractState>,
> of IAccount<ComponentState<TContractState>>;
Impl functions
owner
@notice gets the NFT owner @param token_contract the contract address of the NFT @param token_id the token ID of the NFT
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::Account::owner
fn owner(self: @ComponentState<TContractState>) -> ContractAddress
token
@notice returns the contract address and token ID of the associated NFT
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::Account::token
fn token(self: @ComponentState<TContractState>) -> (ContractAddress, u256, felt252)
state
@notice returns the current state of the account
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::Account::state
fn state(self: @ComponentState<TContractState>) -> u256
supports_interface
Fully qualified path: token_bound_accounts::components::account::account::AccountComponent::Account::supports_interface
fn supports_interface(self: @ComponentState<TContractState>, interface_id: felt252) -> bool
lockable
Fully qualified path: token_bound_accounts::components::lockable
Modules
Modules
Modules
lockable
Fully qualified path: token_bound_accounts::components::lockable::lockable
Modules
Modules
Modules
LockableComponent
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent
Modules
Constants
Free functions
Structs
| Storage | — |
| AccountLocked | @notice Emitted when the account is locked @param account tokenbound account who’s lock function was triggered @param locked_at timestamp at which the lock function was triggered… |
| ComponentState | — |
Enums
Traits
Modules
Modules
Errors
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::Errors
Constants
Constants
Constants
UNAUTHORIZED
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::Errors::UNAUTHORIZED
pub const UNAUTHORIZED: felt252 = 95565013996018498247890117593540195050286445389156;
NOT_OWNER
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::Errors::NOT_OWNER
pub const NOT_OWNER: felt252 = 105074844097198521391531397566701108284682788972679660382872946;
EXCEEDS_MAX_LOCK_TIME
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::Errors::EXCEEDS_MAX_LOCK_TIME
pub const EXCEEDS_MAX_LOCK_TIME: felt252 =
26899160088882821476231863530295498565648300406039738077027852658;
INVALID_LOCK_TIME
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::Errors::INVALID_LOCK_TIME
pub const INVALID_LOCK_TIME: felt252 =
451293019029766294596180840530290123263571716009416537955973229155808116;
LOCKED_ACCOUNT
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::Errors::LOCKED_ACCOUNT
pub const LOCKED_ACCOUNT: felt252 = 339515132438416238783948948048143716;
Constants
Constants
YEAR_TO_SECONDS
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::YEAR_TO_SECONDS
pub const YEAR_TO_SECONDS: u64 = 31536000;
Free functions
Free functions
unsafe_new_component_state
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::unsafe_new_component_state
pub fn unsafe_new_component_state<TContractState>() -> ComponentState<TContractState>
Structs
Structs
| Storage | — |
| AccountLocked | @notice Emitted when the account is locked @param account tokenbound account who’s lock function was triggered @param locked_at timestamp at which the lock function was triggered… |
| ComponentState | — |
Storage
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::Storage
[storage]
pub struct Storage { /* private fields */ }
AccountLocked
@notice Emitted when the account is locked @param account tokenbound account who’s lock function was triggered @param locked_at timestamp at which the lock function was triggered @param lock_until time duration for which the account remains locked in second
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::AccountLocked
[derive(Drop, starknet::Event)]
pub struct AccountLocked {
pub account: ContractAddress,
pub locked_at: u64,
pub lock_until: u64,
}
Members
account
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::AccountLocked::account
pub account: ContractAddress
locked_at
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::AccountLocked::locked_at
pub locked_at: u64
lock_until
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::AccountLocked::lock_until
pub lock_until: u64
ComponentState
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::ComponentState
pub struct ComponentState<TContractState> {}
Enums
Enums
Event
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::Event
pub enum Event {
AccountLocked: AccountLocked,
}
Variants
AccountLocked
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::Event::AccountLocked
AccountLocked: AccountLocked
Traits
Traits
HasComponent
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::HasComponent
pub trait HasComponent<TContractState>
Trait functions
get_component
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::HasComponent::get_component
fn get_component(self: @TContractState) -> @ComponentState<TContractState>
get_component_mut
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::HasComponent::get_component_mut
fn get_component_mut(ref self: TContractState) -> ComponentState<TContractState>
get_contract
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::HasComponent::get_contract
fn get_contract(self: @ComponentState<TContractState>) -> @TContractState
get_contract_mut
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::HasComponent::get_contract_mut
fn get_contract_mut(ref self: ComponentState<TContractState>) -> TContractState
emit
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::HasComponent::emit
fn emit<
S,
impl IntoImp: Into<
S, token_bound_accounts::components::lockable::lockable::LockableComponent::Event,
>,
>(
ref self: ComponentState<TContractState>, event: S,
)
LockablePrivateTrait
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::LockablePrivateTrait
pub trait LockablePrivateTrait<
TContractState,
+HasComponent<TContractState>,
+Drop<TContractState>,
impl Account: HasComponent<TContractState>,
impl SRC5: HasComponent<TContractState>,
>
Trait functions
_lock
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::LockablePrivateTrait::_lock
fn _lock(ref self: ComponentState<TContractState>, lock_until: u64)
_is_locked
Fully qualified path: token_bound_accounts::components::lockable::lockable::LockableComponent::LockablePrivateTrait::_is_locked
fn _is_locked(self: @ComponentState<TContractState>) -> (bool, u64)
permissionable
Fully qualified path: token_bound_accounts::components::permissionable
Modules
Modules
Modules
permissionable
Fully qualified path: token_bound_accounts::components::permissionable::permissionable
Modules
Modules
Modules
PermissionableComponent
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent
Modules
Free functions
Structs
Enums
Traits
Modules
Modules
Errors
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::Errors
Constants
Constants
Constants
INVALID_LENGTH
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::Errors::INVALID_LENGTH
pub const INVALID_LENGTH: felt252 = 6262948757243068301173483364169975331325608820266726504;
UNAUTHORIZED
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::Errors::UNAUTHORIZED
pub const UNAUTHORIZED: felt252 = 95565013996018498247890117593540195050286445389156;
Free functions
Free functions
unsafe_new_component_state
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::unsafe_new_component_state
pub fn unsafe_new_component_state<TContractState>() -> ComponentState<TContractState>
Structs
Structs
Storage
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::Storage
[storage]
pub struct Storage { /* private fields */ }
PermissionUpdated
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::PermissionUpdated
[derive(Drop, starknet::Event)]
pub struct PermissionUpdated {
pub owner: ContractAddress,
pub permissioned_address: ContractAddress,
pub has_permission: bool,
}
Members
owner
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::PermissionUpdated::owner
pub owner: ContractAddress
permissioned_address
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::PermissionUpdated::permissioned_address
pub permissioned_address: ContractAddress
has_permission
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::PermissionUpdated::has_permission
pub has_permission: bool
ComponentState
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::ComponentState
pub struct ComponentState<TContractState> {}
Enums
Enums
Event
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::Event
pub enum Event {
PermissionUpdated: PermissionUpdated,
}
Variants
PermissionUpdated
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::Event::PermissionUpdated
PermissionUpdated: PermissionUpdated
Traits
Traits
HasComponent
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::HasComponent
pub trait HasComponent<TContractState>
Trait functions
get_component
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::HasComponent::get_component
fn get_component(self: @TContractState) -> @ComponentState<TContractState>
get_component_mut
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::HasComponent::get_component_mut
fn get_component_mut(ref self: TContractState) -> ComponentState<TContractState>
get_contract
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::HasComponent::get_contract
fn get_contract(self: @ComponentState<TContractState>) -> @TContractState
get_contract_mut
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::HasComponent::get_contract_mut
fn get_contract_mut(ref self: ComponentState<TContractState>) -> TContractState
emit
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::HasComponent::emit
fn emit<
S,
impl IntoImp: Into<
S,
token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::Event,
>,
>(
ref self: ComponentState<TContractState>, event: S,
)
PermissionablePrivateTrait
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::PermissionablePrivateTrait
pub trait PermissionablePrivateTrait<
TContractState,
+HasComponent<TContractState>,
+Drop<TContractState>,
impl Account: HasComponent<TContractState>,
impl SRC5: HasComponent<TContractState>,
>
Trait functions
_set_permission
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::PermissionablePrivateTrait::_set_permission
fn _set_permission(
ref self: ComponentState<TContractState>,
permissioned_addresses: Array<ContractAddress>,
permissions: Array<bool>,
)
_has_permission
Fully qualified path: token_bound_accounts::components::permissionable::permissionable::PermissionableComponent::PermissionablePrivateTrait::_has_permission
fn _has_permission(
self: @ComponentState<TContractState>,
owner: ContractAddress,
permissioned_address: ContractAddress,
) -> bool
presets
Fully qualified path: token_bound_accounts::components::presets
Modules
Modules
Modules
account_preset
Fully qualified path: token_bound_accounts::components::presets::account_preset
Modules
Modules
Modules
AccountPreset
Fully qualified path: token_bound_accounts::components::presets::account_preset::AccountPreset
Free functions
Structs
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::components::presets::account_preset::AccountPreset::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
ContractState
Fully qualified path: token_bound_accounts::components::presets::account_preset::AccountPreset::ContractState
pub struct ContractState { /* private fields */ }
signatory
Fully qualified path: token_bound_accounts::components::signatory
Modules
Modules
Modules
signatory
Fully qualified path: token_bound_accounts::components::signatory::signatory
Modules
Modules
Modules
SignatoryComponent
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent
Modules
Free functions
Structs
Enums
Traits
Modules
Modules
Errors
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::Errors
Constants
Constants
Constants
INV_SIG_LEN
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::Errors::INV_SIG_LEN
pub const INV_SIG_LEN: felt252 = 26899160088882821476234389471510102233170287340162692025273513064;
UNAUTHORIZED
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::Errors::UNAUTHORIZED
pub const UNAUTHORIZED: felt252 = 6262948757243068301173483364169975331325616533911004530;
INVALID_SIGNATURE
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::Errors::INVALID_SIGNATURE
pub const INVALID_SIGNATURE: felt252 =
105074844097198521391540583873086336848321434922596230638170725;
Free functions
Free functions
unsafe_new_component_state
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::unsafe_new_component_state
pub fn unsafe_new_component_state<TContractState>() -> ComponentState<TContractState>
Structs
Structs
Storage
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::Storage
[storage]
pub struct Storage {}
ComponentState
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::ComponentState
pub struct ComponentState<TContractState> {}
Enums
Enums
Event
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::Event
pub enum Event {}
Traits
Traits
HasComponent
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::HasComponent
pub trait HasComponent<TContractState>
Trait functions
get_component
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::HasComponent::get_component
fn get_component(self: @TContractState) -> @ComponentState<TContractState>
get_component_mut
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::HasComponent::get_component_mut
fn get_component_mut(ref self: TContractState) -> ComponentState<TContractState>
get_contract
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::HasComponent::get_contract
fn get_contract(self: @ComponentState<TContractState>) -> @TContractState
get_contract_mut
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::HasComponent::get_contract_mut
fn get_contract_mut(ref self: ComponentState<TContractState>) -> TContractState
emit
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::HasComponent::emit
fn emit<
S,
impl IntoImp: Into<
S, token_bound_accounts::components::signatory::signatory::SignatoryComponent::Event,
>,
>(
ref self: ComponentState<TContractState>, event: S,
)
SignatoryPrivateTrait
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::SignatoryPrivateTrait
pub trait SignatoryPrivateTrait<
TContractState,
+HasComponent<TContractState>,
+Drop<TContractState>,
impl Account: HasComponent<TContractState>,
impl Permissionable: HasComponent<TContractState>,
impl SRC5: HasComponent<TContractState>,
>
Trait functions
_base_signer_validation
@notice implements a simple signer validation where only NFT owner is a valid signer. @param signer the address to be validated
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::SignatoryPrivateTrait::_base_signer_validation
fn _base_signer_validation(self: @ComponentState<TContractState>, signer: ContractAddress) -> bool
_permissioned_signer_validation
@notice implements a more complex signer validation where NFT owner, root owner, and permissioned addresses are valid signers. @param signer the address to be validated
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::SignatoryPrivateTrait::_permissioned_signer_validation
fn _permissioned_signer_validation(
self: @ComponentState<TContractState>, signer: ContractAddress,
) -> bool
_is_valid_signature
@notice used for signature validation @param hash The message hash @param signature The signature to be validated
Fully qualified path: token_bound_accounts::components::signatory::signatory::SignatoryComponent::SignatoryPrivateTrait::_is_valid_signature
fn _is_valid_signature(
self: @ComponentState<TContractState>, hash: felt252, signature: Span<felt252>,
) -> felt252
upgradeable
Fully qualified path: token_bound_accounts::components::upgradeable
Modules
Modules
Modules
upgradeable
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable
Modules
Modules
Modules
UpgradeableComponent
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent
Modules
Free functions
Structs
| Storage | — |
| TBAUpgraded | @notice Emitted when the contract is upgraded. @param class_hash implementation hash to be upgraded to |
| ComponentState | — |
Enums
Traits
Modules
Modules
Errors
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::Errors
Constants
Constants
Constants
INVALID_CLASS
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::Errors::INVALID_CLASS
pub const INVALID_CLASS: felt252 = 423223302514606273361610285513559705916828015570713607238255;
Free functions
Free functions
unsafe_new_component_state
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::unsafe_new_component_state
pub fn unsafe_new_component_state<TContractState>() -> ComponentState<TContractState>
Structs
Structs
| Storage | — |
| TBAUpgraded | @notice Emitted when the contract is upgraded. @param class_hash implementation hash to be upgraded to |
| ComponentState | — |
Storage
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::Storage
[storage]
pub struct Storage {}
TBAUpgraded
@notice Emitted when the contract is upgraded. @param class_hash implementation hash to be upgraded to
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::TBAUpgraded
[derive(Drop, starknet::Event)]
pub struct TBAUpgraded {
pub account_address: ContractAddress,
pub class_hash: ClassHash,
}
Members
account_address
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::TBAUpgraded::account_address
pub account_address: ContractAddress
class_hash
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::TBAUpgraded::class_hash
pub class_hash: ClassHash
ComponentState
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::ComponentState
pub struct ComponentState<TContractState> {}
Enums
Enums
Event
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::Event
pub enum Event {
TBAUpgraded: TBAUpgraded,
}
Variants
TBAUpgraded
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::Event::TBAUpgraded
TBAUpgraded: TBAUpgraded
Traits
Traits
HasComponent
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::HasComponent
pub trait HasComponent<TContractState>
Trait functions
get_component
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::HasComponent::get_component
fn get_component(self: @TContractState) -> @ComponentState<TContractState>
get_component_mut
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::HasComponent::get_component_mut
fn get_component_mut(ref self: TContractState) -> ComponentState<TContractState>
get_contract
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::HasComponent::get_contract
fn get_contract(self: @ComponentState<TContractState>) -> @TContractState
get_contract_mut
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::HasComponent::get_contract_mut
fn get_contract_mut(ref self: ComponentState<TContractState>) -> TContractState
emit
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::HasComponent::emit
fn emit<
S,
impl IntoImp: Into<
S, token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::Event,
>,
>(
ref self: ComponentState<TContractState>, event: S,
)
UpgradeablePrivateTrait
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::UpgradeablePrivateTrait
pub trait UpgradeablePrivateTrait<
TContractState,
+HasComponent<TContractState>,
+Drop<TContractState>,
impl Account: HasComponent<TContractState>,
impl SRC5: HasComponent<TContractState>,
>
Trait functions
_upgrade
@notice replaces the contract’s class hash with new_class_hash.
Emits an Upgraded event.
Fully qualified path: token_bound_accounts::components::upgradeable::upgradeable::UpgradeableComponent::UpgradeablePrivateTrait::_upgrade
fn _upgrade(ref self: ComponentState<TContractState>, new_class_hash: ClassHash)
interfaces
Fully qualified path: token_bound_accounts::interfaces
Modules
| IAccount | — |
| IAccountV3 | — |
| IERC721 | — |
| IExecutable | — |
| ILockable | — |
| IPermissionable | — |
| IRegistry | — |
| ISRC6 | — |
| ISignatory | — |
| IUpgradeable | — |
Modules
Modules
| IAccount | — |
| IAccountV3 | — |
| IERC721 | — |
| IExecutable | — |
| ILockable | — |
| IPermissionable | — |
| IRegistry | — |
| ISRC6 | — |
| ISignatory | — |
| IUpgradeable | — |
IAccount
Fully qualified path: token_bound_accounts::interfaces::IAccount
Modules
| __external_IAccountForwardImpl | — |
| __l1_handler_IAccountForwardImpl | — |
| __constructor_IAccountForwardImpl | — |
Constants
Traits
Groups:
dispatchers
| IAccountDispatcher | — |
| IAccountLibraryDispatcher | — |
| IAccountSafeLibraryDispatcher | — |
| IAccountSafeDispatcher | — |
Modules
Modules
| __external_IAccountForwardImpl | — |
| __l1_handler_IAccountForwardImpl | — |
| __constructor_IAccountForwardImpl | — |
__external_IAccountForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IAccount::__external_IAccountForwardImpl
__l1_handler_IAccountForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IAccount::__l1_handler_IAccountForwardImpl
__constructor_IAccountForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IAccount::__constructor_IAccountForwardImpl
Constants
Constants
TBA_INTERFACE_ID
Fully qualified path: token_bound_accounts::interfaces::IAccount::TBA_INTERFACE_ID
pub const TBA_INTERFACE_ID: felt252 =
1344415671112666243564133662840117641831594849171219292910967379982771265643;
Traits
Traits
IAccount
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccount
pub trait IAccount<TContractState>
Trait functions
owner
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccount::owner
fn owner(self: @TContractState) -> ContractAddress
token
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccount::token
fn token(self: @TContractState) -> (ContractAddress, u256, felt252)
state
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccount::state
fn state(self: @TContractState) -> u256
supports_interface
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccount::supports_interface
fn supports_interface(self: @TContractState, interface_id: felt252) -> bool
UnsafeNewContractStateTraitForIAccountForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IAccount::UnsafeNewContractStateTraitForIAccountForwardImpl
pub trait UnsafeNewContractStateTraitForIAccountForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::interfaces::IAccount::UnsafeNewContractStateTraitForIAccountForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
IAccountV3
Fully qualified path: token_bound_accounts::interfaces::IAccountV3
Modules
| __external_IAccountV3ForwardImpl | — |
| __l1_handler_IAccountV3ForwardImpl | — |
| __constructor_IAccountV3ForwardImpl | — |
Traits
Groups:
dispatchers
| IAccountV3Dispatcher | — |
| IAccountV3LibraryDispatcher | — |
| IAccountV3SafeLibraryDispatcher | — |
| IAccountV3SafeDispatcher | — |
Modules
Modules
| __external_IAccountV3ForwardImpl | — |
| __l1_handler_IAccountV3ForwardImpl | — |
| __constructor_IAccountV3ForwardImpl | — |
__external_IAccountV3ForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::__external_IAccountV3ForwardImpl
__l1_handler_IAccountV3ForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::__l1_handler_IAccountV3ForwardImpl
__constructor_IAccountV3ForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::__constructor_IAccountV3ForwardImpl
Traits
Traits
IAccountV3
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3
pub trait IAccountV3<TContractState>
Trait functions
on_erc721_received
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3::on_erc721_received
fn on_erc721_received(
self: @TContractState,
operator: ContractAddress,
from: ContractAddress,
token_id: u256,
data: Span<felt252>,
) -> felt252
onERC721Received
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3::onERC721Received
fn onERC721Received(
self: @TContractState,
operator: ContractAddress,
from: ContractAddress,
token_id: u256,
data: Span<felt252>,
) -> felt252
context
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3::context
fn context(self: @TContractState) -> (ContractAddress, felt252, felt252)
UnsafeNewContractStateTraitForIAccountV3ForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::UnsafeNewContractStateTraitForIAccountV3ForwardImpl
pub trait UnsafeNewContractStateTraitForIAccountV3ForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::UnsafeNewContractStateTraitForIAccountV3ForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
IERC721
Fully qualified path: token_bound_accounts::interfaces::IERC721
Modules
Traits
Groups:
dispatchers
Modules
Modules
__external_IERC721ForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IERC721::__external_IERC721ForwardImpl
__l1_handler_IERC721ForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IERC721::__l1_handler_IERC721ForwardImpl
__constructor_IERC721ForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IERC721::__constructor_IERC721ForwardImpl
Traits
Traits
IERC721
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721
pub trait IERC721<TContractState>
Trait functions
balance_of
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721::balance_of
fn balance_of(self: @TContractState, account: ContractAddress) -> u256
owner_of
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721::owner_of
fn owner_of(self: @TContractState, token_id: u256) -> ContractAddress
ownerOf
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721::ownerOf
fn ownerOf(self: @TContractState, token_id: u256) -> ContractAddress
transfer_from
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721::transfer_from
fn transfer_from(
ref self: TContractState, from: ContractAddress, to: ContractAddress, token_id: u256,
)
safe_transfer_from
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721::safe_transfer_from
fn safe_transfer_from(
ref self: TContractState,
from: ContractAddress,
to: ContractAddress,
token_id: u256,
data: Span<felt252>,
)
mint
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721::mint
fn mint(ref self: TContractState, to: ContractAddress, token_id: u256)
approve
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721::approve
fn approve(ref self: TContractState, to: ContractAddress, token_id: u256)
set_approval_for_all
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721::set_approval_for_all
fn set_approval_for_all(ref self: TContractState, operator: ContractAddress, approved: bool)
get_approved
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721::get_approved
fn get_approved(self: @TContractState, token_id: u256) -> ContractAddress
is_approved_for_all
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721::is_approved_for_all
fn is_approved_for_all(
self: @TContractState, owner: ContractAddress, operator: ContractAddress,
) -> bool
name
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721::name
fn name(self: @TContractState) -> felt252
symbol
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721::symbol
fn symbol(self: @TContractState) -> felt252
token_uri
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721::token_uri
fn token_uri(self: @TContractState, token_id: u256) -> felt252
UnsafeNewContractStateTraitForIERC721ForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IERC721::UnsafeNewContractStateTraitForIERC721ForwardImpl
pub trait UnsafeNewContractStateTraitForIERC721ForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::interfaces::IERC721::UnsafeNewContractStateTraitForIERC721ForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
IExecutable
Fully qualified path: token_bound_accounts::interfaces::IExecutable
Modules
| __external_IExecutableForwardImpl | — |
| __l1_handler_IExecutableForwardImpl | — |
| __constructor_IExecutableForwardImpl | — |
Traits
Groups:
dispatchers
| IExecutableDispatcher | — |
| IExecutableLibraryDispatcher | — |
| IExecutableSafeLibraryDispatcher | — |
| IExecutableSafeDispatcher | — |
Modules
Modules
| __external_IExecutableForwardImpl | — |
| __l1_handler_IExecutableForwardImpl | — |
| __constructor_IExecutableForwardImpl | — |
__external_IExecutableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IExecutable::__external_IExecutableForwardImpl
__l1_handler_IExecutableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IExecutable::__l1_handler_IExecutableForwardImpl
__constructor_IExecutableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IExecutable::__constructor_IExecutableForwardImpl
Traits
Traits
IExecutable
Fully qualified path: token_bound_accounts::interfaces::IExecutable::IExecutable
pub trait IExecutable<TContractState>
Trait functions
execute
Fully qualified path: token_bound_accounts::interfaces::IExecutable::IExecutable::execute
fn execute(ref self: TContractState, calls: Array<Call>) -> Array<Span<felt252>>
UnsafeNewContractStateTraitForIExecutableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IExecutable::UnsafeNewContractStateTraitForIExecutableForwardImpl
pub trait UnsafeNewContractStateTraitForIExecutableForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::interfaces::IExecutable::UnsafeNewContractStateTraitForIExecutableForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
ILockable
Fully qualified path: token_bound_accounts::interfaces::ILockable
Modules
| __external_ILockableForwardImpl | — |
| __l1_handler_ILockableForwardImpl | — |
| __constructor_ILockableForwardImpl | — |
Traits
Groups:
dispatchers
| ILockableDispatcher | — |
| ILockableLibraryDispatcher | — |
| ILockableSafeLibraryDispatcher | — |
| ILockableSafeDispatcher | — |
Modules
Modules
| __external_ILockableForwardImpl | — |
| __l1_handler_ILockableForwardImpl | — |
| __constructor_ILockableForwardImpl | — |
__external_ILockableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::ILockable::__external_ILockableForwardImpl
__l1_handler_ILockableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::ILockable::__l1_handler_ILockableForwardImpl
__constructor_ILockableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::ILockable::__constructor_ILockableForwardImpl
Traits
Traits
ILockable
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockable
pub trait ILockable<TContractState>
Trait functions
lock
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockable::lock
fn lock(ref self: TContractState, lock_until: u64)
is_locked
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockable::is_locked
fn is_locked(self: @TContractState) -> (bool, u64)
UnsafeNewContractStateTraitForILockableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::ILockable::UnsafeNewContractStateTraitForILockableForwardImpl
pub trait UnsafeNewContractStateTraitForILockableForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::interfaces::ILockable::UnsafeNewContractStateTraitForILockableForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
IPermissionable
Fully qualified path: token_bound_accounts::interfaces::IPermissionable
Modules
| __external_IPermissionableForwardImpl | — |
| __l1_handler_IPermissionableForwardImpl | — |
| __constructor_IPermissionableForwardImpl | — |
Traits
Groups:
dispatchers
| IPermissionableDispatcher | — |
| IPermissionableLibraryDispatcher | — |
| IPermissionableSafeLibraryDispatcher | — |
| IPermissionableSafeDispatcher | — |
Modules
Modules
| __external_IPermissionableForwardImpl | — |
| __l1_handler_IPermissionableForwardImpl | — |
| __constructor_IPermissionableForwardImpl | — |
__external_IPermissionableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::__external_IPermissionableForwardImpl
__l1_handler_IPermissionableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::__l1_handler_IPermissionableForwardImpl
__constructor_IPermissionableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::__constructor_IPermissionableForwardImpl
Traits
Traits
IPermissionable
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionable
pub trait IPermissionable<TContractState>
Trait functions
set_permission
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionable::set_permission
fn set_permission(
ref self: TContractState,
permissioned_addresses: Array<ContractAddress>,
permissions: Array<bool>,
)
has_permission
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionable::has_permission
fn has_permission(
self: @TContractState, owner: ContractAddress, permissioned_address: ContractAddress,
) -> bool
UnsafeNewContractStateTraitForIPermissionableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::UnsafeNewContractStateTraitForIPermissionableForwardImpl
pub trait UnsafeNewContractStateTraitForIPermissionableForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::UnsafeNewContractStateTraitForIPermissionableForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
IRegistry
Fully qualified path: token_bound_accounts::interfaces::IRegistry
Modules
| __external_IRegistryForwardImpl | — |
| __l1_handler_IRegistryForwardImpl | — |
| __constructor_IRegistryForwardImpl | — |
Traits
Groups:
dispatchers
| IRegistryDispatcher | — |
| IRegistryLibraryDispatcher | — |
| IRegistrySafeLibraryDispatcher | — |
| IRegistrySafeDispatcher | — |
Modules
Modules
| __external_IRegistryForwardImpl | — |
| __l1_handler_IRegistryForwardImpl | — |
| __constructor_IRegistryForwardImpl | — |
__external_IRegistryForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IRegistry::__external_IRegistryForwardImpl
__l1_handler_IRegistryForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IRegistry::__l1_handler_IRegistryForwardImpl
__constructor_IRegistryForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IRegistry::__constructor_IRegistryForwardImpl
Traits
Traits
IRegistry
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistry
pub trait IRegistry<TContractState>
Trait functions
create_account
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistry::create_account
fn create_account(
ref self: TContractState,
implementation_hash: felt252,
token_contract: ContractAddress,
token_id: u256,
salt: felt252,
chain_id: felt252,
) -> ContractAddress
get_account
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistry::get_account
fn get_account(
self: @TContractState,
implementation_hash: felt252,
token_contract: ContractAddress,
token_id: u256,
salt: felt252,
chain_id: felt252,
) -> ContractAddress
UnsafeNewContractStateTraitForIRegistryForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IRegistry::UnsafeNewContractStateTraitForIRegistryForwardImpl
pub trait UnsafeNewContractStateTraitForIRegistryForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::interfaces::IRegistry::UnsafeNewContractStateTraitForIRegistryForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
ISRC6
Fully qualified path: token_bound_accounts::interfaces::ISRC6
Modules
Traits
Groups:
dispatchers
Modules
Modules
__external_ISRC6ForwardImpl
Fully qualified path: token_bound_accounts::interfaces::ISRC6::__external_ISRC6ForwardImpl
__l1_handler_ISRC6ForwardImpl
Fully qualified path: token_bound_accounts::interfaces::ISRC6::__l1_handler_ISRC6ForwardImpl
__constructor_ISRC6ForwardImpl
Fully qualified path: token_bound_accounts::interfaces::ISRC6::__constructor_ISRC6ForwardImpl
Traits
Traits
ISRC6
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6
pub trait ISRC6<TContractState>
Trait functions
is_valid_signature
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6::is_valid_signature
fn is_valid_signature(self: @TContractState, hash: felt252, signature: Span<felt252>) -> felt252
validate
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6::validate
fn __validate__(ref self: TContractState, calls: Array<Call>) -> felt252
validate_declare
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6::validate_declare
fn __validate_declare__(self: @TContractState, class_hash: felt252) -> felt252
validate_deploy
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6::validate_deploy
fn __validate_deploy__(
self: @TContractState, class_hash: felt252, contract_address_salt: felt252,
) -> felt252
execute
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6::execute
fn __execute__(ref self: TContractState, calls: Array<Call>) -> Array<Span<felt252>>
UnsafeNewContractStateTraitForISRC6ForwardImpl
Fully qualified path: token_bound_accounts::interfaces::ISRC6::UnsafeNewContractStateTraitForISRC6ForwardImpl
pub trait UnsafeNewContractStateTraitForISRC6ForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::interfaces::ISRC6::UnsafeNewContractStateTraitForISRC6ForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
ISignatory
Fully qualified path: token_bound_accounts::interfaces::ISignatory
Modules
| __external_ISignatoryForwardImpl | — |
| __l1_handler_ISignatoryForwardImpl | — |
| __constructor_ISignatoryForwardImpl | — |
Traits
Groups:
dispatchers
| ISignatoryDispatcher | — |
| ISignatoryLibraryDispatcher | — |
| ISignatorySafeLibraryDispatcher | — |
| ISignatorySafeDispatcher | — |
Modules
Modules
| __external_ISignatoryForwardImpl | — |
| __l1_handler_ISignatoryForwardImpl | — |
| __constructor_ISignatoryForwardImpl | — |
__external_ISignatoryForwardImpl
Fully qualified path: token_bound_accounts::interfaces::ISignatory::__external_ISignatoryForwardImpl
__l1_handler_ISignatoryForwardImpl
Fully qualified path: token_bound_accounts::interfaces::ISignatory::__l1_handler_ISignatoryForwardImpl
__constructor_ISignatoryForwardImpl
Fully qualified path: token_bound_accounts::interfaces::ISignatory::__constructor_ISignatoryForwardImpl
Traits
Traits
ISignatory
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatory
pub trait ISignatory<TContractState>
Trait functions
is_valid_signer
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatory::is_valid_signer
fn is_valid_signer(self: @TContractState, signer: ContractAddress) -> bool
is_valid_signature
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatory::is_valid_signature
fn is_valid_signature(self: @TContractState, hash: felt252, signature: Span<felt252>) -> felt252
UnsafeNewContractStateTraitForISignatoryForwardImpl
Fully qualified path: token_bound_accounts::interfaces::ISignatory::UnsafeNewContractStateTraitForISignatoryForwardImpl
pub trait UnsafeNewContractStateTraitForISignatoryForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::interfaces::ISignatory::UnsafeNewContractStateTraitForISignatoryForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
IUpgradeable
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable
Modules
| __external_IUpgradeableForwardImpl | — |
| __l1_handler_IUpgradeableForwardImpl | — |
| __constructor_IUpgradeableForwardImpl | — |
Traits
Groups:
dispatchers
| IUpgradeableDispatcher | — |
| IUpgradeableLibraryDispatcher | — |
| IUpgradeableSafeLibraryDispatcher | — |
| IUpgradeableSafeDispatcher | — |
Modules
Modules
| __external_IUpgradeableForwardImpl | — |
| __l1_handler_IUpgradeableForwardImpl | — |
| __constructor_IUpgradeableForwardImpl | — |
__external_IUpgradeableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::__external_IUpgradeableForwardImpl
__l1_handler_IUpgradeableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::__l1_handler_IUpgradeableForwardImpl
__constructor_IUpgradeableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::__constructor_IUpgradeableForwardImpl
Traits
Traits
IUpgradeable
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::IUpgradeable
pub trait IUpgradeable<TContractState>
Trait functions
upgrade
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::IUpgradeable::upgrade
fn upgrade(ref self: TContractState, new_class_hash: ClassHash)
UnsafeNewContractStateTraitForIUpgradeableForwardImpl
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::UnsafeNewContractStateTraitForIUpgradeableForwardImpl
pub trait UnsafeNewContractStateTraitForIUpgradeableForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::UnsafeNewContractStateTraitForIUpgradeableForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
misc
Fully qualified path: token_bound_accounts::misc
Modules
Modules
Modules
account_proxy
Fully qualified path: token_bound_accounts::misc::account_proxy
Modules
| AccountProxy | — |
| __external_IAccountProxyForwardImpl | — |
| __l1_handler_IAccountProxyForwardImpl | — |
| __constructor_IAccountProxyForwardImpl | — |
Traits
Groups:
dispatchers
| IAccountProxyDispatcher | — |
| IAccountProxyLibraryDispatcher | — |
| IAccountProxySafeLibraryDispatcher | — |
| IAccountProxySafeDispatcher | — |
Modules
Modules
| AccountProxy | — |
| __external_IAccountProxyForwardImpl | — |
| __l1_handler_IAccountProxyForwardImpl | — |
| __constructor_IAccountProxyForwardImpl | — |
AccountProxy
Fully qualified path: token_bound_accounts::misc::account_proxy::AccountProxy
Modules
Free functions
Structs
Enums
Modules
Modules
Errors
Fully qualified path: token_bound_accounts::misc::account_proxy::AccountProxy::Errors
Constants
Constants
Constants
UNAUTHORIZED
Fully qualified path: token_bound_accounts::misc::account_proxy::AccountProxy::Errors::UNAUTHORIZED
pub const UNAUTHORIZED: felt252 = 95565013996018498247890117593540195050286445389156;
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::misc::account_proxy::AccountProxy::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
ContractState
Fully qualified path: token_bound_accounts::misc::account_proxy::AccountProxy::ContractState
pub struct ContractState {}
Enums
Enums
Event
Fully qualified path: token_bound_accounts::misc::account_proxy::AccountProxy::Event
pub enum Event {}
__external_IAccountProxyForwardImpl
Fully qualified path: token_bound_accounts::misc::account_proxy::__external_IAccountProxyForwardImpl
__l1_handler_IAccountProxyForwardImpl
Fully qualified path: token_bound_accounts::misc::account_proxy::__l1_handler_IAccountProxyForwardImpl
__constructor_IAccountProxyForwardImpl
Fully qualified path: token_bound_accounts::misc::account_proxy::__constructor_IAccountProxyForwardImpl
Traits
Traits
IAccountProxy
Fully qualified path: token_bound_accounts::misc::account_proxy::IAccountProxy
pub trait IAccountProxy<TContractState>
Trait functions
execute
Fully qualified path: token_bound_accounts::misc::account_proxy::IAccountProxy::execute
fn execute(
ref self: TContractState, contract_address: ContractAddress, calls: Array<Call>,
) -> Array<Span<felt252>>
UnsafeNewContractStateTraitForIAccountProxyForwardImpl
Fully qualified path: token_bound_accounts::misc::account_proxy::UnsafeNewContractStateTraitForIAccountProxyForwardImpl
pub trait UnsafeNewContractStateTraitForIAccountProxyForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::misc::account_proxy::UnsafeNewContractStateTraitForIAccountProxyForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
registry
Fully qualified path: token_bound_accounts::registry
Modules
Modules
Modules
registry
Fully qualified path: token_bound_accounts::registry::registry
Modules
Modules
Modules
Registry
Fully qualified path: token_bound_accounts::registry::registry::Registry
Free functions
Structs
| Storage | — |
| AccountCreated | @notice Emitted when a new tokenbound account is deployed/created @param account_address the deployed contract address of the tokenbound acccount @param token_contract the contract address of the NFT… |
| ContractState | — |
Enums
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::registry::registry::Registry::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
| Storage | — |
| AccountCreated | @notice Emitted when a new tokenbound account is deployed/created @param account_address the deployed contract address of the tokenbound acccount @param token_contract the contract address of the NFT… |
| ContractState | — |
Storage
Fully qualified path: token_bound_accounts::registry::registry::Registry::Storage
[storage]
pub struct Storage {}
AccountCreated
@notice Emitted when a new tokenbound account is deployed/created @param account_address the deployed contract address of the tokenbound acccount @param token_contract the contract address of the NFT @param token_id the ID of the NFT
Fully qualified path: token_bound_accounts::registry::registry::Registry::AccountCreated
[derive(Drop, starknet::Event)]
pub struct AccountCreated {
pub account_address: ContractAddress,
pub token_contract: ContractAddress,
pub token_id: u256,
}
Members
account_address
Fully qualified path: token_bound_accounts::registry::registry::Registry::AccountCreated::account_address
pub account_address: ContractAddress
token_contract
Fully qualified path: token_bound_accounts::registry::registry::Registry::AccountCreated::token_contract
pub token_contract: ContractAddress
token_id
Fully qualified path: token_bound_accounts::registry::registry::Registry::AccountCreated::token_id
pub token_id: u256
ContractState
Fully qualified path: token_bound_accounts::registry::registry::Registry::ContractState
pub struct ContractState {}
Enums
Enums
Event
Fully qualified path: token_bound_accounts::registry::registry::Registry::Event
pub enum Event {
AccountCreated: AccountCreated,
}
Variants
AccountCreated
Fully qualified path: token_bound_accounts::registry::registry::Registry::Event::AccountCreated
AccountCreated: AccountCreated
test_helper
Fully qualified path: token_bound_accounts::test_helper
Modules
Modules
Modules
account_upgrade
Fully qualified path: token_bound_accounts::test_helper::account_upgrade
Modules
| UpgradedAccount | — |
| __external_IUpgradedAccountForwardImpl | — |
| __l1_handler_IUpgradedAccountForwardImpl | — |
| __constructor_IUpgradedAccountForwardImpl | — |
Traits
Groups:
dispatchers
| IUpgradedAccountDispatcher | — |
| IUpgradedAccountLibraryDispatcher | — |
| IUpgradedAccountSafeLibraryDispatcher | — |
| IUpgradedAccountSafeDispatcher | — |
Modules
Modules
| UpgradedAccount | — |
| __external_IUpgradedAccountForwardImpl | — |
| __l1_handler_IUpgradedAccountForwardImpl | — |
| __constructor_IUpgradedAccountForwardImpl | — |
UpgradedAccount
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::UpgradedAccount
Free functions
Structs
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::UpgradedAccount::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
ContractState
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::UpgradedAccount::ContractState
pub struct ContractState {}
__external_IUpgradedAccountForwardImpl
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::__external_IUpgradedAccountForwardImpl
__l1_handler_IUpgradedAccountForwardImpl
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::__l1_handler_IUpgradedAccountForwardImpl
__constructor_IUpgradedAccountForwardImpl
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::__constructor_IUpgradedAccountForwardImpl
Traits
Traits
IUpgradedAccount
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccount
pub trait IUpgradedAccount<TContractState>
Trait functions
get_public_key
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccount::get_public_key
fn get_public_key(self: @TContractState) -> felt252
set_public_key
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccount::set_public_key
fn set_public_key(ref self: TContractState, new_public_key: felt252)
isValidSignature
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccount::isValidSignature
fn isValidSignature(self: @TContractState, hash: felt252, signature: Span<felt252>) -> bool
validate
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccount::validate
fn __validate__(ref self: TContractState, calls: Array<Call>) -> felt252
validate_declare
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccount::validate_declare
fn __validate_declare__(self: @TContractState, class_hash: felt252) -> felt252
validate_deploy
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccount::validate_deploy
fn __validate_deploy__(
ref self: TContractState, _public_key: felt252, token_contract: ContractAddress, token_id: u256,
) -> felt252
execute
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccount::execute
fn __execute__(ref self: TContractState, calls: Array<Call>) -> Array<Span<felt252>>
token
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccount::token
fn token(self: @TContractState) -> (ContractAddress, u256)
owner
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccount::owner
fn owner(
ref self: TContractState, token_contract: ContractAddress, token_id: u256,
) -> ContractAddress
upgrade
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccount::upgrade
fn upgrade(ref self: TContractState, implementation: ClassHash)
version
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccount::version
fn version(self: @TContractState) -> u8
UnsafeNewContractStateTraitForIUpgradedAccountForwardImpl
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::UnsafeNewContractStateTraitForIUpgradedAccountForwardImpl
pub trait UnsafeNewContractStateTraitForIUpgradedAccountForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::UnsafeNewContractStateTraitForIUpgradedAccountForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
erc721_helper
Fully qualified path: token_bound_accounts::test_helper::erc721_helper
Modules
Modules
Modules
ERC721
Fully qualified path: token_bound_accounts::test_helper::erc721_helper::ERC721
Free functions
Structs
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::test_helper::erc721_helper::ERC721::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
ContractState
Fully qualified path: token_bound_accounts::test_helper::erc721_helper::ERC721::ContractState
pub struct ContractState { /* private fields */ }
hello_starknet
Fully qualified path: token_bound_accounts::test_helper::hello_starknet
Modules
| HelloStarknet | — |
| __external_IHelloStarknetForwardImpl | — |
| __l1_handler_IHelloStarknetForwardImpl | — |
| __constructor_IHelloStarknetForwardImpl | — |
Traits
Groups:
dispatchers
| IHelloStarknetDispatcher | — |
| IHelloStarknetLibraryDispatcher | — |
| IHelloStarknetSafeLibraryDispatcher | — |
| IHelloStarknetSafeDispatcher | — |
Modules
Modules
| HelloStarknet | — |
| __external_IHelloStarknetForwardImpl | — |
| __l1_handler_IHelloStarknetForwardImpl | — |
| __constructor_IHelloStarknetForwardImpl | — |
HelloStarknet
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::HelloStarknet
Free functions
Structs
Enums
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::HelloStarknet::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
ContractState
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::HelloStarknet::ContractState
pub struct ContractState {}
Enums
Enums
Event
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::HelloStarknet::Event
pub enum Event {}
__external_IHelloStarknetForwardImpl
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::__external_IHelloStarknetForwardImpl
__l1_handler_IHelloStarknetForwardImpl
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::__l1_handler_IHelloStarknetForwardImpl
__constructor_IHelloStarknetForwardImpl
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::__constructor_IHelloStarknetForwardImpl
Traits
Traits
IHelloStarknet
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknet
pub trait IHelloStarknet<TContractState>
Trait functions
increase_balance
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknet::increase_balance
fn increase_balance(ref self: TContractState, amount: felt252)
multiply_balance
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknet::multiply_balance
fn multiply_balance(ref self: TContractState, amount: felt252)
get_balance
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknet::get_balance
fn get_balance(self: @TContractState) -> felt252
UnsafeNewContractStateTraitForIHelloStarknetForwardImpl
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::UnsafeNewContractStateTraitForIHelloStarknetForwardImpl
pub trait UnsafeNewContractStateTraitForIHelloStarknetForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::UnsafeNewContractStateTraitForIHelloStarknetForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
simple_account
Fully qualified path: token_bound_accounts::test_helper::simple_account
Modules
| SimpleAccount | — |
| __external_ISimpleAccountForwardImpl | — |
| __l1_handler_ISimpleAccountForwardImpl | — |
| __constructor_ISimpleAccountForwardImpl | — |
Traits
Groups:
dispatchers
| ISimpleAccountDispatcher | — |
| ISimpleAccountLibraryDispatcher | — |
| ISimpleAccountSafeLibraryDispatcher | — |
| ISimpleAccountSafeDispatcher | — |
Modules
Modules
| SimpleAccount | — |
| __external_ISimpleAccountForwardImpl | — |
| __l1_handler_ISimpleAccountForwardImpl | — |
| __constructor_ISimpleAccountForwardImpl | — |
SimpleAccount
Fully qualified path: token_bound_accounts::test_helper::simple_account::SimpleAccount
Free functions
Structs
Enums
Free functions
Free functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::test_helper::simple_account::SimpleAccount::unsafe_new_contract_state
pub fn unsafe_new_contract_state() -> ContractState
Structs
Structs
ContractState
Fully qualified path: token_bound_accounts::test_helper::simple_account::SimpleAccount::ContractState
pub struct ContractState {}
Enums
Enums
Event
Fully qualified path: token_bound_accounts::test_helper::simple_account::SimpleAccount::Event
pub enum Event {}
__external_ISimpleAccountForwardImpl
Fully qualified path: token_bound_accounts::test_helper::simple_account::__external_ISimpleAccountForwardImpl
__l1_handler_ISimpleAccountForwardImpl
Fully qualified path: token_bound_accounts::test_helper::simple_account::__l1_handler_ISimpleAccountForwardImpl
__constructor_ISimpleAccountForwardImpl
Fully qualified path: token_bound_accounts::test_helper::simple_account::__constructor_ISimpleAccountForwardImpl
Traits
Traits
ISimpleAccount
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccount
pub trait ISimpleAccount<TContractState>
Trait functions
get_public_key
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccount::get_public_key
fn get_public_key(self: @TContractState) -> felt252
set_public_key
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccount::set_public_key
fn set_public_key(ref self: TContractState, new_public_key: felt252)
is_valid_signature
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccount::is_valid_signature
fn is_valid_signature(self: @TContractState, hash: felt252, signature: Span<felt252>) -> felt252
validate
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccount::validate
fn __validate__(ref self: TContractState, calls: Array<Call>) -> felt252
validate_declare
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccount::validate_declare
fn __validate_declare__(self: @TContractState, class_hash: felt252) -> felt252
validate_deploy
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccount::validate_deploy
fn __validate_deploy__(ref self: TContractState, public_key: felt252) -> felt252
execute
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccount::execute
fn __execute__(ref self: TContractState, calls: Array<Call>) -> Array<Span<felt252>>
UnsafeNewContractStateTraitForISimpleAccountForwardImpl
Fully qualified path: token_bound_accounts::test_helper::simple_account::UnsafeNewContractStateTraitForISimpleAccountForwardImpl
pub trait UnsafeNewContractStateTraitForISimpleAccountForwardImpl<TContractState>
Trait functions
unsafe_new_contract_state
Fully qualified path: token_bound_accounts::test_helper::simple_account::UnsafeNewContractStateTraitForISimpleAccountForwardImpl::unsafe_new_contract_state
fn unsafe_new_contract_state() -> TContractState
utils
Fully qualified path: token_bound_accounts::utils
Modules
Modules
Modules
array_ext
Fully qualified path: token_bound_accounts::utils::array_ext
Traits
Traits
Traits
ArrayExtTrait
Fully qualified path: token_bound_accounts::utils::array_ext::ArrayExtTrait
pub trait ArrayExtTrait<T, +Drop<T>, +Copy<T>>
Trait functions
append_all
Fully qualified path: token_bound_accounts::utils::array_ext::ArrayExtTrait::append_all
fn append_all(ref self: Array<T>, value: Span<T>)
dispatchers
Structs
Structs
IAccountDispatcher
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IAccountDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountDispatcher::contract_address
pub contract_address: ContractAddress
IAccountLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IAccountLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountLibraryDispatcher::class_hash
pub class_hash: ClassHash
IAccountSafeLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountSafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IAccountSafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountSafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
IAccountSafeDispatcher
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountSafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IAccountSafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountSafeDispatcher::contract_address
pub contract_address: ContractAddress
IAccountV3Dispatcher
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3Dispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IAccountV3Dispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3Dispatcher::contract_address
pub contract_address: ContractAddress
IAccountV3LibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3LibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IAccountV3LibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3LibraryDispatcher::class_hash
pub class_hash: ClassHash
IAccountV3SafeLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3SafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IAccountV3SafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3SafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
IAccountV3SafeDispatcher
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3SafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IAccountV3SafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3SafeDispatcher::contract_address
pub contract_address: ContractAddress
IERC721Dispatcher
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721Dispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IERC721Dispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721Dispatcher::contract_address
pub contract_address: ContractAddress
IERC721LibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721LibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IERC721LibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721LibraryDispatcher::class_hash
pub class_hash: ClassHash
IERC721SafeLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IERC721SafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
IERC721SafeDispatcher
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IERC721SafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcher::contract_address
pub contract_address: ContractAddress
IExecutableDispatcher
Fully qualified path: token_bound_accounts::interfaces::IExecutable::IExecutableDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IExecutableDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::IExecutable::IExecutableDispatcher::contract_address
pub contract_address: ContractAddress
IExecutableLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IExecutable::IExecutableLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IExecutableLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::IExecutable::IExecutableLibraryDispatcher::class_hash
pub class_hash: ClassHash
IExecutableSafeLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IExecutable::IExecutableSafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IExecutableSafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::IExecutable::IExecutableSafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
IExecutableSafeDispatcher
Fully qualified path: token_bound_accounts::interfaces::IExecutable::IExecutableSafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IExecutableSafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::IExecutable::IExecutableSafeDispatcher::contract_address
pub contract_address: ContractAddress
ILockableDispatcher
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockableDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ILockableDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockableDispatcher::contract_address
pub contract_address: ContractAddress
ILockableLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockableLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ILockableLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockableLibraryDispatcher::class_hash
pub class_hash: ClassHash
ILockableSafeLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockableSafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ILockableSafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockableSafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
ILockableSafeDispatcher
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockableSafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ILockableSafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockableSafeDispatcher::contract_address
pub contract_address: ContractAddress
IPermissionableDispatcher
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionableDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IPermissionableDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionableDispatcher::contract_address
pub contract_address: ContractAddress
IPermissionableLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionableLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IPermissionableLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionableLibraryDispatcher::class_hash
pub class_hash: ClassHash
IPermissionableSafeLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionableSafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IPermissionableSafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionableSafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
IPermissionableSafeDispatcher
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionableSafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IPermissionableSafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionableSafeDispatcher::contract_address
pub contract_address: ContractAddress
IRegistryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IRegistryDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistryDispatcher::contract_address
pub contract_address: ContractAddress
IRegistryLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistryLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IRegistryLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistryLibraryDispatcher::class_hash
pub class_hash: ClassHash
IRegistrySafeLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistrySafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IRegistrySafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistrySafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
IRegistrySafeDispatcher
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistrySafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IRegistrySafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistrySafeDispatcher::contract_address
pub contract_address: ContractAddress
ISRC6Dispatcher
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6Dispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ISRC6Dispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6Dispatcher::contract_address
pub contract_address: ContractAddress
ISRC6LibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6LibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ISRC6LibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6LibraryDispatcher::class_hash
pub class_hash: ClassHash
ISRC6SafeLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6SafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ISRC6SafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6SafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
ISRC6SafeDispatcher
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6SafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ISRC6SafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6SafeDispatcher::contract_address
pub contract_address: ContractAddress
ISignatoryDispatcher
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatoryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ISignatoryDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatoryDispatcher::contract_address
pub contract_address: ContractAddress
ISignatoryLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatoryLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ISignatoryLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatoryLibraryDispatcher::class_hash
pub class_hash: ClassHash
ISignatorySafeLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatorySafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ISignatorySafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatorySafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
ISignatorySafeDispatcher
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatorySafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ISignatorySafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatorySafeDispatcher::contract_address
pub contract_address: ContractAddress
IUpgradeableDispatcher
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::IUpgradeableDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IUpgradeableDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::IUpgradeableDispatcher::contract_address
pub contract_address: ContractAddress
IUpgradeableLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::IUpgradeableLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IUpgradeableLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::IUpgradeableLibraryDispatcher::class_hash
pub class_hash: ClassHash
IUpgradeableSafeLibraryDispatcher
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::IUpgradeableSafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IUpgradeableSafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::IUpgradeableSafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
IUpgradeableSafeDispatcher
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::IUpgradeableSafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IUpgradeableSafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::IUpgradeableSafeDispatcher::contract_address
pub contract_address: ContractAddress
IAccountProxyDispatcher
Fully qualified path: token_bound_accounts::misc::account_proxy::IAccountProxyDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IAccountProxyDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::misc::account_proxy::IAccountProxyDispatcher::contract_address
pub contract_address: ContractAddress
IAccountProxyLibraryDispatcher
Fully qualified path: token_bound_accounts::misc::account_proxy::IAccountProxyLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IAccountProxyLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::misc::account_proxy::IAccountProxyLibraryDispatcher::class_hash
pub class_hash: ClassHash
IAccountProxySafeLibraryDispatcher
Fully qualified path: token_bound_accounts::misc::account_proxy::IAccountProxySafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IAccountProxySafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::misc::account_proxy::IAccountProxySafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
IAccountProxySafeDispatcher
Fully qualified path: token_bound_accounts::misc::account_proxy::IAccountProxySafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IAccountProxySafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::misc::account_proxy::IAccountProxySafeDispatcher::contract_address
pub contract_address: ContractAddress
IUpgradedAccountDispatcher
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IUpgradedAccountDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountDispatcher::contract_address
pub contract_address: ContractAddress
IUpgradedAccountLibraryDispatcher
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IUpgradedAccountLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountLibraryDispatcher::class_hash
pub class_hash: ClassHash
IUpgradedAccountSafeLibraryDispatcher
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountSafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IUpgradedAccountSafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountSafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
IUpgradedAccountSafeDispatcher
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountSafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IUpgradedAccountSafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::test_helper::account_upgrade::IUpgradedAccountSafeDispatcher::contract_address
pub contract_address: ContractAddress
IHelloStarknetDispatcher
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IHelloStarknetDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetDispatcher::contract_address
pub contract_address: ContractAddress
IHelloStarknetLibraryDispatcher
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IHelloStarknetLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetLibraryDispatcher::class_hash
pub class_hash: ClassHash
IHelloStarknetSafeLibraryDispatcher
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetSafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IHelloStarknetSafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetSafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
IHelloStarknetSafeDispatcher
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetSafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct IHelloStarknetSafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetSafeDispatcher::contract_address
pub contract_address: ContractAddress
ISimpleAccountDispatcher
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ISimpleAccountDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountDispatcher::contract_address
pub contract_address: ContractAddress
ISimpleAccountLibraryDispatcher
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ISimpleAccountLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountLibraryDispatcher::class_hash
pub class_hash: ClassHash
ISimpleAccountSafeLibraryDispatcher
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountSafeLibraryDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ISimpleAccountSafeLibraryDispatcher {
pub class_hash: ClassHash,
}
Members
class_hash
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountSafeLibraryDispatcher::class_hash
pub class_hash: ClassHash
ISimpleAccountSafeDispatcher
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountSafeDispatcher
Part of the group: dispatchers
[doc(group: "dispatchers")]
[derive(Copy, Drop, starknet::Store, Serde)]
pub struct ISimpleAccountSafeDispatcher {
pub contract_address: ContractAddress,
}
Members
contract_address
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountSafeDispatcher::contract_address
pub contract_address: ContractAddress
Traits
Traits
IAccountDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountDispatcherTrait
Part of the group: dispatchers
pub trait IAccountDispatcherTrait<T>
Trait functions
owner
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountDispatcherTrait::owner
fn owner(self: T) -> ContractAddress
token
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountDispatcherTrait::token
fn token(self: T) -> (ContractAddress, u256, felt252)
state
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountDispatcherTrait::state
fn state(self: T) -> u256
supports_interface
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountDispatcherTrait::supports_interface
fn supports_interface(self: T, interface_id: felt252) -> bool
IAccountSafeDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountSafeDispatcherTrait
Part of the group: dispatchers
pub trait IAccountSafeDispatcherTrait<T>
Trait functions
owner
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountSafeDispatcherTrait::owner
fn owner(self: T) -> Result<ContractAddress, Array<felt252>>
token
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountSafeDispatcherTrait::token
fn token(self: T) -> Result<(ContractAddress, u256, felt252), Array<felt252>>
state
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountSafeDispatcherTrait::state
fn state(self: T) -> Result<u256, Array<felt252>>
supports_interface
Fully qualified path: token_bound_accounts::interfaces::IAccount::IAccountSafeDispatcherTrait::supports_interface
fn supports_interface(self: T, interface_id: felt252) -> Result<bool, Array<felt252>>
IAccountV3DispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3DispatcherTrait
Part of the group: dispatchers
pub trait IAccountV3DispatcherTrait<T>
Trait functions
on_erc721_received
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3DispatcherTrait::on_erc721_received
fn on_erc721_received(
self: T, operator: ContractAddress, from: ContractAddress, token_id: u256, data: Span<felt252>,
) -> felt252
onERC721Received
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3DispatcherTrait::onERC721Received
fn onERC721Received(
self: T, operator: ContractAddress, from: ContractAddress, token_id: u256, data: Span<felt252>,
) -> felt252
context
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3DispatcherTrait::context
fn context(self: T) -> (ContractAddress, felt252, felt252)
IAccountV3SafeDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3SafeDispatcherTrait
Part of the group: dispatchers
pub trait IAccountV3SafeDispatcherTrait<T>
Trait functions
on_erc721_received
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3SafeDispatcherTrait::on_erc721_received
fn on_erc721_received(
self: T, operator: ContractAddress, from: ContractAddress, token_id: u256, data: Span<felt252>,
) -> Result<felt252, Array<felt252>>
onERC721Received
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3SafeDispatcherTrait::onERC721Received
fn onERC721Received(
self: T, operator: ContractAddress, from: ContractAddress, token_id: u256, data: Span<felt252>,
) -> Result<felt252, Array<felt252>>
context
Fully qualified path: token_bound_accounts::interfaces::IAccountV3::IAccountV3SafeDispatcherTrait::context
fn context(self: T) -> Result<(ContractAddress, felt252, felt252), Array<felt252>>
IERC721DispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721DispatcherTrait
Part of the group: dispatchers
pub trait IERC721DispatcherTrait<T>
Trait functions
balance_of
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721DispatcherTrait::balance_of
fn balance_of(self: T, account: ContractAddress) -> u256
owner_of
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721DispatcherTrait::owner_of
fn owner_of(self: T, token_id: u256) -> ContractAddress
ownerOf
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721DispatcherTrait::ownerOf
fn ownerOf(self: T, token_id: u256) -> ContractAddress
transfer_from
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721DispatcherTrait::transfer_from
fn transfer_from(self: T, from: ContractAddress, to: ContractAddress, token_id: u256)
safe_transfer_from
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721DispatcherTrait::safe_transfer_from
fn safe_transfer_from(
self: T, from: ContractAddress, to: ContractAddress, token_id: u256, data: Span<felt252>,
)
mint
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721DispatcherTrait::mint
fn mint(self: T, to: ContractAddress, token_id: u256)
approve
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721DispatcherTrait::approve
fn approve(self: T, to: ContractAddress, token_id: u256)
set_approval_for_all
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721DispatcherTrait::set_approval_for_all
fn set_approval_for_all(self: T, operator: ContractAddress, approved: bool)
get_approved
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721DispatcherTrait::get_approved
fn get_approved(self: T, token_id: u256) -> ContractAddress
is_approved_for_all
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721DispatcherTrait::is_approved_for_all
fn is_approved_for_all(self: T, owner: ContractAddress, operator: ContractAddress) -> bool
name
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721DispatcherTrait::name
fn name(self: T) -> felt252
symbol
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721DispatcherTrait::symbol
fn symbol(self: T) -> felt252
token_uri
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721DispatcherTrait::token_uri
fn token_uri(self: T, token_id: u256) -> felt252
IERC721SafeDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcherTrait
Part of the group: dispatchers
pub trait IERC721SafeDispatcherTrait<T>
Trait functions
balance_of
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcherTrait::balance_of
fn balance_of(self: T, account: ContractAddress) -> Result<u256, Array<felt252>>
owner_of
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcherTrait::owner_of
fn owner_of(self: T, token_id: u256) -> Result<ContractAddress, Array<felt252>>
ownerOf
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcherTrait::ownerOf
fn ownerOf(self: T, token_id: u256) -> Result<ContractAddress, Array<felt252>>
transfer_from
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcherTrait::transfer_from
fn transfer_from(
self: T, from: ContractAddress, to: ContractAddress, token_id: u256,
) -> Result<(), Array<felt252>>
safe_transfer_from
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcherTrait::safe_transfer_from
fn safe_transfer_from(
self: T, from: ContractAddress, to: ContractAddress, token_id: u256, data: Span<felt252>,
) -> Result<(), Array<felt252>>
mint
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcherTrait::mint
fn mint(self: T, to: ContractAddress, token_id: u256) -> Result<(), Array<felt252>>
approve
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcherTrait::approve
fn approve(self: T, to: ContractAddress, token_id: u256) -> Result<(), Array<felt252>>
set_approval_for_all
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcherTrait::set_approval_for_all
fn set_approval_for_all(
self: T, operator: ContractAddress, approved: bool,
) -> Result<(), Array<felt252>>
get_approved
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcherTrait::get_approved
fn get_approved(self: T, token_id: u256) -> Result<ContractAddress, Array<felt252>>
is_approved_for_all
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcherTrait::is_approved_for_all
fn is_approved_for_all(
self: T, owner: ContractAddress, operator: ContractAddress,
) -> Result<bool, Array<felt252>>
name
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcherTrait::name
fn name(self: T) -> Result<felt252, Array<felt252>>
symbol
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcherTrait::symbol
fn symbol(self: T) -> Result<felt252, Array<felt252>>
token_uri
Fully qualified path: token_bound_accounts::interfaces::IERC721::IERC721SafeDispatcherTrait::token_uri
fn token_uri(self: T, token_id: u256) -> Result<felt252, Array<felt252>>
IExecutableDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::IExecutable::IExecutableDispatcherTrait
Part of the group: dispatchers
pub trait IExecutableDispatcherTrait<T>
Trait functions
execute
Fully qualified path: token_bound_accounts::interfaces::IExecutable::IExecutableDispatcherTrait::execute
fn execute(self: T, calls: Array<Call>) -> Array<Span<felt252>>
IExecutableSafeDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::IExecutable::IExecutableSafeDispatcherTrait
Part of the group: dispatchers
pub trait IExecutableSafeDispatcherTrait<T>
Trait functions
execute
Fully qualified path: token_bound_accounts::interfaces::IExecutable::IExecutableSafeDispatcherTrait::execute
fn execute(self: T, calls: Array<Call>) -> Result<Array<Span<felt252>>, Array<felt252>>
ILockableDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockableDispatcherTrait
Part of the group: dispatchers
pub trait ILockableDispatcherTrait<T>
Trait functions
lock
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockableDispatcherTrait::lock
fn lock(self: T, lock_until: u64)
is_locked
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockableDispatcherTrait::is_locked
fn is_locked(self: T) -> (bool, u64)
ILockableSafeDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockableSafeDispatcherTrait
Part of the group: dispatchers
pub trait ILockableSafeDispatcherTrait<T>
Trait functions
lock
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockableSafeDispatcherTrait::lock
fn lock(self: T, lock_until: u64) -> Result<(), Array<felt252>>
is_locked
Fully qualified path: token_bound_accounts::interfaces::ILockable::ILockableSafeDispatcherTrait::is_locked
fn is_locked(self: T) -> Result<(bool, u64), Array<felt252>>
IPermissionableDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionableDispatcherTrait
Part of the group: dispatchers
pub trait IPermissionableDispatcherTrait<T>
Trait functions
set_permission
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionableDispatcherTrait::set_permission
fn set_permission(self: T, permissioned_addresses: Array<ContractAddress>, permissions: Array<bool>)
has_permission
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionableDispatcherTrait::has_permission
fn has_permission(self: T, owner: ContractAddress, permissioned_address: ContractAddress) -> bool
IPermissionableSafeDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionableSafeDispatcherTrait
Part of the group: dispatchers
pub trait IPermissionableSafeDispatcherTrait<T>
Trait functions
set_permission
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionableSafeDispatcherTrait::set_permission
fn set_permission(
self: T, permissioned_addresses: Array<ContractAddress>, permissions: Array<bool>,
) -> Result<(), Array<felt252>>
has_permission
Fully qualified path: token_bound_accounts::interfaces::IPermissionable::IPermissionableSafeDispatcherTrait::has_permission
fn has_permission(
self: T, owner: ContractAddress, permissioned_address: ContractAddress,
) -> Result<bool, Array<felt252>>
IRegistryDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistryDispatcherTrait
Part of the group: dispatchers
pub trait IRegistryDispatcherTrait<T>
Trait functions
create_account
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistryDispatcherTrait::create_account
fn create_account(
self: T,
implementation_hash: felt252,
token_contract: ContractAddress,
token_id: u256,
salt: felt252,
chain_id: felt252,
) -> ContractAddress
get_account
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistryDispatcherTrait::get_account
fn get_account(
self: T,
implementation_hash: felt252,
token_contract: ContractAddress,
token_id: u256,
salt: felt252,
chain_id: felt252,
) -> ContractAddress
IRegistrySafeDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistrySafeDispatcherTrait
Part of the group: dispatchers
pub trait IRegistrySafeDispatcherTrait<T>
Trait functions
create_account
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistrySafeDispatcherTrait::create_account
fn create_account(
self: T,
implementation_hash: felt252,
token_contract: ContractAddress,
token_id: u256,
salt: felt252,
chain_id: felt252,
) -> Result<ContractAddress, Array<felt252>>
get_account
Fully qualified path: token_bound_accounts::interfaces::IRegistry::IRegistrySafeDispatcherTrait::get_account
fn get_account(
self: T,
implementation_hash: felt252,
token_contract: ContractAddress,
token_id: u256,
salt: felt252,
chain_id: felt252,
) -> Result<ContractAddress, Array<felt252>>
ISRC6DispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6DispatcherTrait
Part of the group: dispatchers
pub trait ISRC6DispatcherTrait<T>
Trait functions
is_valid_signature
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6DispatcherTrait::is_valid_signature
fn is_valid_signature(self: T, hash: felt252, signature: Span<felt252>) -> felt252
validate
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6DispatcherTrait::validate
fn __validate__(self: T, calls: Array<Call>) -> felt252
validate_declare
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6DispatcherTrait::validate_declare
fn __validate_declare__(self: T, class_hash: felt252) -> felt252
validate_deploy
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6DispatcherTrait::validate_deploy
fn __validate_deploy__(self: T, class_hash: felt252, contract_address_salt: felt252) -> felt252
execute
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6DispatcherTrait::execute
fn __execute__(self: T, calls: Array<Call>) -> Array<Span<felt252>>
ISRC6SafeDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6SafeDispatcherTrait
Part of the group: dispatchers
pub trait ISRC6SafeDispatcherTrait<T>
Trait functions
is_valid_signature
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6SafeDispatcherTrait::is_valid_signature
fn is_valid_signature(
self: T, hash: felt252, signature: Span<felt252>,
) -> Result<felt252, Array<felt252>>
validate
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6SafeDispatcherTrait::validate
fn __validate__(self: T, calls: Array<Call>) -> Result<felt252, Array<felt252>>
validate_declare
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6SafeDispatcherTrait::validate_declare
fn __validate_declare__(self: T, class_hash: felt252) -> Result<felt252, Array<felt252>>
validate_deploy
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6SafeDispatcherTrait::validate_deploy
fn __validate_deploy__(
self: T, class_hash: felt252, contract_address_salt: felt252,
) -> Result<felt252, Array<felt252>>
execute
Fully qualified path: token_bound_accounts::interfaces::ISRC6::ISRC6SafeDispatcherTrait::execute
fn __execute__(self: T, calls: Array<Call>) -> Result<Array<Span<felt252>>, Array<felt252>>
ISignatoryDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatoryDispatcherTrait
Part of the group: dispatchers
pub trait ISignatoryDispatcherTrait<T>
Trait functions
is_valid_signer
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatoryDispatcherTrait::is_valid_signer
fn is_valid_signer(self: T, signer: ContractAddress) -> bool
is_valid_signature
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatoryDispatcherTrait::is_valid_signature
fn is_valid_signature(self: T, hash: felt252, signature: Span<felt252>) -> felt252
ISignatorySafeDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatorySafeDispatcherTrait
Part of the group: dispatchers
pub trait ISignatorySafeDispatcherTrait<T>
Trait functions
is_valid_signer
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatorySafeDispatcherTrait::is_valid_signer
fn is_valid_signer(self: T, signer: ContractAddress) -> Result<bool, Array<felt252>>
is_valid_signature
Fully qualified path: token_bound_accounts::interfaces::ISignatory::ISignatorySafeDispatcherTrait::is_valid_signature
fn is_valid_signature(
self: T, hash: felt252, signature: Span<felt252>,
) -> Result<felt252, Array<felt252>>
IUpgradeableDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::IUpgradeableDispatcherTrait
Part of the group: dispatchers
pub trait IUpgradeableDispatcherTrait<T>
Trait functions
upgrade
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::IUpgradeableDispatcherTrait::upgrade
fn upgrade(self: T, new_class_hash: ClassHash)
IUpgradeableSafeDispatcherTrait
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::IUpgradeableSafeDispatcherTrait
Part of the group: dispatchers
pub trait IUpgradeableSafeDispatcherTrait<T>
Trait functions
upgrade
Fully qualified path: token_bound_accounts::interfaces::IUpgradeable::IUpgradeableSafeDispatcherTrait::upgrade
fn upgrade(self: T, new_class_hash: ClassHash) -> Result<(), Array<felt252>>
IAccountProxyDispatcherTrait
Fully qualified path: token_bound_accounts::misc::account_proxy::IAccountProxyDispatcherTrait
Part of the group: dispatchers
pub trait IAccountProxyDispatcherTrait<T>
Trait functions
execute
Fully qualified path: token_bound_accounts::misc::account_proxy::IAccountProxyDispatcherTrait::execute
fn execute(self: T, contract_address: ContractAddress, calls: Array<Call>) -> Array<Span<felt252>>
IAccountProxySafeDispatcherTrait
Fully qualified path: token_bound_accounts::misc::account_proxy::IAccountProxySafeDispatcherTrait
Part of the group: dispatchers
pub trait IAccountProxySafeDispatcherTrait<T>
Trait functions
execute
Fully qualified path: token_bound_accounts::misc::account_proxy::IAccountProxySafeDispatcherTrait::execute
fn execute(
self: T, contract_address: ContractAddress, calls: Array<Call>,
) -> Result<Array<Span<felt252>>, Array<felt252>>
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
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>>
IHelloStarknetDispatcherTrait
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetDispatcherTrait
Part of the group: dispatchers
pub trait IHelloStarknetDispatcherTrait<T>
Trait functions
increase_balance
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetDispatcherTrait::increase_balance
fn increase_balance(self: T, amount: felt252)
multiply_balance
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetDispatcherTrait::multiply_balance
fn multiply_balance(self: T, amount: felt252)
get_balance
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetDispatcherTrait::get_balance
fn get_balance(self: T) -> felt252
IHelloStarknetSafeDispatcherTrait
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetSafeDispatcherTrait
Part of the group: dispatchers
pub trait IHelloStarknetSafeDispatcherTrait<T>
Trait functions
increase_balance
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetSafeDispatcherTrait::increase_balance
fn increase_balance(self: T, amount: felt252) -> Result<(), Array<felt252>>
multiply_balance
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetSafeDispatcherTrait::multiply_balance
fn multiply_balance(self: T, amount: felt252) -> Result<(), Array<felt252>>
get_balance
Fully qualified path: token_bound_accounts::test_helper::hello_starknet::IHelloStarknetSafeDispatcherTrait::get_balance
fn get_balance(self: T) -> Result<felt252, Array<felt252>>
ISimpleAccountDispatcherTrait
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountDispatcherTrait
Part of the group: dispatchers
pub trait ISimpleAccountDispatcherTrait<T>
Trait functions
get_public_key
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountDispatcherTrait::get_public_key
fn get_public_key(self: T) -> felt252
set_public_key
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountDispatcherTrait::set_public_key
fn set_public_key(self: T, new_public_key: felt252)
is_valid_signature
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountDispatcherTrait::is_valid_signature
fn is_valid_signature(self: T, hash: felt252, signature: Span<felt252>) -> felt252
validate
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountDispatcherTrait::validate
fn __validate__(self: T, calls: Array<Call>) -> felt252
validate_declare
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountDispatcherTrait::validate_declare
fn __validate_declare__(self: T, class_hash: felt252) -> felt252
validate_deploy
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountDispatcherTrait::validate_deploy
fn __validate_deploy__(self: T, public_key: felt252) -> felt252
execute
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountDispatcherTrait::execute
fn __execute__(self: T, calls: Array<Call>) -> Array<Span<felt252>>
ISimpleAccountSafeDispatcherTrait
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountSafeDispatcherTrait
Part of the group: dispatchers
pub trait ISimpleAccountSafeDispatcherTrait<T>
Trait functions
get_public_key
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountSafeDispatcherTrait::get_public_key
fn get_public_key(self: T) -> Result<felt252, Array<felt252>>
set_public_key
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountSafeDispatcherTrait::set_public_key
fn set_public_key(self: T, new_public_key: felt252) -> Result<(), Array<felt252>>
is_valid_signature
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountSafeDispatcherTrait::is_valid_signature
fn is_valid_signature(
self: T, hash: felt252, signature: Span<felt252>,
) -> Result<felt252, Array<felt252>>
validate
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountSafeDispatcherTrait::validate
fn __validate__(self: T, calls: Array<Call>) -> Result<felt252, Array<felt252>>
validate_declare
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountSafeDispatcherTrait::validate_declare
fn __validate_declare__(self: T, class_hash: felt252) -> Result<felt252, Array<felt252>>
validate_deploy
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountSafeDispatcherTrait::validate_deploy
fn __validate_deploy__(self: T, public_key: felt252) -> Result<felt252, Array<felt252>>
execute
Fully qualified path: token_bound_accounts::test_helper::simple_account::ISimpleAccountSafeDispatcherTrait::execute
fn __execute__(self: T, calls: Array<Call>) -> Result<Array<Span<felt252>>, Array<felt252>>