@poa-box/core 0.1.0 → 1.0.0
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/README.md +2 -0
- package/dist/abis/AuthorityRouter.d.ts +448 -0
- package/dist/abis/AuthorityRouter.js +584 -0
- package/dist/abis/CutoverVerifier.d.ts +194 -0
- package/dist/abis/CutoverVerifier.js +259 -0
- package/dist/abis/DirectDemocracyVotingNew.d.ts +168 -30
- package/dist/abis/DirectDemocracyVotingNew.js +214 -35
- package/dist/abis/EducationHubNew.d.ts +32 -75
- package/dist/abis/EducationHubNew.js +38 -94
- package/dist/abis/Executor.d.ts +56 -86
- package/dist/abis/Executor.js +68 -104
- package/dist/abis/HybridVotingNew.d.ts +279 -35
- package/dist/abis/HybridVotingNew.js +357 -40
- package/dist/abis/{EligibilityModuleNew.d.ts → MembershipAuthority.d.ts} +1437 -718
- package/dist/abis/{EligibilityModuleNew.js → MembershipAuthority.js} +1821 -899
- package/dist/abis/OrgDeployerNew.d.ts +193 -127
- package/dist/abis/OrgDeployerNew.js +244 -160
- package/dist/abis/OrgRegistry.d.ts +40 -0
- package/dist/abis/OrgRegistry.js +51 -0
- package/dist/abis/ParticipationToken.d.ts +32 -75
- package/dist/abis/ParticipationToken.js +38 -94
- package/dist/abis/PasskeyAccount.d.ts +28 -0
- package/dist/abis/PasskeyAccount.js +35 -0
- package/dist/abis/PaymasterHub.d.ts +527 -47
- package/dist/abis/PaymasterHub.js +750 -135
- package/dist/abis/QuickJoinNew.d.ts +59 -170
- package/dist/abis/QuickJoinNew.js +71 -215
- package/dist/abis/TaskManagerNew.d.ts +27 -44
- package/dist/abis/TaskManagerNew.js +31 -52
- package/dist/abis/UniversalAccountRegistry.d.ts +24 -0
- package/dist/abis/UniversalAccountRegistry.js +30 -0
- package/dist/abis/ZkEmailInvites.d.ts +44 -0
- package/dist/abis/ZkEmailInvites.js +55 -0
- package/dist/abis/index.d.ts +6 -4
- package/dist/abis/index.js +10 -7
- package/dist/chains.js +3 -3
- package/dist/error-catalog.js +125 -7
- package/dist/graph/documents/activity.d.ts +3 -1
- package/dist/graph/documents/activity.js +19 -14
- package/dist/graph/documents/org.d.ts +4 -4
- package/dist/graph/documents/org.js +10 -4
- package/dist/graph/documents/task.d.ts +10 -1
- package/dist/graph/documents/task.js +157 -3
- package/dist/graph/documents/user.d.ts +5 -30
- package/dist/graph/documents/user.js +2 -42
- package/dist/graph/documents/voting-classes.d.ts +23 -2
- package/dist/graph/documents/voting-classes.js +119 -10
- package/dist/metadata/index.d.ts +0 -1
- package/dist/metadata/index.js +1 -2
- package/dist/perms.d.ts +0 -15
- package/dist/perms.js +1 -21
- package/dist/preflight.d.ts +2 -2
- package/dist/preflight.js +14 -22
- package/dist/reads/authority.d.ts +33 -0
- package/dist/reads/authority.js +196 -0
- package/dist/reads/index.d.ts +1 -1
- package/dist/reads/index.js +2 -2
- package/dist/reads/org.d.ts +20 -20
- package/dist/reads/org.js +94 -28
- package/dist/reads/project.js +3 -3
- package/dist/reads/resolve.d.ts +1 -1
- package/dist/reads/resolve.js +12 -3
- package/dist/reads/task.d.ts +44 -22
- package/dist/reads/task.js +126 -67
- package/dist/reads/user.d.ts +8 -43
- package/dist/reads/user.js +27 -44
- package/dist/reads/vote.d.ts +26 -2
- package/dist/reads/vote.js +104 -23
- package/dist/tx/authority.d.ts +33 -0
- package/dist/tx/authority.js +62 -0
- package/dist/tx/governance.d.ts +6 -0
- package/dist/tx/governance.js +20 -2
- package/dist/tx/index.d.ts +1 -1
- package/dist/tx/index.js +2 -2
- package/dist/tx/org.d.ts +23 -18
- package/dist/tx/org.js +203 -67
- package/dist/tx/project.d.ts +3 -2
- package/dist/tx/project.js +28 -10
- package/dist/tx/task.d.ts +13 -24
- package/dist/tx/task.js +45 -85
- package/dist/tx/user.d.ts +2 -40
- package/dist/tx/user.js +2 -76
- package/dist/tx/vote.d.ts +5 -0
- package/dist/tx/vote.js +54 -43
- package/dist/version.d.ts +0 -5
- package/dist/version.js +1 -13
- package/package.json +1 -1
- package/dist/abis/ToggleModule.d.ts +0 -193
- package/dist/abis/ToggleModule.js +0 -255
- package/dist/metadata/role.d.ts +0 -38
- package/dist/metadata/role.js +0 -35
- package/dist/reads/eligibility.d.ts +0 -377
- package/dist/reads/eligibility.js +0 -687
- package/dist/tx/eligibility.d.ts +0 -511
- package/dist/tx/eligibility.js +0 -818
|
@@ -60,6 +60,24 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
60
60
|
}];
|
|
61
61
|
readonly outputs: readonly [];
|
|
62
62
|
readonly stateMutability: "nonpayable";
|
|
63
|
+
}, {
|
|
64
|
+
readonly type: "function";
|
|
65
|
+
readonly name: "adoptGlobalRules";
|
|
66
|
+
readonly inputs: readonly [{
|
|
67
|
+
readonly name: "orgId";
|
|
68
|
+
readonly type: "bytes32";
|
|
69
|
+
readonly internalType: "bytes32";
|
|
70
|
+
}, {
|
|
71
|
+
readonly name: "targets";
|
|
72
|
+
readonly type: "address[]";
|
|
73
|
+
readonly internalType: "address[]";
|
|
74
|
+
}, {
|
|
75
|
+
readonly name: "selectors";
|
|
76
|
+
readonly type: "bytes4[]";
|
|
77
|
+
readonly internalType: "bytes4[]";
|
|
78
|
+
}];
|
|
79
|
+
readonly outputs: readonly [];
|
|
80
|
+
readonly stateMutability: "nonpayable";
|
|
63
81
|
}, {
|
|
64
82
|
readonly type: "function";
|
|
65
83
|
readonly name: "clearRule";
|
|
@@ -174,6 +192,74 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
174
192
|
}];
|
|
175
193
|
}];
|
|
176
194
|
readonly stateMutability: "view";
|
|
195
|
+
}, {
|
|
196
|
+
readonly type: "function";
|
|
197
|
+
readonly name: "getGlobalRule";
|
|
198
|
+
readonly inputs: readonly [{
|
|
199
|
+
readonly name: "typeId";
|
|
200
|
+
readonly type: "bytes32";
|
|
201
|
+
readonly internalType: "bytes32";
|
|
202
|
+
}, {
|
|
203
|
+
readonly name: "selector";
|
|
204
|
+
readonly type: "bytes4";
|
|
205
|
+
readonly internalType: "bytes4";
|
|
206
|
+
}];
|
|
207
|
+
readonly outputs: readonly [{
|
|
208
|
+
readonly name: "";
|
|
209
|
+
readonly type: "tuple";
|
|
210
|
+
readonly internalType: "struct PaymasterHub.Rule";
|
|
211
|
+
readonly components: readonly [{
|
|
212
|
+
readonly name: "maxCallGasHint";
|
|
213
|
+
readonly type: "uint32";
|
|
214
|
+
readonly internalType: "uint32";
|
|
215
|
+
}, {
|
|
216
|
+
readonly name: "allowed";
|
|
217
|
+
readonly type: "bool";
|
|
218
|
+
readonly internalType: "bool";
|
|
219
|
+
}];
|
|
220
|
+
}];
|
|
221
|
+
readonly stateMutability: "view";
|
|
222
|
+
}, {
|
|
223
|
+
readonly type: "function";
|
|
224
|
+
readonly name: "getGlobalRuleAt";
|
|
225
|
+
readonly inputs: readonly [{
|
|
226
|
+
readonly name: "index";
|
|
227
|
+
readonly type: "uint256";
|
|
228
|
+
readonly internalType: "uint256";
|
|
229
|
+
}];
|
|
230
|
+
readonly outputs: readonly [{
|
|
231
|
+
readonly name: "typeId";
|
|
232
|
+
readonly type: "bytes32";
|
|
233
|
+
readonly internalType: "bytes32";
|
|
234
|
+
}, {
|
|
235
|
+
readonly name: "selector";
|
|
236
|
+
readonly type: "bytes4";
|
|
237
|
+
readonly internalType: "bytes4";
|
|
238
|
+
}, {
|
|
239
|
+
readonly name: "rule";
|
|
240
|
+
readonly type: "tuple";
|
|
241
|
+
readonly internalType: "struct PaymasterHub.Rule";
|
|
242
|
+
readonly components: readonly [{
|
|
243
|
+
readonly name: "maxCallGasHint";
|
|
244
|
+
readonly type: "uint32";
|
|
245
|
+
readonly internalType: "uint32";
|
|
246
|
+
}, {
|
|
247
|
+
readonly name: "allowed";
|
|
248
|
+
readonly type: "bool";
|
|
249
|
+
readonly internalType: "bool";
|
|
250
|
+
}];
|
|
251
|
+
}];
|
|
252
|
+
readonly stateMutability: "view";
|
|
253
|
+
}, {
|
|
254
|
+
readonly type: "function";
|
|
255
|
+
readonly name: "getGlobalRuleCount";
|
|
256
|
+
readonly inputs: readonly [];
|
|
257
|
+
readonly outputs: readonly [{
|
|
258
|
+
readonly name: "";
|
|
259
|
+
readonly type: "uint256";
|
|
260
|
+
readonly internalType: "uint256";
|
|
261
|
+
}];
|
|
262
|
+
readonly stateMutability: "view";
|
|
177
263
|
}, {
|
|
178
264
|
readonly type: "function";
|
|
179
265
|
readonly name: "getGracePeriodConfig";
|
|
@@ -386,6 +472,20 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
386
472
|
}];
|
|
387
473
|
}];
|
|
388
474
|
readonly stateMutability: "view";
|
|
475
|
+
}, {
|
|
476
|
+
readonly type: "function";
|
|
477
|
+
readonly name: "getRulesMode";
|
|
478
|
+
readonly inputs: readonly [{
|
|
479
|
+
readonly name: "orgId";
|
|
480
|
+
readonly type: "bytes32";
|
|
481
|
+
readonly internalType: "bytes32";
|
|
482
|
+
}];
|
|
483
|
+
readonly outputs: readonly [{
|
|
484
|
+
readonly name: "";
|
|
485
|
+
readonly type: "uint8";
|
|
486
|
+
readonly internalType: "uint8";
|
|
487
|
+
}];
|
|
488
|
+
readonly stateMutability: "view";
|
|
389
489
|
}, {
|
|
390
490
|
readonly type: "function";
|
|
391
491
|
readonly name: "getSolidarityFund";
|
|
@@ -413,6 +513,24 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
413
513
|
}];
|
|
414
514
|
}];
|
|
415
515
|
readonly stateMutability: "view";
|
|
516
|
+
}, {
|
|
517
|
+
readonly type: "function";
|
|
518
|
+
readonly name: "getTargetType";
|
|
519
|
+
readonly inputs: readonly [{
|
|
520
|
+
readonly name: "orgId";
|
|
521
|
+
readonly type: "bytes32";
|
|
522
|
+
readonly internalType: "bytes32";
|
|
523
|
+
}, {
|
|
524
|
+
readonly name: "target";
|
|
525
|
+
readonly type: "address";
|
|
526
|
+
readonly internalType: "address";
|
|
527
|
+
}];
|
|
528
|
+
readonly outputs: readonly [{
|
|
529
|
+
readonly name: "";
|
|
530
|
+
readonly type: "bytes32";
|
|
531
|
+
readonly internalType: "bytes32";
|
|
532
|
+
}];
|
|
533
|
+
readonly stateMutability: "view";
|
|
416
534
|
}, {
|
|
417
535
|
readonly type: "function";
|
|
418
536
|
readonly name: "initialize";
|
|
@@ -431,6 +549,28 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
431
549
|
}];
|
|
432
550
|
readonly outputs: readonly [];
|
|
433
551
|
readonly stateMutability: "nonpayable";
|
|
552
|
+
}, {
|
|
553
|
+
readonly type: "function";
|
|
554
|
+
readonly name: "isGlobalRuleBlocked";
|
|
555
|
+
readonly inputs: readonly [{
|
|
556
|
+
readonly name: "orgId";
|
|
557
|
+
readonly type: "bytes32";
|
|
558
|
+
readonly internalType: "bytes32";
|
|
559
|
+
}, {
|
|
560
|
+
readonly name: "target";
|
|
561
|
+
readonly type: "address";
|
|
562
|
+
readonly internalType: "address";
|
|
563
|
+
}, {
|
|
564
|
+
readonly name: "selector";
|
|
565
|
+
readonly type: "bytes4";
|
|
566
|
+
readonly internalType: "bytes4";
|
|
567
|
+
}];
|
|
568
|
+
readonly outputs: readonly [{
|
|
569
|
+
readonly name: "";
|
|
570
|
+
readonly type: "bool";
|
|
571
|
+
readonly internalType: "bool";
|
|
572
|
+
}];
|
|
573
|
+
readonly stateMutability: "view";
|
|
434
574
|
}, {
|
|
435
575
|
readonly type: "function";
|
|
436
576
|
readonly name: "pauseSolidarityDistribution";
|
|
@@ -483,7 +623,90 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
483
623
|
}, {
|
|
484
624
|
readonly name: "config";
|
|
485
625
|
readonly type: "tuple";
|
|
486
|
-
readonly internalType: "struct
|
|
626
|
+
readonly internalType: "struct PaymasterRuleLib.DeployConfig";
|
|
627
|
+
readonly components: readonly [{
|
|
628
|
+
readonly name: "operatorHatId";
|
|
629
|
+
readonly type: "uint256";
|
|
630
|
+
readonly internalType: "uint256";
|
|
631
|
+
}, {
|
|
632
|
+
readonly name: "maxFeePerGas";
|
|
633
|
+
readonly type: "uint256";
|
|
634
|
+
readonly internalType: "uint256";
|
|
635
|
+
}, {
|
|
636
|
+
readonly name: "maxPriorityFeePerGas";
|
|
637
|
+
readonly type: "uint256";
|
|
638
|
+
readonly internalType: "uint256";
|
|
639
|
+
}, {
|
|
640
|
+
readonly name: "maxCallGas";
|
|
641
|
+
readonly type: "uint32";
|
|
642
|
+
readonly internalType: "uint32";
|
|
643
|
+
}, {
|
|
644
|
+
readonly name: "maxVerificationGas";
|
|
645
|
+
readonly type: "uint32";
|
|
646
|
+
readonly internalType: "uint32";
|
|
647
|
+
}, {
|
|
648
|
+
readonly name: "maxPreVerificationGas";
|
|
649
|
+
readonly type: "uint32";
|
|
650
|
+
readonly internalType: "uint32";
|
|
651
|
+
}, {
|
|
652
|
+
readonly name: "ruleTargets";
|
|
653
|
+
readonly type: "address[]";
|
|
654
|
+
readonly internalType: "address[]";
|
|
655
|
+
}, {
|
|
656
|
+
readonly name: "ruleSelectors";
|
|
657
|
+
readonly type: "bytes4[]";
|
|
658
|
+
readonly internalType: "bytes4[]";
|
|
659
|
+
}, {
|
|
660
|
+
readonly name: "ruleAllowed";
|
|
661
|
+
readonly type: "bool[]";
|
|
662
|
+
readonly internalType: "bool[]";
|
|
663
|
+
}, {
|
|
664
|
+
readonly name: "ruleMaxCallGasHints";
|
|
665
|
+
readonly type: "uint32[]";
|
|
666
|
+
readonly internalType: "uint32[]";
|
|
667
|
+
}, {
|
|
668
|
+
readonly name: "budgetSubjectKeys";
|
|
669
|
+
readonly type: "bytes32[]";
|
|
670
|
+
readonly internalType: "bytes32[]";
|
|
671
|
+
}, {
|
|
672
|
+
readonly name: "budgetCapsPerEpoch";
|
|
673
|
+
readonly type: "uint128[]";
|
|
674
|
+
readonly internalType: "uint128[]";
|
|
675
|
+
}, {
|
|
676
|
+
readonly name: "budgetEpochLens";
|
|
677
|
+
readonly type: "uint32[]";
|
|
678
|
+
readonly internalType: "uint32[]";
|
|
679
|
+
}, {
|
|
680
|
+
readonly name: "typeTargets";
|
|
681
|
+
readonly type: "address[]";
|
|
682
|
+
readonly internalType: "address[]";
|
|
683
|
+
}, {
|
|
684
|
+
readonly name: "typeIds";
|
|
685
|
+
readonly type: "bytes32[]";
|
|
686
|
+
readonly internalType: "bytes32[]";
|
|
687
|
+
}, {
|
|
688
|
+
readonly name: "rulesMode";
|
|
689
|
+
readonly type: "uint8";
|
|
690
|
+
readonly internalType: "uint8";
|
|
691
|
+
}];
|
|
692
|
+
}];
|
|
693
|
+
readonly outputs: readonly [];
|
|
694
|
+
readonly stateMutability: "payable";
|
|
695
|
+
}, {
|
|
696
|
+
readonly type: "function";
|
|
697
|
+
readonly name: "registerAndConfigureOrg";
|
|
698
|
+
readonly inputs: readonly [{
|
|
699
|
+
readonly name: "orgId";
|
|
700
|
+
readonly type: "bytes32";
|
|
701
|
+
readonly internalType: "bytes32";
|
|
702
|
+
}, {
|
|
703
|
+
readonly name: "adminHatId";
|
|
704
|
+
readonly type: "uint256";
|
|
705
|
+
readonly internalType: "uint256";
|
|
706
|
+
}, {
|
|
707
|
+
readonly name: "config";
|
|
708
|
+
readonly type: "tuple";
|
|
709
|
+
readonly internalType: "struct PaymasterRuleLib.LegacyDeployConfig";
|
|
487
710
|
readonly components: readonly [{
|
|
488
711
|
readonly name: "operatorHatId";
|
|
489
712
|
readonly type: "uint256";
|
|
@@ -642,6 +865,50 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
642
865
|
}];
|
|
643
866
|
readonly outputs: readonly [];
|
|
644
867
|
readonly stateMutability: "nonpayable";
|
|
868
|
+
}, {
|
|
869
|
+
readonly type: "function";
|
|
870
|
+
readonly name: "setGlobalRuleBlock";
|
|
871
|
+
readonly inputs: readonly [{
|
|
872
|
+
readonly name: "orgId";
|
|
873
|
+
readonly type: "bytes32";
|
|
874
|
+
readonly internalType: "bytes32";
|
|
875
|
+
}, {
|
|
876
|
+
readonly name: "target";
|
|
877
|
+
readonly type: "address";
|
|
878
|
+
readonly internalType: "address";
|
|
879
|
+
}, {
|
|
880
|
+
readonly name: "selector";
|
|
881
|
+
readonly type: "bytes4";
|
|
882
|
+
readonly internalType: "bytes4";
|
|
883
|
+
}, {
|
|
884
|
+
readonly name: "blocked";
|
|
885
|
+
readonly type: "bool";
|
|
886
|
+
readonly internalType: "bool";
|
|
887
|
+
}];
|
|
888
|
+
readonly outputs: readonly [];
|
|
889
|
+
readonly stateMutability: "nonpayable";
|
|
890
|
+
}, {
|
|
891
|
+
readonly type: "function";
|
|
892
|
+
readonly name: "setGlobalRulesBatch";
|
|
893
|
+
readonly inputs: readonly [{
|
|
894
|
+
readonly name: "typeIds";
|
|
895
|
+
readonly type: "bytes32[]";
|
|
896
|
+
readonly internalType: "bytes32[]";
|
|
897
|
+
}, {
|
|
898
|
+
readonly name: "selectors";
|
|
899
|
+
readonly type: "bytes4[]";
|
|
900
|
+
readonly internalType: "bytes4[]";
|
|
901
|
+
}, {
|
|
902
|
+
readonly name: "allowed";
|
|
903
|
+
readonly type: "bool[]";
|
|
904
|
+
readonly internalType: "bool[]";
|
|
905
|
+
}, {
|
|
906
|
+
readonly name: "maxCallGasHints";
|
|
907
|
+
readonly type: "uint32[]";
|
|
908
|
+
readonly internalType: "uint32[]";
|
|
909
|
+
}];
|
|
910
|
+
readonly outputs: readonly [];
|
|
911
|
+
readonly stateMutability: "nonpayable";
|
|
645
912
|
}, {
|
|
646
913
|
readonly type: "function";
|
|
647
914
|
readonly name: "setGracePeriodConfig";
|
|
@@ -660,6 +927,16 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
660
927
|
}];
|
|
661
928
|
readonly outputs: readonly [];
|
|
662
929
|
readonly stateMutability: "nonpayable";
|
|
930
|
+
}, {
|
|
931
|
+
readonly type: "function";
|
|
932
|
+
readonly name: "setHats";
|
|
933
|
+
readonly inputs: readonly [{
|
|
934
|
+
readonly name: "newHats";
|
|
935
|
+
readonly type: "address";
|
|
936
|
+
readonly internalType: "address";
|
|
937
|
+
}];
|
|
938
|
+
readonly outputs: readonly [];
|
|
939
|
+
readonly stateMutability: "nonpayable";
|
|
663
940
|
}, {
|
|
664
941
|
readonly type: "function";
|
|
665
942
|
readonly name: "setOnboardingConfig";
|
|
@@ -812,6 +1089,20 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
812
1089
|
}];
|
|
813
1090
|
readonly outputs: readonly [];
|
|
814
1091
|
readonly stateMutability: "nonpayable";
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly type: "function";
|
|
1094
|
+
readonly name: "setRulesMode";
|
|
1095
|
+
readonly inputs: readonly [{
|
|
1096
|
+
readonly name: "orgId";
|
|
1097
|
+
readonly type: "bytes32";
|
|
1098
|
+
readonly internalType: "bytes32";
|
|
1099
|
+
}, {
|
|
1100
|
+
readonly name: "mode";
|
|
1101
|
+
readonly type: "uint8";
|
|
1102
|
+
readonly internalType: "uint8";
|
|
1103
|
+
}];
|
|
1104
|
+
readonly outputs: readonly [];
|
|
1105
|
+
readonly stateMutability: "nonpayable";
|
|
815
1106
|
}, {
|
|
816
1107
|
readonly type: "function";
|
|
817
1108
|
readonly name: "setSolidarityFee";
|
|
@@ -822,6 +1113,38 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
822
1113
|
}];
|
|
823
1114
|
readonly outputs: readonly [];
|
|
824
1115
|
readonly stateMutability: "nonpayable";
|
|
1116
|
+
}, {
|
|
1117
|
+
readonly type: "function";
|
|
1118
|
+
readonly name: "setTargetTypesBatch";
|
|
1119
|
+
readonly inputs: readonly [{
|
|
1120
|
+
readonly name: "orgId";
|
|
1121
|
+
readonly type: "bytes32";
|
|
1122
|
+
readonly internalType: "bytes32";
|
|
1123
|
+
}, {
|
|
1124
|
+
readonly name: "targets";
|
|
1125
|
+
readonly type: "address[]";
|
|
1126
|
+
readonly internalType: "address[]";
|
|
1127
|
+
}, {
|
|
1128
|
+
readonly name: "typeIds";
|
|
1129
|
+
readonly type: "bytes32[]";
|
|
1130
|
+
readonly internalType: "bytes32[]";
|
|
1131
|
+
}];
|
|
1132
|
+
readonly outputs: readonly [];
|
|
1133
|
+
readonly stateMutability: "nonpayable";
|
|
1134
|
+
}, {
|
|
1135
|
+
readonly type: "function";
|
|
1136
|
+
readonly name: "snapshotGlobalRules";
|
|
1137
|
+
readonly inputs: readonly [{
|
|
1138
|
+
readonly name: "orgId";
|
|
1139
|
+
readonly type: "bytes32";
|
|
1140
|
+
readonly internalType: "bytes32";
|
|
1141
|
+
}, {
|
|
1142
|
+
readonly name: "targets";
|
|
1143
|
+
readonly type: "address[]";
|
|
1144
|
+
readonly internalType: "address[]";
|
|
1145
|
+
}];
|
|
1146
|
+
readonly outputs: readonly [];
|
|
1147
|
+
readonly stateMutability: "nonpayable";
|
|
825
1148
|
}, {
|
|
826
1149
|
readonly type: "function";
|
|
827
1150
|
readonly name: "supportsInterface";
|
|
@@ -1036,6 +1359,16 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
1036
1359
|
readonly internalType: "uint128";
|
|
1037
1360
|
}];
|
|
1038
1361
|
readonly anonymous: false;
|
|
1362
|
+
}, {
|
|
1363
|
+
readonly type: "event";
|
|
1364
|
+
readonly name: "HatsSet";
|
|
1365
|
+
readonly inputs: readonly [{
|
|
1366
|
+
readonly name: "hats";
|
|
1367
|
+
readonly type: "address";
|
|
1368
|
+
readonly indexed: true;
|
|
1369
|
+
readonly internalType: "address";
|
|
1370
|
+
}];
|
|
1371
|
+
readonly anonymous: false;
|
|
1039
1372
|
}, {
|
|
1040
1373
|
readonly type: "event";
|
|
1041
1374
|
readonly name: "Initialized";
|
|
@@ -1211,36 +1544,6 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
1211
1544
|
readonly internalType: "address";
|
|
1212
1545
|
}];
|
|
1213
1546
|
readonly anonymous: false;
|
|
1214
|
-
}, {
|
|
1215
|
-
readonly type: "event";
|
|
1216
|
-
readonly name: "RuleSet";
|
|
1217
|
-
readonly inputs: readonly [{
|
|
1218
|
-
readonly name: "orgId";
|
|
1219
|
-
readonly type: "bytes32";
|
|
1220
|
-
readonly indexed: true;
|
|
1221
|
-
readonly internalType: "bytes32";
|
|
1222
|
-
}, {
|
|
1223
|
-
readonly name: "target";
|
|
1224
|
-
readonly type: "address";
|
|
1225
|
-
readonly indexed: true;
|
|
1226
|
-
readonly internalType: "address";
|
|
1227
|
-
}, {
|
|
1228
|
-
readonly name: "selector";
|
|
1229
|
-
readonly type: "bytes4";
|
|
1230
|
-
readonly indexed: true;
|
|
1231
|
-
readonly internalType: "bytes4";
|
|
1232
|
-
}, {
|
|
1233
|
-
readonly name: "allowed";
|
|
1234
|
-
readonly type: "bool";
|
|
1235
|
-
readonly indexed: false;
|
|
1236
|
-
readonly internalType: "bool";
|
|
1237
|
-
}, {
|
|
1238
|
-
readonly name: "maxCallGasHint";
|
|
1239
|
-
readonly type: "uint32";
|
|
1240
|
-
readonly indexed: false;
|
|
1241
|
-
readonly internalType: "uint32";
|
|
1242
|
-
}];
|
|
1243
|
-
readonly anonymous: false;
|
|
1244
1547
|
}, {
|
|
1245
1548
|
readonly type: "event";
|
|
1246
1549
|
readonly name: "SolidarityDistributionPaused";
|
|
@@ -1356,10 +1659,6 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
1356
1659
|
readonly type: "error";
|
|
1357
1660
|
readonly name: "InvalidPaymasterData";
|
|
1358
1661
|
readonly inputs: readonly [];
|
|
1359
|
-
}, {
|
|
1360
|
-
readonly type: "error";
|
|
1361
|
-
readonly name: "InvalidRuleId";
|
|
1362
|
-
readonly inputs: readonly [];
|
|
1363
1662
|
}, {
|
|
1364
1663
|
readonly type: "error";
|
|
1365
1664
|
readonly name: "InvalidSubjectType";
|
|
@@ -1404,18 +1703,6 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
1404
1703
|
readonly type: "error";
|
|
1405
1704
|
readonly name: "ReentrancyGuardReentrantCall";
|
|
1406
1705
|
readonly inputs: readonly [];
|
|
1407
|
-
}, {
|
|
1408
|
-
readonly type: "error";
|
|
1409
|
-
readonly name: "RuleDenied";
|
|
1410
|
-
readonly inputs: readonly [{
|
|
1411
|
-
readonly name: "target";
|
|
1412
|
-
readonly type: "address";
|
|
1413
|
-
readonly internalType: "address";
|
|
1414
|
-
}, {
|
|
1415
|
-
readonly name: "selector";
|
|
1416
|
-
readonly type: "bytes4";
|
|
1417
|
-
readonly internalType: "bytes4";
|
|
1418
|
-
}];
|
|
1419
1706
|
}, {
|
|
1420
1707
|
readonly type: "error";
|
|
1421
1708
|
readonly name: "UUPSUnauthorizedCallContext";
|
|
@@ -1451,6 +1738,56 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
1451
1738
|
readonly internalType: "uint256";
|
|
1452
1739
|
}];
|
|
1453
1740
|
readonly anonymous: false;
|
|
1741
|
+
}, {
|
|
1742
|
+
readonly type: "event";
|
|
1743
|
+
readonly name: "GlobalRuleBlockSet";
|
|
1744
|
+
readonly inputs: readonly [{
|
|
1745
|
+
readonly name: "orgId";
|
|
1746
|
+
readonly type: "bytes32";
|
|
1747
|
+
readonly indexed: true;
|
|
1748
|
+
readonly internalType: "bytes32";
|
|
1749
|
+
}, {
|
|
1750
|
+
readonly name: "target";
|
|
1751
|
+
readonly type: "address";
|
|
1752
|
+
readonly indexed: true;
|
|
1753
|
+
readonly internalType: "address";
|
|
1754
|
+
}, {
|
|
1755
|
+
readonly name: "selector";
|
|
1756
|
+
readonly type: "bytes4";
|
|
1757
|
+
readonly indexed: true;
|
|
1758
|
+
readonly internalType: "bytes4";
|
|
1759
|
+
}, {
|
|
1760
|
+
readonly name: "blocked";
|
|
1761
|
+
readonly type: "bool";
|
|
1762
|
+
readonly indexed: false;
|
|
1763
|
+
readonly internalType: "bool";
|
|
1764
|
+
}];
|
|
1765
|
+
readonly anonymous: false;
|
|
1766
|
+
}, {
|
|
1767
|
+
readonly type: "event";
|
|
1768
|
+
readonly name: "GlobalRuleSet";
|
|
1769
|
+
readonly inputs: readonly [{
|
|
1770
|
+
readonly name: "typeId";
|
|
1771
|
+
readonly type: "bytes32";
|
|
1772
|
+
readonly indexed: true;
|
|
1773
|
+
readonly internalType: "bytes32";
|
|
1774
|
+
}, {
|
|
1775
|
+
readonly name: "selector";
|
|
1776
|
+
readonly type: "bytes4";
|
|
1777
|
+
readonly indexed: true;
|
|
1778
|
+
readonly internalType: "bytes4";
|
|
1779
|
+
}, {
|
|
1780
|
+
readonly name: "allowed";
|
|
1781
|
+
readonly type: "bool";
|
|
1782
|
+
readonly indexed: false;
|
|
1783
|
+
readonly internalType: "bool";
|
|
1784
|
+
}, {
|
|
1785
|
+
readonly name: "maxCallGasHint";
|
|
1786
|
+
readonly type: "uint32";
|
|
1787
|
+
readonly indexed: false;
|
|
1788
|
+
readonly internalType: "uint32";
|
|
1789
|
+
}];
|
|
1790
|
+
readonly anonymous: false;
|
|
1454
1791
|
}, {
|
|
1455
1792
|
readonly type: "event";
|
|
1456
1793
|
readonly name: "OnboardingAccountCreated";
|
|
@@ -1506,6 +1843,51 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
1506
1843
|
readonly internalType: "uint256";
|
|
1507
1844
|
}];
|
|
1508
1845
|
readonly anonymous: false;
|
|
1846
|
+
}, {
|
|
1847
|
+
readonly type: "event";
|
|
1848
|
+
readonly name: "RuleSet";
|
|
1849
|
+
readonly inputs: readonly [{
|
|
1850
|
+
readonly name: "orgId";
|
|
1851
|
+
readonly type: "bytes32";
|
|
1852
|
+
readonly indexed: true;
|
|
1853
|
+
readonly internalType: "bytes32";
|
|
1854
|
+
}, {
|
|
1855
|
+
readonly name: "target";
|
|
1856
|
+
readonly type: "address";
|
|
1857
|
+
readonly indexed: true;
|
|
1858
|
+
readonly internalType: "address";
|
|
1859
|
+
}, {
|
|
1860
|
+
readonly name: "selector";
|
|
1861
|
+
readonly type: "bytes4";
|
|
1862
|
+
readonly indexed: true;
|
|
1863
|
+
readonly internalType: "bytes4";
|
|
1864
|
+
}, {
|
|
1865
|
+
readonly name: "allowed";
|
|
1866
|
+
readonly type: "bool";
|
|
1867
|
+
readonly indexed: false;
|
|
1868
|
+
readonly internalType: "bool";
|
|
1869
|
+
}, {
|
|
1870
|
+
readonly name: "maxCallGasHint";
|
|
1871
|
+
readonly type: "uint32";
|
|
1872
|
+
readonly indexed: false;
|
|
1873
|
+
readonly internalType: "uint32";
|
|
1874
|
+
}];
|
|
1875
|
+
readonly anonymous: false;
|
|
1876
|
+
}, {
|
|
1877
|
+
readonly type: "event";
|
|
1878
|
+
readonly name: "RulesModeSet";
|
|
1879
|
+
readonly inputs: readonly [{
|
|
1880
|
+
readonly name: "orgId";
|
|
1881
|
+
readonly type: "bytes32";
|
|
1882
|
+
readonly indexed: true;
|
|
1883
|
+
readonly internalType: "bytes32";
|
|
1884
|
+
}, {
|
|
1885
|
+
readonly name: "mode";
|
|
1886
|
+
readonly type: "uint8";
|
|
1887
|
+
readonly indexed: false;
|
|
1888
|
+
readonly internalType: "uint8";
|
|
1889
|
+
}];
|
|
1890
|
+
readonly anonymous: false;
|
|
1509
1891
|
}, {
|
|
1510
1892
|
readonly type: "event";
|
|
1511
1893
|
readonly name: "SolidarityFeeCollected";
|
|
@@ -1521,6 +1903,26 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
1521
1903
|
readonly internalType: "uint256";
|
|
1522
1904
|
}];
|
|
1523
1905
|
readonly anonymous: false;
|
|
1906
|
+
}, {
|
|
1907
|
+
readonly type: "event";
|
|
1908
|
+
readonly name: "TargetTypeSet";
|
|
1909
|
+
readonly inputs: readonly [{
|
|
1910
|
+
readonly name: "orgId";
|
|
1911
|
+
readonly type: "bytes32";
|
|
1912
|
+
readonly indexed: true;
|
|
1913
|
+
readonly internalType: "bytes32";
|
|
1914
|
+
}, {
|
|
1915
|
+
readonly name: "target";
|
|
1916
|
+
readonly type: "address";
|
|
1917
|
+
readonly indexed: true;
|
|
1918
|
+
readonly internalType: "address";
|
|
1919
|
+
}, {
|
|
1920
|
+
readonly name: "typeId";
|
|
1921
|
+
readonly type: "bytes32";
|
|
1922
|
+
readonly indexed: true;
|
|
1923
|
+
readonly internalType: "bytes32";
|
|
1924
|
+
}];
|
|
1925
|
+
readonly anonymous: false;
|
|
1524
1926
|
}, {
|
|
1525
1927
|
readonly type: "event";
|
|
1526
1928
|
readonly name: "UsageIncreased";
|
|
@@ -1551,6 +1953,10 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
1551
1953
|
readonly internalType: "uint32";
|
|
1552
1954
|
}];
|
|
1553
1955
|
readonly anonymous: false;
|
|
1956
|
+
}, {
|
|
1957
|
+
readonly type: "error";
|
|
1958
|
+
readonly name: "GlobalRuleUnknown";
|
|
1959
|
+
readonly inputs: readonly [];
|
|
1554
1960
|
}, {
|
|
1555
1961
|
readonly type: "error";
|
|
1556
1962
|
readonly name: "GracePeriodSpendLimitReached";
|
|
@@ -1563,6 +1969,18 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
1563
1969
|
readonly type: "error";
|
|
1564
1970
|
readonly name: "InsufficientFunds";
|
|
1565
1971
|
readonly inputs: readonly [];
|
|
1972
|
+
}, {
|
|
1973
|
+
readonly type: "error";
|
|
1974
|
+
readonly name: "InvalidRuleId";
|
|
1975
|
+
readonly inputs: readonly [];
|
|
1976
|
+
}, {
|
|
1977
|
+
readonly type: "error";
|
|
1978
|
+
readonly name: "InvalidRulesMode";
|
|
1979
|
+
readonly inputs: readonly [];
|
|
1980
|
+
}, {
|
|
1981
|
+
readonly type: "error";
|
|
1982
|
+
readonly name: "InvalidTypeId";
|
|
1983
|
+
readonly inputs: readonly [];
|
|
1566
1984
|
}, {
|
|
1567
1985
|
readonly type: "error";
|
|
1568
1986
|
readonly name: "OnboardingDailyLimitExceeded";
|
|
@@ -1591,6 +2009,18 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
1591
2009
|
readonly type: "error";
|
|
1592
2010
|
readonly name: "OrgIsBanned";
|
|
1593
2011
|
readonly inputs: readonly [];
|
|
2012
|
+
}, {
|
|
2013
|
+
readonly type: "error";
|
|
2014
|
+
readonly name: "RuleDenied";
|
|
2015
|
+
readonly inputs: readonly [{
|
|
2016
|
+
readonly name: "target";
|
|
2017
|
+
readonly type: "address";
|
|
2018
|
+
readonly internalType: "address";
|
|
2019
|
+
}, {
|
|
2020
|
+
readonly name: "selector";
|
|
2021
|
+
readonly type: "bytes4";
|
|
2022
|
+
readonly internalType: "bytes4";
|
|
2023
|
+
}];
|
|
1594
2024
|
}, {
|
|
1595
2025
|
readonly type: "error";
|
|
1596
2026
|
readonly name: "SolidarityDistributionIsPaused";
|
|
@@ -1599,5 +2029,55 @@ export declare const PaymasterHubAbi: readonly [{
|
|
|
1599
2029
|
readonly type: "error";
|
|
1600
2030
|
readonly name: "SolidarityLimitExceeded";
|
|
1601
2031
|
readonly inputs: readonly [];
|
|
2032
|
+
}, {
|
|
2033
|
+
readonly type: "event";
|
|
2034
|
+
readonly name: "OrgDepositWithdrawn";
|
|
2035
|
+
readonly inputs: readonly [{
|
|
2036
|
+
readonly name: "orgId";
|
|
2037
|
+
readonly type: "bytes32";
|
|
2038
|
+
readonly indexed: true;
|
|
2039
|
+
readonly internalType: "bytes32";
|
|
2040
|
+
}, {
|
|
2041
|
+
readonly name: "to";
|
|
2042
|
+
readonly type: "address";
|
|
2043
|
+
readonly indexed: true;
|
|
2044
|
+
readonly internalType: "address";
|
|
2045
|
+
}, {
|
|
2046
|
+
readonly name: "amount";
|
|
2047
|
+
readonly type: "uint256";
|
|
2048
|
+
readonly indexed: false;
|
|
2049
|
+
readonly internalType: "uint256";
|
|
2050
|
+
}];
|
|
2051
|
+
readonly anonymous: false;
|
|
2052
|
+
}, {
|
|
2053
|
+
readonly type: "event";
|
|
2054
|
+
readonly name: "ProtocolAdminSet";
|
|
2055
|
+
readonly inputs: readonly [{
|
|
2056
|
+
readonly name: "previousAdmin";
|
|
2057
|
+
readonly type: "address";
|
|
2058
|
+
readonly indexed: true;
|
|
2059
|
+
readonly internalType: "address";
|
|
2060
|
+
}, {
|
|
2061
|
+
readonly name: "newAdmin";
|
|
2062
|
+
readonly type: "address";
|
|
2063
|
+
readonly indexed: true;
|
|
2064
|
+
readonly internalType: "address";
|
|
2065
|
+
}];
|
|
2066
|
+
readonly anonymous: false;
|
|
2067
|
+
}, {
|
|
2068
|
+
readonly type: "event";
|
|
2069
|
+
readonly name: "SolidarityWithdrawn";
|
|
2070
|
+
readonly inputs: readonly [{
|
|
2071
|
+
readonly name: "to";
|
|
2072
|
+
readonly type: "address";
|
|
2073
|
+
readonly indexed: true;
|
|
2074
|
+
readonly internalType: "address";
|
|
2075
|
+
}, {
|
|
2076
|
+
readonly name: "amount";
|
|
2077
|
+
readonly type: "uint256";
|
|
2078
|
+
readonly indexed: false;
|
|
2079
|
+
readonly internalType: "uint256";
|
|
2080
|
+
}];
|
|
2081
|
+
readonly anonymous: false;
|
|
1602
2082
|
}];
|
|
1603
2083
|
export default PaymasterHubAbi;
|