Module account_interface

Module account_interface 

Source
Expand description

Unified account interfaces for hot/cold account handling.

Core types:

  • AccountInterface - Generic account (PDAs, mints)
  • TokenAccountInterface - Token accounts (ATAs, program-owned vaults)

All interfaces use standard Solana/SPL types:

  • solana_account::Account for raw account data
  • spl_token_2022_interface::pod::PodAccount for parsed token data

Structs§

AccountInterface
Unified account interface for PDAs, mints, and tokens.
TokenAccountInterface
Token account interface with both raw and parsed data.

Enums§

AccountInterfaceError
Error type for account interface operations.