Skip to content

Accounting Improvement Hooks

No due date 0% complete

Milestone 2: Accounting Improvement Hooks
The goal of this milestone is to provide implementation hooks, using the base hooks from the previous milestone, that minimize tradeoffs/limitations of traditional AMMs. Developers will be able to build on top of these hooks, or combine multiple hooks together.
Time estimation for this milestone is 4 months (exclu…

Milestone 2: Accounting Improvement Hooks
The goal of this milestone is to provide implementation hooks, using the base hooks from the previous milestone, that minimize tradeoffs/limitations of traditional AMMs. Developers will be able to build on top of these hooks, or combine multiple hooks together.
Time estimation for this milestone is 4 months (excluding audit time).
AntiJITHook: Hook to limit just-in-time liquidity in order to benefit LPs that provide liquidity for a longer period of time.
AntiSandwichHook: Hook that limits atomic sandwich attacks, based on https://www.umbraresearch.xyz/writings/sandwich-resistant-amm
MinLVRHook: Hook that minimizes loss versus rebalancing, based on https://arxiv.org/pdf/2210.10601.
AsyncUseHook: Hook that allows LPs to re-use their liquidity outside the pool when it’s not being used as part of liquidity provision. This encapsulates a superset for hooks like delegated liquidity.

Loading