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
trueif 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.