@aastar/core 0.16.8 → 0.16.11

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 (60) hide show
  1. package/dist/abis/PaymasterV4_2.json +1193 -0
  2. package/dist/abis/SuperPaymaster.json +1 -1
  3. package/dist/abis/aPNTs.json +1160 -0
  4. package/dist/abis/abi.config.json +3 -3
  5. package/dist/abis/index.d.ts +15 -104
  6. package/dist/abis/index.js +22 -46
  7. package/dist/actions/account.d.ts +0 -15
  8. package/dist/actions/account.js +143 -108
  9. package/dist/actions/aggregator.d.ts +68 -7
  10. package/dist/actions/aggregator.js +328 -28
  11. package/dist/actions/dvt.d.ts +33 -5
  12. package/dist/actions/dvt.js +238 -38
  13. package/dist/actions/entryPoint.d.ts +3 -63
  14. package/dist/actions/entryPoint.js +52 -184
  15. package/dist/actions/factory.d.ts +48 -115
  16. package/dist/actions/factory.js +638 -438
  17. package/dist/actions/faucet.d.ts +23 -27
  18. package/dist/actions/faucet.js +150 -289
  19. package/dist/actions/index.d.ts +1 -2
  20. package/dist/actions/index.js +2 -4
  21. package/dist/actions/paymaster.d.ts +147 -0
  22. package/dist/actions/paymaster.js +706 -0
  23. package/dist/actions/paymasterV4.d.ts +26 -95
  24. package/dist/actions/paymasterV4.js +28 -121
  25. package/dist/actions/registry.d.ts +116 -165
  26. package/dist/actions/registry.js +855 -654
  27. package/dist/actions/reputation.d.ts +74 -52
  28. package/dist/actions/reputation.js +548 -242
  29. package/dist/actions/sbt.d.ts +90 -100
  30. package/dist/actions/sbt.js +801 -518
  31. package/dist/actions/staking.d.ts +45 -32
  32. package/dist/actions/staking.js +431 -260
  33. package/dist/actions/superPaymaster.d.ts +140 -158
  34. package/dist/actions/superPaymaster.js +965 -631
  35. package/dist/actions/tokens.d.ts +130 -108
  36. package/dist/actions/tokens.js +470 -414
  37. package/dist/actions/validators.d.ts +0 -73
  38. package/dist/actions/validators.js +0 -94
  39. package/dist/clients/BaseClient.d.ts +3 -3
  40. package/dist/clients/BundlerClient.d.ts +55 -0
  41. package/dist/clients/BundlerClient.js +92 -0
  42. package/dist/communities.js +2 -2
  43. package/dist/constants.js +1 -28
  44. package/dist/contract-addresses.d.ts +5 -14
  45. package/dist/contract-addresses.js +3 -9
  46. package/dist/contract-versions.d.ts +138 -0
  47. package/dist/contract-versions.js +328 -0
  48. package/dist/contracts.d.ts +6 -24
  49. package/dist/contracts.js +2 -2
  50. package/dist/errors/index.d.ts +57 -0
  51. package/dist/errors/index.js +123 -0
  52. package/dist/index.d.ts +2 -1
  53. package/dist/index.js +2 -1
  54. package/dist/requirementChecker.d.ts +35 -1
  55. package/dist/requirementChecker.js +39 -1
  56. package/dist/roles.d.ts +50 -61
  57. package/dist/roles.js +50 -61
  58. package/dist/validators/index.d.ts +35 -0
  59. package/dist/validators/index.js +60 -0
  60. package/package.json +5 -13
@@ -0,0 +1,1193 @@
1
+ [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [
5
+ {
6
+ "name": "_registry",
7
+ "type": "address",
8
+ "internalType": "address"
9
+ }
10
+ ],
11
+ "stateMutability": "nonpayable"
12
+ },
13
+ {
14
+ "type": "receive",
15
+ "stateMutability": "payable"
16
+ },
17
+ {
18
+ "type": "function",
19
+ "name": "MAX_GAS_TOKENS",
20
+ "inputs": [],
21
+ "outputs": [
22
+ {
23
+ "name": "",
24
+ "type": "uint256",
25
+ "internalType": "uint256"
26
+ }
27
+ ],
28
+ "stateMutability": "view"
29
+ },
30
+ {
31
+ "type": "function",
32
+ "name": "MAX_SBTS",
33
+ "inputs": [],
34
+ "outputs": [
35
+ {
36
+ "name": "",
37
+ "type": "uint256",
38
+ "internalType": "uint256"
39
+ }
40
+ ],
41
+ "stateMutability": "view"
42
+ },
43
+ {
44
+ "type": "function",
45
+ "name": "MAX_SERVICE_FEE",
46
+ "inputs": [],
47
+ "outputs": [
48
+ {
49
+ "name": "",
50
+ "type": "uint256",
51
+ "internalType": "uint256"
52
+ }
53
+ ],
54
+ "stateMutability": "view"
55
+ },
56
+ {
57
+ "type": "function",
58
+ "name": "PRICE_STALENESS_THRESHOLD",
59
+ "inputs": [],
60
+ "outputs": [
61
+ {
62
+ "name": "",
63
+ "type": "uint256",
64
+ "internalType": "uint256"
65
+ }
66
+ ],
67
+ "stateMutability": "view"
68
+ },
69
+ {
70
+ "type": "function",
71
+ "name": "addDeposit",
72
+ "inputs": [],
73
+ "outputs": [],
74
+ "stateMutability": "payable"
75
+ },
76
+ {
77
+ "type": "function",
78
+ "name": "addGasToken",
79
+ "inputs": [
80
+ {
81
+ "name": "token",
82
+ "type": "address",
83
+ "internalType": "address"
84
+ }
85
+ ],
86
+ "outputs": [],
87
+ "stateMutability": "nonpayable"
88
+ },
89
+ {
90
+ "type": "function",
91
+ "name": "addSBT",
92
+ "inputs": [
93
+ {
94
+ "name": "sbt",
95
+ "type": "address",
96
+ "internalType": "address"
97
+ }
98
+ ],
99
+ "outputs": [],
100
+ "stateMutability": "nonpayable"
101
+ },
102
+ {
103
+ "type": "function",
104
+ "name": "addStake",
105
+ "inputs": [
106
+ {
107
+ "name": "unstakeDelaySec",
108
+ "type": "uint32",
109
+ "internalType": "uint32"
110
+ }
111
+ ],
112
+ "outputs": [],
113
+ "stateMutability": "payable"
114
+ },
115
+ {
116
+ "type": "function",
117
+ "name": "checkUserQualification",
118
+ "inputs": [
119
+ {
120
+ "name": "user",
121
+ "type": "address",
122
+ "internalType": "address"
123
+ },
124
+ {
125
+ "name": "estimatedGasCost",
126
+ "type": "uint256",
127
+ "internalType": "uint256"
128
+ }
129
+ ],
130
+ "outputs": [
131
+ {
132
+ "name": "qualified",
133
+ "type": "bool",
134
+ "internalType": "bool"
135
+ },
136
+ {
137
+ "name": "reason",
138
+ "type": "string",
139
+ "internalType": "string"
140
+ }
141
+ ],
142
+ "stateMutability": "view"
143
+ },
144
+ {
145
+ "type": "function",
146
+ "name": "deactivateFromRegistry",
147
+ "inputs": [],
148
+ "outputs": [],
149
+ "stateMutability": "nonpayable"
150
+ },
151
+ {
152
+ "type": "function",
153
+ "name": "entryPoint",
154
+ "inputs": [],
155
+ "outputs": [
156
+ {
157
+ "name": "",
158
+ "type": "address",
159
+ "internalType": "contract IEntryPoint"
160
+ }
161
+ ],
162
+ "stateMutability": "view"
163
+ },
164
+ {
165
+ "type": "function",
166
+ "name": "estimatePNTCost",
167
+ "inputs": [
168
+ {
169
+ "name": "gasCostWei",
170
+ "type": "uint256",
171
+ "internalType": "uint256"
172
+ },
173
+ {
174
+ "name": "gasToken",
175
+ "type": "address",
176
+ "internalType": "address"
177
+ }
178
+ ],
179
+ "outputs": [
180
+ {
181
+ "name": "",
182
+ "type": "uint256",
183
+ "internalType": "uint256"
184
+ }
185
+ ],
186
+ "stateMutability": "view"
187
+ },
188
+ {
189
+ "type": "function",
190
+ "name": "ethUsdPriceFeed",
191
+ "inputs": [],
192
+ "outputs": [
193
+ {
194
+ "name": "",
195
+ "type": "address",
196
+ "internalType": "contract AggregatorV3Interface"
197
+ }
198
+ ],
199
+ "stateMutability": "view"
200
+ },
201
+ {
202
+ "type": "function",
203
+ "name": "gasTokenIndex",
204
+ "inputs": [
205
+ {
206
+ "name": "",
207
+ "type": "address",
208
+ "internalType": "address"
209
+ }
210
+ ],
211
+ "outputs": [
212
+ {
213
+ "name": "",
214
+ "type": "uint256",
215
+ "internalType": "uint256"
216
+ }
217
+ ],
218
+ "stateMutability": "view"
219
+ },
220
+ {
221
+ "type": "function",
222
+ "name": "getDeposit",
223
+ "inputs": [],
224
+ "outputs": [
225
+ {
226
+ "name": "",
227
+ "type": "uint256",
228
+ "internalType": "uint256"
229
+ }
230
+ ],
231
+ "stateMutability": "view"
232
+ },
233
+ {
234
+ "type": "function",
235
+ "name": "getSupportedGasTokens",
236
+ "inputs": [],
237
+ "outputs": [
238
+ {
239
+ "name": "",
240
+ "type": "address[]",
241
+ "internalType": "address[]"
242
+ }
243
+ ],
244
+ "stateMutability": "view"
245
+ },
246
+ {
247
+ "type": "function",
248
+ "name": "getSupportedSBTs",
249
+ "inputs": [],
250
+ "outputs": [
251
+ {
252
+ "name": "",
253
+ "type": "address[]",
254
+ "internalType": "address[]"
255
+ }
256
+ ],
257
+ "stateMutability": "view"
258
+ },
259
+ {
260
+ "type": "function",
261
+ "name": "initialize",
262
+ "inputs": [
263
+ {
264
+ "name": "_entryPoint",
265
+ "type": "address",
266
+ "internalType": "address"
267
+ },
268
+ {
269
+ "name": "_owner",
270
+ "type": "address",
271
+ "internalType": "address"
272
+ },
273
+ {
274
+ "name": "_treasury",
275
+ "type": "address",
276
+ "internalType": "address"
277
+ },
278
+ {
279
+ "name": "_ethUsdPriceFeed",
280
+ "type": "address",
281
+ "internalType": "address"
282
+ },
283
+ {
284
+ "name": "_serviceFeeRate",
285
+ "type": "uint256",
286
+ "internalType": "uint256"
287
+ },
288
+ {
289
+ "name": "_maxGasCostCap",
290
+ "type": "uint256",
291
+ "internalType": "uint256"
292
+ },
293
+ {
294
+ "name": "_minTokenBalance",
295
+ "type": "uint256",
296
+ "internalType": "uint256"
297
+ },
298
+ {
299
+ "name": "_xpntsFactory",
300
+ "type": "address",
301
+ "internalType": "address"
302
+ },
303
+ {
304
+ "name": "_initialSBT",
305
+ "type": "address",
306
+ "internalType": "address"
307
+ },
308
+ {
309
+ "name": "_initialGasToken",
310
+ "type": "address",
311
+ "internalType": "address"
312
+ }
313
+ ],
314
+ "outputs": [],
315
+ "stateMutability": "nonpayable"
316
+ },
317
+ {
318
+ "type": "function",
319
+ "name": "isActiveInRegistry",
320
+ "inputs": [],
321
+ "outputs": [
322
+ {
323
+ "name": "",
324
+ "type": "bool",
325
+ "internalType": "bool"
326
+ }
327
+ ],
328
+ "stateMutability": "view"
329
+ },
330
+ {
331
+ "type": "function",
332
+ "name": "isGasTokenSupported",
333
+ "inputs": [
334
+ {
335
+ "name": "",
336
+ "type": "address",
337
+ "internalType": "address"
338
+ }
339
+ ],
340
+ "outputs": [
341
+ {
342
+ "name": "",
343
+ "type": "bool",
344
+ "internalType": "bool"
345
+ }
346
+ ],
347
+ "stateMutability": "view"
348
+ },
349
+ {
350
+ "type": "function",
351
+ "name": "isRegistrySet",
352
+ "inputs": [],
353
+ "outputs": [
354
+ {
355
+ "name": "",
356
+ "type": "bool",
357
+ "internalType": "bool"
358
+ }
359
+ ],
360
+ "stateMutability": "view"
361
+ },
362
+ {
363
+ "type": "function",
364
+ "name": "isSBTSupported",
365
+ "inputs": [
366
+ {
367
+ "name": "",
368
+ "type": "address",
369
+ "internalType": "address"
370
+ }
371
+ ],
372
+ "outputs": [
373
+ {
374
+ "name": "",
375
+ "type": "bool",
376
+ "internalType": "bool"
377
+ }
378
+ ],
379
+ "stateMutability": "view"
380
+ },
381
+ {
382
+ "type": "function",
383
+ "name": "maxGasCostCap",
384
+ "inputs": [],
385
+ "outputs": [
386
+ {
387
+ "name": "",
388
+ "type": "uint256",
389
+ "internalType": "uint256"
390
+ }
391
+ ],
392
+ "stateMutability": "view"
393
+ },
394
+ {
395
+ "type": "function",
396
+ "name": "owner",
397
+ "inputs": [],
398
+ "outputs": [
399
+ {
400
+ "name": "",
401
+ "type": "address",
402
+ "internalType": "address"
403
+ }
404
+ ],
405
+ "stateMutability": "view"
406
+ },
407
+ {
408
+ "type": "function",
409
+ "name": "pause",
410
+ "inputs": [],
411
+ "outputs": [],
412
+ "stateMutability": "nonpayable"
413
+ },
414
+ {
415
+ "type": "function",
416
+ "name": "paused",
417
+ "inputs": [],
418
+ "outputs": [
419
+ {
420
+ "name": "",
421
+ "type": "bool",
422
+ "internalType": "bool"
423
+ }
424
+ ],
425
+ "stateMutability": "view"
426
+ },
427
+ {
428
+ "type": "function",
429
+ "name": "postOp",
430
+ "inputs": [
431
+ {
432
+ "name": "",
433
+ "type": "uint8",
434
+ "internalType": "enum PostOpMode"
435
+ },
436
+ {
437
+ "name": "context",
438
+ "type": "bytes",
439
+ "internalType": "bytes"
440
+ },
441
+ {
442
+ "name": "actualGasCost",
443
+ "type": "uint256",
444
+ "internalType": "uint256"
445
+ },
446
+ {
447
+ "name": "",
448
+ "type": "uint256",
449
+ "internalType": "uint256"
450
+ }
451
+ ],
452
+ "outputs": [],
453
+ "stateMutability": "nonpayable"
454
+ },
455
+ {
456
+ "type": "function",
457
+ "name": "registry",
458
+ "inputs": [],
459
+ "outputs": [
460
+ {
461
+ "name": "",
462
+ "type": "address",
463
+ "internalType": "contract ISuperPaymasterRegistry"
464
+ }
465
+ ],
466
+ "stateMutability": "view"
467
+ },
468
+ {
469
+ "type": "function",
470
+ "name": "removeGasToken",
471
+ "inputs": [
472
+ {
473
+ "name": "token",
474
+ "type": "address",
475
+ "internalType": "address"
476
+ }
477
+ ],
478
+ "outputs": [],
479
+ "stateMutability": "nonpayable"
480
+ },
481
+ {
482
+ "type": "function",
483
+ "name": "removeSBT",
484
+ "inputs": [
485
+ {
486
+ "name": "sbt",
487
+ "type": "address",
488
+ "internalType": "address"
489
+ }
490
+ ],
491
+ "outputs": [],
492
+ "stateMutability": "nonpayable"
493
+ },
494
+ {
495
+ "type": "function",
496
+ "name": "renounceOwnership",
497
+ "inputs": [],
498
+ "outputs": [],
499
+ "stateMutability": "nonpayable"
500
+ },
501
+ {
502
+ "type": "function",
503
+ "name": "sbtIndex",
504
+ "inputs": [
505
+ {
506
+ "name": "",
507
+ "type": "address",
508
+ "internalType": "address"
509
+ }
510
+ ],
511
+ "outputs": [
512
+ {
513
+ "name": "",
514
+ "type": "uint256",
515
+ "internalType": "uint256"
516
+ }
517
+ ],
518
+ "stateMutability": "view"
519
+ },
520
+ {
521
+ "type": "function",
522
+ "name": "serviceFeeRate",
523
+ "inputs": [],
524
+ "outputs": [
525
+ {
526
+ "name": "",
527
+ "type": "uint256",
528
+ "internalType": "uint256"
529
+ }
530
+ ],
531
+ "stateMutability": "view"
532
+ },
533
+ {
534
+ "type": "function",
535
+ "name": "setMaxGasCostCap",
536
+ "inputs": [
537
+ {
538
+ "name": "_maxGasCostCap",
539
+ "type": "uint256",
540
+ "internalType": "uint256"
541
+ }
542
+ ],
543
+ "outputs": [],
544
+ "stateMutability": "nonpayable"
545
+ },
546
+ {
547
+ "type": "function",
548
+ "name": "setServiceFeeRate",
549
+ "inputs": [
550
+ {
551
+ "name": "_serviceFeeRate",
552
+ "type": "uint256",
553
+ "internalType": "uint256"
554
+ }
555
+ ],
556
+ "outputs": [],
557
+ "stateMutability": "nonpayable"
558
+ },
559
+ {
560
+ "type": "function",
561
+ "name": "setTreasury",
562
+ "inputs": [
563
+ {
564
+ "name": "_treasury",
565
+ "type": "address",
566
+ "internalType": "address"
567
+ }
568
+ ],
569
+ "outputs": [],
570
+ "stateMutability": "nonpayable"
571
+ },
572
+ {
573
+ "type": "function",
574
+ "name": "supportedGasTokens",
575
+ "inputs": [
576
+ {
577
+ "name": "",
578
+ "type": "uint256",
579
+ "internalType": "uint256"
580
+ }
581
+ ],
582
+ "outputs": [
583
+ {
584
+ "name": "",
585
+ "type": "address",
586
+ "internalType": "address"
587
+ }
588
+ ],
589
+ "stateMutability": "view"
590
+ },
591
+ {
592
+ "type": "function",
593
+ "name": "supportedSBTs",
594
+ "inputs": [
595
+ {
596
+ "name": "",
597
+ "type": "uint256",
598
+ "internalType": "uint256"
599
+ }
600
+ ],
601
+ "outputs": [
602
+ {
603
+ "name": "",
604
+ "type": "address",
605
+ "internalType": "address"
606
+ }
607
+ ],
608
+ "stateMutability": "view"
609
+ },
610
+ {
611
+ "type": "function",
612
+ "name": "transferOwnership",
613
+ "inputs": [
614
+ {
615
+ "name": "newOwner",
616
+ "type": "address",
617
+ "internalType": "address"
618
+ }
619
+ ],
620
+ "outputs": [],
621
+ "stateMutability": "nonpayable"
622
+ },
623
+ {
624
+ "type": "function",
625
+ "name": "treasury",
626
+ "inputs": [],
627
+ "outputs": [
628
+ {
629
+ "name": "",
630
+ "type": "address",
631
+ "internalType": "address"
632
+ }
633
+ ],
634
+ "stateMutability": "view"
635
+ },
636
+ {
637
+ "type": "function",
638
+ "name": "unlockStake",
639
+ "inputs": [],
640
+ "outputs": [],
641
+ "stateMutability": "nonpayable"
642
+ },
643
+ {
644
+ "type": "function",
645
+ "name": "unpause",
646
+ "inputs": [],
647
+ "outputs": [],
648
+ "stateMutability": "nonpayable"
649
+ },
650
+ {
651
+ "type": "function",
652
+ "name": "validatePaymasterUserOp",
653
+ "inputs": [
654
+ {
655
+ "name": "userOp",
656
+ "type": "tuple",
657
+ "internalType": "struct PackedUserOperation",
658
+ "components": [
659
+ {
660
+ "name": "sender",
661
+ "type": "address",
662
+ "internalType": "address"
663
+ },
664
+ {
665
+ "name": "nonce",
666
+ "type": "uint256",
667
+ "internalType": "uint256"
668
+ },
669
+ {
670
+ "name": "initCode",
671
+ "type": "bytes",
672
+ "internalType": "bytes"
673
+ },
674
+ {
675
+ "name": "callData",
676
+ "type": "bytes",
677
+ "internalType": "bytes"
678
+ },
679
+ {
680
+ "name": "accountGasLimits",
681
+ "type": "bytes32",
682
+ "internalType": "bytes32"
683
+ },
684
+ {
685
+ "name": "preVerificationGas",
686
+ "type": "uint256",
687
+ "internalType": "uint256"
688
+ },
689
+ {
690
+ "name": "gasFees",
691
+ "type": "bytes32",
692
+ "internalType": "bytes32"
693
+ },
694
+ {
695
+ "name": "paymasterAndData",
696
+ "type": "bytes",
697
+ "internalType": "bytes"
698
+ },
699
+ {
700
+ "name": "signature",
701
+ "type": "bytes",
702
+ "internalType": "bytes"
703
+ }
704
+ ]
705
+ },
706
+ {
707
+ "name": "",
708
+ "type": "bytes32",
709
+ "internalType": "bytes32"
710
+ },
711
+ {
712
+ "name": "maxCost",
713
+ "type": "uint256",
714
+ "internalType": "uint256"
715
+ }
716
+ ],
717
+ "outputs": [
718
+ {
719
+ "name": "context",
720
+ "type": "bytes",
721
+ "internalType": "bytes"
722
+ },
723
+ {
724
+ "name": "validationData",
725
+ "type": "uint256",
726
+ "internalType": "uint256"
727
+ }
728
+ ],
729
+ "stateMutability": "nonpayable"
730
+ },
731
+ {
732
+ "type": "function",
733
+ "name": "version",
734
+ "inputs": [],
735
+ "outputs": [
736
+ {
737
+ "name": "",
738
+ "type": "string",
739
+ "internalType": "string"
740
+ }
741
+ ],
742
+ "stateMutability": "pure"
743
+ },
744
+ {
745
+ "type": "function",
746
+ "name": "withdrawPNT",
747
+ "inputs": [
748
+ {
749
+ "name": "to",
750
+ "type": "address",
751
+ "internalType": "address"
752
+ },
753
+ {
754
+ "name": "token",
755
+ "type": "address",
756
+ "internalType": "address"
757
+ },
758
+ {
759
+ "name": "amount",
760
+ "type": "uint256",
761
+ "internalType": "uint256"
762
+ }
763
+ ],
764
+ "outputs": [],
765
+ "stateMutability": "nonpayable"
766
+ },
767
+ {
768
+ "type": "function",
769
+ "name": "withdrawStake",
770
+ "inputs": [
771
+ {
772
+ "name": "withdrawAddress",
773
+ "type": "address",
774
+ "internalType": "address payable"
775
+ }
776
+ ],
777
+ "outputs": [],
778
+ "stateMutability": "nonpayable"
779
+ },
780
+ {
781
+ "type": "function",
782
+ "name": "withdrawTo",
783
+ "inputs": [
784
+ {
785
+ "name": "withdrawAddress",
786
+ "type": "address",
787
+ "internalType": "address payable"
788
+ },
789
+ {
790
+ "name": "amount",
791
+ "type": "uint256",
792
+ "internalType": "uint256"
793
+ }
794
+ ],
795
+ "outputs": [],
796
+ "stateMutability": "nonpayable"
797
+ },
798
+ {
799
+ "type": "function",
800
+ "name": "xpntsFactory",
801
+ "inputs": [],
802
+ "outputs": [
803
+ {
804
+ "name": "",
805
+ "type": "address",
806
+ "internalType": "contract IxPNTsFactory"
807
+ }
808
+ ],
809
+ "stateMutability": "view"
810
+ },
811
+ {
812
+ "type": "event",
813
+ "name": "DeactivatedFromRegistry",
814
+ "inputs": [
815
+ {
816
+ "name": "paymaster",
817
+ "type": "address",
818
+ "indexed": true,
819
+ "internalType": "address"
820
+ }
821
+ ],
822
+ "anonymous": false
823
+ },
824
+ {
825
+ "type": "event",
826
+ "name": "GasPaymentProcessed",
827
+ "inputs": [
828
+ {
829
+ "name": "user",
830
+ "type": "address",
831
+ "indexed": true,
832
+ "internalType": "address"
833
+ },
834
+ {
835
+ "name": "gasToken",
836
+ "type": "address",
837
+ "indexed": true,
838
+ "internalType": "address"
839
+ },
840
+ {
841
+ "name": "pntAmount",
842
+ "type": "uint256",
843
+ "indexed": false,
844
+ "internalType": "uint256"
845
+ },
846
+ {
847
+ "name": "gasCostWei",
848
+ "type": "uint256",
849
+ "indexed": false,
850
+ "internalType": "uint256"
851
+ },
852
+ {
853
+ "name": "actualGasCost",
854
+ "type": "uint256",
855
+ "indexed": false,
856
+ "internalType": "uint256"
857
+ }
858
+ ],
859
+ "anonymous": false
860
+ },
861
+ {
862
+ "type": "event",
863
+ "name": "GasTokenAdded",
864
+ "inputs": [
865
+ {
866
+ "name": "token",
867
+ "type": "address",
868
+ "indexed": true,
869
+ "internalType": "address"
870
+ }
871
+ ],
872
+ "anonymous": false
873
+ },
874
+ {
875
+ "type": "event",
876
+ "name": "GasTokenRemoved",
877
+ "inputs": [
878
+ {
879
+ "name": "token",
880
+ "type": "address",
881
+ "indexed": true,
882
+ "internalType": "address"
883
+ }
884
+ ],
885
+ "anonymous": false
886
+ },
887
+ {
888
+ "type": "event",
889
+ "name": "Initialized",
890
+ "inputs": [
891
+ {
892
+ "name": "version",
893
+ "type": "uint64",
894
+ "indexed": false,
895
+ "internalType": "uint64"
896
+ }
897
+ ],
898
+ "anonymous": false
899
+ },
900
+ {
901
+ "type": "event",
902
+ "name": "MaxGasCostCapUpdated",
903
+ "inputs": [
904
+ {
905
+ "name": "oldCap",
906
+ "type": "uint256",
907
+ "indexed": false,
908
+ "internalType": "uint256"
909
+ },
910
+ {
911
+ "name": "newCap",
912
+ "type": "uint256",
913
+ "indexed": false,
914
+ "internalType": "uint256"
915
+ }
916
+ ],
917
+ "anonymous": false
918
+ },
919
+ {
920
+ "type": "event",
921
+ "name": "OwnershipTransferred",
922
+ "inputs": [
923
+ {
924
+ "name": "previousOwner",
925
+ "type": "address",
926
+ "indexed": true,
927
+ "internalType": "address"
928
+ },
929
+ {
930
+ "name": "newOwner",
931
+ "type": "address",
932
+ "indexed": true,
933
+ "internalType": "address"
934
+ }
935
+ ],
936
+ "anonymous": false
937
+ },
938
+ {
939
+ "type": "event",
940
+ "name": "Paused",
941
+ "inputs": [
942
+ {
943
+ "name": "account",
944
+ "type": "address",
945
+ "indexed": true,
946
+ "internalType": "address"
947
+ }
948
+ ],
949
+ "anonymous": false
950
+ },
951
+ {
952
+ "type": "event",
953
+ "name": "PostOpProcessed",
954
+ "inputs": [
955
+ {
956
+ "name": "user",
957
+ "type": "address",
958
+ "indexed": true,
959
+ "internalType": "address"
960
+ },
961
+ {
962
+ "name": "actualGasCost",
963
+ "type": "uint256",
964
+ "indexed": false,
965
+ "internalType": "uint256"
966
+ },
967
+ {
968
+ "name": "pntCharged",
969
+ "type": "uint256",
970
+ "indexed": false,
971
+ "internalType": "uint256"
972
+ }
973
+ ],
974
+ "anonymous": false
975
+ },
976
+ {
977
+ "type": "event",
978
+ "name": "SBTAdded",
979
+ "inputs": [
980
+ {
981
+ "name": "sbt",
982
+ "type": "address",
983
+ "indexed": true,
984
+ "internalType": "address"
985
+ }
986
+ ],
987
+ "anonymous": false
988
+ },
989
+ {
990
+ "type": "event",
991
+ "name": "SBTRemoved",
992
+ "inputs": [
993
+ {
994
+ "name": "sbt",
995
+ "type": "address",
996
+ "indexed": true,
997
+ "internalType": "address"
998
+ }
999
+ ],
1000
+ "anonymous": false
1001
+ },
1002
+ {
1003
+ "type": "event",
1004
+ "name": "ServiceFeeUpdated",
1005
+ "inputs": [
1006
+ {
1007
+ "name": "oldRate",
1008
+ "type": "uint256",
1009
+ "indexed": false,
1010
+ "internalType": "uint256"
1011
+ },
1012
+ {
1013
+ "name": "newRate",
1014
+ "type": "uint256",
1015
+ "indexed": false,
1016
+ "internalType": "uint256"
1017
+ }
1018
+ ],
1019
+ "anonymous": false
1020
+ },
1021
+ {
1022
+ "type": "event",
1023
+ "name": "TreasuryUpdated",
1024
+ "inputs": [
1025
+ {
1026
+ "name": "oldTreasury",
1027
+ "type": "address",
1028
+ "indexed": true,
1029
+ "internalType": "address"
1030
+ },
1031
+ {
1032
+ "name": "newTreasury",
1033
+ "type": "address",
1034
+ "indexed": true,
1035
+ "internalType": "address"
1036
+ }
1037
+ ],
1038
+ "anonymous": false
1039
+ },
1040
+ {
1041
+ "type": "event",
1042
+ "name": "Unpaused",
1043
+ "inputs": [
1044
+ {
1045
+ "name": "account",
1046
+ "type": "address",
1047
+ "indexed": true,
1048
+ "internalType": "address"
1049
+ }
1050
+ ],
1051
+ "anonymous": false
1052
+ },
1053
+ {
1054
+ "type": "error",
1055
+ "name": "AddressEmptyCode",
1056
+ "inputs": [
1057
+ {
1058
+ "name": "target",
1059
+ "type": "address",
1060
+ "internalType": "address"
1061
+ }
1062
+ ]
1063
+ },
1064
+ {
1065
+ "type": "error",
1066
+ "name": "AddressInsufficientBalance",
1067
+ "inputs": [
1068
+ {
1069
+ "name": "account",
1070
+ "type": "address",
1071
+ "internalType": "address"
1072
+ }
1073
+ ]
1074
+ },
1075
+ {
1076
+ "type": "error",
1077
+ "name": "FailedInnerCall",
1078
+ "inputs": []
1079
+ },
1080
+ {
1081
+ "type": "error",
1082
+ "name": "InvalidInitialization",
1083
+ "inputs": []
1084
+ },
1085
+ {
1086
+ "type": "error",
1087
+ "name": "NotInitializing",
1088
+ "inputs": []
1089
+ },
1090
+ {
1091
+ "type": "error",
1092
+ "name": "OwnableInvalidOwner",
1093
+ "inputs": [
1094
+ {
1095
+ "name": "owner",
1096
+ "type": "address",
1097
+ "internalType": "address"
1098
+ }
1099
+ ]
1100
+ },
1101
+ {
1102
+ "type": "error",
1103
+ "name": "OwnableUnauthorizedAccount",
1104
+ "inputs": [
1105
+ {
1106
+ "name": "account",
1107
+ "type": "address",
1108
+ "internalType": "address"
1109
+ }
1110
+ ]
1111
+ },
1112
+ {
1113
+ "type": "error",
1114
+ "name": "PaymasterV4_1__RegistryNotSet",
1115
+ "inputs": []
1116
+ },
1117
+ {
1118
+ "type": "error",
1119
+ "name": "PaymasterV4__AlreadyExists",
1120
+ "inputs": []
1121
+ },
1122
+ {
1123
+ "type": "error",
1124
+ "name": "PaymasterV4__EmptyArray",
1125
+ "inputs": []
1126
+ },
1127
+ {
1128
+ "type": "error",
1129
+ "name": "PaymasterV4__InsufficientPNT",
1130
+ "inputs": []
1131
+ },
1132
+ {
1133
+ "type": "error",
1134
+ "name": "PaymasterV4__InvalidPaymasterData",
1135
+ "inputs": []
1136
+ },
1137
+ {
1138
+ "type": "error",
1139
+ "name": "PaymasterV4__InvalidServiceFee",
1140
+ "inputs": []
1141
+ },
1142
+ {
1143
+ "type": "error",
1144
+ "name": "PaymasterV4__InvalidTokenBalance",
1145
+ "inputs": []
1146
+ },
1147
+ {
1148
+ "type": "error",
1149
+ "name": "PaymasterV4__MaxLimitReached",
1150
+ "inputs": []
1151
+ },
1152
+ {
1153
+ "type": "error",
1154
+ "name": "PaymasterV4__NoValidSBT",
1155
+ "inputs": []
1156
+ },
1157
+ {
1158
+ "type": "error",
1159
+ "name": "PaymasterV4__NotFound",
1160
+ "inputs": []
1161
+ },
1162
+ {
1163
+ "type": "error",
1164
+ "name": "PaymasterV4__OnlyEntryPoint",
1165
+ "inputs": []
1166
+ },
1167
+ {
1168
+ "type": "error",
1169
+ "name": "PaymasterV4__Paused",
1170
+ "inputs": []
1171
+ },
1172
+ {
1173
+ "type": "error",
1174
+ "name": "PaymasterV4__ZeroAddress",
1175
+ "inputs": []
1176
+ },
1177
+ {
1178
+ "type": "error",
1179
+ "name": "ReentrancyGuardReentrantCall",
1180
+ "inputs": []
1181
+ },
1182
+ {
1183
+ "type": "error",
1184
+ "name": "SafeERC20FailedOperation",
1185
+ "inputs": [
1186
+ {
1187
+ "name": "token",
1188
+ "type": "address",
1189
+ "internalType": "address"
1190
+ }
1191
+ ]
1192
+ }
1193
+ ]