Function find_spl_interface_pda
Source pub fn find_spl_interface_pda(mint: &Pubkey, restricted: bool) -> (Pubkey, u8)
Expand description
Find the SPL interface PDA for a given mint (index 0).
§Arguments
mint - The mint public key
restricted - Whether to use restricted derivation (for mints with restricted extensions)
- Regular:
["pool", mint]
- Restricted:
["pool", mint, "restricted"]