/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import type { AccountMeta, AccountSignerMeta, Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlySignerAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount } from "@solana/kit"; import { WHIRLPOOL_PROGRAM_ADDRESS } from "../programs/index.js"; export declare const SET_REWARD_AUTHORITY_BY_SUPER_AUTHORITY_DISCRIMINATOR: ReadonlyUint8Array; export declare function getSetRewardAuthorityBySuperAuthorityDiscriminatorBytes(): ReadonlyUint8Array; export type SetRewardAuthorityBySuperAuthorityInstruction = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountWhirlpoolsConfig extends string ? ReadonlyAccount : TAccountWhirlpoolsConfig, TAccountWhirlpool extends string ? WritableAccount : TAccountWhirlpool, TAccountRewardEmissionsSuperAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountRewardEmissionsSuperAuthority, TAccountNewRewardAuthority extends string ? ReadonlyAccount : TAccountNewRewardAuthority, ...TRemainingAccounts ]>; export interface SetRewardAuthorityBySuperAuthorityInstructionData { discriminator: ReadonlyUint8Array; rewardIndex: number; } export interface SetRewardAuthorityBySuperAuthorityInstructionDataArgs { rewardIndex: number; } export declare function getSetRewardAuthorityBySuperAuthorityInstructionDataEncoder(): FixedSizeEncoder; export declare function getSetRewardAuthorityBySuperAuthorityInstructionDataDecoder(): FixedSizeDecoder; export declare function getSetRewardAuthorityBySuperAuthorityInstructionDataCodec(): FixedSizeCodec; export interface SetRewardAuthorityBySuperAuthorityInput { whirlpoolsConfig: Address; whirlpool: Address; rewardEmissionsSuperAuthority: TransactionSigner; newRewardAuthority: Address; rewardIndex: SetRewardAuthorityBySuperAuthorityInstructionDataArgs["rewardIndex"]; } export declare function getSetRewardAuthorityBySuperAuthorityInstruction(input: SetRewardAuthorityBySuperAuthorityInput, config?: { programAddress?: TProgramAddress; }): SetRewardAuthorityBySuperAuthorityInstruction; export interface ParsedSetRewardAuthorityBySuperAuthorityInstruction { programAddress: Address; accounts: { whirlpoolsConfig: TAccountMetas[0]; whirlpool: TAccountMetas[1]; rewardEmissionsSuperAuthority: TAccountMetas[2]; newRewardAuthority: TAccountMetas[3]; }; data: SetRewardAuthorityBySuperAuthorityInstructionData; } export declare function parseSetRewardAuthorityBySuperAuthorityInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetRewardAuthorityBySuperAuthorityInstruction; //# sourceMappingURL=setRewardAuthorityBySuperAuthority.d.ts.map