Skip to content

Commit 97aeb0c

Browse files
authored
Deploy: FastBridgeRouter, Create2Factory (#323)
* Add config for Scroll * Deploy some basic contracts * Add external Scroll deployments * Adjust QuoterV2 script to deploy w/o SynapseRouter * Deploy FB Router on Scroll * Add integration test for UniV3 module on Scroll * Deploy UniV3 module * Add simple config and integration test for it * deploy: Create2Factory on linea
1 parent 8556305 commit 97aeb0c

20 files changed

+2866
-1
lines changed

.env.example

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ FANTOM_ETHERSCAN_KEY=PasteYourOwnKeyPlease
6666
HARMONY_API=https://api.s0.t.hmny.io
6767
# Klaytn
6868
KLATYN_API=https://public-node-api.klaytnapi.com/v1/cypress
69+
# Linea
70+
LINEA_API=https://rpc.linea.build
71+
LINEA_ETHERSCAN_URL=https://api.lineascan.build/api
72+
LINEA_ETHERSCAN_KEY=PasteYourOwnKeyPlease
6973
# Mainnet
7074
MAINNET_API=https://eth.llamarpc.com
7175
MAINNET_ETHERSCAN_URL=https://api.etherscan.io/api
@@ -89,6 +93,10 @@ OPTIMISM_ETHERSCAN_KEY=PasteYourOwnKeyPlease
8993
POLYGON_API=https://polygon.llamarpc.com
9094
POLYGON_ETHERSCAN_URL=https://api.polygonscan.com/api
9195
POLYGON_ETHERSCAN_KEY=PasteYourOwnKeyPlease
96+
# Scroll
97+
SCROLL_API=https://rpc.scroll.io
98+
SCROLL_ETHERSCAN_URL=https://api.scrollscan.com/api
99+
SCROLL_ETHERSCAN_KEY=PasteYourOwnKeyPlease
92100
# zkEVM
93101
ZKEVM_API=https://zkevm-rpc.com
94102
ZKEVM_ETHERSCAN_URL=https://api-zkevm.polygonscan.com/api

deployments/linea/.chainId

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
59144
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"address": "0xa6190aBC82427800935E0598892f7488a7F73A04",
3+
"constructorArgs": "0x"
4+
}

deployments/scroll/.chainId

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
534352
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"address": "0xa6190aBC82427800935E0598892f7488a7F73A04",
3+
"constructorArgs": "0x"
4+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"address": "0x0000000000Cc5af216a3E1614091a20e11bbfD32",
3+
"constructorArgs": "0x",
4+
"abi": [
5+
{
6+
"type": "function",
7+
"name": "calculateAddLiquidity",
8+
"inputs": [
9+
{
10+
"name": "pool",
11+
"type": "address",
12+
"internalType": "address"
13+
},
14+
{
15+
"name": "amounts",
16+
"type": "uint256[]",
17+
"internalType": "uint256[]"
18+
}
19+
],
20+
"outputs": [
21+
{
22+
"name": "amountOut",
23+
"type": "uint256",
24+
"internalType": "uint256"
25+
}
26+
],
27+
"stateMutability": "view"
28+
}
29+
]
30+
}

0 commit comments

Comments
 (0)