Skip to content

Commit

Permalink
add onlyByManager
Browse files Browse the repository at this point in the history
  • Loading branch information
Jun1on committed Jun 24, 2024
1 parent 1ca56ab commit 45db6a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/hooks/examples/FullRange.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 45db6a4

Please sign in to comment.