Type Alias ParsedCollectFeesInstruction<TProgram, TAccountMetas>

ParsedCollectFeesInstruction: {
    accounts: {
        position: TAccountMetas[2];
        positionAuthority: TAccountMetas[1];
        positionTokenAccount: TAccountMetas[3];
        tokenOwnerAccountA: TAccountMetas[4];
        tokenOwnerAccountB: TAccountMetas[6];
        tokenProgram: TAccountMetas[8];
        tokenVaultA: TAccountMetas[5];
        tokenVaultB: TAccountMetas[7];
        whirlpool: TAccountMetas[0];
    };
    data: CollectFeesInstructionData;
    programAddress: Address<TProgram>;
}

Type Parameters

  • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
  • TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]

Type declaration