@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,795 @@
1
+ {
2
+ "abi": [
3
+ {
4
+ "inputs": [],
5
+ "stateMutability": "nonpayable",
6
+ "type": "constructor"
7
+ },
8
+ {
9
+ "inputs": [
10
+ {
11
+ "internalType": "address",
12
+ "name": "target",
13
+ "type": "address"
14
+ }
15
+ ],
16
+ "name": "AddressEmptyCode",
17
+ "type": "error"
18
+ },
19
+ {
20
+ "inputs": [
21
+ {
22
+ "internalType": "address",
23
+ "name": "account",
24
+ "type": "address"
25
+ }
26
+ ],
27
+ "name": "AddressInsufficientBalance",
28
+ "type": "error"
29
+ },
30
+ {
31
+ "inputs": [
32
+ {
33
+ "internalType": "address",
34
+ "name": "implementation",
35
+ "type": "address"
36
+ }
37
+ ],
38
+ "name": "ERC1967InvalidImplementation",
39
+ "type": "error"
40
+ },
41
+ {
42
+ "inputs": [],
43
+ "name": "ERC1967NonPayable",
44
+ "type": "error"
45
+ },
46
+ {
47
+ "inputs": [],
48
+ "name": "EnforcedPause",
49
+ "type": "error"
50
+ },
51
+ {
52
+ "inputs": [],
53
+ "name": "ExpectedPause",
54
+ "type": "error"
55
+ },
56
+ {
57
+ "inputs": [],
58
+ "name": "FailedInnerCall",
59
+ "type": "error"
60
+ },
61
+ {
62
+ "inputs": [
63
+ {
64
+ "internalType": "address",
65
+ "name": "caller",
66
+ "type": "address"
67
+ }
68
+ ],
69
+ "name": "Forbidden",
70
+ "type": "error"
71
+ },
72
+ {
73
+ "inputs": [
74
+ {
75
+ "internalType": "address",
76
+ "name": "user",
77
+ "type": "address"
78
+ },
79
+ {
80
+ "internalType": "uint256",
81
+ "name": "required",
82
+ "type": "uint256"
83
+ },
84
+ {
85
+ "internalType": "uint256",
86
+ "name": "available",
87
+ "type": "uint256"
88
+ }
89
+ ],
90
+ "name": "InsufficientAllowance",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "address",
97
+ "name": "addr",
98
+ "type": "address"
99
+ }
100
+ ],
101
+ "name": "InvalidAddress",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [
106
+ {
107
+ "internalType": "uint128",
108
+ "name": "amount",
109
+ "type": "uint128"
110
+ }
111
+ ],
112
+ "name": "InvalidAmount",
113
+ "type": "error"
114
+ },
115
+ {
116
+ "inputs": [],
117
+ "name": "InvalidInitialization",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [
122
+ {
123
+ "internalType": "uint128",
124
+ "name": "period",
125
+ "type": "uint128"
126
+ }
127
+ ],
128
+ "name": "InvalidPeriod",
129
+ "type": "error"
130
+ },
131
+ {
132
+ "inputs": [
133
+ {
134
+ "internalType": "address",
135
+ "name": "user",
136
+ "type": "address"
137
+ },
138
+ {
139
+ "internalType": "uint128",
140
+ "name": "requested",
141
+ "type": "uint128"
142
+ },
143
+ {
144
+ "internalType": "uint128",
145
+ "name": "available",
146
+ "type": "uint128"
147
+ }
148
+ ],
149
+ "name": "MaxAmountExceeded",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "string",
156
+ "name": "subscriptionId",
157
+ "type": "string"
158
+ },
159
+ {
160
+ "internalType": "uint8",
161
+ "name": "attempts",
162
+ "type": "uint8"
163
+ }
164
+ ],
165
+ "name": "MaxRetriesExceeded",
166
+ "type": "error"
167
+ },
168
+ {
169
+ "inputs": [],
170
+ "name": "NotInitializing",
171
+ "type": "error"
172
+ },
173
+ {
174
+ "inputs": [
175
+ {
176
+ "internalType": "address",
177
+ "name": "owner",
178
+ "type": "address"
179
+ }
180
+ ],
181
+ "name": "OwnableInvalidOwner",
182
+ "type": "error"
183
+ },
184
+ {
185
+ "inputs": [
186
+ {
187
+ "internalType": "address",
188
+ "name": "account",
189
+ "type": "address"
190
+ }
191
+ ],
192
+ "name": "OwnableUnauthorizedAccount",
193
+ "type": "error"
194
+ },
195
+ {
196
+ "inputs": [
197
+ {
198
+ "internalType": "uint64",
199
+ "name": "lastCharge",
200
+ "type": "uint64"
201
+ },
202
+ {
203
+ "internalType": "uint128",
204
+ "name": "minInterval",
205
+ "type": "uint128"
206
+ },
207
+ {
208
+ "internalType": "uint256",
209
+ "name": "timeRemaining",
210
+ "type": "uint256"
211
+ }
212
+ ],
213
+ "name": "PeriodNotPassed",
214
+ "type": "error"
215
+ },
216
+ {
217
+ "inputs": [
218
+ {
219
+ "internalType": "address",
220
+ "name": "token",
221
+ "type": "address"
222
+ }
223
+ ],
224
+ "name": "SafeERC20FailedOperation",
225
+ "type": "error"
226
+ },
227
+ {
228
+ "inputs": [
229
+ {
230
+ "internalType": "string",
231
+ "name": "subscriptionId",
232
+ "type": "string"
233
+ }
234
+ ],
235
+ "name": "SubscriptionAlreadyExists",
236
+ "type": "error"
237
+ },
238
+ {
239
+ "inputs": [
240
+ {
241
+ "internalType": "string",
242
+ "name": "subscriptionId",
243
+ "type": "string"
244
+ }
245
+ ],
246
+ "name": "SubscriptionInactive",
247
+ "type": "error"
248
+ },
249
+ {
250
+ "inputs": [
251
+ {
252
+ "internalType": "string",
253
+ "name": "subscriptionId",
254
+ "type": "string"
255
+ }
256
+ ],
257
+ "name": "SubscriptionNotFound",
258
+ "type": "error"
259
+ },
260
+ {
261
+ "inputs": [],
262
+ "name": "UUPSUnauthorizedCallContext",
263
+ "type": "error"
264
+ },
265
+ {
266
+ "inputs": [
267
+ {
268
+ "internalType": "bytes32",
269
+ "name": "slot",
270
+ "type": "bytes32"
271
+ }
272
+ ],
273
+ "name": "UUPSUnsupportedProxiableUUID",
274
+ "type": "error"
275
+ },
276
+ {
277
+ "anonymous": false,
278
+ "inputs": [
279
+ {
280
+ "indexed": true,
281
+ "internalType": "address",
282
+ "name": "user",
283
+ "type": "address"
284
+ },
285
+ {
286
+ "indexed": false,
287
+ "internalType": "uint256",
288
+ "name": "amount",
289
+ "type": "uint256"
290
+ },
291
+ {
292
+ "indexed": false,
293
+ "internalType": "string",
294
+ "name": "subscriptionId",
295
+ "type": "string"
296
+ },
297
+ {
298
+ "indexed": false,
299
+ "internalType": "uint8",
300
+ "name": "failureCount",
301
+ "type": "uint8"
302
+ }
303
+ ],
304
+ "name": "ChargeAttemptFailed",
305
+ "type": "event"
306
+ },
307
+ {
308
+ "anonymous": false,
309
+ "inputs": [
310
+ {
311
+ "indexed": true,
312
+ "internalType": "address",
313
+ "name": "to",
314
+ "type": "address"
315
+ },
316
+ {
317
+ "indexed": false,
318
+ "internalType": "uint256",
319
+ "name": "amount",
320
+ "type": "uint256"
321
+ }
322
+ ],
323
+ "name": "FundsWithdrawn",
324
+ "type": "event"
325
+ },
326
+ {
327
+ "anonymous": false,
328
+ "inputs": [
329
+ {
330
+ "indexed": false,
331
+ "internalType": "uint64",
332
+ "name": "version",
333
+ "type": "uint64"
334
+ }
335
+ ],
336
+ "name": "Initialized",
337
+ "type": "event"
338
+ },
339
+ {
340
+ "anonymous": false,
341
+ "inputs": [
342
+ {
343
+ "indexed": true,
344
+ "internalType": "address",
345
+ "name": "previousOwner",
346
+ "type": "address"
347
+ },
348
+ {
349
+ "indexed": true,
350
+ "internalType": "address",
351
+ "name": "newOwner",
352
+ "type": "address"
353
+ }
354
+ ],
355
+ "name": "OwnershipTransferred",
356
+ "type": "event"
357
+ },
358
+ {
359
+ "anonymous": false,
360
+ "inputs": [
361
+ {
362
+ "indexed": false,
363
+ "internalType": "address",
364
+ "name": "account",
365
+ "type": "address"
366
+ }
367
+ ],
368
+ "name": "Paused",
369
+ "type": "event"
370
+ },
371
+ {
372
+ "anonymous": false,
373
+ "inputs": [
374
+ {
375
+ "indexed": false,
376
+ "internalType": "string",
377
+ "name": "subscriptionId",
378
+ "type": "string"
379
+ }
380
+ ],
381
+ "name": "SubscriptionCancelled",
382
+ "type": "event"
383
+ },
384
+ {
385
+ "anonymous": false,
386
+ "inputs": [
387
+ {
388
+ "indexed": false,
389
+ "internalType": "string",
390
+ "name": "subscriptionId",
391
+ "type": "string"
392
+ },
393
+ {
394
+ "indexed": true,
395
+ "internalType": "address",
396
+ "name": "user",
397
+ "type": "address"
398
+ },
399
+ {
400
+ "indexed": false,
401
+ "internalType": "uint256",
402
+ "name": "maxAmount",
403
+ "type": "uint256"
404
+ },
405
+ {
406
+ "indexed": false,
407
+ "internalType": "uint256",
408
+ "name": "minPeriod",
409
+ "type": "uint256"
410
+ }
411
+ ],
412
+ "name": "SubscriptionCreated",
413
+ "type": "event"
414
+ },
415
+ {
416
+ "anonymous": false,
417
+ "inputs": [
418
+ {
419
+ "indexed": false,
420
+ "internalType": "address",
421
+ "name": "account",
422
+ "type": "address"
423
+ }
424
+ ],
425
+ "name": "Unpaused",
426
+ "type": "event"
427
+ },
428
+ {
429
+ "anonymous": false,
430
+ "inputs": [
431
+ {
432
+ "indexed": true,
433
+ "internalType": "address",
434
+ "name": "implementation",
435
+ "type": "address"
436
+ }
437
+ ],
438
+ "name": "Upgraded",
439
+ "type": "event"
440
+ },
441
+ {
442
+ "anonymous": false,
443
+ "inputs": [
444
+ {
445
+ "indexed": true,
446
+ "internalType": "address",
447
+ "name": "user",
448
+ "type": "address"
449
+ },
450
+ {
451
+ "indexed": false,
452
+ "internalType": "uint256",
453
+ "name": "amount",
454
+ "type": "uint256"
455
+ },
456
+ {
457
+ "indexed": false,
458
+ "internalType": "string",
459
+ "name": "subscriptionId",
460
+ "type": "string"
461
+ }
462
+ ],
463
+ "name": "UserCharged",
464
+ "type": "event"
465
+ },
466
+ {
467
+ "inputs": [],
468
+ "name": "MAX_RETRIES",
469
+ "outputs": [
470
+ {
471
+ "internalType": "uint8",
472
+ "name": "",
473
+ "type": "uint8"
474
+ }
475
+ ],
476
+ "stateMutability": "view",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [],
481
+ "name": "UPGRADE_INTERFACE_VERSION",
482
+ "outputs": [
483
+ {
484
+ "internalType": "string",
485
+ "name": "",
486
+ "type": "string"
487
+ }
488
+ ],
489
+ "stateMutability": "view",
490
+ "type": "function"
491
+ },
492
+ {
493
+ "inputs": [
494
+ {
495
+ "internalType": "string",
496
+ "name": "subscriptionId",
497
+ "type": "string"
498
+ }
499
+ ],
500
+ "name": "cancelSubscription",
501
+ "outputs": [],
502
+ "stateMutability": "nonpayable",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [
507
+ {
508
+ "internalType": "string",
509
+ "name": "subscriptionId",
510
+ "type": "string"
511
+ }
512
+ ],
513
+ "name": "cancelSubscriptionByManager",
514
+ "outputs": [],
515
+ "stateMutability": "nonpayable",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "string",
522
+ "name": "subscriptionId",
523
+ "type": "string"
524
+ },
525
+ {
526
+ "internalType": "uint128",
527
+ "name": "amount",
528
+ "type": "uint128"
529
+ }
530
+ ],
531
+ "name": "chargeUser",
532
+ "outputs": [],
533
+ "stateMutability": "nonpayable",
534
+ "type": "function"
535
+ },
536
+ {
537
+ "inputs": [],
538
+ "name": "getPaymentToken",
539
+ "outputs": [
540
+ {
541
+ "internalType": "address",
542
+ "name": "",
543
+ "type": "address"
544
+ }
545
+ ],
546
+ "stateMutability": "view",
547
+ "type": "function"
548
+ },
549
+ {
550
+ "inputs": [
551
+ {
552
+ "internalType": "string",
553
+ "name": "subscriptionId",
554
+ "type": "string"
555
+ }
556
+ ],
557
+ "name": "getTimeUntilNextCharge",
558
+ "outputs": [
559
+ {
560
+ "internalType": "uint256",
561
+ "name": "",
562
+ "type": "uint256"
563
+ }
564
+ ],
565
+ "stateMutability": "view",
566
+ "type": "function"
567
+ },
568
+ {
569
+ "inputs": [
570
+ {
571
+ "internalType": "address",
572
+ "name": "user",
573
+ "type": "address"
574
+ }
575
+ ],
576
+ "name": "getUserAllowance",
577
+ "outputs": [
578
+ {
579
+ "internalType": "uint256",
580
+ "name": "",
581
+ "type": "uint256"
582
+ }
583
+ ],
584
+ "stateMutability": "view",
585
+ "type": "function"
586
+ },
587
+ {
588
+ "inputs": [],
589
+ "name": "info",
590
+ "outputs": [
591
+ {
592
+ "internalType": "address",
593
+ "name": "",
594
+ "type": "address"
595
+ }
596
+ ],
597
+ "stateMutability": "view",
598
+ "type": "function"
599
+ },
600
+ {
601
+ "inputs": [
602
+ {
603
+ "internalType": "address",
604
+ "name": "_info",
605
+ "type": "address"
606
+ },
607
+ {
608
+ "internalType": "address",
609
+ "name": "_owner",
610
+ "type": "address"
611
+ }
612
+ ],
613
+ "name": "initialize",
614
+ "outputs": [],
615
+ "stateMutability": "nonpayable",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [],
620
+ "name": "owner",
621
+ "outputs": [
622
+ {
623
+ "internalType": "address",
624
+ "name": "",
625
+ "type": "address"
626
+ }
627
+ ],
628
+ "stateMutability": "view",
629
+ "type": "function"
630
+ },
631
+ {
632
+ "inputs": [],
633
+ "name": "pause",
634
+ "outputs": [],
635
+ "stateMutability": "nonpayable",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [],
640
+ "name": "paused",
641
+ "outputs": [
642
+ {
643
+ "internalType": "bool",
644
+ "name": "",
645
+ "type": "bool"
646
+ }
647
+ ],
648
+ "stateMutability": "view",
649
+ "type": "function"
650
+ },
651
+ {
652
+ "inputs": [],
653
+ "name": "proxiableUUID",
654
+ "outputs": [
655
+ {
656
+ "internalType": "bytes32",
657
+ "name": "",
658
+ "type": "bytes32"
659
+ }
660
+ ],
661
+ "stateMutability": "view",
662
+ "type": "function"
663
+ },
664
+ {
665
+ "inputs": [],
666
+ "name": "renounceOwnership",
667
+ "outputs": [],
668
+ "stateMutability": "nonpayable",
669
+ "type": "function"
670
+ },
671
+ {
672
+ "inputs": [
673
+ {
674
+ "internalType": "string",
675
+ "name": "subscriptionId",
676
+ "type": "string"
677
+ },
678
+ {
679
+ "internalType": "uint128",
680
+ "name": "amount",
681
+ "type": "uint128"
682
+ },
683
+ {
684
+ "internalType": "uint128",
685
+ "name": "minPeriod",
686
+ "type": "uint128"
687
+ }
688
+ ],
689
+ "name": "subscribe",
690
+ "outputs": [],
691
+ "stateMutability": "nonpayable",
692
+ "type": "function"
693
+ },
694
+ {
695
+ "inputs": [
696
+ {
697
+ "internalType": "string",
698
+ "name": "",
699
+ "type": "string"
700
+ }
701
+ ],
702
+ "name": "subscriptions",
703
+ "outputs": [
704
+ {
705
+ "internalType": "address",
706
+ "name": "owner",
707
+ "type": "address"
708
+ },
709
+ {
710
+ "internalType": "uint64",
711
+ "name": "lastChargeTime",
712
+ "type": "uint64"
713
+ },
714
+ {
715
+ "internalType": "bool",
716
+ "name": "active",
717
+ "type": "bool"
718
+ },
719
+ {
720
+ "internalType": "uint128",
721
+ "name": "maxAmount",
722
+ "type": "uint128"
723
+ },
724
+ {
725
+ "internalType": "uint128",
726
+ "name": "minPeriod",
727
+ "type": "uint128"
728
+ },
729
+ {
730
+ "internalType": "uint8",
731
+ "name": "failedAttempts",
732
+ "type": "uint8"
733
+ }
734
+ ],
735
+ "stateMutability": "view",
736
+ "type": "function"
737
+ },
738
+ {
739
+ "inputs": [
740
+ {
741
+ "internalType": "address",
742
+ "name": "newOwner",
743
+ "type": "address"
744
+ }
745
+ ],
746
+ "name": "transferOwnership",
747
+ "outputs": [],
748
+ "stateMutability": "nonpayable",
749
+ "type": "function"
750
+ },
751
+ {
752
+ "inputs": [],
753
+ "name": "unpause",
754
+ "outputs": [],
755
+ "stateMutability": "nonpayable",
756
+ "type": "function"
757
+ },
758
+ {
759
+ "inputs": [
760
+ {
761
+ "internalType": "address",
762
+ "name": "newImplementation",
763
+ "type": "address"
764
+ },
765
+ {
766
+ "internalType": "bytes",
767
+ "name": "data",
768
+ "type": "bytes"
769
+ }
770
+ ],
771
+ "name": "upgradeToAndCall",
772
+ "outputs": [],
773
+ "stateMutability": "payable",
774
+ "type": "function"
775
+ },
776
+ {
777
+ "inputs": [
778
+ {
779
+ "internalType": "address",
780
+ "name": "to",
781
+ "type": "address"
782
+ },
783
+ {
784
+ "internalType": "uint256",
785
+ "name": "amount",
786
+ "type": "uint256"
787
+ }
788
+ ],
789
+ "name": "withdrawFunds",
790
+ "outputs": [],
791
+ "stateMutability": "nonpayable",
792
+ "type": "function"
793
+ }
794
+ ]
795
+ }