@kamino-finance/farms-sdk
Version:
18 lines • 571 B
TypeScript
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
import BN from "bn.js";
export interface StakeArgs {
amount: BN;
}
export interface StakeAccounts {
owner: PublicKey;
userState: PublicKey;
farmState: PublicKey;
farmVault: PublicKey;
userAta: PublicKey;
tokenMint: PublicKey;
scopePrices: PublicKey;
tokenProgram: PublicKey;
}
export declare const layout: any;
export declare function stake(args: StakeArgs, accounts: StakeAccounts, programId?: PublicKey): TransactionInstruction;
//# sourceMappingURL=stake.d.ts.map