@hubbleprotocol/farms-sdk
Version:
8 lines (7 loc) • 1.11 kB
TypeScript
import { KaminoAction } from "@kamino-finance/klend-sdk";
import { AddressLookupTableAccount, BlockhashWithExpiryBlockHeight, Connection, Keypair, PublicKey, Signer, TransactionInstruction, TransactionSignature } from "@solana/web3.js";
export declare const LENDING_LUT: PublicKey;
export declare function refreshAllKlendObligationFarmsFromFileCommand(market: string, file: string): Promise<void>;
export declare const sendTransactionFromAction: (c: Connection, kaminoAction: KaminoAction, liquidator: Keypair, lookupTables: AddressLookupTableAccount[], withDescription?: string) => Promise<TransactionSignature>;
export declare function sendAndConfirmTransactionV0(c: Connection, payer: Keypair, instructions: TransactionInstruction[], lookupTables: AddressLookupTableAccount[], signers: Signer[], withDescription?: string, logger?: (str: string) => void): Promise<TransactionSignature>;
export declare function confirmTx(connection: Connection, txHash: string, txnBlockhash: BlockhashWithExpiryBlockHeight): Promise<import("@solana/web3.js").RpcResponseAndContext<import("@solana/web3.js").SignatureResult>>;