Type alias InitConfigParams

InitConfigParams: {
    collectProtocolFeesAuthority: PublicKey;
    defaultProtocolFeeRate: number;
    feeAuthority: PublicKey;
    funder: PublicKey;
    rewardEmissionsSuperAuthority: PublicKey;
    whirlpoolsConfigKeypair: Keypair;

Parameters to initialize a WhirlpoolsConfig account.

Type declaration

  • collectProtocolFeesAuthority: PublicKey
  • defaultProtocolFeeRate: number
  • feeAuthority: PublicKey
  • funder: PublicKey
  • rewardEmissionsSuperAuthority: PublicKey
  • whirlpoolsConfigKeypair: Keypair

Param: whirlpoolsConfigKeypair

Generated keypair for the WhirlpoolsConfig.

Param: feeAuthority

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

Param: collect_protocol_fees_authority

Authority authorized to collect protocol fees.

Param: rewardEmissionsSuperAuthority

Authority authorized to set reward authorities in pools.

Param: defaultProtocolFeeRate

The default protocol fee rate. Stored as a basis point of the total fees collected by feeRate.

Param: funder

The account that would fund the creation of this account

Generated using TypeDoc