@iqai/mcp-bamm
Version:
MCP server for bamm (borrow automated market maker)
21 lines (20 loc) • 559 B
TypeScript
import type { Address } from "viem";
import type { WalletService } from "./wallet.js";
export interface BammPosition {
bamm: Address;
vault: {
token0: bigint;
token1: bigint;
rented: bigint;
} | null;
pairAddress: string;
poolName: string;
token0Symbol: string;
token1Symbol: string;
}
export declare class BammPositionsService {
private walletService;
constructor(walletService: WalletService);
getPositions(): Promise<BammPosition[]>;
formatPositions(positions: BammPosition[]): string;
}