@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
|
@@ -80,6 +80,16 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
80
80
|
readonly internalType: "bool";
|
|
81
81
|
}];
|
|
82
82
|
readonly stateMutability: "nonpayable";
|
|
83
|
+
}, {
|
|
84
|
+
readonly type: "function";
|
|
85
|
+
readonly name: "configAdmin";
|
|
86
|
+
readonly inputs: readonly [];
|
|
87
|
+
readonly outputs: readonly [{
|
|
88
|
+
readonly name: "";
|
|
89
|
+
readonly type: "address";
|
|
90
|
+
readonly internalType: "address";
|
|
91
|
+
}];
|
|
92
|
+
readonly stateMutability: "view";
|
|
83
93
|
}, {
|
|
84
94
|
readonly type: "function";
|
|
85
95
|
readonly name: "createProposal";
|
|
@@ -123,6 +133,53 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
123
133
|
}];
|
|
124
134
|
readonly outputs: readonly [];
|
|
125
135
|
readonly stateMutability: "nonpayable";
|
|
136
|
+
}, {
|
|
137
|
+
readonly type: "function";
|
|
138
|
+
readonly name: "createProposalV2";
|
|
139
|
+
readonly inputs: readonly [{
|
|
140
|
+
readonly name: "title";
|
|
141
|
+
readonly type: "bytes";
|
|
142
|
+
readonly internalType: "bytes";
|
|
143
|
+
}, {
|
|
144
|
+
readonly name: "descriptionHash";
|
|
145
|
+
readonly type: "bytes32";
|
|
146
|
+
readonly internalType: "bytes32";
|
|
147
|
+
}, {
|
|
148
|
+
readonly name: "minutesDuration";
|
|
149
|
+
readonly type: "uint32";
|
|
150
|
+
readonly internalType: "uint32";
|
|
151
|
+
}, {
|
|
152
|
+
readonly name: "numOptions";
|
|
153
|
+
readonly type: "uint8";
|
|
154
|
+
readonly internalType: "uint8";
|
|
155
|
+
}, {
|
|
156
|
+
readonly name: "batches";
|
|
157
|
+
readonly type: "tuple[][]";
|
|
158
|
+
readonly internalType: "struct IExecutor.Call[][]";
|
|
159
|
+
readonly components: readonly [{
|
|
160
|
+
readonly name: "target";
|
|
161
|
+
readonly type: "address";
|
|
162
|
+
readonly internalType: "address";
|
|
163
|
+
}, {
|
|
164
|
+
readonly name: "value";
|
|
165
|
+
readonly type: "uint256";
|
|
166
|
+
readonly internalType: "uint256";
|
|
167
|
+
}, {
|
|
168
|
+
readonly name: "data";
|
|
169
|
+
readonly type: "bytes";
|
|
170
|
+
readonly internalType: "bytes";
|
|
171
|
+
}];
|
|
172
|
+
}, {
|
|
173
|
+
readonly name: "hatIds";
|
|
174
|
+
readonly type: "uint256[]";
|
|
175
|
+
readonly internalType: "uint256[]";
|
|
176
|
+
}, {
|
|
177
|
+
readonly name: "quorumOverride";
|
|
178
|
+
readonly type: "uint32";
|
|
179
|
+
readonly internalType: "uint32";
|
|
180
|
+
}];
|
|
181
|
+
readonly outputs: readonly [];
|
|
182
|
+
readonly stateMutability: "nonpayable";
|
|
126
183
|
}, {
|
|
127
184
|
readonly type: "function";
|
|
128
185
|
readonly name: "creatorHatCount";
|
|
@@ -167,21 +224,9 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
167
224
|
readonly type: "function";
|
|
168
225
|
readonly name: "initialize";
|
|
169
226
|
readonly inputs: readonly [{
|
|
170
|
-
readonly name: "hats_";
|
|
171
|
-
readonly type: "address";
|
|
172
|
-
readonly internalType: "address";
|
|
173
|
-
}, {
|
|
174
227
|
readonly name: "executor_";
|
|
175
228
|
readonly type: "address";
|
|
176
229
|
readonly internalType: "address";
|
|
177
|
-
}, {
|
|
178
|
-
readonly name: "initialHats";
|
|
179
|
-
readonly type: "uint256[]";
|
|
180
|
-
readonly internalType: "uint256[]";
|
|
181
|
-
}, {
|
|
182
|
-
readonly name: "initialCreatorHats";
|
|
183
|
-
readonly type: "uint256[]";
|
|
184
|
-
readonly internalType: "uint256[]";
|
|
185
230
|
}, {
|
|
186
231
|
readonly name: "initialTargets";
|
|
187
232
|
readonly type: "address[]";
|
|
@@ -190,6 +235,10 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
190
235
|
readonly name: "thresholdPct_";
|
|
191
236
|
readonly type: "uint8";
|
|
192
237
|
readonly internalType: "uint8";
|
|
238
|
+
}, {
|
|
239
|
+
readonly name: "quorum_";
|
|
240
|
+
readonly type: "uint32";
|
|
241
|
+
readonly internalType: "uint32";
|
|
193
242
|
}];
|
|
194
243
|
readonly outputs: readonly [];
|
|
195
244
|
readonly stateMutability: "nonpayable";
|
|
@@ -207,6 +256,16 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
207
256
|
readonly internalType: "bool";
|
|
208
257
|
}];
|
|
209
258
|
readonly stateMutability: "view";
|
|
259
|
+
}, {
|
|
260
|
+
readonly type: "function";
|
|
261
|
+
readonly name: "membershipAuthority";
|
|
262
|
+
readonly inputs: readonly [];
|
|
263
|
+
readonly outputs: readonly [{
|
|
264
|
+
readonly name: "";
|
|
265
|
+
readonly type: "address";
|
|
266
|
+
readonly internalType: "address";
|
|
267
|
+
}];
|
|
268
|
+
readonly stateMutability: "view";
|
|
210
269
|
}, {
|
|
211
270
|
readonly type: "function";
|
|
212
271
|
readonly name: "pause";
|
|
@@ -255,6 +314,20 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
255
314
|
readonly internalType: "bool";
|
|
256
315
|
}];
|
|
257
316
|
readonly stateMutability: "view";
|
|
317
|
+
}, {
|
|
318
|
+
readonly type: "function";
|
|
319
|
+
readonly name: "proposalCreatedAt";
|
|
320
|
+
readonly inputs: readonly [{
|
|
321
|
+
readonly name: "id";
|
|
322
|
+
readonly type: "uint256";
|
|
323
|
+
readonly internalType: "uint256";
|
|
324
|
+
}];
|
|
325
|
+
readonly outputs: readonly [{
|
|
326
|
+
readonly name: "";
|
|
327
|
+
readonly type: "uint64";
|
|
328
|
+
readonly internalType: "uint64";
|
|
329
|
+
}];
|
|
330
|
+
readonly stateMutability: "view";
|
|
258
331
|
}, {
|
|
259
332
|
readonly type: "function";
|
|
260
333
|
readonly name: "proposalEndTimestamp";
|
|
@@ -269,6 +342,20 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
269
342
|
readonly internalType: "uint64";
|
|
270
343
|
}];
|
|
271
344
|
readonly stateMutability: "view";
|
|
345
|
+
}, {
|
|
346
|
+
readonly type: "function";
|
|
347
|
+
readonly name: "proposalQuorumOverride";
|
|
348
|
+
readonly inputs: readonly [{
|
|
349
|
+
readonly name: "id";
|
|
350
|
+
readonly type: "uint256";
|
|
351
|
+
readonly internalType: "uint256";
|
|
352
|
+
}];
|
|
353
|
+
readonly outputs: readonly [{
|
|
354
|
+
readonly name: "";
|
|
355
|
+
readonly type: "uint32";
|
|
356
|
+
readonly internalType: "uint32";
|
|
357
|
+
}];
|
|
358
|
+
readonly stateMutability: "view";
|
|
272
359
|
}, {
|
|
273
360
|
readonly type: "function";
|
|
274
361
|
readonly name: "proposalsCount";
|
|
@@ -303,6 +390,16 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
303
390
|
}];
|
|
304
391
|
readonly outputs: readonly [];
|
|
305
392
|
readonly stateMutability: "nonpayable";
|
|
393
|
+
}, {
|
|
394
|
+
readonly type: "function";
|
|
395
|
+
readonly name: "setMembershipAuthority";
|
|
396
|
+
readonly inputs: readonly [{
|
|
397
|
+
readonly name: "authority";
|
|
398
|
+
readonly type: "address";
|
|
399
|
+
readonly internalType: "address";
|
|
400
|
+
}];
|
|
401
|
+
readonly outputs: readonly [];
|
|
402
|
+
readonly stateMutability: "nonpayable";
|
|
306
403
|
}, {
|
|
307
404
|
readonly type: "function";
|
|
308
405
|
readonly name: "thresholdPct";
|
|
@@ -357,6 +454,16 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
357
454
|
readonly internalType: "uint256[]";
|
|
358
455
|
}];
|
|
359
456
|
readonly stateMutability: "view";
|
|
457
|
+
}, {
|
|
458
|
+
readonly type: "event";
|
|
459
|
+
readonly name: "ConfigAdminSet";
|
|
460
|
+
readonly inputs: readonly [{
|
|
461
|
+
readonly name: "admin";
|
|
462
|
+
readonly type: "address";
|
|
463
|
+
readonly indexed: true;
|
|
464
|
+
readonly internalType: "address";
|
|
465
|
+
}];
|
|
466
|
+
readonly anonymous: false;
|
|
360
467
|
}, {
|
|
361
468
|
readonly type: "event";
|
|
362
469
|
readonly name: "CreatorHatSet";
|
|
@@ -404,27 +511,22 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
404
511
|
readonly anonymous: false;
|
|
405
512
|
}, {
|
|
406
513
|
readonly type: "event";
|
|
407
|
-
readonly name: "
|
|
514
|
+
readonly name: "Initialized";
|
|
408
515
|
readonly inputs: readonly [{
|
|
409
|
-
readonly name: "
|
|
410
|
-
readonly type: "
|
|
411
|
-
readonly indexed: true;
|
|
412
|
-
readonly internalType: "uint256";
|
|
413
|
-
}, {
|
|
414
|
-
readonly name: "allowed";
|
|
415
|
-
readonly type: "bool";
|
|
516
|
+
readonly name: "version";
|
|
517
|
+
readonly type: "uint64";
|
|
416
518
|
readonly indexed: false;
|
|
417
|
-
readonly internalType: "
|
|
519
|
+
readonly internalType: "uint64";
|
|
418
520
|
}];
|
|
419
521
|
readonly anonymous: false;
|
|
420
522
|
}, {
|
|
421
523
|
readonly type: "event";
|
|
422
|
-
readonly name: "
|
|
524
|
+
readonly name: "MembershipAuthoritySet";
|
|
423
525
|
readonly inputs: readonly [{
|
|
424
|
-
readonly name: "
|
|
425
|
-
readonly type: "
|
|
426
|
-
readonly indexed:
|
|
427
|
-
readonly internalType: "
|
|
526
|
+
readonly name: "authority";
|
|
527
|
+
readonly type: "address";
|
|
528
|
+
readonly indexed: true;
|
|
529
|
+
readonly internalType: "address";
|
|
428
530
|
}];
|
|
429
531
|
readonly anonymous: false;
|
|
430
532
|
}, {
|
|
@@ -517,6 +619,26 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
517
619
|
readonly internalType: "uint256";
|
|
518
620
|
}];
|
|
519
621
|
readonly anonymous: false;
|
|
622
|
+
}, {
|
|
623
|
+
readonly type: "event";
|
|
624
|
+
readonly name: "ProposalConfigV2";
|
|
625
|
+
readonly inputs: readonly [{
|
|
626
|
+
readonly name: "id";
|
|
627
|
+
readonly type: "uint256";
|
|
628
|
+
readonly indexed: true;
|
|
629
|
+
readonly internalType: "uint256";
|
|
630
|
+
}, {
|
|
631
|
+
readonly name: "quorumOverride";
|
|
632
|
+
readonly type: "uint32";
|
|
633
|
+
readonly indexed: false;
|
|
634
|
+
readonly internalType: "uint32";
|
|
635
|
+
}, {
|
|
636
|
+
readonly name: "equalWeight";
|
|
637
|
+
readonly type: "bool";
|
|
638
|
+
readonly indexed: false;
|
|
639
|
+
readonly internalType: "bool";
|
|
640
|
+
}];
|
|
641
|
+
readonly anonymous: false;
|
|
520
642
|
}, {
|
|
521
643
|
readonly type: "event";
|
|
522
644
|
readonly name: "ProposalExecutionFailed";
|
|
@@ -637,6 +759,10 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
637
759
|
readonly type: "error";
|
|
638
760
|
readonly name: "EmptyTitle";
|
|
639
761
|
readonly inputs: readonly [];
|
|
762
|
+
}, {
|
|
763
|
+
readonly type: "error";
|
|
764
|
+
readonly name: "InvalidConfigKey";
|
|
765
|
+
readonly inputs: readonly [];
|
|
640
766
|
}, {
|
|
641
767
|
readonly type: "error";
|
|
642
768
|
readonly name: "InvalidIndex";
|
|
@@ -649,6 +775,10 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
649
775
|
readonly type: "error";
|
|
650
776
|
readonly name: "InvalidProposal";
|
|
651
777
|
readonly inputs: readonly [];
|
|
778
|
+
}, {
|
|
779
|
+
readonly type: "error";
|
|
780
|
+
readonly name: "InvalidQuorum";
|
|
781
|
+
readonly inputs: readonly [];
|
|
652
782
|
}, {
|
|
653
783
|
readonly type: "error";
|
|
654
784
|
readonly name: "InvalidThreshold";
|
|
@@ -721,10 +851,6 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
721
851
|
readonly type: "error";
|
|
722
852
|
readonly name: "InvalidClassCount";
|
|
723
853
|
readonly inputs: readonly [];
|
|
724
|
-
}, {
|
|
725
|
-
readonly type: "error";
|
|
726
|
-
readonly name: "InvalidQuorum";
|
|
727
|
-
readonly inputs: readonly [];
|
|
728
854
|
}, {
|
|
729
855
|
readonly type: "error";
|
|
730
856
|
readonly name: "InvalidSliceSum";
|
|
@@ -745,5 +871,17 @@ export declare const DirectDemocracyVotingNewAbi: readonly [{
|
|
|
745
871
|
readonly type: "error";
|
|
746
872
|
readonly name: "TargetSelf";
|
|
747
873
|
readonly inputs: readonly [];
|
|
874
|
+
}, {
|
|
875
|
+
readonly type: "error";
|
|
876
|
+
readonly name: "CapBelowCommitted";
|
|
877
|
+
readonly inputs: readonly [];
|
|
878
|
+
}, {
|
|
879
|
+
readonly type: "error";
|
|
880
|
+
readonly name: "InvalidPayout";
|
|
881
|
+
readonly inputs: readonly [];
|
|
882
|
+
}, {
|
|
883
|
+
readonly type: "error";
|
|
884
|
+
readonly name: "InvalidString";
|
|
885
|
+
readonly inputs: readonly [];
|
|
748
886
|
}];
|
|
749
887
|
export default DirectDemocracyVotingNewAbi;
|
|
@@ -111,6 +111,19 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
111
111
|
],
|
|
112
112
|
"stateMutability": "nonpayable"
|
|
113
113
|
},
|
|
114
|
+
{
|
|
115
|
+
"type": "function",
|
|
116
|
+
"name": "configAdmin",
|
|
117
|
+
"inputs": [],
|
|
118
|
+
"outputs": [
|
|
119
|
+
{
|
|
120
|
+
"name": "",
|
|
121
|
+
"type": "address",
|
|
122
|
+
"internalType": "address"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"stateMutability": "view"
|
|
126
|
+
},
|
|
114
127
|
{
|
|
115
128
|
"type": "function",
|
|
116
129
|
"name": "createProposal",
|
|
@@ -166,6 +179,66 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
166
179
|
"outputs": [],
|
|
167
180
|
"stateMutability": "nonpayable"
|
|
168
181
|
},
|
|
182
|
+
{
|
|
183
|
+
"type": "function",
|
|
184
|
+
"name": "createProposalV2",
|
|
185
|
+
"inputs": [
|
|
186
|
+
{
|
|
187
|
+
"name": "title",
|
|
188
|
+
"type": "bytes",
|
|
189
|
+
"internalType": "bytes"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "descriptionHash",
|
|
193
|
+
"type": "bytes32",
|
|
194
|
+
"internalType": "bytes32"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "minutesDuration",
|
|
198
|
+
"type": "uint32",
|
|
199
|
+
"internalType": "uint32"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "numOptions",
|
|
203
|
+
"type": "uint8",
|
|
204
|
+
"internalType": "uint8"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "batches",
|
|
208
|
+
"type": "tuple[][]",
|
|
209
|
+
"internalType": "struct IExecutor.Call[][]",
|
|
210
|
+
"components": [
|
|
211
|
+
{
|
|
212
|
+
"name": "target",
|
|
213
|
+
"type": "address",
|
|
214
|
+
"internalType": "address"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "value",
|
|
218
|
+
"type": "uint256",
|
|
219
|
+
"internalType": "uint256"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "data",
|
|
223
|
+
"type": "bytes",
|
|
224
|
+
"internalType": "bytes"
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "hatIds",
|
|
230
|
+
"type": "uint256[]",
|
|
231
|
+
"internalType": "uint256[]"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "quorumOverride",
|
|
235
|
+
"type": "uint32",
|
|
236
|
+
"internalType": "uint32"
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"outputs": [],
|
|
240
|
+
"stateMutability": "nonpayable"
|
|
241
|
+
},
|
|
169
242
|
{
|
|
170
243
|
"type": "function",
|
|
171
244
|
"name": "creatorHatCount",
|
|
@@ -222,26 +295,11 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
222
295
|
"type": "function",
|
|
223
296
|
"name": "initialize",
|
|
224
297
|
"inputs": [
|
|
225
|
-
{
|
|
226
|
-
"name": "hats_",
|
|
227
|
-
"type": "address",
|
|
228
|
-
"internalType": "address"
|
|
229
|
-
},
|
|
230
298
|
{
|
|
231
299
|
"name": "executor_",
|
|
232
300
|
"type": "address",
|
|
233
301
|
"internalType": "address"
|
|
234
302
|
},
|
|
235
|
-
{
|
|
236
|
-
"name": "initialHats",
|
|
237
|
-
"type": "uint256[]",
|
|
238
|
-
"internalType": "uint256[]"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
"name": "initialCreatorHats",
|
|
242
|
-
"type": "uint256[]",
|
|
243
|
-
"internalType": "uint256[]"
|
|
244
|
-
},
|
|
245
303
|
{
|
|
246
304
|
"name": "initialTargets",
|
|
247
305
|
"type": "address[]",
|
|
@@ -251,6 +309,11 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
251
309
|
"name": "thresholdPct_",
|
|
252
310
|
"type": "uint8",
|
|
253
311
|
"internalType": "uint8"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "quorum_",
|
|
315
|
+
"type": "uint32",
|
|
316
|
+
"internalType": "uint32"
|
|
254
317
|
}
|
|
255
318
|
],
|
|
256
319
|
"outputs": [],
|
|
@@ -275,6 +338,19 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
275
338
|
],
|
|
276
339
|
"stateMutability": "view"
|
|
277
340
|
},
|
|
341
|
+
{
|
|
342
|
+
"type": "function",
|
|
343
|
+
"name": "membershipAuthority",
|
|
344
|
+
"inputs": [],
|
|
345
|
+
"outputs": [
|
|
346
|
+
{
|
|
347
|
+
"name": "",
|
|
348
|
+
"type": "address",
|
|
349
|
+
"internalType": "address"
|
|
350
|
+
}
|
|
351
|
+
],
|
|
352
|
+
"stateMutability": "view"
|
|
353
|
+
},
|
|
278
354
|
{
|
|
279
355
|
"type": "function",
|
|
280
356
|
"name": "pause",
|
|
@@ -338,6 +414,25 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
338
414
|
],
|
|
339
415
|
"stateMutability": "view"
|
|
340
416
|
},
|
|
417
|
+
{
|
|
418
|
+
"type": "function",
|
|
419
|
+
"name": "proposalCreatedAt",
|
|
420
|
+
"inputs": [
|
|
421
|
+
{
|
|
422
|
+
"name": "id",
|
|
423
|
+
"type": "uint256",
|
|
424
|
+
"internalType": "uint256"
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
"outputs": [
|
|
428
|
+
{
|
|
429
|
+
"name": "",
|
|
430
|
+
"type": "uint64",
|
|
431
|
+
"internalType": "uint64"
|
|
432
|
+
}
|
|
433
|
+
],
|
|
434
|
+
"stateMutability": "view"
|
|
435
|
+
},
|
|
341
436
|
{
|
|
342
437
|
"type": "function",
|
|
343
438
|
"name": "proposalEndTimestamp",
|
|
@@ -357,6 +452,25 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
357
452
|
],
|
|
358
453
|
"stateMutability": "view"
|
|
359
454
|
},
|
|
455
|
+
{
|
|
456
|
+
"type": "function",
|
|
457
|
+
"name": "proposalQuorumOverride",
|
|
458
|
+
"inputs": [
|
|
459
|
+
{
|
|
460
|
+
"name": "id",
|
|
461
|
+
"type": "uint256",
|
|
462
|
+
"internalType": "uint256"
|
|
463
|
+
}
|
|
464
|
+
],
|
|
465
|
+
"outputs": [
|
|
466
|
+
{
|
|
467
|
+
"name": "",
|
|
468
|
+
"type": "uint32",
|
|
469
|
+
"internalType": "uint32"
|
|
470
|
+
}
|
|
471
|
+
],
|
|
472
|
+
"stateMutability": "view"
|
|
473
|
+
},
|
|
360
474
|
{
|
|
361
475
|
"type": "function",
|
|
362
476
|
"name": "proposalsCount",
|
|
@@ -401,6 +515,19 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
401
515
|
"outputs": [],
|
|
402
516
|
"stateMutability": "nonpayable"
|
|
403
517
|
},
|
|
518
|
+
{
|
|
519
|
+
"type": "function",
|
|
520
|
+
"name": "setMembershipAuthority",
|
|
521
|
+
"inputs": [
|
|
522
|
+
{
|
|
523
|
+
"name": "authority",
|
|
524
|
+
"type": "address",
|
|
525
|
+
"internalType": "address"
|
|
526
|
+
}
|
|
527
|
+
],
|
|
528
|
+
"outputs": [],
|
|
529
|
+
"stateMutability": "nonpayable"
|
|
530
|
+
},
|
|
404
531
|
{
|
|
405
532
|
"type": "function",
|
|
406
533
|
"name": "thresholdPct",
|
|
@@ -470,6 +597,19 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
470
597
|
],
|
|
471
598
|
"stateMutability": "view"
|
|
472
599
|
},
|
|
600
|
+
{
|
|
601
|
+
"type": "event",
|
|
602
|
+
"name": "ConfigAdminSet",
|
|
603
|
+
"inputs": [
|
|
604
|
+
{
|
|
605
|
+
"name": "admin",
|
|
606
|
+
"type": "address",
|
|
607
|
+
"indexed": true,
|
|
608
|
+
"internalType": "address"
|
|
609
|
+
}
|
|
610
|
+
],
|
|
611
|
+
"anonymous": false
|
|
612
|
+
},
|
|
473
613
|
{
|
|
474
614
|
"type": "event",
|
|
475
615
|
"name": "CreatorHatSet",
|
|
@@ -529,32 +669,26 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
529
669
|
},
|
|
530
670
|
{
|
|
531
671
|
"type": "event",
|
|
532
|
-
"name": "
|
|
672
|
+
"name": "Initialized",
|
|
533
673
|
"inputs": [
|
|
534
674
|
{
|
|
535
|
-
"name": "
|
|
536
|
-
"type": "
|
|
537
|
-
"indexed": true,
|
|
538
|
-
"internalType": "uint256"
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
"name": "allowed",
|
|
542
|
-
"type": "bool",
|
|
675
|
+
"name": "version",
|
|
676
|
+
"type": "uint64",
|
|
543
677
|
"indexed": false,
|
|
544
|
-
"internalType": "
|
|
678
|
+
"internalType": "uint64"
|
|
545
679
|
}
|
|
546
680
|
],
|
|
547
681
|
"anonymous": false
|
|
548
682
|
},
|
|
549
683
|
{
|
|
550
684
|
"type": "event",
|
|
551
|
-
"name": "
|
|
685
|
+
"name": "MembershipAuthoritySet",
|
|
552
686
|
"inputs": [
|
|
553
687
|
{
|
|
554
|
-
"name": "
|
|
555
|
-
"type": "
|
|
556
|
-
"indexed":
|
|
557
|
-
"internalType": "
|
|
688
|
+
"name": "authority",
|
|
689
|
+
"type": "address",
|
|
690
|
+
"indexed": true,
|
|
691
|
+
"internalType": "address"
|
|
558
692
|
}
|
|
559
693
|
],
|
|
560
694
|
"anonymous": false
|
|
@@ -670,6 +804,31 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
670
804
|
],
|
|
671
805
|
"anonymous": false
|
|
672
806
|
},
|
|
807
|
+
{
|
|
808
|
+
"type": "event",
|
|
809
|
+
"name": "ProposalConfigV2",
|
|
810
|
+
"inputs": [
|
|
811
|
+
{
|
|
812
|
+
"name": "id",
|
|
813
|
+
"type": "uint256",
|
|
814
|
+
"indexed": true,
|
|
815
|
+
"internalType": "uint256"
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"name": "quorumOverride",
|
|
819
|
+
"type": "uint32",
|
|
820
|
+
"indexed": false,
|
|
821
|
+
"internalType": "uint32"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"name": "equalWeight",
|
|
825
|
+
"type": "bool",
|
|
826
|
+
"indexed": false,
|
|
827
|
+
"internalType": "bool"
|
|
828
|
+
}
|
|
829
|
+
],
|
|
830
|
+
"anonymous": false
|
|
831
|
+
},
|
|
673
832
|
{
|
|
674
833
|
"type": "event",
|
|
675
834
|
"name": "ProposalExecutionFailed",
|
|
@@ -821,6 +980,11 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
821
980
|
"name": "EmptyTitle",
|
|
822
981
|
"inputs": []
|
|
823
982
|
},
|
|
983
|
+
{
|
|
984
|
+
"type": "error",
|
|
985
|
+
"name": "InvalidConfigKey",
|
|
986
|
+
"inputs": []
|
|
987
|
+
},
|
|
824
988
|
{
|
|
825
989
|
"type": "error",
|
|
826
990
|
"name": "InvalidIndex",
|
|
@@ -836,6 +1000,11 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
836
1000
|
"name": "InvalidProposal",
|
|
837
1001
|
"inputs": []
|
|
838
1002
|
},
|
|
1003
|
+
{
|
|
1004
|
+
"type": "error",
|
|
1005
|
+
"name": "InvalidQuorum",
|
|
1006
|
+
"inputs": []
|
|
1007
|
+
},
|
|
839
1008
|
{
|
|
840
1009
|
"type": "error",
|
|
841
1010
|
"name": "InvalidThreshold",
|
|
@@ -927,11 +1096,6 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
927
1096
|
"name": "InvalidClassCount",
|
|
928
1097
|
"inputs": []
|
|
929
1098
|
},
|
|
930
|
-
{
|
|
931
|
-
"type": "error",
|
|
932
|
-
"name": "InvalidQuorum",
|
|
933
|
-
"inputs": []
|
|
934
|
-
},
|
|
935
1099
|
{
|
|
936
1100
|
"type": "error",
|
|
937
1101
|
"name": "InvalidSliceSum",
|
|
@@ -956,6 +1120,21 @@ exports.DirectDemocracyVotingNewAbi = [
|
|
|
956
1120
|
"type": "error",
|
|
957
1121
|
"name": "TargetSelf",
|
|
958
1122
|
"inputs": []
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
"type": "error",
|
|
1126
|
+
"name": "CapBelowCommitted",
|
|
1127
|
+
"inputs": []
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"type": "error",
|
|
1131
|
+
"name": "InvalidPayout",
|
|
1132
|
+
"inputs": []
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
"type": "error",
|
|
1136
|
+
"name": "InvalidString",
|
|
1137
|
+
"inputs": []
|
|
959
1138
|
}
|
|
960
1139
|
];
|
|
961
1140
|
exports.default = exports.DirectDemocracyVotingNewAbi;
|