@hubbleprotocol/farms-sdk
Version:
14 lines (13 loc) • 452 B
TypeScript
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
import BN from "bn.js";
export interface UnstakeArgs {
stakeSharesScaled: BN;
}
export interface UnstakeAccounts {
owner: PublicKey;
userState: PublicKey;
farmState: PublicKey;
scopePrices: PublicKey;
}
export declare const layout: any;
export declare function unstake(args: UnstakeArgs, accounts: UnstakeAccounts, programId?: PublicKey): TransactionInstruction;