Skip to content

Commit 153cf82

Browse files
committed
update deployment specs
1 parent e557187 commit 153cf82

File tree

10 files changed

+15
-111
lines changed

10 files changed

+15
-111
lines changed

script/README.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,17 @@ Before running the scripts, please make sure to fill the `.env` file following t
66

77
After filling the `.env` file, make sure to run: `source .env` in your terminal.
88

9-
## Deploy new pool
10-
- Fill the `DeployPool_input.json` file with the needed inputs.
11-
- The `eulerAccount` will be derived from the private key provided in `.env`. The account's position on Euler should be already set up.
12-
- Run `forge script ./script/DeployPool.s.sol --rpc-url network_name --broadcast --slow`, replacing `network_name` to match `_RPC_URL` environment variable (e.g. if running through `MAINNET_RPC_URL` replace `network_name` with `mainnet`)
13-
- The deployed pool address will be recorded in `./scripts/json/DeployPool_output.json` file
9+
## Deploy protocol
1410

15-
## Exact in swap
11+
- Fill the `DeployProtocol_input.json` file with the needed inputs.
12+
- Run `forge script ./script/DeployProtocol.s.sol --rpc-url network_name --broadcast --slow`, replacing `network_name` to match `_RPC_URL` environment variable (e.g. if running through `MAINNET_RPC_URL` replace `network_name` with `mainnet`)
1613

17-
- Fill the `SwapExactIn_input.json` file with the needed inputs.
18-
- Run `forge script ./script/SwapExactIn.s.sol --rpc-url network_name --broadcast --slow`, replacing `network_name` to match `_RPC_URL` environment variable (e.g. if running through `MAINNET_RPC_URL` replace `network_name` with `mainnet`)
14+
## Deployments
1915

20-
## Uninstall pool
16+
These are temporary deployments for testing. The official EulerSwap instances will be deployed by the EVK periphery infrastructure.
2117

22-
- Fill the `UninstallPool_input.json` file with the factory address.
23-
- Run `forge script ./script/UninstallPool.s.sol --rpc-url network_name --broadcast --slow`, replacing `network_name` to match `_RPC_URL` environment variable (e.g. if running through `MAINNET_RPC_URL` replace `network_name` with `mainnet`)
18+
### Base
2419

25-
## Deploy protocol
26-
27-
- Fill the `DeployProtocol_input.json` file with the needed inputs.
28-
- Run `forge script ./script/DeployProtocol.s.sol --rpc-url network_name --broadcast --slow`, replacing `network_name` to match `_RPC_URL` environment variable (e.g. if running through `MAINNET_RPC_URL` replace `network_name` with `mainnet`)
20+
EulerSwapFactory: 0xd7c9ec4925e5d95d341a169e8d7275e92b064b74
21+
EulerSwapRegistry: 0x93c4d4909fdc3b0651374f1160ec2aed4960d82c
22+
EulerSwapPeriphery: 0x18f0e5f802937447f49ea5e8faebb454c5c74c71

script/SwapExactIn.s.sol

Lines changed: 0 additions & 39 deletions
This file was deleted.

script/json/DeployPool_input.json

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"evc": "0x0C9a3dd6b8F28529d72d7f9cE918D493519EE383",
3-
"poolManager": "0x000000000004444c5dc75cB358380D2e3dE08A90",
4-
"evkFactory": "0x29a56a1b8214D9Cf7c5561811750D5cBDb45CC8e",
5-
"feeOwner": "0x603765f9e9B8E3CBACbdf7A6e963B7EAD77AE86f",
6-
"feeRecipientSetter": "0x603765f9e9B8E3CBACbdf7A6e963B7EAD77AE86f"
2+
"evc": "0x5301c7dD20bD945D2013b48ed0DEE3A284ca8989",
3+
"poolManager": "0x498581fF718922c3f8e6A244956aF099B2652b2b",
4+
"feeOwner": "0x33C71422B3E20ef2472Bc9aa9252220CAeAF207e",
5+
"feeRecipientSetter": "0x33C71422B3E20ef2472Bc9aa9252220CAeAF207e",
6+
"validVaultPerspective": "0xFEA8e8a4d7ab8C517c3790E49E92ED7E1166F651",
7+
"curator": "0x33C71422B3E20ef2472Bc9aa9252220CAeAF207e"
78
}

script/json/SwapExactIn_input.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

script/json/UninstallPool_input.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

script/json/deployments/mainnet_hook.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

script/json/deployments/mainnet_og.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

script/json/deployments/unichain_hook.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

script/json/deployments/unichain_og.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)