Module programs

Module programs 

Source
Expand description

Native Solana program decoders using macro-derived implementations.

This module contains instruction decoders for native Solana programs that use various discriminator sizes:

  • 1-byte: SPL Token, Token 2022, Compute Budget, Light Token (CToken)
  • 4-byte: System Program
  • 8-byte: Anchor programs (Light Registry, Account Compression, Light System)

Re-exports§

pub use compute_budget::ComputeBudgetInstructionDecoder;
pub use spl_token::SplTokenInstructionDecoder;
pub use system::SystemInstructionDecoder;
pub use token_2022::Token2022InstructionDecoder;
pub use account_compression::AccountCompressionInstructionDecoder;
pub use ctoken::CTokenInstructionDecoder;
pub use light_system::LightSystemInstructionDecoder;
pub use registry::RegistryInstructionDecoder;

Modules§

account_compression
Account Compression program instruction decoder.
compute_budget
ComputeBudget program instruction decoder.
ctoken
Compressed Token (CToken) program instruction decoder.
light_system
Light System Program instruction decoder.
registry
Light Registry program instruction decoder.
spl_token
SPL Token program instruction decoder.
system
Solana System Program instruction decoder.
token_2022
Token 2022 (Token Extensions) program instruction decoder.