@paraswap/dex-lib 4.6.9 → 4.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/abi/algebra-integral/blackhole-cl/Quoter.abi.json +325 -0
- package/build/abi/miro-migrator/MiroMigrator.abi.json +19 -36
- package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +796 -0
- package/build/abi/ring-v2/few-wrapped-token.json +587 -0
- package/build/abi/ring-v2/ring-v2-factory.json +125 -0
- package/build/abi/ring-v2/ring-v2-pool.json +461 -0
- package/build/abi/ring-v2/ring-v2-router.json +332 -0
- package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +682 -0
- package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +1335 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.d.ts +39 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +244 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +1 -0
- package/build/dex/aave-pt-to-underlying/config.d.ts +3 -0
- package/build/dex/aave-pt-to-underlying/config.js +47 -0
- package/build/dex/aave-pt-to-underlying/config.js.map +1 -0
- package/build/dex/aave-pt-to-underlying/constants.d.ts +2 -0
- package/build/dex/aave-pt-to-underlying/constants.js +6 -0
- package/build/dex/aave-pt-to-underlying/constants.js.map +1 -0
- package/build/dex/aave-pt-to-underlying/types.d.ts +22 -0
- package/build/dex/aave-pt-to-underlying/types.js +3 -0
- package/build/dex/aave-pt-to-underlying/types.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +39 -0
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +244 -0
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/config.d.ts +3 -0
- package/build/dex/aave-pt-to-usdc/config.js +47 -0
- package/build/dex/aave-pt-to-usdc/config.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/constants.d.ts +2 -0
- package/build/dex/aave-pt-to-usdc/constants.js +6 -0
- package/build/dex/aave-pt-to-usdc/constants.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/types.d.ts +22 -0
- package/build/dex/aave-pt-to-usdc/types.js +3 -0
- package/build/dex/aave-pt-to-usdc/types.js.map +1 -0
- package/build/dex/aave-v3/aave-v3.js +1 -0
- package/build/dex/aave-v3/aave-v3.js.map +1 -1
- package/build/dex/aave-v3-stata/aave-v3-stata.js +1 -0
- package/build/dex/aave-v3-stata/aave-v3-stata.js.map +1 -1
- package/build/dex/algebra-integral/algebra-integral-factory.js +2 -1
- package/build/dex/algebra-integral/algebra-integral-factory.js.map +1 -1
- package/build/dex/algebra-integral/algebra-integral.d.ts +6 -1
- package/build/dex/algebra-integral/algebra-integral.js +25 -72
- package/build/dex/algebra-integral/algebra-integral.js.map +1 -1
- package/build/dex/algebra-integral/config.js +9 -2
- package/build/dex/algebra-integral/config.js.map +1 -1
- package/build/dex/algebra-integral/constants.d.ts +3 -0
- package/build/dex/algebra-integral/constants.js +7 -0
- package/build/dex/algebra-integral/constants.js.map +1 -0
- package/build/dex/algebra-integral/forks/blackhole-cl.d.ts +24 -0
- package/build/dex/algebra-integral/forks/blackhole-cl.js +47 -0
- package/build/dex/algebra-integral/forks/blackhole-cl.js.map +1 -0
- package/build/dex/algebra-integral/types.d.ts +0 -1
- package/build/dex/algebra-integral/types.js.map +1 -1
- package/build/dex/angle-transmuter/angle-transmuter.js +1 -0
- package/build/dex/angle-transmuter/angle-transmuter.js.map +1 -1
- package/build/dex/cables/cables.js +1 -0
- package/build/dex/cables/cables.js.map +1 -1
- package/build/dex/ekubo/pools/math/sqrt-ratio.d.ts +8 -0
- package/build/dex/ekubo/pools/math/sqrt-ratio.js +113 -0
- package/build/dex/ekubo/pools/math/sqrt-ratio.js.map +1 -0
- package/build/dex/ekubo/pools/mev-resist.d.ts +7 -0
- package/build/dex/ekubo/pools/mev-resist.js +40 -0
- package/build/dex/ekubo/pools/mev-resist.js.map +1 -0
- package/build/dex/ekubo/pools/pool.d.ts +52 -0
- package/build/dex/ekubo/pools/pool.js +86 -0
- package/build/dex/ekubo/pools/pool.js.map +1 -0
- package/build/dex/erc4626/erc4626.js +1 -0
- package/build/dex/erc4626/erc4626.js.map +1 -1
- package/build/dex/idle-dao/idle-dao.d.ts +0 -1
- package/build/dex/idle-dao/idle-dao.js +11 -23
- package/build/dex/idle-dao/idle-dao.js.map +1 -1
- package/build/dex/index.js +4 -0
- package/build/dex/index.js.map +1 -1
- package/build/dex/infusion/infusion.js +1 -1
- package/build/dex/infusion/infusion.js.map +1 -1
- package/build/dex/kyberdmm/kyberdmm.js +1 -1
- package/build/dex/kyberdmm/kyberdmm.js.map +1 -1
- package/build/dex/maker-psm/maker-psm.d.ts +41 -4
- package/build/dex/maker-psm/maker-psm.js +144 -41
- package/build/dex/maker-psm/maker-psm.js.map +1 -1
- package/build/dex/miro-migrator/config.js +10 -3
- package/build/dex/miro-migrator/config.js.map +1 -1
- package/build/dex/miro-migrator/constants.d.ts +1 -2
- package/build/dex/miro-migrator/constants.js +2 -3
- package/build/dex/miro-migrator/constants.js.map +1 -1
- package/build/dex/miro-migrator/miro-migrator-pool.d.ts +5 -9
- package/build/dex/miro-migrator/miro-migrator-pool.js +28 -49
- package/build/dex/miro-migrator/miro-migrator-pool.js.map +1 -1
- package/build/dex/miro-migrator/miro-migrator-state.d.ts +27 -0
- package/build/dex/miro-migrator/miro-migrator-state.js +89 -0
- package/build/dex/miro-migrator/miro-migrator-state.js.map +1 -0
- package/build/dex/miro-migrator/miro-migrator.d.ts +4 -5
- package/build/dex/miro-migrator/miro-migrator.js +83 -41
- package/build/dex/miro-migrator/miro-migrator.js.map +1 -1
- package/build/dex/miro-migrator/types.d.ts +4 -2
- package/build/dex/miro-migrator/types.js +2 -1
- package/build/dex/miro-migrator/types.js.map +1 -1
- package/build/dex/polygon-migrator/polygon-migrator.d.ts +1 -0
- package/build/dex/polygon-migrator/polygon-migrator.js +7 -3
- package/build/dex/polygon-migrator/polygon-migrator.js.map +1 -1
- package/build/dex/solidly/config.js +11 -1
- package/build/dex/solidly/config.js.map +1 -1
- package/build/dex/solidly/forks-override/blackhole.d.ts +23 -0
- package/build/dex/solidly/forks-override/blackhole.js +81 -0
- package/build/dex/solidly/forks-override/blackhole.js.map +1 -0
- package/build/dex/solidly/solidly.js +1 -0
- package/build/dex/solidly/solidly.js.map +1 -1
- package/build/dex/spark/spark-psm.js +1 -0
- package/build/dex/spark/spark-psm.js.map +1 -1
- package/build/dex/spark/spark.d.ts +1 -0
- package/build/dex/spark/spark.js +8 -3
- package/build/dex/spark/spark.js.map +1 -1
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +4 -0
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +56 -0
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +7 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +28 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +2 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +7 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +28 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/types.js +2 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/index.d.ts +2 -0
- package/build/dex/uniswap-v4/hooks/index.js +8 -0
- package/build/dex/uniswap-v4/hooks/index.js.map +1 -0
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +26 -0
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +75 -0
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +1 -0
- package/build/dex/usdc-transmuter/usdc-transmuter.d.ts +1 -0
- package/build/dex/usdc-transmuter/usdc-transmuter.js +5 -1
- package/build/dex/usdc-transmuter/usdc-transmuter.js.map +1 -1
- package/build/dex/weth/weth.d.ts +1 -0
- package/build/dex/weth/weth.js +10 -2
- package/build/dex/weth/weth.js.map +1 -1
- package/build/dex-helper/dummy-dex-helper.js +1 -1
- package/build/dex-helper/dummy-dex-helper.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{
|
|
5
|
+
"internalType": "address",
|
|
6
|
+
"name": "_factory",
|
|
7
|
+
"type": "address"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"internalType": "address",
|
|
11
|
+
"name": "_WNativeToken",
|
|
12
|
+
"type": "address"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"internalType": "address",
|
|
16
|
+
"name": "_poolDeployer",
|
|
17
|
+
"type": "address"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"stateMutability": "nonpayable",
|
|
21
|
+
"type": "constructor"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"inputs": [],
|
|
25
|
+
"name": "WNativeToken",
|
|
26
|
+
"outputs": [
|
|
27
|
+
{
|
|
28
|
+
"internalType": "address",
|
|
29
|
+
"name": "",
|
|
30
|
+
"type": "address"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"stateMutability": "view",
|
|
34
|
+
"type": "function"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"inputs": [
|
|
38
|
+
{
|
|
39
|
+
"internalType": "int256",
|
|
40
|
+
"name": "amount0Delta",
|
|
41
|
+
"type": "int256"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"internalType": "int256",
|
|
45
|
+
"name": "amount1Delta",
|
|
46
|
+
"type": "int256"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"internalType": "bytes",
|
|
50
|
+
"name": "path",
|
|
51
|
+
"type": "bytes"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"name": "algebraSwapCallback",
|
|
55
|
+
"outputs": [],
|
|
56
|
+
"stateMutability": "view",
|
|
57
|
+
"type": "function"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"inputs": [],
|
|
61
|
+
"name": "factory",
|
|
62
|
+
"outputs": [
|
|
63
|
+
{
|
|
64
|
+
"internalType": "address",
|
|
65
|
+
"name": "",
|
|
66
|
+
"type": "address"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"stateMutability": "view",
|
|
70
|
+
"type": "function"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"inputs": [],
|
|
74
|
+
"name": "poolDeployer",
|
|
75
|
+
"outputs": [
|
|
76
|
+
{
|
|
77
|
+
"internalType": "address",
|
|
78
|
+
"name": "",
|
|
79
|
+
"type": "address"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"stateMutability": "view",
|
|
83
|
+
"type": "function"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"inputs": [
|
|
87
|
+
{
|
|
88
|
+
"internalType": "bytes",
|
|
89
|
+
"name": "path",
|
|
90
|
+
"type": "bytes"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"internalType": "uint256",
|
|
94
|
+
"name": "amountInRequired",
|
|
95
|
+
"type": "uint256"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"name": "quoteExactInput",
|
|
99
|
+
"outputs": [
|
|
100
|
+
{
|
|
101
|
+
"internalType": "uint256[]",
|
|
102
|
+
"name": "amountOutList",
|
|
103
|
+
"type": "uint256[]"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"internalType": "uint256[]",
|
|
107
|
+
"name": "amountInList",
|
|
108
|
+
"type": "uint256[]"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"internalType": "uint160[]",
|
|
112
|
+
"name": "sqrtPriceX96AfterList",
|
|
113
|
+
"type": "uint160[]"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"internalType": "uint32[]",
|
|
117
|
+
"name": "initializedTicksCrossedList",
|
|
118
|
+
"type": "uint32[]"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"internalType": "uint256",
|
|
122
|
+
"name": "gasEstimate",
|
|
123
|
+
"type": "uint256"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"internalType": "uint16[]",
|
|
127
|
+
"name": "feeList",
|
|
128
|
+
"type": "uint16[]"
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"stateMutability": "nonpayable",
|
|
132
|
+
"type": "function"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"inputs": [
|
|
136
|
+
{
|
|
137
|
+
"components": [
|
|
138
|
+
{
|
|
139
|
+
"internalType": "address",
|
|
140
|
+
"name": "tokenIn",
|
|
141
|
+
"type": "address"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"internalType": "address",
|
|
145
|
+
"name": "tokenOut",
|
|
146
|
+
"type": "address"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"internalType": "address",
|
|
150
|
+
"name": "deployer",
|
|
151
|
+
"type": "address"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"internalType": "uint256",
|
|
155
|
+
"name": "amountIn",
|
|
156
|
+
"type": "uint256"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"internalType": "uint160",
|
|
160
|
+
"name": "limitSqrtPrice",
|
|
161
|
+
"type": "uint160"
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"internalType": "struct IQuoterV2.QuoteExactInputSingleParams",
|
|
165
|
+
"name": "params",
|
|
166
|
+
"type": "tuple"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"name": "quoteExactInputSingle",
|
|
170
|
+
"outputs": [
|
|
171
|
+
{
|
|
172
|
+
"internalType": "uint256",
|
|
173
|
+
"name": "amountOut",
|
|
174
|
+
"type": "uint256"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"internalType": "uint256",
|
|
178
|
+
"name": "amountIn",
|
|
179
|
+
"type": "uint256"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"internalType": "uint160",
|
|
183
|
+
"name": "sqrtPriceX96After",
|
|
184
|
+
"type": "uint160"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"internalType": "uint32",
|
|
188
|
+
"name": "initializedTicksCrossed",
|
|
189
|
+
"type": "uint32"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"internalType": "uint256",
|
|
193
|
+
"name": "gasEstimate",
|
|
194
|
+
"type": "uint256"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"internalType": "uint16",
|
|
198
|
+
"name": "fee",
|
|
199
|
+
"type": "uint16"
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"stateMutability": "nonpayable",
|
|
203
|
+
"type": "function"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"inputs": [
|
|
207
|
+
{
|
|
208
|
+
"internalType": "bytes",
|
|
209
|
+
"name": "path",
|
|
210
|
+
"type": "bytes"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"internalType": "uint256",
|
|
214
|
+
"name": "amountOutRequired",
|
|
215
|
+
"type": "uint256"
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"name": "quoteExactOutput",
|
|
219
|
+
"outputs": [
|
|
220
|
+
{
|
|
221
|
+
"internalType": "uint256[]",
|
|
222
|
+
"name": "amountOutList",
|
|
223
|
+
"type": "uint256[]"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"internalType": "uint256[]",
|
|
227
|
+
"name": "amountInList",
|
|
228
|
+
"type": "uint256[]"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"internalType": "uint160[]",
|
|
232
|
+
"name": "sqrtPriceX96AfterList",
|
|
233
|
+
"type": "uint160[]"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"internalType": "uint32[]",
|
|
237
|
+
"name": "initializedTicksCrossedList",
|
|
238
|
+
"type": "uint32[]"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"internalType": "uint256",
|
|
242
|
+
"name": "gasEstimate",
|
|
243
|
+
"type": "uint256"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"internalType": "uint16[]",
|
|
247
|
+
"name": "feeList",
|
|
248
|
+
"type": "uint16[]"
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"stateMutability": "nonpayable",
|
|
252
|
+
"type": "function"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"inputs": [
|
|
256
|
+
{
|
|
257
|
+
"components": [
|
|
258
|
+
{
|
|
259
|
+
"internalType": "address",
|
|
260
|
+
"name": "tokenIn",
|
|
261
|
+
"type": "address"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"internalType": "address",
|
|
265
|
+
"name": "tokenOut",
|
|
266
|
+
"type": "address"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"internalType": "address",
|
|
270
|
+
"name": "deployer",
|
|
271
|
+
"type": "address"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"internalType": "uint256",
|
|
275
|
+
"name": "amount",
|
|
276
|
+
"type": "uint256"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"internalType": "uint160",
|
|
280
|
+
"name": "limitSqrtPrice",
|
|
281
|
+
"type": "uint160"
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
"internalType": "struct IQuoterV2.QuoteExactOutputSingleParams",
|
|
285
|
+
"name": "params",
|
|
286
|
+
"type": "tuple"
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"name": "quoteExactOutputSingle",
|
|
290
|
+
"outputs": [
|
|
291
|
+
{
|
|
292
|
+
"internalType": "uint256",
|
|
293
|
+
"name": "amountOut",
|
|
294
|
+
"type": "uint256"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"internalType": "uint256",
|
|
298
|
+
"name": "amountIn",
|
|
299
|
+
"type": "uint256"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"internalType": "uint160",
|
|
303
|
+
"name": "sqrtPriceX96After",
|
|
304
|
+
"type": "uint160"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"internalType": "uint32",
|
|
308
|
+
"name": "initializedTicksCrossed",
|
|
309
|
+
"type": "uint32"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"internalType": "uint256",
|
|
313
|
+
"name": "gasEstimate",
|
|
314
|
+
"type": "uint256"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"internalType": "uint16",
|
|
318
|
+
"name": "fee",
|
|
319
|
+
"type": "uint16"
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"stateMutability": "nonpayable",
|
|
323
|
+
"type": "function"
|
|
324
|
+
}
|
|
325
|
+
]
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"inputs": [
|
|
4
4
|
{
|
|
5
5
|
"components": [
|
|
6
|
-
{ "internalType": "address", "name": "
|
|
6
|
+
{ "internalType": "address", "name": "vlr", "type": "address" },
|
|
7
7
|
{ "internalType": "address", "name": "weth", "type": "address" },
|
|
8
8
|
{
|
|
9
9
|
"internalType": "address",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
{ "internalType": "address", "name": "sePSP1", "type": "address" },
|
|
24
24
|
{ "internalType": "address", "name": "sePSP2", "type": "address" },
|
|
25
|
-
{ "internalType": "address", "name": "
|
|
25
|
+
{ "internalType": "address", "name": "seVLR", "type": "address" },
|
|
26
26
|
{
|
|
27
27
|
"internalType": "contract IAcrossSpokePool",
|
|
28
28
|
"name": "spokePool",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
{
|
|
114
114
|
"indexed": true,
|
|
115
115
|
"internalType": "uint256",
|
|
116
|
-
"name": "
|
|
116
|
+
"name": "vlrAmount",
|
|
117
117
|
"type": "uint256"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
@@ -151,13 +151,6 @@
|
|
|
151
151
|
"name": "Unpaused",
|
|
152
152
|
"type": "event"
|
|
153
153
|
},
|
|
154
|
-
{
|
|
155
|
-
"inputs": [],
|
|
156
|
-
"name": "BURN_ADDR",
|
|
157
|
-
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
158
|
-
"stateMutability": "view",
|
|
159
|
-
"type": "function"
|
|
160
|
-
},
|
|
161
154
|
{
|
|
162
155
|
"inputs": [],
|
|
163
156
|
"name": "PSP",
|
|
@@ -181,7 +174,7 @@
|
|
|
181
174
|
},
|
|
182
175
|
{
|
|
183
176
|
"inputs": [],
|
|
184
|
-
"name": "
|
|
177
|
+
"name": "SE_VLR",
|
|
185
178
|
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
186
179
|
"stateMutability": "view",
|
|
187
180
|
"type": "function"
|
|
@@ -201,14 +194,14 @@
|
|
|
201
194
|
},
|
|
202
195
|
{
|
|
203
196
|
"inputs": [],
|
|
204
|
-
"name": "
|
|
197
|
+
"name": "VLR",
|
|
205
198
|
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
206
199
|
"stateMutability": "view",
|
|
207
200
|
"type": "function"
|
|
208
201
|
},
|
|
209
202
|
{
|
|
210
203
|
"inputs": [],
|
|
211
|
-
"name": "
|
|
204
|
+
"name": "WETH",
|
|
212
205
|
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
213
206
|
"stateMutability": "view",
|
|
214
207
|
"type": "function"
|
|
@@ -219,7 +212,7 @@
|
|
|
219
212
|
],
|
|
220
213
|
"name": "bridgeConfigs",
|
|
221
214
|
"outputs": [
|
|
222
|
-
{ "internalType": "address", "name": "
|
|
215
|
+
{ "internalType": "address", "name": "vlr", "type": "address" },
|
|
223
216
|
{ "internalType": "address", "name": "weth", "type": "address" },
|
|
224
217
|
{ "internalType": "address", "name": "bridgeStaking", "type": "address" },
|
|
225
218
|
{ "internalType": "uint256", "name": "destChainId", "type": "uint256" }
|
|
@@ -229,7 +222,7 @@
|
|
|
229
222
|
},
|
|
230
223
|
{
|
|
231
224
|
"inputs": [
|
|
232
|
-
{ "internalType": "uint256", "name": "
|
|
225
|
+
{ "internalType": "uint256", "name": "vlrAmount", "type": "uint256" },
|
|
233
226
|
{ "internalType": "uint256", "name": "wethAmount", "type": "uint256" },
|
|
234
227
|
{ "internalType": "uint256", "name": "destChainId", "type": "uint256" },
|
|
235
228
|
{
|
|
@@ -267,7 +260,7 @@
|
|
|
267
260
|
}
|
|
268
261
|
],
|
|
269
262
|
"internalType": "struct IMiroMigrator.BridgeData",
|
|
270
|
-
"name": "
|
|
263
|
+
"name": "vlrBridgeData",
|
|
271
264
|
"type": "tuple"
|
|
272
265
|
},
|
|
273
266
|
{
|
|
@@ -304,7 +297,7 @@
|
|
|
304
297
|
},
|
|
305
298
|
{ "internalType": "bytes", "name": "permitData", "type": "bytes" }
|
|
306
299
|
],
|
|
307
|
-
"name": "
|
|
300
|
+
"name": "bridgeVLRAndStake",
|
|
308
301
|
"outputs": [],
|
|
309
302
|
"stateMutability": "payable",
|
|
310
303
|
"type": "function"
|
|
@@ -316,7 +309,7 @@
|
|
|
316
309
|
{ "internalType": "uint256", "name": "minBptOut", "type": "uint256" },
|
|
317
310
|
{ "internalType": "bytes", "name": "permitData", "type": "bytes" }
|
|
318
311
|
],
|
|
319
|
-
"name": "
|
|
312
|
+
"name": "migratePSPtoSeVLR",
|
|
320
313
|
"outputs": [],
|
|
321
314
|
"stateMutability": "payable",
|
|
322
315
|
"type": "function"
|
|
@@ -326,7 +319,7 @@
|
|
|
326
319
|
{ "internalType": "uint256", "name": "pspAmount", "type": "uint256" },
|
|
327
320
|
{ "internalType": "bytes", "name": "permitData", "type": "bytes" }
|
|
328
321
|
],
|
|
329
|
-
"name": "
|
|
322
|
+
"name": "migratePSPtoVLR",
|
|
330
323
|
"outputs": [],
|
|
331
324
|
"stateMutability": "nonpayable",
|
|
332
325
|
"type": "function"
|
|
@@ -338,7 +331,7 @@
|
|
|
338
331
|
{ "internalType": "uint256", "name": "minBptOut", "type": "uint256" },
|
|
339
332
|
{ "internalType": "bytes", "name": "permitData", "type": "bytes" }
|
|
340
333
|
],
|
|
341
|
-
"name": "
|
|
334
|
+
"name": "migrateSePSP1toSeVLR",
|
|
342
335
|
"outputs": [],
|
|
343
336
|
"stateMutability": "payable",
|
|
344
337
|
"type": "function"
|
|
@@ -348,7 +341,7 @@
|
|
|
348
341
|
{ "internalType": "uint256", "name": "sePSP1Amount", "type": "uint256" },
|
|
349
342
|
{ "internalType": "bytes", "name": "permitData", "type": "bytes" }
|
|
350
343
|
],
|
|
351
|
-
"name": "
|
|
344
|
+
"name": "migrateSePSP1toVLR",
|
|
352
345
|
"outputs": [],
|
|
353
346
|
"stateMutability": "nonpayable",
|
|
354
347
|
"type": "function"
|
|
@@ -361,7 +354,7 @@
|
|
|
361
354
|
{ "internalType": "uint256", "name": "minBptOut", "type": "uint256" },
|
|
362
355
|
{ "internalType": "bytes", "name": "permitData", "type": "bytes" }
|
|
363
356
|
],
|
|
364
|
-
"name": "
|
|
357
|
+
"name": "migrateSePSP2toSeVLR",
|
|
365
358
|
"outputs": [],
|
|
366
359
|
"stateMutability": "nonpayable",
|
|
367
360
|
"type": "function"
|
|
@@ -407,7 +400,7 @@
|
|
|
407
400
|
}
|
|
408
401
|
],
|
|
409
402
|
"internalType": "struct IMiroMigrator.BridgeData",
|
|
410
|
-
"name": "
|
|
403
|
+
"name": "vlrBridgeData",
|
|
411
404
|
"type": "tuple"
|
|
412
405
|
},
|
|
413
406
|
{
|
|
@@ -444,7 +437,7 @@
|
|
|
444
437
|
},
|
|
445
438
|
{ "internalType": "bytes", "name": "permitData", "type": "bytes" }
|
|
446
439
|
],
|
|
447
|
-
"name": "
|
|
440
|
+
"name": "migrateSePSP2toSeVLRAndBridge",
|
|
448
441
|
"outputs": [],
|
|
449
442
|
"stateMutability": "nonpayable",
|
|
450
443
|
"type": "function"
|
|
@@ -470,19 +463,9 @@
|
|
|
470
463
|
"stateMutability": "view",
|
|
471
464
|
"type": "function"
|
|
472
465
|
},
|
|
473
|
-
{
|
|
474
|
-
"inputs": [
|
|
475
|
-
{ "internalType": "address", "name": "token", "type": "address" },
|
|
476
|
-
{ "internalType": "address", "name": "to", "type": "address" }
|
|
477
|
-
],
|
|
478
|
-
"name": "reClaimERC20",
|
|
479
|
-
"outputs": [],
|
|
480
|
-
"stateMutability": "nonpayable",
|
|
481
|
-
"type": "function"
|
|
482
|
-
},
|
|
483
466
|
{
|
|
484
467
|
"inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
|
|
485
|
-
"name": "
|
|
468
|
+
"name": "reClaimVLR",
|
|
486
469
|
"outputs": [],
|
|
487
470
|
"stateMutability": "nonpayable",
|
|
488
471
|
"type": "function"
|
|
@@ -498,7 +481,7 @@
|
|
|
498
481
|
"inputs": [
|
|
499
482
|
{
|
|
500
483
|
"components": [
|
|
501
|
-
{ "internalType": "address", "name": "
|
|
484
|
+
{ "internalType": "address", "name": "vlr", "type": "address" },
|
|
502
485
|
{ "internalType": "address", "name": "weth", "type": "address" },
|
|
503
486
|
{
|
|
504
487
|
"internalType": "address",
|