@iqai/mcp-bamm
Version:
MCP server for bamm (borrow automated market maker)
5 lines (4 loc) • 422 B
TypeScript
import { type Address } from "viem";
import type { PublicClient, WalletClient } from "viem";
export declare function ensureTokenApproval(tokenAddress: Address, spenderAddress: Address, amount: bigint, publicClient: PublicClient, walletClient: WalletClient): Promise<void>;
export declare function checkTokenBalance(tokenAddress: Address, userAddress: Address, amount: bigint, publicClient: PublicClient): Promise<bigint>;