Documentation
    Preparing search index...

    Type Alias UpdateFeesAndRewardsInstruction<TProgram, TAccountWhirlpool, TAccountPosition, TAccountTickArrayLower, TAccountTickArrayUpper, TRemainingAccounts>

    UpdateFeesAndRewardsInstruction: IInstruction<TProgram> & IInstructionWithData<
        Uint8Array,
    > & IInstructionWithAccounts<
        [
            TAccountWhirlpool extends string
                ? WritableAccount<TAccountWhirlpool>
                : TAccountWhirlpool,
            TAccountPosition extends string
                ? WritableAccount<TAccountPosition>
                : TAccountPosition,
            TAccountTickArrayLower extends string
                ? ReadonlyAccount<TAccountTickArrayLower>
                : TAccountTickArrayLower,
            TAccountTickArrayUpper extends string
                ? ReadonlyAccount<TAccountTickArrayUpper>
                : TAccountTickArrayUpper,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
    • TAccountWhirlpool extends string | IAccountMeta<string> = string
    • TAccountPosition extends string | IAccountMeta<string> = string
    • TAccountTickArrayLower extends string | IAccountMeta<string> = string
    • TAccountTickArrayUpper extends string | IAccountMeta<string> = string
    • TRemainingAccounts extends readonly IAccountMeta<string>[] = []