@kamino-finance/kliquidity-sdk
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
17 lines • 781 B
TypeScript
import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit";
import BN from "bn.js";
export interface SwapRouterBaseInArgs {
amountIn: BN;
amountOutMinimum: BN;
}
export interface SwapRouterBaseInAccounts {
payer: TransactionSigner;
inputTokenAccount: Address;
inputTokenMint: Address;
tokenProgram: Address;
tokenProgram2022: Address;
memoProgram: Address;
}
export declare const layout: import("buffer-layout").Layout<unknown>;
export declare function swapRouterBaseIn(args: SwapRouterBaseInArgs, accounts: SwapRouterBaseInAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
//# sourceMappingURL=swapRouterBaseIn.d.ts.map