Coda by Ian Macalinao
    Preparing search index...

    Type Alias CollectProtocolFeesInstruction<TProgram, TAccountWhirlpoolsConfig, TAccountWhirlpool, TAccountCollectProtocolFeesAuthority, TAccountTokenVaultA, TAccountTokenVaultB, TAccountTokenDestinationA, TAccountTokenDestinationB, TAccountTokenProgram, TRemainingAccounts>

    CollectProtocolFeesInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountWhirlpoolsConfig extends string
                ? ReadonlyAccount<TAccountWhirlpoolsConfig>
                : TAccountWhirlpoolsConfig,
            TAccountWhirlpool extends string
                ? WritableAccount<TAccountWhirlpool>
                : TAccountWhirlpool,
            TAccountCollectProtocolFeesAuthority extends string
                ? ReadonlySignerAccount<TAccountCollectProtocolFeesAuthority> & AccountSignerMeta<
                    TAccountCollectProtocolFeesAuthority,
                >
                : TAccountCollectProtocolFeesAuthority,
            TAccountTokenVaultA extends string
                ? WritableAccount<TAccountTokenVaultA>
                : TAccountTokenVaultA,
            TAccountTokenVaultB extends string
                ? WritableAccount<TAccountTokenVaultB>
                : TAccountTokenVaultB,
            TAccountTokenDestinationA extends string
                ? WritableAccount<TAccountTokenDestinationA>
                : TAccountTokenDestinationA,
            TAccountTokenDestinationB extends string
                ? WritableAccount<TAccountTokenDestinationB>
                : TAccountTokenDestinationB,
            TAccountTokenProgram extends string
                ? ReadonlyAccount<TAccountTokenProgram>
                : TAccountTokenProgram,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
    • TAccountWhirlpoolsConfig extends string | AccountMeta = string
    • TAccountWhirlpool extends string | AccountMeta = string
    • TAccountCollectProtocolFeesAuthority extends string | AccountMeta = string
    • TAccountTokenVaultA extends string | AccountMeta = string
    • TAccountTokenVaultB extends string | AccountMeta = string
    • TAccountTokenDestinationA extends string | AccountMeta = string
    • TAccountTokenDestinationB extends string | AccountMeta = string
    • TAccountTokenProgram extends string | AccountMeta = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
    • TRemainingAccounts extends readonly AccountMeta[] = []