find_spl_interface_pda

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)

§Seed format

  • Regular: ["pool", mint]
  • Restricted: ["pool", mint, "restricted"]