@kamino-finance/klend-sdk
Version:
Typescript SDK for interacting with the Kamino Lending (klend) protocol
23 lines • 819 B
TypeScript
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
export interface InvestAccounts {
payer: PublicKey;
payerTokenAccount: PublicKey;
vaultState: PublicKey;
tokenVault: PublicKey;
tokenMint: PublicKey;
baseVaultAuthority: PublicKey;
ctokenVault: PublicKey;
reserve: PublicKey;
/** CPI accounts */
lendingMarket: PublicKey;
lendingMarketAuthority: PublicKey;
reserveLiquiditySupply: PublicKey;
reserveCollateralMint: PublicKey;
reserveCollateralTokenProgram: PublicKey;
klendProgram: PublicKey;
instructionSysvarAccount: PublicKey;
tokenProgram: PublicKey;
sharesTokenProgram: PublicKey;
}
export declare function invest(accounts: InvestAccounts, programId?: PublicKey): TransactionInstruction;
//# sourceMappingURL=invest.d.ts.map