UNPKG

@kamino-finance/kliquidity-sdk

Version:

Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol

34 lines 1.32 kB
import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit"; import BN from "bn.js"; export interface SingleTokenDepositWithMinArgs { tokenAMinPostDepositBalance: BN; tokenBMinPostDepositBalance: BN; } export interface SingleTokenDepositWithMinAccounts { user: TransactionSigner; strategy: Address; globalConfig: Address; pool: Address; position: Address; tickArrayLower: Address; tickArrayUpper: Address; tokenAVault: Address; tokenBVault: Address; baseVaultAuthority: Address; tokenAAta: Address; tokenBAta: Address; tokenAMint: Address; tokenBMint: Address; userSharesAta: Address; sharesMint: Address; sharesMintAuthority: Address; scopePrices: Address; tokenInfos: Address; tokenProgram: Address; tokenATokenProgram: Address; tokenBTokenProgram: Address; instructionSysvarAccount: Address; } export declare const layout: import("buffer-layout").Layout<unknown>; export declare function singleTokenDepositWithMin(args: SingleTokenDepositWithMinArgs, accounts: SingleTokenDepositWithMinAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>; //# sourceMappingURL=singleTokenDepositWithMin.d.ts.map