Auditless
Published in

Auditless

On-chain range orders using Uniswap V3

  • How concentrated liquidity positions support range orders?
  • What is the effective price of the range order?
  • What are the pros and cons of on-chain range orders as they are implemented with Uniswap?

How concentrated liquidity positions support range orders

What is the effective price of the range order

What are the pros and cons of on-chain range orders as they are implemented with Uniswap?

  • Range orders are implemented fully on-chain. This means that it is guaranteed to execute in periods of rapid price movement and you don't have to worry about trust and timing of off-chain execution. This also allows vaults to set up range orders which some are exploring already.
  • Potential to gain fees makes range order potentially more lucrative
  • Gas fees can be paid when entering the LP position, but don't have to be paid when market is experiencing high volatility
  • Final pricing of the range order is not known as it depends on the fees. At least a lower bound on the price can be set depending on the tick and fees can be seen as a bonus
  • The range order is impermanent. If price jumps up and down before the LP can remove the liquidity position, the range order will be reserved (but fees gained will be retained)
  • The range order is inefficient as assets are locked up in the pool. For example, if you had 300 DAI and you wanted to buy 300 DAI worth of ETH, UNI or YFI, whichever hits a price target first, that order is impossible on chain (but possible off chain). Instead, you could only have 3 separate range orders for 100 DAI each.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store