- The example hook Counter.sol demonstrates the
beforeSwap()
andafterSwap()
hooks - The test template Counter.t.sol preconfigures the V4 pool manager, test tokens, and test liquidity.
Additional resources:
v4-periphery contains advanced hook implementations that serve as a great reference
requires foundry