Skip to content

Commit

Permalink
hardcode allowedSenders for zohar test lo
Browse files Browse the repository at this point in the history
  • Loading branch information
viet-nv committed Dec 25, 2024
1 parent ad0016e commit 3b4dd35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/swapv2/LimitOrder/LimitOrderForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,9 @@ const LimitOrderForm = forwardRef<LimitOrderFormHandle, Props>(function LimitOrd
inputAmount,
outputAmount,
expiredAt,

// FIXME: Hardcode for Zohar
allowedSenders: ['0xB2A2648Dc6962016501EeDbB47C32a50aB777B7A'],
})
if (order_id) trackingPlaceOrder(MIXPANEL_TYPE.LO_PLACE_ORDER_SUCCESS, { order_id })
}
Expand Down
1 change: 1 addition & 0 deletions src/components/swapv2/LimitOrder/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,5 @@ export type CreateOrderParam = {
orderId?: number
signature?: string
salt?: string
allowedSenders?: string[]
}

0 comments on commit 3b4dd35

Please sign in to comment.