Type Alias ParsedCollectProtocolFeesInstruction<TProgram, TAccountMetas>

ParsedCollectProtocolFeesInstruction: {
    accounts: {
        collectProtocolFeesAuthority: TAccountMetas[2];
        tokenDestinationA: TAccountMetas[5];
        tokenDestinationB: TAccountMetas[6];
        tokenProgram: TAccountMetas[7];
        tokenVaultA: TAccountMetas[3];
        tokenVaultB: TAccountMetas[4];
        whirlpool: TAccountMetas[1];
        whirlpoolsConfig: TAccountMetas[0];
    };
    data: CollectProtocolFeesInstructionData;
    programAddress: Address<TProgram>;
}

Type Parameters

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

Type declaration