Type Alias ParsedCollectFeesV2Instruction<TProgram, TAccountMetas>

ParsedCollectFeesV2Instruction: {
    accounts: {
        memoProgram: TAccountMetas[12];
        position: TAccountMetas[2];
        positionAuthority: TAccountMetas[1];
        positionTokenAccount: TAccountMetas[3];
        tokenMintA: TAccountMetas[4];
        tokenMintB: TAccountMetas[5];
        tokenOwnerAccountA: TAccountMetas[6];
        tokenOwnerAccountB: TAccountMetas[8];
        tokenProgramA: TAccountMetas[10];
        tokenProgramB: TAccountMetas[11];
        tokenVaultA: TAccountMetas[7];
        tokenVaultB: TAccountMetas[9];
        whirlpool: TAccountMetas[0];
    };
    data: CollectFeesV2InstructionData;
    programAddress: Address<TProgram>;
}

Type Parameters

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

Type declaration