Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Adapt to new RFQ-T namespace in SwapQuoterOpts
Browse files Browse the repository at this point in the history
  • Loading branch information
feuGeneA committed Apr 10, 2020
1 parent 268bff8 commit ba0a999
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/services/swap_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ export class SwapService {
const swapQuoterOpts: Partial<SwapQuoterOpts> = {
chainId: CHAIN_ID,
expiryBufferMs: QUOTE_ORDER_EXPIRATION_BUFFER_MS,
liquidityProviderRegistryAddress: LIQUIDITY_POOL_REGISTRY_ADDRESS,
rfqtTakerApiKeyWhitelist: RFQT_API_KEY_WHITELIST,
rfqtMakerEndpoints: RFQT_MAKER_ENDPOINTS,
rfqt: {
takerApiKeyWhitelist: RFQT_API_KEY_WHITELIST,
makerEndpoints: RFQT_MAKER_ENDPOINTS,
},
};
this._swapQuoter = new SwapQuoter(this._provider, orderbook, swapQuoterOpts);
this._swapQuoteConsumer = new SwapQuoteConsumer(this._provider, swapQuoterOpts);
Expand Down

0 comments on commit ba0a999

Please sign in to comment.