@hubbleprotocol/farms-sdk
Version:
16 lines (15 loc) • 599 B
TypeScript
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;