Module token

Source
Expand description

Token utils.

Structs§

TransferAllFromEscrowToATA

Functions§

is_associated_token_account
Check if the given pubkey is an ATA address.
is_associated_token_account_or_owner
Check if the given pubkey is an ATA address or the owner itself.
is_associated_token_account_with_program_id
Check if the given address is an ATA address.
must_be_uninitialized
Return whether the token account must be uninitialized.
validate_associated_token_account
Validate associated token account.
validate_token_account
Validate token account.