Expand description
SPL interface PDA derivation utilities.
Re-exports from light_token_interface with convenience wrappers.
Structs§
- Create
SplInterface Pda - Create SPL interface PDA (token pool) instruction builder
- SplInterface
Pda
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.