EkuboProtocol / limit-orders-extension

Ekubo extension that implements limit orders, i.e. positions that are immediately pulled when fully executed
MIT License
5 stars 2 forks source link

unit test order execution #2

Closed moodysalem closed 3 weeks ago

moodysalem commented 1 month ago

when a user swaps past an order, confirm all the orders can be withdrawn for the other token

orders that are partially executed should receive both tokens on close order

and when the price returns to the other side of the order boundary, orders placed before the swap should remain fully executed whereas orders placed after should not be executed at all