UNPKG

@xspswap/smart-order-router

Version:
9 lines (8 loc) 560 B
import { Currency, CurrencyAmount as CurrencyAmountRaw } from '@x-swap-protocol/sdk-core'; import { FeeAmount } from '@x-swap-protocol/v3-sdk'; export declare class CurrencyAmount extends CurrencyAmountRaw<Currency> { } export declare const MAX_UINT160 = "0xffffffffffffffffffffffffffffffffffffffff"; export declare function parseAmount(value: string, currency: Currency): CurrencyAmount; export declare function parseFeeAmount(feeAmountStr: string): FeeAmount; export declare function unparseFeeAmount(feeAmount: FeeAmount): "10000" | "3000" | "500" | "100";