@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,453 @@
1
+ {
2
+ "abi": [
3
+ {
4
+ "inputs": [
5
+ {
6
+ "internalType": "contract IERC20Metadata",
7
+ "name": "_token",
8
+ "type": "address"
9
+ },
10
+ { "internalType": "address", "name": "_entryPoint", "type": "address" },
11
+ {
12
+ "internalType": "contract IOracle",
13
+ "name": "_tokenOracle",
14
+ "type": "address"
15
+ },
16
+ {
17
+ "internalType": "contract IOracle",
18
+ "name": "_nativeAssetOracle",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "internalType": "uint32",
23
+ "name": "_stalenessThreshold",
24
+ "type": "uint32"
25
+ },
26
+ { "internalType": "address", "name": "_owner", "type": "address" },
27
+ {
28
+ "internalType": "uint32",
29
+ "name": "_priceMarkupLimit",
30
+ "type": "uint32"
31
+ },
32
+ { "internalType": "uint32", "name": "_priceMarkup", "type": "uint32" },
33
+ {
34
+ "internalType": "uint256",
35
+ "name": "_refundPostOpCost",
36
+ "type": "uint256"
37
+ },
38
+ {
39
+ "internalType": "uint256",
40
+ "name": "_refundPostOpCostWithGuarantor",
41
+ "type": "uint256"
42
+ }
43
+ ],
44
+ "stateMutability": "nonpayable",
45
+ "type": "constructor"
46
+ },
47
+ { "inputs": [], "name": "OracleDecimalsInvalid", "type": "error" },
48
+ { "inputs": [], "name": "OraclePriceNotPositive", "type": "error" },
49
+ { "inputs": [], "name": "OraclePriceStale", "type": "error" },
50
+ {
51
+ "inputs": [
52
+ { "internalType": "address", "name": "owner", "type": "address" }
53
+ ],
54
+ "name": "OwnableInvalidOwner",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "inputs": [
59
+ { "internalType": "address", "name": "account", "type": "address" }
60
+ ],
61
+ "name": "OwnableUnauthorizedAccount",
62
+ "type": "error"
63
+ },
64
+ { "inputs": [], "name": "PaymasterDataLengthInvalid", "type": "error" },
65
+ { "inputs": [], "name": "PaymasterDataModeInvalid", "type": "error" },
66
+ { "inputs": [], "name": "PriceMarkupTooHigh", "type": "error" },
67
+ { "inputs": [], "name": "PriceMarkupTooLow", "type": "error" },
68
+ { "inputs": [], "name": "TokenAmountTooHigh", "type": "error" },
69
+ { "inputs": [], "name": "TokenLimitZero", "type": "error" },
70
+ {
71
+ "anonymous": false,
72
+ "inputs": [
73
+ {
74
+ "indexed": false,
75
+ "internalType": "uint32",
76
+ "name": "priceMarkup",
77
+ "type": "uint32"
78
+ }
79
+ ],
80
+ "name": "MarkupUpdated",
81
+ "type": "event"
82
+ },
83
+ {
84
+ "anonymous": false,
85
+ "inputs": [
86
+ {
87
+ "indexed": true,
88
+ "internalType": "address",
89
+ "name": "previousOwner",
90
+ "type": "address"
91
+ },
92
+ {
93
+ "indexed": true,
94
+ "internalType": "address",
95
+ "name": "newOwner",
96
+ "type": "address"
97
+ }
98
+ ],
99
+ "name": "OwnershipTransferred",
100
+ "type": "event"
101
+ },
102
+ {
103
+ "anonymous": false,
104
+ "inputs": [
105
+ {
106
+ "indexed": true,
107
+ "internalType": "bytes32",
108
+ "name": "userOpHash",
109
+ "type": "bytes32"
110
+ },
111
+ {
112
+ "indexed": true,
113
+ "internalType": "address",
114
+ "name": "user",
115
+ "type": "address"
116
+ },
117
+ {
118
+ "indexed": true,
119
+ "internalType": "address",
120
+ "name": "guarantor",
121
+ "type": "address"
122
+ },
123
+ {
124
+ "indexed": false,
125
+ "internalType": "uint256",
126
+ "name": "tokenAmountPaid",
127
+ "type": "uint256"
128
+ },
129
+ {
130
+ "indexed": false,
131
+ "internalType": "uint256",
132
+ "name": "tokenPrice",
133
+ "type": "uint256"
134
+ },
135
+ {
136
+ "indexed": false,
137
+ "internalType": "bool",
138
+ "name": "paidByGuarantor",
139
+ "type": "bool"
140
+ }
141
+ ],
142
+ "name": "UserOperationSponsored",
143
+ "type": "event"
144
+ },
145
+ {
146
+ "inputs": [],
147
+ "name": "PRICE_DENOMINATOR",
148
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
149
+ "stateMutability": "view",
150
+ "type": "function"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "uint32",
156
+ "name": "unstakeDelaySec",
157
+ "type": "uint32"
158
+ }
159
+ ],
160
+ "name": "addStake",
161
+ "outputs": [],
162
+ "stateMutability": "payable",
163
+ "type": "function"
164
+ },
165
+ {
166
+ "inputs": [],
167
+ "name": "deposit",
168
+ "outputs": [],
169
+ "stateMutability": "payable",
170
+ "type": "function"
171
+ },
172
+ {
173
+ "inputs": [],
174
+ "name": "entryPoint",
175
+ "outputs": [
176
+ {
177
+ "internalType": "contract IEntryPoint",
178
+ "name": "",
179
+ "type": "address"
180
+ }
181
+ ],
182
+ "stateMutability": "view",
183
+ "type": "function"
184
+ },
185
+ {
186
+ "inputs": [],
187
+ "name": "getDeposit",
188
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
189
+ "stateMutability": "view",
190
+ "type": "function"
191
+ },
192
+ {
193
+ "inputs": [
194
+ {
195
+ "components": [
196
+ { "internalType": "address", "name": "sender", "type": "address" },
197
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
198
+ { "internalType": "bytes", "name": "initCode", "type": "bytes" },
199
+ { "internalType": "bytes", "name": "callData", "type": "bytes" },
200
+ {
201
+ "internalType": "bytes32",
202
+ "name": "accountGasLimits",
203
+ "type": "bytes32"
204
+ },
205
+ {
206
+ "internalType": "uint256",
207
+ "name": "preVerificationGas",
208
+ "type": "uint256"
209
+ },
210
+ { "internalType": "bytes32", "name": "gasFees", "type": "bytes32" },
211
+ {
212
+ "internalType": "bytes",
213
+ "name": "paymasterAndData",
214
+ "type": "bytes"
215
+ },
216
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
217
+ ],
218
+ "internalType": "struct PackedUserOperation",
219
+ "name": "userOp",
220
+ "type": "tuple"
221
+ },
222
+ { "internalType": "uint48", "name": "validUntil", "type": "uint48" },
223
+ { "internalType": "uint48", "name": "validAfter", "type": "uint48" },
224
+ { "internalType": "uint256", "name": "tokenLimit", "type": "uint256" }
225
+ ],
226
+ "name": "getHash",
227
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
228
+ "stateMutability": "view",
229
+ "type": "function"
230
+ },
231
+ {
232
+ "inputs": [],
233
+ "name": "getPrice",
234
+ "outputs": [{ "internalType": "uint192", "name": "", "type": "uint192" }],
235
+ "stateMutability": "view",
236
+ "type": "function"
237
+ },
238
+ {
239
+ "inputs": [],
240
+ "name": "nativeAssetOracle",
241
+ "outputs": [
242
+ { "internalType": "contract IOracle", "name": "", "type": "address" }
243
+ ],
244
+ "stateMutability": "view",
245
+ "type": "function"
246
+ },
247
+ {
248
+ "inputs": [],
249
+ "name": "owner",
250
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
251
+ "stateMutability": "view",
252
+ "type": "function"
253
+ },
254
+ {
255
+ "inputs": [
256
+ {
257
+ "internalType": "enum IPaymaster.PostOpMode",
258
+ "name": "mode",
259
+ "type": "uint8"
260
+ },
261
+ { "internalType": "bytes", "name": "context", "type": "bytes" },
262
+ {
263
+ "internalType": "uint256",
264
+ "name": "actualGasCost",
265
+ "type": "uint256"
266
+ },
267
+ {
268
+ "internalType": "uint256",
269
+ "name": "actualUserOpFeePerGas",
270
+ "type": "uint256"
271
+ }
272
+ ],
273
+ "name": "postOp",
274
+ "outputs": [],
275
+ "stateMutability": "nonpayable",
276
+ "type": "function"
277
+ },
278
+ {
279
+ "inputs": [],
280
+ "name": "priceMarkup",
281
+ "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }],
282
+ "stateMutability": "view",
283
+ "type": "function"
284
+ },
285
+ {
286
+ "inputs": [],
287
+ "name": "priceMarkupLimit",
288
+ "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }],
289
+ "stateMutability": "view",
290
+ "type": "function"
291
+ },
292
+ {
293
+ "inputs": [],
294
+ "name": "refundPostOpCost",
295
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
296
+ "stateMutability": "view",
297
+ "type": "function"
298
+ },
299
+ {
300
+ "inputs": [],
301
+ "name": "refundPostOpCostWithGuarantor",
302
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
303
+ "stateMutability": "view",
304
+ "type": "function"
305
+ },
306
+ {
307
+ "inputs": [],
308
+ "name": "renounceOwnership",
309
+ "outputs": [],
310
+ "stateMutability": "nonpayable",
311
+ "type": "function"
312
+ },
313
+ {
314
+ "inputs": [],
315
+ "name": "stalenessThreshold",
316
+ "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }],
317
+ "stateMutability": "view",
318
+ "type": "function"
319
+ },
320
+ {
321
+ "inputs": [],
322
+ "name": "token",
323
+ "outputs": [
324
+ { "internalType": "contract IERC20", "name": "", "type": "address" }
325
+ ],
326
+ "stateMutability": "view",
327
+ "type": "function"
328
+ },
329
+ {
330
+ "inputs": [],
331
+ "name": "tokenDecimals",
332
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
333
+ "stateMutability": "view",
334
+ "type": "function"
335
+ },
336
+ {
337
+ "inputs": [],
338
+ "name": "tokenOracle",
339
+ "outputs": [
340
+ { "internalType": "contract IOracle", "name": "", "type": "address" }
341
+ ],
342
+ "stateMutability": "view",
343
+ "type": "function"
344
+ },
345
+ {
346
+ "inputs": [
347
+ { "internalType": "address", "name": "newOwner", "type": "address" }
348
+ ],
349
+ "name": "transferOwnership",
350
+ "outputs": [],
351
+ "stateMutability": "nonpayable",
352
+ "type": "function"
353
+ },
354
+ {
355
+ "inputs": [],
356
+ "name": "unlockStake",
357
+ "outputs": [],
358
+ "stateMutability": "nonpayable",
359
+ "type": "function"
360
+ },
361
+ {
362
+ "inputs": [
363
+ { "internalType": "uint32", "name": "_priceMarkup", "type": "uint32" }
364
+ ],
365
+ "name": "updateMarkup",
366
+ "outputs": [],
367
+ "stateMutability": "nonpayable",
368
+ "type": "function"
369
+ },
370
+ {
371
+ "inputs": [
372
+ {
373
+ "components": [
374
+ { "internalType": "address", "name": "sender", "type": "address" },
375
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
376
+ { "internalType": "bytes", "name": "initCode", "type": "bytes" },
377
+ { "internalType": "bytes", "name": "callData", "type": "bytes" },
378
+ {
379
+ "internalType": "bytes32",
380
+ "name": "accountGasLimits",
381
+ "type": "bytes32"
382
+ },
383
+ {
384
+ "internalType": "uint256",
385
+ "name": "preVerificationGas",
386
+ "type": "uint256"
387
+ },
388
+ { "internalType": "bytes32", "name": "gasFees", "type": "bytes32" },
389
+ {
390
+ "internalType": "bytes",
391
+ "name": "paymasterAndData",
392
+ "type": "bytes"
393
+ },
394
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
395
+ ],
396
+ "internalType": "struct PackedUserOperation",
397
+ "name": "userOp",
398
+ "type": "tuple"
399
+ },
400
+ { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" },
401
+ { "internalType": "uint256", "name": "maxCost", "type": "uint256" }
402
+ ],
403
+ "name": "validatePaymasterUserOp",
404
+ "outputs": [
405
+ { "internalType": "bytes", "name": "context", "type": "bytes" },
406
+ {
407
+ "internalType": "uint256",
408
+ "name": "validationData",
409
+ "type": "uint256"
410
+ }
411
+ ],
412
+ "stateMutability": "nonpayable",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [
417
+ {
418
+ "internalType": "address payable",
419
+ "name": "withdrawAddress",
420
+ "type": "address"
421
+ }
422
+ ],
423
+ "name": "withdrawStake",
424
+ "outputs": [],
425
+ "stateMutability": "nonpayable",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [
430
+ {
431
+ "internalType": "address payable",
432
+ "name": "withdrawAddress",
433
+ "type": "address"
434
+ },
435
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
436
+ ],
437
+ "name": "withdrawTo",
438
+ "outputs": [],
439
+ "stateMutability": "nonpayable",
440
+ "type": "function"
441
+ },
442
+ {
443
+ "inputs": [
444
+ { "internalType": "address", "name": "to", "type": "address" },
445
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
446
+ ],
447
+ "name": "withdrawToken",
448
+ "outputs": [],
449
+ "stateMutability": "nonpayable",
450
+ "type": "function"
451
+ }
452
+ ]
453
+ }