UNPKG

@kamino-finance/klend-sdk

Version:

Typescript SDK for interacting with the Kamino Lending (klend) protocol

22 lines 919 B
import { TransactionInstruction, PublicKey } from "@solana/web3.js"; import BN from "bn.js"; export interface BorrowObligationLiquidityArgs { liquidityAmount: BN; } export interface BorrowObligationLiquidityAccounts { owner: PublicKey; obligation: PublicKey; lendingMarket: PublicKey; lendingMarketAuthority: PublicKey; borrowReserve: PublicKey; borrowReserveLiquidityMint: PublicKey; reserveSourceLiquidity: PublicKey; borrowReserveLiquidityFeeReceiver: PublicKey; userDestinationLiquidity: PublicKey; referrerTokenState: PublicKey; tokenProgram: PublicKey; instructionSysvarAccount: PublicKey; } export declare const layout: any; export declare function borrowObligationLiquidity(args: BorrowObligationLiquidityArgs, accounts: BorrowObligationLiquidityAccounts, programId?: PublicKey): TransactionInstruction; //# sourceMappingURL=borrowObligationLiquidity.d.ts.map