Type Alias ParsedCollectProtocolFeesV2Instruction<TProgram, TAccountMetas>

ParsedCollectProtocolFeesV2Instruction: {
    accounts: {
        collectProtocolFeesAuthority: TAccountMetas[2];
        memoProgram: TAccountMetas[11];
        tokenDestinationA: TAccountMetas[7];
        tokenDestinationB: TAccountMetas[8];
        tokenMintA: TAccountMetas[3];
        tokenMintB: TAccountMetas[4];
        tokenProgramA: TAccountMetas[9];
        tokenProgramB: TAccountMetas[10];
        tokenVaultA: TAccountMetas[5];
        tokenVaultB: TAccountMetas[6];
        whirlpool: TAccountMetas[1];
        whirlpoolsConfig: TAccountMetas[0];
    };
    data: CollectProtocolFeesV2InstructionData;
    programAddress: Address<TProgram>;
}

Type Parameters

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

Type declaration