UNPKG

@evolutionland/evolution-js

Version:

evolution evolution-js evolutionland evolution-js-sdk evolution-land metaverse

29 lines (28 loc) 745 B
import { ethers } from "ethers"; import { Percent, TokenAmount } from "../../libs/uniswap"; import { Pair } from "../../utils/uniswap/uniswapPair"; export interface CompactToken { address: string; decimals: number; name?: string; symbol?: string; } export interface CompactTokenWithAmount extends CompactToken { amount: ethers.BigNumber; } export interface DerivedMintInfo { pair: Pair; parsedAmounts: { [x: string]: TokenAmount; [x: number]: TokenAmount; }; } export interface DerivedBurnInfo { liquidityPercent: Percent; pair: Pair; parsedAmounts: { [x: string]: TokenAmount; [x: number]: TokenAmount; }; } export { Pair } from "../../utils/uniswap/uniswapPair";