@hubbleprotocol/farms-sdk
Version:
19 lines (18 loc) • 607 B
TypeScript
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
import BN from "bn.js";
export interface AddRewardsArgs {
amount: BN;
rewardIndex: BN;
}
export interface AddRewardsAccounts {
payer: PublicKey;
farmState: PublicKey;
rewardMint: PublicKey;
rewardVault: PublicKey;
farmVaultsAuthority: PublicKey;
payerRewardTokenAta: PublicKey;
scopePrices: PublicKey;
tokenProgram: PublicKey;
}
export declare const layout: any;
export declare function addRewards(args: AddRewardsArgs, accounts: AddRewardsAccounts, programId?: PublicKey): TransactionInstruction;