UNPKG

flashloan-profit-calculator

Version:

A library for analyzing flashloan transactions and calculating profits

58 lines (57 loc) 1.5 kB
import type { TransferLog, TraceCall } from "./types"; export declare const assetChanges: { assetChanges: ({ assetInfo: { standard: string; type: string; contractAddress: string; symbol: string; name: string; logo: string; decimals: number; dollarValue: string; }; type: string; from: string; to: string; rawAmount: string; amount: string; dollarValue: string; } | { assetInfo: { standard: string; contractAddress: string; type?: undefined; symbol?: undefined; name?: undefined; logo?: undefined; decimals?: undefined; dollarValue?: undefined; }; type: string; from: string; to: string; rawAmount: string; amount?: undefined; dollarValue?: undefined; } | { assetInfo: { standard: string; type: string; contractAddress: string; symbol: string; name: string; logo: string; decimals: number; dollarValue: string; }; type: string; from: string; rawAmount: string; amount: string; dollarValue: string; to?: undefined; })[]; }; export declare const logs: TransferLog[]; export declare const trace: TraceCall[];