UNPKG

@mihalex/farms-sdk-tests

Version:
16 lines (15 loc) 599 B
import { TransactionInstruction, PublicKey } from "@solana/web3.js"; import BN from "bn.js"; export interface WithdrawFromFarmVaultArgs { amount: BN; } export interface WithdrawFromFarmVaultAccounts { withdrawAuthority: PublicKey; farmState: PublicKey; withdrawerTokenAccount: PublicKey; farmVault: PublicKey; farmVaultsAuthority: PublicKey; tokenProgram: PublicKey; } export declare const layout: any; export declare function withdrawFromFarmVault(args: WithdrawFromFarmVaultArgs, accounts: WithdrawFromFarmVaultAccounts, programId?: PublicKey): TransactionInstruction;