import { ChainId } from './utils/constants'; export type SwapType = 'SELL' | 'BUY'; export interface SwapState { sellTokenAddress?: string; buyTokenAddress?: string; inputAmount?: string; outputAmount?: string; type: SwapType; loading: boolean; isConfirming: boolean; } export interface AggregatorQuote { from?: string; to?: string; sellTokenAddress: string; buyTokenAddress: string; value: string; chainId: ChainId; price: string; guaranteedPrice: string; buyAmount: string; sellAmount: string; sources: AggregatorQuoteLiquiditySource[]; gasPrice: string; gas: string; estimatedGas: string; sellTokenToEthRate: string; buyTokenToEthRate: string; orderRoutes: AggregatorRoute[]; protocolFee: string; minimumProtocolFee: string; allowanceTarget?: string; orders?: AggregatorQuoteOrder[]; data?: string; priceDiffList?: AggregatorPriceDiff[]; estimatedPriceImpact: string | null; bridgesFeeInEth?: string; } export interface AggregatorRoute { proportion: string; paths: string[][]; sourceName: string; isMultihop: boolean; } export interface AggregatorPriceDiff { diff: string; buyAmount: string; sellAmount: string; source: string; } export interface AggregatorQuoteOrder { makerToken: string; source: string; takerToken: string; takerAmount: string; sourcePathId?: string; fillData: { router: string; tokenAddressPath: string[]; }; } export interface AggregatorQuoteLiquiditySource { name: string; proportion: string; intermediateToken?: string; hops?: string[]; } export interface AggregatorQuoteParams { sellToken: string; buyToken: string; sellAmount?: string; buyAmount?: string; slippagePercentage?: number; gasPrice?: string; buyTokenPercentageFee?: number; feeRecipient?: string; takerAddress?: string; skipValidation?: boolean; includedSources?: string; excludedSources?: string; alwaysUnmaskPancake?: boolean; hasFeeOnTransfer?: boolean; chainId?: ChainId; } //# sourceMappingURL=types.d.ts.map