@evedex/networks 3.4.3-beta.1

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.
Files changed (62) hide show
  1. package/README.md +24 -0
  2. package/networks/abi/AcrossSpokePoolMock.json +233 -0
  3. package/networks/abi/BadgeV1.json +1016 -0
  4. package/networks/abi/Billing.json +795 -0
  5. package/networks/abi/BridgeMiddleware.json +320 -0
  6. package/networks/abi/BridgeMiddlewareV2.json +431 -0
  7. package/networks/abi/BurnRegistryV1.json +541 -0
  8. package/networks/abi/CashbackVaultV1.json +397 -0
  9. package/networks/abi/CashbackVaultV2.json +434 -0
  10. package/networks/abi/ContestVault.json +484 -0
  11. package/networks/abi/DVFDepositContract.json +495 -0
  12. package/networks/abi/DVFDepositContractMock.json +425 -0
  13. package/networks/abi/DefaultBridgeGateway.json +23 -0
  14. package/networks/abi/DefaultBridgeMock.json +139 -0
  15. package/networks/abi/DepositManager.json +373 -0
  16. package/networks/abi/EHMarket.json +904 -0
  17. package/networks/abi/EHMarketLegacy.json +818 -0
  18. package/networks/abi/ERC20Mock.json +427 -0
  19. package/networks/abi/ERC20Paymaster.json +453 -0
  20. package/networks/abi/ERC721V1.json +916 -0
  21. package/networks/abi/ERC721V2.json +979 -0
  22. package/networks/abi/Eventum.json +515 -0
  23. package/networks/abi/GovernorMultisig.json +454 -0
  24. package/networks/abi/IAcrossSpokePool.json +111 -0
  25. package/networks/abi/IAllowanceTransfer.json +488 -0
  26. package/networks/abi/IDefaultBridgeGateway.json +23 -0
  27. package/networks/abi/IDepositManager.json +38 -0
  28. package/networks/abi/IEIP712.json +17 -0
  29. package/networks/abi/IEventHorizonMarket.json +214 -0
  30. package/networks/abi/IPermit2.json +867 -0
  31. package/networks/abi/IPriceFeed.json +50 -0
  32. package/networks/abi/ISignatureTransfer.json +396 -0
  33. package/networks/abi/ISwapManager.json +55 -0
  34. package/networks/abi/IWETH.json +17 -0
  35. package/networks/abi/LuckyShot.json +484 -0
  36. package/networks/abi/MinimalProxyFactory.json +130 -0
  37. package/networks/abi/Multicall3.json +442 -0
  38. package/networks/abi/Multiownable.json +418 -0
  39. package/networks/abi/OwnableValidator.json +596 -0
  40. package/networks/abi/Permit2Mock.json +147 -0
  41. package/networks/abi/PriceFeedMock.json +87 -0
  42. package/networks/abi/ProxyAdmin.json +125 -0
  43. package/networks/abi/Storage.json +396 -0
  44. package/networks/abi/SwapManager.json +414 -0
  45. package/networks/abi/SwapRouterMock.json +315 -0
  46. package/networks/abi/SwapRouterTestnetMock.json +323 -0
  47. package/networks/abi/TestnetERC20.json +456 -0
  48. package/networks/abi/TestnetWETH.json +503 -0
  49. package/networks/abi/TreasuryV1.json +292 -0
  50. package/networks/abi/USDC.json +515 -0
  51. package/networks/abi/USDT.json +515 -0
  52. package/networks/abi/UniversalRouterMock.json +101 -0
  53. package/networks/abi/UniversalRouterTestnetMock.json +85 -0
  54. package/networks/abi/VaultV1.json +435 -0
  55. package/networks/abi/VaultV2.json +506 -0
  56. package/networks/abi/WBTC.json +515 -0
  57. package/networks/abi/WETHMock.json +484 -0
  58. package/networks/arbitrum-bridges.json +66 -0
  59. package/networks/contracts-networks.json +863 -0
  60. package/networks/contracts.json +280 -0
  61. package/networks/networks.json +302 -0
  62. package/package.json +61 -0
@@ -0,0 +1,315 @@
1
+ {
2
+ "abi": [
3
+ {
4
+ "inputs": [
5
+ {
6
+ "components": [
7
+ {
8
+ "internalType": "bytes",
9
+ "name": "path",
10
+ "type": "bytes"
11
+ },
12
+ {
13
+ "internalType": "address",
14
+ "name": "recipient",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "internalType": "uint256",
19
+ "name": "deadline",
20
+ "type": "uint256"
21
+ },
22
+ {
23
+ "internalType": "uint256",
24
+ "name": "amountIn",
25
+ "type": "uint256"
26
+ },
27
+ {
28
+ "internalType": "uint256",
29
+ "name": "amountOutMinimum",
30
+ "type": "uint256"
31
+ }
32
+ ],
33
+ "internalType": "struct ISwapRouter.ExactInputParams",
34
+ "name": "",
35
+ "type": "tuple"
36
+ }
37
+ ],
38
+ "name": "exactInput",
39
+ "outputs": [
40
+ {
41
+ "internalType": "uint256",
42
+ "name": "amountOut",
43
+ "type": "uint256"
44
+ }
45
+ ],
46
+ "stateMutability": "payable",
47
+ "type": "function"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "components": [
53
+ {
54
+ "internalType": "address",
55
+ "name": "tokenIn",
56
+ "type": "address"
57
+ },
58
+ {
59
+ "internalType": "address",
60
+ "name": "tokenOut",
61
+ "type": "address"
62
+ },
63
+ {
64
+ "internalType": "uint24",
65
+ "name": "fee",
66
+ "type": "uint24"
67
+ },
68
+ {
69
+ "internalType": "address",
70
+ "name": "recipient",
71
+ "type": "address"
72
+ },
73
+ {
74
+ "internalType": "uint256",
75
+ "name": "deadline",
76
+ "type": "uint256"
77
+ },
78
+ {
79
+ "internalType": "uint256",
80
+ "name": "amountIn",
81
+ "type": "uint256"
82
+ },
83
+ {
84
+ "internalType": "uint256",
85
+ "name": "amountOutMinimum",
86
+ "type": "uint256"
87
+ },
88
+ {
89
+ "internalType": "uint160",
90
+ "name": "sqrtPriceLimitX96",
91
+ "type": "uint160"
92
+ }
93
+ ],
94
+ "internalType": "struct ISwapRouter.ExactInputSingleParams",
95
+ "name": "",
96
+ "type": "tuple"
97
+ }
98
+ ],
99
+ "name": "exactInputSingle",
100
+ "outputs": [
101
+ {
102
+ "internalType": "uint256",
103
+ "name": "amountOut",
104
+ "type": "uint256"
105
+ }
106
+ ],
107
+ "stateMutability": "payable",
108
+ "type": "function"
109
+ },
110
+ {
111
+ "inputs": [
112
+ {
113
+ "components": [
114
+ {
115
+ "internalType": "bytes",
116
+ "name": "path",
117
+ "type": "bytes"
118
+ },
119
+ {
120
+ "internalType": "address",
121
+ "name": "recipient",
122
+ "type": "address"
123
+ },
124
+ {
125
+ "internalType": "uint256",
126
+ "name": "deadline",
127
+ "type": "uint256"
128
+ },
129
+ {
130
+ "internalType": "uint256",
131
+ "name": "amountOut",
132
+ "type": "uint256"
133
+ },
134
+ {
135
+ "internalType": "uint256",
136
+ "name": "amountInMaximum",
137
+ "type": "uint256"
138
+ }
139
+ ],
140
+ "internalType": "struct ISwapRouter.ExactOutputParams",
141
+ "name": "",
142
+ "type": "tuple"
143
+ }
144
+ ],
145
+ "name": "exactOutput",
146
+ "outputs": [
147
+ {
148
+ "internalType": "uint256",
149
+ "name": "amountIn",
150
+ "type": "uint256"
151
+ }
152
+ ],
153
+ "stateMutability": "payable",
154
+ "type": "function"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "components": [
160
+ {
161
+ "internalType": "address",
162
+ "name": "tokenIn",
163
+ "type": "address"
164
+ },
165
+ {
166
+ "internalType": "address",
167
+ "name": "tokenOut",
168
+ "type": "address"
169
+ },
170
+ {
171
+ "internalType": "uint24",
172
+ "name": "fee",
173
+ "type": "uint24"
174
+ },
175
+ {
176
+ "internalType": "address",
177
+ "name": "recipient",
178
+ "type": "address"
179
+ },
180
+ {
181
+ "internalType": "uint256",
182
+ "name": "deadline",
183
+ "type": "uint256"
184
+ },
185
+ {
186
+ "internalType": "uint256",
187
+ "name": "amountOut",
188
+ "type": "uint256"
189
+ },
190
+ {
191
+ "internalType": "uint256",
192
+ "name": "amountInMaximum",
193
+ "type": "uint256"
194
+ },
195
+ {
196
+ "internalType": "uint160",
197
+ "name": "sqrtPriceLimitX96",
198
+ "type": "uint160"
199
+ }
200
+ ],
201
+ "internalType": "struct ISwapRouter.ExactOutputSingleParams",
202
+ "name": "",
203
+ "type": "tuple"
204
+ }
205
+ ],
206
+ "name": "exactOutputSingle",
207
+ "outputs": [
208
+ {
209
+ "internalType": "uint256",
210
+ "name": "amountIn",
211
+ "type": "uint256"
212
+ }
213
+ ],
214
+ "stateMutability": "payable",
215
+ "type": "function"
216
+ },
217
+ {
218
+ "inputs": [],
219
+ "name": "resultAmount",
220
+ "outputs": [
221
+ {
222
+ "internalType": "uint256",
223
+ "name": "",
224
+ "type": "uint256"
225
+ }
226
+ ],
227
+ "stateMutability": "view",
228
+ "type": "function"
229
+ },
230
+ {
231
+ "inputs": [],
232
+ "name": "resultToken",
233
+ "outputs": [
234
+ {
235
+ "internalType": "address",
236
+ "name": "",
237
+ "type": "address"
238
+ }
239
+ ],
240
+ "stateMutability": "view",
241
+ "type": "function"
242
+ },
243
+ {
244
+ "inputs": [
245
+ {
246
+ "internalType": "bool",
247
+ "name": "_shouldFail",
248
+ "type": "bool"
249
+ }
250
+ ],
251
+ "name": "setShouldFail",
252
+ "outputs": [],
253
+ "stateMutability": "nonpayable",
254
+ "type": "function"
255
+ },
256
+ {
257
+ "inputs": [
258
+ {
259
+ "internalType": "address",
260
+ "name": "token",
261
+ "type": "address"
262
+ },
263
+ {
264
+ "internalType": "uint256",
265
+ "name": "amount",
266
+ "type": "uint256"
267
+ }
268
+ ],
269
+ "name": "setSwapResult",
270
+ "outputs": [],
271
+ "stateMutability": "nonpayable",
272
+ "type": "function"
273
+ },
274
+ {
275
+ "inputs": [],
276
+ "name": "shouldFail",
277
+ "outputs": [
278
+ {
279
+ "internalType": "bool",
280
+ "name": "",
281
+ "type": "bool"
282
+ }
283
+ ],
284
+ "stateMutability": "view",
285
+ "type": "function"
286
+ },
287
+ {
288
+ "inputs": [
289
+ {
290
+ "internalType": "int256",
291
+ "name": "",
292
+ "type": "int256"
293
+ },
294
+ {
295
+ "internalType": "int256",
296
+ "name": "",
297
+ "type": "int256"
298
+ },
299
+ {
300
+ "internalType": "bytes",
301
+ "name": "",
302
+ "type": "bytes"
303
+ }
304
+ ],
305
+ "name": "uniswapV3SwapCallback",
306
+ "outputs": [],
307
+ "stateMutability": "pure",
308
+ "type": "function"
309
+ },
310
+ {
311
+ "stateMutability": "payable",
312
+ "type": "receive"
313
+ }
314
+ ]
315
+ }
@@ -0,0 +1,323 @@
1
+ {
2
+ "abi": [
3
+ {
4
+ "inputs": [
5
+ {
6
+ "internalType": "address payable",
7
+ "name": "_weth",
8
+ "type": "address"
9
+ }
10
+ ],
11
+ "stateMutability": "nonpayable",
12
+ "type": "constructor"
13
+ },
14
+ {
15
+ "inputs": [],
16
+ "name": "WETH",
17
+ "outputs": [
18
+ {
19
+ "internalType": "address payable",
20
+ "name": "",
21
+ "type": "address"
22
+ }
23
+ ],
24
+ "stateMutability": "view",
25
+ "type": "function"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "address",
31
+ "name": "token",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "internalType": "address",
36
+ "name": "to",
37
+ "type": "address"
38
+ },
39
+ {
40
+ "internalType": "uint256",
41
+ "name": "amount",
42
+ "type": "uint256"
43
+ }
44
+ ],
45
+ "name": "_tryMint",
46
+ "outputs": [],
47
+ "stateMutability": "nonpayable",
48
+ "type": "function"
49
+ },
50
+ {
51
+ "inputs": [
52
+ {
53
+ "components": [
54
+ {
55
+ "internalType": "bytes",
56
+ "name": "path",
57
+ "type": "bytes"
58
+ },
59
+ {
60
+ "internalType": "address",
61
+ "name": "recipient",
62
+ "type": "address"
63
+ },
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "deadline",
67
+ "type": "uint256"
68
+ },
69
+ {
70
+ "internalType": "uint256",
71
+ "name": "amountIn",
72
+ "type": "uint256"
73
+ },
74
+ {
75
+ "internalType": "uint256",
76
+ "name": "amountOutMinimum",
77
+ "type": "uint256"
78
+ }
79
+ ],
80
+ "internalType": "struct ISwapRouter.ExactInputParams",
81
+ "name": "params",
82
+ "type": "tuple"
83
+ }
84
+ ],
85
+ "name": "exactInput",
86
+ "outputs": [
87
+ {
88
+ "internalType": "uint256",
89
+ "name": "amountOut",
90
+ "type": "uint256"
91
+ }
92
+ ],
93
+ "stateMutability": "payable",
94
+ "type": "function"
95
+ },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "components": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "tokenIn",
103
+ "type": "address"
104
+ },
105
+ {
106
+ "internalType": "address",
107
+ "name": "tokenOut",
108
+ "type": "address"
109
+ },
110
+ {
111
+ "internalType": "uint24",
112
+ "name": "fee",
113
+ "type": "uint24"
114
+ },
115
+ {
116
+ "internalType": "address",
117
+ "name": "recipient",
118
+ "type": "address"
119
+ },
120
+ {
121
+ "internalType": "uint256",
122
+ "name": "deadline",
123
+ "type": "uint256"
124
+ },
125
+ {
126
+ "internalType": "uint256",
127
+ "name": "amountIn",
128
+ "type": "uint256"
129
+ },
130
+ {
131
+ "internalType": "uint256",
132
+ "name": "amountOutMinimum",
133
+ "type": "uint256"
134
+ },
135
+ {
136
+ "internalType": "uint160",
137
+ "name": "sqrtPriceLimitX96",
138
+ "type": "uint160"
139
+ }
140
+ ],
141
+ "internalType": "struct ISwapRouter.ExactInputSingleParams",
142
+ "name": "params",
143
+ "type": "tuple"
144
+ }
145
+ ],
146
+ "name": "exactInputSingle",
147
+ "outputs": [
148
+ {
149
+ "internalType": "uint256",
150
+ "name": "amountOut",
151
+ "type": "uint256"
152
+ }
153
+ ],
154
+ "stateMutability": "payable",
155
+ "type": "function"
156
+ },
157
+ {
158
+ "inputs": [
159
+ {
160
+ "components": [
161
+ {
162
+ "internalType": "bytes",
163
+ "name": "path",
164
+ "type": "bytes"
165
+ },
166
+ {
167
+ "internalType": "address",
168
+ "name": "recipient",
169
+ "type": "address"
170
+ },
171
+ {
172
+ "internalType": "uint256",
173
+ "name": "deadline",
174
+ "type": "uint256"
175
+ },
176
+ {
177
+ "internalType": "uint256",
178
+ "name": "amountOut",
179
+ "type": "uint256"
180
+ },
181
+ {
182
+ "internalType": "uint256",
183
+ "name": "amountInMaximum",
184
+ "type": "uint256"
185
+ }
186
+ ],
187
+ "internalType": "struct ISwapRouter.ExactOutputParams",
188
+ "name": "",
189
+ "type": "tuple"
190
+ }
191
+ ],
192
+ "name": "exactOutput",
193
+ "outputs": [
194
+ {
195
+ "internalType": "uint256",
196
+ "name": "amountIn",
197
+ "type": "uint256"
198
+ }
199
+ ],
200
+ "stateMutability": "payable",
201
+ "type": "function"
202
+ },
203
+ {
204
+ "inputs": [
205
+ {
206
+ "components": [
207
+ {
208
+ "internalType": "address",
209
+ "name": "tokenIn",
210
+ "type": "address"
211
+ },
212
+ {
213
+ "internalType": "address",
214
+ "name": "tokenOut",
215
+ "type": "address"
216
+ },
217
+ {
218
+ "internalType": "uint24",
219
+ "name": "fee",
220
+ "type": "uint24"
221
+ },
222
+ {
223
+ "internalType": "address",
224
+ "name": "recipient",
225
+ "type": "address"
226
+ },
227
+ {
228
+ "internalType": "uint256",
229
+ "name": "deadline",
230
+ "type": "uint256"
231
+ },
232
+ {
233
+ "internalType": "uint256",
234
+ "name": "amountOut",
235
+ "type": "uint256"
236
+ },
237
+ {
238
+ "internalType": "uint256",
239
+ "name": "amountInMaximum",
240
+ "type": "uint256"
241
+ },
242
+ {
243
+ "internalType": "uint160",
244
+ "name": "sqrtPriceLimitX96",
245
+ "type": "uint160"
246
+ }
247
+ ],
248
+ "internalType": "struct ISwapRouter.ExactOutputSingleParams",
249
+ "name": "",
250
+ "type": "tuple"
251
+ }
252
+ ],
253
+ "name": "exactOutputSingle",
254
+ "outputs": [
255
+ {
256
+ "internalType": "uint256",
257
+ "name": "amountIn",
258
+ "type": "uint256"
259
+ }
260
+ ],
261
+ "stateMutability": "payable",
262
+ "type": "function"
263
+ },
264
+ {
265
+ "inputs": [
266
+ {
267
+ "internalType": "int256",
268
+ "name": "",
269
+ "type": "int256"
270
+ },
271
+ {
272
+ "internalType": "int256",
273
+ "name": "",
274
+ "type": "int256"
275
+ },
276
+ {
277
+ "internalType": "bytes",
278
+ "name": "",
279
+ "type": "bytes"
280
+ }
281
+ ],
282
+ "name": "uniswapV3SwapCallback",
283
+ "outputs": [],
284
+ "stateMutability": "pure",
285
+ "type": "function"
286
+ },
287
+ {
288
+ "inputs": [
289
+ {
290
+ "internalType": "uint256",
291
+ "name": "amount",
292
+ "type": "uint256"
293
+ }
294
+ ],
295
+ "name": "withdrawETH",
296
+ "outputs": [],
297
+ "stateMutability": "nonpayable",
298
+ "type": "function"
299
+ },
300
+ {
301
+ "inputs": [
302
+ {
303
+ "internalType": "address",
304
+ "name": "token",
305
+ "type": "address"
306
+ },
307
+ {
308
+ "internalType": "uint256",
309
+ "name": "amount",
310
+ "type": "uint256"
311
+ }
312
+ ],
313
+ "name": "withdrawToken",
314
+ "outputs": [],
315
+ "stateMutability": "nonpayable",
316
+ "type": "function"
317
+ },
318
+ {
319
+ "stateMutability": "payable",
320
+ "type": "receive"
321
+ }
322
+ ]
323
+ }