Skip to content

Commit 6a167db

Browse files
Update 05-hook-deployment.mdx (#929)
1 parent e8473ac commit 6a167db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/contracts/v4/guides/hooks/05-hook-deployment.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ uint160 flags = uint160(
7676
);
7777
```
7878

79-
Mine the address by finding a `salt` that produces a hook address with the desired `flags`, use the Foundry deterministic deployer when deploying via Foundry script:
79+
Mine the address by finding a `salt` that produces a hook address with the desired `flags`, use the Foundry deterministic deployer when deploying via Foundry script. For most chains, CREATE2_DEPLOYER contract address is [0x4e59b44847b379578588920ca78fbf26c0b4956c](https://book.getfoundry.sh/guides/deterministic-deployments-using-create2#getting-started).
8080

8181
```solidity
8282
bytes memory constructorArgs = abi.encode(POOLMANAGER);
@@ -135,4 +135,4 @@ contract PointsHookScript is Script, Constants {
135135
require(address(pointsHook) == hookAddress, "PointsHookScript: hook address mismatch");
136136
}
137137
}
138-
```
138+
```

0 commit comments

Comments
 (0)