Crate spl_token_2022

source ·
Expand description

An ERC20-like Token program for the Solana blockchain

Re-exports§

Modules§

  • Error types
  • Extensions available to token mints and accounts
  • Generic Token Account, copied from spl_token::state
  • Instruction types
  • The Mint that represents the native token
  • Offchain helper for fetching required accounts to build instructions
  • On-chain program invoke helper to perform on-chain transfer_checked with correct accounts
  • Rewrites of the base state types represented as Pods
  • Rewrites of the instruction data types represented as Pods
  • Program state processor
  • Helper for processing instruction data from ZK Token proof program
  • State transition types

Constants§

  • The const program ID.

Functions§