diff --git a/packages/asset-swapper/CHANGELOG.json b/packages/asset-swapper/CHANGELOG.json index 085a7b21fe..f42fd76680 100644 --- a/packages/asset-swapper/CHANGELOG.json +++ b/packages/asset-swapper/CHANGELOG.json @@ -93,6 +93,10 @@ { "note": "Use `IZeroExContract` in EP swap quote consumer.", "pr": 2657 + }, + { + "note": "Set `rfqtTakerAddress` to null in EP consumer", + "pr": 2692 } ] }, diff --git a/packages/asset-swapper/src/quote_consumers/exchange_proxy_swap_quote_consumer.ts b/packages/asset-swapper/src/quote_consumers/exchange_proxy_swap_quote_consumer.ts index d69f31b160..a7ce975feb 100644 --- a/packages/asset-swapper/src/quote_consumers/exchange_proxy_swap_quote_consumer.ts +++ b/packages/asset-swapper/src/quote_consumers/exchange_proxy_swap_quote_consumer.ts @@ -118,6 +118,7 @@ export class ExchangeProxySwapQuoteConsumer implements SwapQuoteConsumerBase { refundReceiver: refundReceiver || NULL_ADDRESS, fillAmount: firstHopOrder.takerAssetAmount, maxOrderFillAmounts: [], + rfqtTakerAddress: NULL_ADDRESS, orders: [firstHopOrder], signatures: [firstHopOrder.signature], }), @@ -131,6 +132,7 @@ export class ExchangeProxySwapQuoteConsumer implements SwapQuoteConsumerBase { side: FillQuoteTransformerSide.Sell, fillAmount: MAX_UINT256, maxOrderFillAmounts: [], + rfqtTakerAddress: NULL_ADDRESS, orders: [secondHopOrder], signatures: [secondHopOrder.signature], }), @@ -145,6 +147,7 @@ export class ExchangeProxySwapQuoteConsumer implements SwapQuoteConsumerBase { side: isBuyQuote(quote) ? FillQuoteTransformerSide.Buy : FillQuoteTransformerSide.Sell, fillAmount: isBuyQuote(quote) ? quote.makerAssetFillAmount : quote.takerAssetFillAmount, maxOrderFillAmounts: [], + rfqtTakerAddress: NULL_ADDRESS, orders: quote.orders, signatures: quote.orders.map(o => o.signature), }),