Skip to content

Commit 182e046

Browse files
authored
Deploy: Linea FB Router (#328)
* deploy: aux contracts on Linea * fix: adjust QuoterV2 config script for chains w/o SynapseRouter * deploy: FB Router on Linea * build: add FastBridge deployment addresses on Linea * chore: use latest FastBridge address on other chains * refactor: more explicit logs * deploy: UniV3 module on Scroll, LinkedPool * deploy: AlgebraModule on Linea, LinkedPool * fix: save linked pool viz as .png * chore: regenerate token trees * build: add deployed linked pools as origin-only pools * feat: script to generate all token trees * chore: regenerate all token trees * fix: getCode in integration tests
1 parent 97aeb0c commit 182e046

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2950
-7362
lines changed

deployments/arbitrum/FastBridge.json

Lines changed: 1 addition & 583 deletions
Large diffs are not rendered by default.

deployments/base/FastBridge.json

Lines changed: 1 addition & 1217 deletions
Large diffs are not rendered by default.

deployments/blast/FastBridge.json

Lines changed: 1 addition & 583 deletions
Large diffs are not rendered by default.

deployments/bsc/FastBridge.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"address": "0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E",
3-
"constructorArgs": "0x000000000000000000000000bd88862fcc17de436f7bd17276c537acadda9a67"
2+
"address": "0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E"
43
}
Lines changed: 188 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
1+
{
2+
"address": "0x8721e488c0cf6206A9eDAdFCafdd24367c5d432a",
3+
"constructorArgs": "0x0000000000000000000000003921e8cb45b17fc029a0a6de958330ca4e58339000000000000000000000000070ceb9e0237546115e2f108f8f7658e42daf3296",
4+
"abi": [
5+
{
6+
"type": "constructor",
7+
"inputs": [
8+
{
9+
"name": "algebraRouter_",
10+
"type": "address",
11+
"internalType": "address"
12+
},
13+
{
14+
"name": "algebraStaticQuoter_",
15+
"type": "address",
16+
"internalType": "address"
17+
}
18+
],
19+
"stateMutability": "nonpayable"
20+
},
21+
{
22+
"type": "function",
23+
"name": "algebraRouter",
24+
"inputs": [],
25+
"outputs": [
26+
{
27+
"name": "",
28+
"type": "address",
29+
"internalType": "contract IAlgebraRouter"
30+
}
31+
],
32+
"stateMutability": "view"
33+
},
34+
{
35+
"type": "function",
36+
"name": "algebraStaticQuoter",
37+
"inputs": [],
38+
"outputs": [
39+
{
40+
"name": "",
41+
"type": "address",
42+
"internalType": "contract IAlgebraStaticQuoter"
43+
}
44+
],
45+
"stateMutability": "view"
46+
},
47+
{
48+
"type": "function",
49+
"name": "getPoolQuote",
50+
"inputs": [
51+
{
52+
"name": "",
53+
"type": "address",
54+
"internalType": "address"
55+
},
56+
{
57+
"name": "tokenFrom",
58+
"type": "tuple",
59+
"internalType": "struct IndexedToken",
60+
"components": [
61+
{
62+
"name": "index",
63+
"type": "uint8",
64+
"internalType": "uint8"
65+
},
66+
{
67+
"name": "token",
68+
"type": "address",
69+
"internalType": "address"
70+
}
71+
]
72+
},
73+
{
74+
"name": "tokenTo",
75+
"type": "tuple",
76+
"internalType": "struct IndexedToken",
77+
"components": [
78+
{
79+
"name": "index",
80+
"type": "uint8",
81+
"internalType": "uint8"
82+
},
83+
{
84+
"name": "token",
85+
"type": "address",
86+
"internalType": "address"
87+
}
88+
]
89+
},
90+
{
91+
"name": "amountIn",
92+
"type": "uint256",
93+
"internalType": "uint256"
94+
},
95+
{
96+
"name": "",
97+
"type": "bool",
98+
"internalType": "bool"
99+
}
100+
],
101+
"outputs": [
102+
{
103+
"name": "amountOut",
104+
"type": "uint256",
105+
"internalType": "uint256"
106+
}
107+
],
108+
"stateMutability": "view"
109+
},
110+
{
111+
"type": "function",
112+
"name": "getPoolTokens",
113+
"inputs": [
114+
{
115+
"name": "pool",
116+
"type": "address",
117+
"internalType": "address"
118+
}
119+
],
120+
"outputs": [
121+
{
122+
"name": "tokens",
123+
"type": "address[]",
124+
"internalType": "address[]"
125+
}
126+
],
127+
"stateMutability": "view"
128+
},
129+
{
130+
"type": "function",
131+
"name": "poolSwap",
132+
"inputs": [
133+
{
134+
"name": "",
135+
"type": "address",
136+
"internalType": "address"
137+
},
138+
{
139+
"name": "tokenFrom",
140+
"type": "tuple",
141+
"internalType": "struct IndexedToken",
142+
"components": [
143+
{
144+
"name": "index",
145+
"type": "uint8",
146+
"internalType": "uint8"
147+
},
148+
{
149+
"name": "token",
150+
"type": "address",
151+
"internalType": "address"
152+
}
153+
]
154+
},
155+
{
156+
"name": "tokenTo",
157+
"type": "tuple",
158+
"internalType": "struct IndexedToken",
159+
"components": [
160+
{
161+
"name": "index",
162+
"type": "uint8",
163+
"internalType": "uint8"
164+
},
165+
{
166+
"name": "token",
167+
"type": "address",
168+
"internalType": "address"
169+
}
170+
]
171+
},
172+
{
173+
"name": "amountIn",
174+
"type": "uint256",
175+
"internalType": "uint256"
176+
}
177+
],
178+
"outputs": [
179+
{
180+
"name": "amountOut",
181+
"type": "uint256",
182+
"internalType": "uint256"
183+
}
184+
],
185+
"stateMutability": "nonpayable"
186+
}
187+
]
188+
}
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+
}

deployments/linea/FastBridge.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"address": "0x34F52752975222d5994C206cE08C1d5B329f24dD"
3+
}

0 commit comments

Comments
 (0)