Just In Time liquidity #5
kimurayu45z
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Motivation
Like Uniswap V4 Hooks, the method to add liquidity after the order before the settlement is useful to decrease the slippage.
Implementation
By using in-protocol block building like Skip Block SDK, inserting
MsgIncreaseLiquiditytransaction beforeMsgSwapExactAmountIn/MsgSwapExactAmountOut, and insertingMsgDecreaseLiquiditytransaction after that, is possible.The right to insert should be determined by the auction.
Beta Was this translation helpful? Give feedback.
All reactions