Documentation
    Preparing search index...

    Type Alias InitConfigParams

    Parameters to initialize a WhirlpoolsConfig account.

    Generated keypair for the WhirlpoolsConfig.

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

    Authority authorized to collect protocol fees.

    Authority authorized to set reward authorities in pools.

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

    The account that would fund the creation of this account

    type InitConfigParams = {
        collectProtocolFeesAuthority: PublicKey;
        defaultProtocolFeeRate: number;
        feeAuthority: PublicKey;
        funder: PublicKey;
        rewardEmissionsSuperAuthority: PublicKey;
        whirlpoolsConfigKeypair: Keypair;
    }
    Index

    Properties

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