From 45db6a45161e766e1a939b0d49ff7efd32d14813 Mon Sep 17 00:00:00 2001 From: Junion <69495294+Jun1on@users.noreply.github.com> Date: Mon, 24 Jun 2024 12:51:01 -0400 Subject: [PATCH] add onlyByManager --- contracts/hooks/examples/FullRange.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/hooks/examples/FullRange.sol b/contracts/hooks/examples/FullRange.sol index 191593b8..acc41b13 100644 --- a/contracts/hooks/examples/FullRange.sol +++ b/contracts/hooks/examples/FullRange.sol @@ -206,6 +206,7 @@ contract FullRange is BaseHook { function beforeInitialize(address, PoolKey calldata key, uint160, bytes calldata) external override + onlyByManager returns (bytes4) { if (key.tickSpacing != 60) revert TickSpacingNotDefault();