UNPKG

@kamino-finance/klend-sdk

Version:

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

26 lines 1.02 kB
import { TransactionInstruction, PublicKey } from "@solana/web3.js"; import BN from "bn.js"; export interface DepositObligationCollateralV2Args { collateralAmount: BN; } export interface DepositObligationCollateralV2Accounts { depositAccounts: { owner: PublicKey; obligation: PublicKey; lendingMarket: PublicKey; depositReserve: PublicKey; reserveDestinationCollateral: PublicKey; userSourceCollateral: PublicKey; tokenProgram: PublicKey; instructionSysvarAccount: PublicKey; }; lendingMarketAuthority: PublicKey; farmsAccounts: { obligationFarmUserState: PublicKey; reserveFarmState: PublicKey; }; farmsProgram: PublicKey; } export declare const layout: any; export declare function depositObligationCollateralV2(args: DepositObligationCollateralV2Args, accounts: DepositObligationCollateralV2Accounts, programId?: PublicKey): TransactionInstruction; //# sourceMappingURL=depositObligationCollateralV2.d.ts.map