Skip to content

Commit

Permalink
feat: add order type to post
Browse files Browse the repository at this point in the history
  • Loading branch information
marktoda committed Apr 11, 2024
1 parent 5cd359b commit 9909b33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/providers/order/uniswapxService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Logger from 'bunyan';
import { OrderServiceProvider } from '.';

const ORDER_SERVICE_TIMEOUT_MS = 500;
const V2_ORDER_TYPE = 'Dutch_V2';

export class UniswapXServiceProvider implements OrderServiceProvider {
private log: Logger;
Expand All @@ -28,6 +29,7 @@ export class UniswapXServiceProvider implements OrderServiceProvider {
signature: signature,
chainId: order.chainId,
quoteId: quoteId,
orderType: V2_ORDER_TYPE,
},
axiosConfig
);
Expand Down

0 comments on commit 9909b33

Please sign in to comment.