it builds
This commit is contained in:
		@@ -118,11 +118,6 @@ export class SwapQuoter {
 | 
			
		||||
                this.chainId,
 | 
			
		||||
                options.samplerServiceUrl,
 | 
			
		||||
            ),
 | 
			
		||||
            this._contractAddresses,
 | 
			
		||||
            {
 | 
			
		||||
                chainId,
 | 
			
		||||
                exchangeAddress: this._contractAddresses.exchange,
 | 
			
		||||
            },
 | 
			
		||||
        );
 | 
			
		||||
 | 
			
		||||
        this._quoteRequestorHttpClient = Axios.create({
 | 
			
		||||
@@ -714,7 +709,7 @@ function getSwapQuoteOrdersBreakdown(side: MarketOperation, tokenPath: Address[]
 | 
			
		||||
    return breakdown;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function fillResultsToQuoteInfo(fr: QuoteFillResult, slippage: number): SwapQuoteInfo {
 | 
			
		||||
function fillResultsToQuoteInfo(fr: QuoteFillResult): SwapQuoteInfo {
 | 
			
		||||
    return {
 | 
			
		||||
        makerAmount: fr.totalMakerAssetAmount,
 | 
			
		||||
        takerAmount: fr.takerAssetAmount,
 | 
			
		||||
@@ -722,7 +717,6 @@ function fillResultsToQuoteInfo(fr: QuoteFillResult, slippage: number): SwapQuot
 | 
			
		||||
        feeTakerTokenAmount: fr.takerFeeTakerAssetAmount,
 | 
			
		||||
        protocolFeeInWeiAmount: fr.protocolFeeAmount,
 | 
			
		||||
        gas: fr.gas,
 | 
			
		||||
        slippage,
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -271,7 +271,6 @@ export interface SwapQuoteInfo {
 | 
			
		||||
    makerAmount: BigNumber;
 | 
			
		||||
    protocolFeeInWeiAmount: BigNumber;
 | 
			
		||||
    gas: number;
 | 
			
		||||
    slippage: number;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 
 | 
			
		||||
@@ -682,4 +682,5 @@ export const DEFAULT_GET_MARKET_ORDERS_OPTS: Omit<GetMarketOrdersOpts, 'gasPrice
 | 
			
		||||
    shouldGenerateQuoteReport: true,
 | 
			
		||||
    shouldIncludePriceComparisonsReport: false,
 | 
			
		||||
    tokenAdjacencyGraph: { default: [] },
 | 
			
		||||
    neonRouterNumSamples: 14,
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
@@ -550,7 +550,7 @@ export class MarketOperationUtils {
 | 
			
		||||
            allowFallback: _opts.allowFallback,
 | 
			
		||||
            exchangeProxyOverhead: _opts.exchangeProxyOverhead,
 | 
			
		||||
            gasPrice: _opts.gasPrice,
 | 
			
		||||
            neonRouterNumSamples: _opts.ne
 | 
			
		||||
            neonRouterNumSamples: _opts.neonRouterNumSamples,
 | 
			
		||||
        };
 | 
			
		||||
 | 
			
		||||
        if (nativeOrders.length === 0) {
 | 
			
		||||
 
 | 
			
		||||
@@ -398,6 +398,10 @@ export interface GetMarketOrdersOpts {
 | 
			
		||||
     * percentage, no fallback quote will be provided.
 | 
			
		||||
     */
 | 
			
		||||
    maxFallbackSlippage: number;
 | 
			
		||||
    /**
 | 
			
		||||
     * Number of samples to use when creating fill curves with neon-router
 | 
			
		||||
     */
 | 
			
		||||
    neonRouterNumSamples: number;
 | 
			
		||||
    exchangeProxyOverhead: ExchangeProxyOverhead;
 | 
			
		||||
    /**
 | 
			
		||||
     * Whether to pad the quote with a redundant fallback quote using different
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user