This proof of concept Hook addresses the phenomenon of loss-versus-rebalancing (LVR), something which is costing AMM liquidity providers upwards of $100M.
File explorer
Diamond Hook - This proof of concept Hook addresses the phenomenon of loss-versus-rebalancing (LVR), something which is costing AMM liquidity providers upwards of $100M.
.github
workflows
test.yml0.5 kb
documentation
code-walkthrough.md6.4 kb
lib
forge-std0 kb
openzeppelin-contracts0 kb
periphery-next0 kb
v4-core0 kb
src
libraries
LiquidityAmounts.sol6.3 kb
BaseFactory.sol1.7 kb
DiamondHookPoC.sol40.6 kb
test
utils
DiamondHookImpl.sol0.7 kb
DiamondHook.t.sol17.9 kb
.gitignore0.1 kb
.gitmodules0.4 kb
LICENSE1 kb
README.md0.6 kb
foundry.toml0.1 kb
remappings.txt0.1 kb
File explorer
Diamond Hook - This proof of concept Hook addresses the phenomenon of loss-versus-rebalancing (LVR), something which is costing AMM liquidity providers upwards of $100M.
Open a file
Select a file from the file explorer to view it's content.