Crate spl_token_2022_interface

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