Documentation
    Preparing search index...

    Type Alias SetAdaptiveFeeConstantsInstruction<TProgram, TAccountWhirlpool, TAccountWhirlpoolsConfig, TAccountOracle, TAccountFeeAuthority, TRemainingAccounts>

    SetAdaptiveFeeConstantsInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountWhirlpool extends string
                ? ReadonlyAccount<TAccountWhirlpool>
                : TAccountWhirlpool,
            TAccountWhirlpoolsConfig extends string
                ? ReadonlyAccount<TAccountWhirlpoolsConfig>
                : TAccountWhirlpoolsConfig,
            TAccountOracle extends string
                ? WritableAccount<TAccountOracle>
                : TAccountOracle,
            TAccountFeeAuthority extends string
                ? ReadonlySignerAccount<TAccountFeeAuthority> & AccountSignerMeta<
                    TAccountFeeAuthority,
                >
                : TAccountFeeAuthority,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
    • TAccountWhirlpool extends string | AccountMeta<string> = string
    • TAccountWhirlpoolsConfig extends string | AccountMeta<string> = string
    • TAccountOracle extends string | AccountMeta<string> = string
    • TAccountFeeAuthority extends string | AccountMeta<string> = string
    • TRemainingAccounts extends readonly AccountMeta<string>[] = []