UNPKG

flashloan-profit-calculator

Version:

A library for analyzing flashloan transactions and calculating profits

10 lines (9 loc) 338 B
import type { TraceCall } from "../types"; /** * Check if a token is WETH-like by examining its contract code */ export declare function isWethLikeToken(tokenAddress: string): Promise<boolean>; /** * Get all WETH-like tokens from a transaction's trace */ export declare function findWethLikeTokens(trace: TraceCall[]): Promise<void>;