Type alias InitializeTokenBadgeParams

InitializeTokenBadgeParams: {
    funder: PublicKey;
    tokenBadgeAuthority: PublicKey;
    tokenBadgePda: PDA;
    tokenMint: PublicKey;
    whirlpoolsConfig: PublicKey;
    whirlpoolsConfigExtension: PublicKey;
}

Parameters to initialize a TokenBadge account.

Type declaration

  • funder: PublicKey
  • tokenBadgeAuthority: PublicKey
  • tokenBadgePda: PDA
  • tokenMint: PublicKey
  • whirlpoolsConfig: PublicKey
  • whirlpoolsConfigExtension: PublicKey

Param: whirlpoolsConfig

The public key for the WhirlpoolsConfig

Param: whirlpoolsConfigExtension

The public key for the WhirlpoolsConfigExtension

Param: tokenBadgeAuthority

The public key for the tokenBadgeAuthority

Param: tokenMint

The public key for the mint for which the TokenBadge is being initialized

Param: tokenBadgePda

The PDA for the TokenBadge account

Param: funder

The account that would fund the creation of this account

Generated using TypeDoc