Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

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