UNPKG

@kamino-finance/klend-sdk

Version:

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

22 lines 784 B
import { TransactionInstruction, PublicKey } from "@solana/web3.js"; export interface InvestAccounts { payer: PublicKey; payerTokenAccount: PublicKey; vaultState: PublicKey; tokenVault: PublicKey; tokenMint: PublicKey; baseVaultAuthority: PublicKey; ctokenVault: PublicKey; /** CPI accounts */ reserve: PublicKey; lendingMarket: PublicKey; lendingMarketAuthority: PublicKey; reserveLiquiditySupply: PublicKey; reserveCollateralMint: PublicKey; klendProgram: PublicKey; reserveCollateralTokenProgram: PublicKey; tokenProgram: PublicKey; instructionSysvarAccount: PublicKey; } export declare function invest(accounts: InvestAccounts, programId?: PublicKey): TransactionInstruction; //# sourceMappingURL=invest.d.ts.map