Type alias InitFeeTierParams

InitFeeTierParams: {
    defaultFeeRate: number;
    feeAuthority: PublicKey;
    feeTierPda: PDA;
    funder: PublicKey;
    tickSpacing: number;
    whirlpoolsConfig: PublicKey;
}

Parameters to initialize a FeeTier account.

Type declaration

  • defaultFeeRate: number
  • feeAuthority: PublicKey
  • feeTierPda: PDA
  • funder: PublicKey
  • tickSpacing: number
  • whirlpoolsConfig: PublicKey

Param: whirlpoolsConfig

PublicKey for the whirlpool config space that the fee-tier will be initialized for.

Param: feeTierPda

PDA for the fee-tier account that will be initialized

Param: tickSpacing

The tick spacing this fee tier recommends its default fee rate for.

Param: defaultFeeRate

The default fee rate for this fee-tier. Stored as a hundredths of a basis point.

Param: feeAuthority

Authority authorized to initialize fee-tiers and set customs fees.

Param: funder

The account that would fund the creation of this account

Generated using TypeDoc