feat: Update ethereum router + executor addresses

We deployed gas optimizations :)
This commit is contained in:
TAMARA LIPOWSKI
2025-05-21 12:58:07 -04:00
parent ec702a0c7f
commit 5bf3b5d7ad
5 changed files with 34 additions and 24 deletions

View File

@@ -19,6 +19,9 @@ export PRIVATE_KEY=<private-key>
## Deploy on Ethereum Mainnet or Base
Make sure to run `unset HISTFILE` in your terminal before setting the private key. This will prevent the private key
from being stored in the shell history.
1. Set the following environment variables:
```
@@ -28,9 +31,6 @@ export PRIVATE_KEY=<private-key>
export BLOCKCHAIN_EXPLORER_API_KEY=<blockchain-explorer-api-key>
```
Make sure to run `unset HISTFILE` in your terminal before setting the private key. This will prevent the private key
from being stored in the shell history.
## Deploy Tycho Router
For each of the following, you must select one of `tenderly_ethereum`, `tenderly_base`,

View File

@@ -68,7 +68,14 @@ const executors_to_deploy = {
"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"0x000000000022D473030F116dDEE9F6B43aC78BA3"
]
}
},
// Args: factory, permit2
{
exchange: "MaverickV2Executor", args: [
"0x0A7e848Aca42d879EF06507Fca0E7b33A0a63c1e",
"0x000000000022D473030F116dDEE9F6B43aC78BA3"
]
},
],
"base": [
// Args: Factory, Pool Init Code Hash, Permit2, Fee BPS
@@ -114,9 +121,15 @@ const executors_to_deploy = {
"0x000000000022D473030F116dDEE9F6B43aC78BA3"
]
},
// Args: Pool manager
{exchange: "UniswapV4Executor", args: ["0x498581ff718922c3f8e6a244956af099b2652b2b"]},
{exchange: "BalancerV2Executor", args: []},
// Args: Pool manager, Permit2
{
exchange: "UniswapV4Executor", args: [
"0x498581ff718922c3f8e6a244956af099b2652b2b",
"0x000000000022D473030F116dDEE9F6B43aC78BA3"
]
},
// Args: Permit2
{exchange: "BalancerV2Executor", args: ["0x000000000022D473030F116dDEE9F6B43aC78BA3"]},
],
"unichain": [
// Args: Factory, Pool Init Code Hash, Permit2, Fee BPS
@@ -137,10 +150,11 @@ const executors_to_deploy = {
]
},
// Args: Pool manager, Permit2
{exchange: "UniswapV4Executor", args: [
{
exchange: "UniswapV4Executor", args: [
"0x1f98400000000000000000000000000000000004",
"0x000000000022D473030F116dDEE9F6B43aC78BA3"
]
]
},
],
}

View File

@@ -3,7 +3,6 @@
"EXECUTOR_SETTER_ROLE": [
"0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655"
],
"FEE_SETTER_ROLE": [],
"PAUSER_ROLE": [
"0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655"
],
@@ -18,7 +17,6 @@
"EXECUTOR_SETTER_ROLE": [
"0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655"
],
"FEE_SETTER_ROLE": [],
"PAUSER_ROLE": [
"0x58Dc7Bf9eD1f4890A7505D5bE4E4252978eAF655"
],
@@ -33,7 +31,6 @@
"EXECUTOR_SETTER_ROLE": [
"0xb0A77f867Fcec1e9b271Ee17354bC6bBC0dD5662"
],
"FEE_SETTER_ROLE": [],
"PAUSER_ROLE": [
"0xb0A77f867Fcec1e9b271Ee17354bC6bBC0dD5662"
],
@@ -48,7 +45,6 @@
"EXECUTOR_SETTER_ROLE": [
"0xb0A77f867Fcec1e9b271Ee17354bC6bBC0dD5662"
],
"FEE_SETTER_ROLE": [],
"PAUSER_ROLE": [
"0xb0A77f867Fcec1e9b271Ee17354bC6bBC0dD5662"
],
@@ -63,7 +59,6 @@
"EXECUTOR_SETTER_ROLE": [
"0x810A00Fa9287700871ba0f870Cd89D7Eac08D48C"
],
"FEE_SETTER_ROLE": [],
"PAUSER_ROLE": [
"0x810A00Fa9287700871ba0f870Cd89D7Eac08D48C"
],