Expand description
Generic Token Account, copied from spl_token::state
Constants§
- ACCOUNT_
INITIALIZED_ INDEX - The offset of state field in Account’s C representation
Traits§
- Generic
Token Account - A trait for token Account structs to enable efficiently unpacking various fields without unpacking the complete state.
Functions§
- is_
initialized_ account - Check if the account data buffer represents an initialized account.
This is checking the
state
(AccountState
) field of an Account object.