Expand description
An ERC20-like Token program for the Solana blockchain
Re-exports§
pub use solana_zk_sdk;
Modules§
- error
- Error types
- extension
- Extensions available to token mints and accounts
- generic_
token_ account - Generic Token Account, copied from
spl_token::state
- inline_
spl_ token - In-lined spl 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 pubkey is the program ID. - check_
program_ account - Checks that the supplied program ID is correct for spl-token-2022
- check_
spl_ token_ program_ account - Checks that the supplied program ID is correct for spl-token or spl-token-2022
- id
- Returns the program ID.