Closed PossibilityResult closed 1 year ago
https://www.investopedia.com/terms/f/fok.asp
The best way to implement this would be as a kind of special limit order.
imo this is the same as the limitPrice feature we just implemented, except with MEV ordering built-in if we integrate with Skip we won't need this
We already implement this behavior in Swap()
, let's repurpose this issue to refer to the idea that we should expose this functionality as a limit order type.
I think it'd be extremely valuable to have a tx type for a price quote, where market makers can submit expiring quotes for liquidity to be traded at.
The user flow would look like this:
This prevents the "stale order sniping" and inventory risk that market makers typically take on when LPing. It reduces metrics like TVL, since liquidity is only "flashed" into the pools, but we can come up with other metrics.
Next steps: