You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1/ assume active bin ratio is 40% usdc/ 60% usdt
2/ user add liquidity for the active bin with just usdt. it will get swapped to 40% usdc / 60% usdt
3/ user burn and will get 40% usdc / 60% usdt.
User might perform the above to evade beforeSwap() fee. hooks might want to guard against that in mint call with HOOKS_AFTER_MINT_OFFSET
The text was updated successfully, but these errors were encountered:
Add a section to remind devs about bin pool. eg.
1/ assume active bin ratio is 40% usdc/ 60% usdt
2/ user add liquidity for the active bin with just usdt. it will get swapped to 40% usdc / 60% usdt
3/ user burn and will get 40% usdc / 60% usdt.
User might perform the above to evade
beforeSwap()
fee. hooks might want to guard against that inmint
call withHOOKS_AFTER_MINT_OFFSET
The text was updated successfully, but these errors were encountered: