@kamino-finance/klend-sdk
Version:
Typescript SDK for interacting with the Kamino Lending (klend) protocol
24 lines • 853 B
TypeScript
import { Address, IInstruction, TransactionSigner } from "@solana/kit";
import BN from "bn.js";
export interface MintArgs {
stakedSolToDeposit: BN;
minSharesToReceive: BN;
}
export interface MintAccounts {
user: TransactionSigner;
unstakeTicket: Address;
actionAuthority: TransactionSigner;
userStakedSolToken: Address;
userUnstakingSolToken: Address;
stakedSolMint: Address;
poolState: Address;
unstakingSolMint: Address;
basePoolAuthority: Address;
unstakingTicketAuthority: Address;
systemProgram: Address;
unstakingSolTokenProgram: Address;
stakedSolTokenProgram: Address;
}
export declare const layout: import("buffer-layout").Layout<unknown>;
export declare function mint(args: MintArgs, accounts: MintAccounts, programAddress?: Address): IInstruction;
//# sourceMappingURL=mint.d.ts.map