Skip to content

Commit 795bafc

Browse files
committed
chore: forge fmt
1 parent c371f40 commit 795bafc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ forge coverage
4848
forge doc --serve --port 4000
4949
```
5050

51-
## Deployments
51+
## Deployment Addresses
5252

5353
On networks where Uniswap v4 is deployed, EulerSwap is deployed using a factory variant that creates Uniswap v4 hook compatible instances. Elsewhere, the original 'OG' version of EulerSwap factory is deployed.
5454

script/DeployPool.s.sol

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ contract DeployPool is ScriptUtil {
2222
EulerSwapFactory factory = EulerSwapFactory(vm.parseJsonAddress(json, ".factory"));
2323

2424
address pool = factory.poolByEulerAccount(eulerAccount);
25-
require(pool == address(0), "EulerSwap pool is already installed for this account. Run the uninstall script first.");
25+
require(
26+
pool == address(0), "EulerSwap pool is already installed for this account. Run the uninstall script first."
27+
);
2628

2729
IEulerSwap.Params memory poolParams = IEulerSwap.Params({
2830
vault0: vm.parseJsonAddress(json, ".vault0"),
@@ -43,7 +45,8 @@ contract DeployPool is ScriptUtil {
4345
currReserve1: uint112(vm.parseJsonUint(json, ".currReserve1"))
4446
});
4547

46-
bytes memory creationCode = MetaProxyDeployer.creationCodeMetaProxy(factory.eulerSwapImpl(), abi.encode(poolParams));
48+
bytes memory creationCode =
49+
MetaProxyDeployer.creationCodeMetaProxy(factory.eulerSwapImpl(), abi.encode(poolParams));
4750
(address predictedPoolAddress, bytes32 salt) = HookMiner.find(
4851
address(address(factory)),
4952
uint160(

0 commit comments

Comments
 (0)