UNPKG

@hubbleprotocol/farms-sdk

Version:
18 lines (17 loc) 536 B
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;