Module spl_interface

Module spl_interface 

Source
Expand description

SPL interface PDA derivation utilities.

Re-exports from light_token_interface with convenience wrappers.

Structs§

CreateSplInterfacePda
Create SPL interface PDA (token pool) instruction builder
SplInterfacePda

Constants§

NUM_MAX_POOL_ACCOUNTS
Maximum number of pool accounts per mint.

Functions§

derive_spl_interface_pda
Derive spl interface pda information for a given mint
find_spl_interface_pda
Find the SPL interface PDA for a given mint (index 0).
find_spl_interface_pda_with_index
Find the SPL interface PDA for a given mint and index.
get_spl_interface_pda
Get the SPL interface PDA address for a given mint (index 0).
has_restricted_extensions
Check if a mint has any restricted extensions.
is_valid_spl_interface_pda
Validate that an SPL interface PDA is correctly derived.