Coda by Ian Macalinao
    Preparing search index...

    Type Alias SetCollectProtocolFeesAuthorityInstruction<TProgram, TAccountWhirlpoolsConfig, TAccountCollectProtocolFeesAuthority, TAccountNewCollectProtocolFeesAuthority, TRemainingAccounts>

    SetCollectProtocolFeesAuthorityInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountWhirlpoolsConfig extends string
                ? WritableAccount<TAccountWhirlpoolsConfig>
                : TAccountWhirlpoolsConfig,
            TAccountCollectProtocolFeesAuthority extends string
                ? ReadonlySignerAccount<TAccountCollectProtocolFeesAuthority> & AccountSignerMeta<
                    TAccountCollectProtocolFeesAuthority,
                >
                : TAccountCollectProtocolFeesAuthority,
            TAccountNewCollectProtocolFeesAuthority extends string
                ? ReadonlyAccount<TAccountNewCollectProtocolFeesAuthority>
                : TAccountNewCollectProtocolFeesAuthority,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
    • TAccountWhirlpoolsConfig extends string | AccountMeta = string
    • TAccountCollectProtocolFeesAuthority extends string | AccountMeta = string
    • TAccountNewCollectProtocolFeesAuthority extends string | AccountMeta = string
    • TRemainingAccounts extends readonly AccountMeta[] = []