Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ERC721HooksTrait

Fully qualified path: tokentable_v2::components::custom_erc721::ERC721Component::ERC721HooksTrait

pub trait ERC721HooksTrait<TContractState>

Trait functions

before_update

Fully qualified path: tokentable_v2::components::custom_erc721::ERC721Component::ERC721HooksTrait::before_update

fn before_update(
    ref self: ComponentState<TContractState>,
    to: ContractAddress,
    token_id: u256,
    auth: ContractAddress,
)

after_update

Fully qualified path: tokentable_v2::components::custom_erc721::ERC721Component::ERC721HooksTrait::after_update

fn after_update(
    ref self: ComponentState<TContractState>,
    to: ContractAddress,
    token_id: u256,
    auth: ContractAddress,
)