Crate tpl_token_2022_interface

Crate tpl_token_2022_interface 

Source
Expand description

An ERC20-like Token program for the Trezoa blockchain

Re-exports§

pub use trezoa_zk_sdk;

Modules§

error
Error types
extension
Extensions available to token mints and accounts
generic_token_account
Generic Token Account, copied from tpl_token::state
inline_tpl_token
In-lined tpl token program id to avoid a dependency
instruction
Instruction types
native_mint
The Mint that represents the native token
pod
Rewrites of the base state types represented as Pods
state
State transition types

Constants§

ID
The const program ID.

Functions§

check_id
Returns true if given address is the ID.
check_program_account
Checks that the supplied program ID is correct for tpl-token-2022
check_tpl_token_program_account
Checks that the supplied program ID is correct for tpl-token or tpl-token-2022
id
Returns the ID.