dex-mcp
Version:
Model Context Protocol server for accessing DEX pool data from Permaswap and Botega on AO network
53 lines • 1.15 kB
TypeScript
export declare enum DEX {
PERMASWAP = "Permaswap",
BOTEGA = "Botega"
}
export type PoolAPIResponse = {
PERMASWAP: Record<string, {
tvl: number;
tokenA: string;
tokenB: string;
symbolX: string;
symbolY: string;
fee: string;
apr: number;
dexName: DEX.PERMASWAP;
poolAddress: string;
ticker: string;
name: string;
denomination: string;
}>;
BOTEGA: Record<string, {
tvl: number;
tokenA: string;
tokenB: string;
fee: string;
apr: number;
dexName: DEX.BOTEGA;
poolAddress: string;
ticker: string;
name: string;
denomination: string;
}>;
};
export type Pool = {
processId: string;
dex: DEX;
tokenA: {
symbol: string;
address: string;
decimals: number;
};
tokenB: {
symbol: string;
address: string;
decimals: number;
};
swapFeePct: number;
tvlUsd: number;
aprPct: number;
contract: string;
name: string;
ticker: string;
};
//# sourceMappingURL=types.d.ts.map