@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
package/dist/abis/Executor.js
CHANGED
|
@@ -87,42 +87,33 @@ exports.ExecutorAbi = [
|
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"type": "function",
|
|
90
|
-
"name": "
|
|
90
|
+
"name": "cancelCallerChange",
|
|
91
|
+
"inputs": [],
|
|
92
|
+
"outputs": [],
|
|
93
|
+
"stateMutability": "nonpayable"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"type": "function",
|
|
97
|
+
"name": "configureModule",
|
|
91
98
|
"inputs": [
|
|
92
99
|
{
|
|
93
|
-
"name": "
|
|
100
|
+
"name": "target",
|
|
94
101
|
"type": "address",
|
|
95
102
|
"internalType": "address"
|
|
96
103
|
},
|
|
97
104
|
{
|
|
98
|
-
"name": "
|
|
99
|
-
"type": "
|
|
100
|
-
"internalType": "
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"type": "uint32[]",
|
|
105
|
-
"internalType": "uint32[]"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"name": "membershipHatIds",
|
|
109
|
-
"type": "uint256[]",
|
|
110
|
-
"internalType": "uint256[]"
|
|
111
|
-
},
|
|
105
|
+
"name": "data",
|
|
106
|
+
"type": "bytes",
|
|
107
|
+
"internalType": "bytes"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"outputs": [
|
|
112
111
|
{
|
|
113
|
-
"name": "
|
|
114
|
-
"type": "
|
|
115
|
-
"internalType": "
|
|
112
|
+
"name": "",
|
|
113
|
+
"type": "bytes",
|
|
114
|
+
"internalType": "bytes"
|
|
116
115
|
}
|
|
117
116
|
],
|
|
118
|
-
"outputs": [],
|
|
119
|
-
"stateMutability": "nonpayable"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"type": "function",
|
|
123
|
-
"name": "cancelCallerChange",
|
|
124
|
-
"inputs": [],
|
|
125
|
-
"outputs": [],
|
|
126
117
|
"stateMutability": "nonpayable"
|
|
127
118
|
},
|
|
128
119
|
{
|
|
@@ -148,39 +139,6 @@ exports.ExecutorAbi = [
|
|
|
148
139
|
"outputs": [],
|
|
149
140
|
"stateMutability": "nonpayable"
|
|
150
141
|
},
|
|
151
|
-
{
|
|
152
|
-
"type": "function",
|
|
153
|
-
"name": "configureVouching",
|
|
154
|
-
"inputs": [
|
|
155
|
-
{
|
|
156
|
-
"name": "eligibilityModule",
|
|
157
|
-
"type": "address",
|
|
158
|
-
"internalType": "address"
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"name": "hatId",
|
|
162
|
-
"type": "uint256",
|
|
163
|
-
"internalType": "uint256"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"name": "quorum",
|
|
167
|
-
"type": "uint32",
|
|
168
|
-
"internalType": "uint32"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"name": "membershipHatId",
|
|
172
|
-
"type": "uint256",
|
|
173
|
-
"internalType": "uint256"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"name": "combineWithHierarchy",
|
|
177
|
-
"type": "bool",
|
|
178
|
-
"internalType": "bool"
|
|
179
|
-
}
|
|
180
|
-
],
|
|
181
|
-
"outputs": [],
|
|
182
|
-
"stateMutability": "nonpayable"
|
|
183
|
-
},
|
|
184
142
|
{
|
|
185
143
|
"type": "function",
|
|
186
144
|
"name": "execute",
|
|
@@ -237,11 +195,6 @@ exports.ExecutorAbi = [
|
|
|
237
195
|
"name": "owner_",
|
|
238
196
|
"type": "address",
|
|
239
197
|
"internalType": "address"
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"name": "hats_",
|
|
243
|
-
"type": "address",
|
|
244
|
-
"internalType": "address"
|
|
245
198
|
}
|
|
246
199
|
],
|
|
247
200
|
"outputs": [],
|
|
@@ -266,6 +219,19 @@ exports.ExecutorAbi = [
|
|
|
266
219
|
],
|
|
267
220
|
"stateMutability": "view"
|
|
268
221
|
},
|
|
222
|
+
{
|
|
223
|
+
"type": "function",
|
|
224
|
+
"name": "membershipAuthority",
|
|
225
|
+
"inputs": [],
|
|
226
|
+
"outputs": [
|
|
227
|
+
{
|
|
228
|
+
"name": "",
|
|
229
|
+
"type": "address",
|
|
230
|
+
"internalType": "address"
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"stateMutability": "view"
|
|
234
|
+
},
|
|
269
235
|
{
|
|
270
236
|
"type": "function",
|
|
271
237
|
"name": "mintHatsForUser",
|
|
@@ -352,25 +318,15 @@ exports.ExecutorAbi = [
|
|
|
352
318
|
},
|
|
353
319
|
{
|
|
354
320
|
"type": "function",
|
|
355
|
-
"name": "
|
|
321
|
+
"name": "setHatMinterAuthorization",
|
|
356
322
|
"inputs": [
|
|
357
323
|
{
|
|
358
|
-
"name": "
|
|
324
|
+
"name": "minter",
|
|
359
325
|
"type": "address",
|
|
360
326
|
"internalType": "address"
|
|
361
327
|
},
|
|
362
328
|
{
|
|
363
|
-
"name": "
|
|
364
|
-
"type": "uint256",
|
|
365
|
-
"internalType": "uint256"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"name": "eligible",
|
|
369
|
-
"type": "bool",
|
|
370
|
-
"internalType": "bool"
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
"name": "standing",
|
|
329
|
+
"name": "authorized",
|
|
374
330
|
"type": "bool",
|
|
375
331
|
"internalType": "bool"
|
|
376
332
|
}
|
|
@@ -380,17 +336,12 @@ exports.ExecutorAbi = [
|
|
|
380
336
|
},
|
|
381
337
|
{
|
|
382
338
|
"type": "function",
|
|
383
|
-
"name": "
|
|
339
|
+
"name": "setMembershipAuthority",
|
|
384
340
|
"inputs": [
|
|
385
341
|
{
|
|
386
|
-
"name": "
|
|
342
|
+
"name": "authority",
|
|
387
343
|
"type": "address",
|
|
388
344
|
"internalType": "address"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"name": "authorized",
|
|
392
|
-
"type": "bool",
|
|
393
|
-
"internalType": "bool"
|
|
394
345
|
}
|
|
395
346
|
],
|
|
396
347
|
"outputs": [],
|
|
@@ -555,6 +506,19 @@ exports.ExecutorAbi = [
|
|
|
555
506
|
],
|
|
556
507
|
"anonymous": false
|
|
557
508
|
},
|
|
509
|
+
{
|
|
510
|
+
"type": "event",
|
|
511
|
+
"name": "HatsRepointed",
|
|
512
|
+
"inputs": [
|
|
513
|
+
{
|
|
514
|
+
"name": "hats",
|
|
515
|
+
"type": "address",
|
|
516
|
+
"indexed": true,
|
|
517
|
+
"internalType": "address"
|
|
518
|
+
}
|
|
519
|
+
],
|
|
520
|
+
"anonymous": false
|
|
521
|
+
},
|
|
558
522
|
{
|
|
559
523
|
"type": "event",
|
|
560
524
|
"name": "HatsSet",
|
|
@@ -581,6 +545,25 @@ exports.ExecutorAbi = [
|
|
|
581
545
|
],
|
|
582
546
|
"anonymous": false
|
|
583
547
|
},
|
|
548
|
+
{
|
|
549
|
+
"type": "event",
|
|
550
|
+
"name": "ModuleConfigured",
|
|
551
|
+
"inputs": [
|
|
552
|
+
{
|
|
553
|
+
"name": "target",
|
|
554
|
+
"type": "address",
|
|
555
|
+
"indexed": true,
|
|
556
|
+
"internalType": "address"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"name": "selector",
|
|
560
|
+
"type": "bytes4",
|
|
561
|
+
"indexed": true,
|
|
562
|
+
"internalType": "bytes4"
|
|
563
|
+
}
|
|
564
|
+
],
|
|
565
|
+
"anonymous": false
|
|
566
|
+
},
|
|
584
567
|
{
|
|
585
568
|
"type": "event",
|
|
586
569
|
"name": "OwnershipTransferred",
|
|
@@ -772,25 +755,6 @@ exports.ExecutorAbi = [
|
|
|
772
755
|
"type": "error",
|
|
773
756
|
"name": "TitleTooLong",
|
|
774
757
|
"inputs": []
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
"type": "event",
|
|
778
|
-
"name": "HatToggled",
|
|
779
|
-
"inputs": [
|
|
780
|
-
{
|
|
781
|
-
"name": "hatId",
|
|
782
|
-
"type": "uint256",
|
|
783
|
-
"indexed": true,
|
|
784
|
-
"internalType": "uint256"
|
|
785
|
-
},
|
|
786
|
-
{
|
|
787
|
-
"name": "allowed",
|
|
788
|
-
"type": "bool",
|
|
789
|
-
"indexed": false,
|
|
790
|
-
"internalType": "bool"
|
|
791
|
-
}
|
|
792
|
-
],
|
|
793
|
-
"anonymous": false
|
|
794
758
|
}
|
|
795
759
|
];
|
|
796
760
|
exports.default = exports.ExecutorAbi;
|
|
@@ -62,6 +62,20 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
62
62
|
readonly internalType: "uint32";
|
|
63
63
|
}];
|
|
64
64
|
readonly stateMutability: "view";
|
|
65
|
+
}, {
|
|
66
|
+
readonly type: "function";
|
|
67
|
+
readonly name: "addHatToClass";
|
|
68
|
+
readonly inputs: readonly [{
|
|
69
|
+
readonly name: "classIdx";
|
|
70
|
+
readonly type: "uint8";
|
|
71
|
+
readonly internalType: "uint8";
|
|
72
|
+
}, {
|
|
73
|
+
readonly name: "hatId";
|
|
74
|
+
readonly type: "uint256";
|
|
75
|
+
readonly internalType: "uint256";
|
|
76
|
+
}];
|
|
77
|
+
readonly outputs: readonly [];
|
|
78
|
+
readonly stateMutability: "nonpayable";
|
|
65
79
|
}, {
|
|
66
80
|
readonly type: "function";
|
|
67
81
|
readonly name: "announceWinner";
|
|
@@ -80,6 +94,44 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
80
94
|
readonly internalType: "bool";
|
|
81
95
|
}];
|
|
82
96
|
readonly stateMutability: "nonpayable";
|
|
97
|
+
}, {
|
|
98
|
+
readonly type: "function";
|
|
99
|
+
readonly name: "classIdOfIndex";
|
|
100
|
+
readonly inputs: readonly [{
|
|
101
|
+
readonly name: "classIdx";
|
|
102
|
+
readonly type: "uint256";
|
|
103
|
+
readonly internalType: "uint256";
|
|
104
|
+
}];
|
|
105
|
+
readonly outputs: readonly [{
|
|
106
|
+
readonly name: "classId";
|
|
107
|
+
readonly type: "uint256";
|
|
108
|
+
readonly internalType: "uint256";
|
|
109
|
+
}];
|
|
110
|
+
readonly stateMutability: "view";
|
|
111
|
+
}, {
|
|
112
|
+
readonly type: "function";
|
|
113
|
+
readonly name: "classSubjectOf";
|
|
114
|
+
readonly inputs: readonly [{
|
|
115
|
+
readonly name: "classId";
|
|
116
|
+
readonly type: "uint256";
|
|
117
|
+
readonly internalType: "uint256";
|
|
118
|
+
}];
|
|
119
|
+
readonly outputs: readonly [{
|
|
120
|
+
readonly name: "subjectId";
|
|
121
|
+
readonly type: "uint256";
|
|
122
|
+
readonly internalType: "uint256";
|
|
123
|
+
}];
|
|
124
|
+
readonly stateMutability: "view";
|
|
125
|
+
}, {
|
|
126
|
+
readonly type: "function";
|
|
127
|
+
readonly name: "configAdmin";
|
|
128
|
+
readonly inputs: readonly [];
|
|
129
|
+
readonly outputs: readonly [{
|
|
130
|
+
readonly name: "";
|
|
131
|
+
readonly type: "address";
|
|
132
|
+
readonly internalType: "address";
|
|
133
|
+
}];
|
|
134
|
+
readonly stateMutability: "view";
|
|
83
135
|
}, {
|
|
84
136
|
readonly type: "function";
|
|
85
137
|
readonly name: "createProposal";
|
|
@@ -123,6 +175,57 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
123
175
|
}];
|
|
124
176
|
readonly outputs: readonly [];
|
|
125
177
|
readonly stateMutability: "nonpayable";
|
|
178
|
+
}, {
|
|
179
|
+
readonly type: "function";
|
|
180
|
+
readonly name: "createProposalV2";
|
|
181
|
+
readonly inputs: readonly [{
|
|
182
|
+
readonly name: "title";
|
|
183
|
+
readonly type: "bytes";
|
|
184
|
+
readonly internalType: "bytes";
|
|
185
|
+
}, {
|
|
186
|
+
readonly name: "descriptionHash";
|
|
187
|
+
readonly type: "bytes32";
|
|
188
|
+
readonly internalType: "bytes32";
|
|
189
|
+
}, {
|
|
190
|
+
readonly name: "minutesDuration";
|
|
191
|
+
readonly type: "uint32";
|
|
192
|
+
readonly internalType: "uint32";
|
|
193
|
+
}, {
|
|
194
|
+
readonly name: "numOptions";
|
|
195
|
+
readonly type: "uint8";
|
|
196
|
+
readonly internalType: "uint8";
|
|
197
|
+
}, {
|
|
198
|
+
readonly name: "batches";
|
|
199
|
+
readonly type: "tuple[][]";
|
|
200
|
+
readonly internalType: "struct IExecutor.Call[][]";
|
|
201
|
+
readonly components: readonly [{
|
|
202
|
+
readonly name: "target";
|
|
203
|
+
readonly type: "address";
|
|
204
|
+
readonly internalType: "address";
|
|
205
|
+
}, {
|
|
206
|
+
readonly name: "value";
|
|
207
|
+
readonly type: "uint256";
|
|
208
|
+
readonly internalType: "uint256";
|
|
209
|
+
}, {
|
|
210
|
+
readonly name: "data";
|
|
211
|
+
readonly type: "bytes";
|
|
212
|
+
readonly internalType: "bytes";
|
|
213
|
+
}];
|
|
214
|
+
}, {
|
|
215
|
+
readonly name: "hatIds";
|
|
216
|
+
readonly type: "uint256[]";
|
|
217
|
+
readonly internalType: "uint256[]";
|
|
218
|
+
}, {
|
|
219
|
+
readonly name: "quorumOverride";
|
|
220
|
+
readonly type: "uint32";
|
|
221
|
+
readonly internalType: "uint32";
|
|
222
|
+
}, {
|
|
223
|
+
readonly name: "equalWeight";
|
|
224
|
+
readonly type: "bool";
|
|
225
|
+
readonly internalType: "bool";
|
|
226
|
+
}];
|
|
227
|
+
readonly outputs: readonly [];
|
|
228
|
+
readonly stateMutability: "nonpayable";
|
|
126
229
|
}, {
|
|
127
230
|
readonly type: "function";
|
|
128
231
|
readonly name: "creatorHats";
|
|
@@ -231,25 +334,17 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
231
334
|
readonly type: "function";
|
|
232
335
|
readonly name: "initialize";
|
|
233
336
|
readonly inputs: readonly [{
|
|
234
|
-
readonly name: "hats_";
|
|
235
|
-
readonly type: "address";
|
|
236
|
-
readonly internalType: "address";
|
|
237
|
-
}, {
|
|
238
337
|
readonly name: "executor_";
|
|
239
338
|
readonly type: "address";
|
|
240
339
|
readonly internalType: "address";
|
|
241
|
-
}, {
|
|
242
|
-
readonly name: "initialCreatorHats";
|
|
243
|
-
readonly type: "uint256[]";
|
|
244
|
-
readonly internalType: "uint256[]";
|
|
245
|
-
}, {
|
|
246
|
-
readonly name: "initialTargets";
|
|
247
|
-
readonly type: "address[]";
|
|
248
|
-
readonly internalType: "address[]";
|
|
249
340
|
}, {
|
|
250
341
|
readonly name: "thresholdPct_";
|
|
251
342
|
readonly type: "uint8";
|
|
252
343
|
readonly internalType: "uint8";
|
|
344
|
+
}, {
|
|
345
|
+
readonly name: "quorum_";
|
|
346
|
+
readonly type: "uint32";
|
|
347
|
+
readonly internalType: "uint32";
|
|
253
348
|
}, {
|
|
254
349
|
readonly name: "initialClasses";
|
|
255
350
|
readonly type: "tuple[]";
|
|
@@ -282,6 +377,16 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
282
377
|
}];
|
|
283
378
|
readonly outputs: readonly [];
|
|
284
379
|
readonly stateMutability: "nonpayable";
|
|
380
|
+
}, {
|
|
381
|
+
readonly type: "function";
|
|
382
|
+
readonly name: "membershipAuthority";
|
|
383
|
+
readonly inputs: readonly [];
|
|
384
|
+
readonly outputs: readonly [{
|
|
385
|
+
readonly name: "";
|
|
386
|
+
readonly type: "address";
|
|
387
|
+
readonly internalType: "address";
|
|
388
|
+
}];
|
|
389
|
+
readonly stateMutability: "view";
|
|
285
390
|
}, {
|
|
286
391
|
readonly type: "function";
|
|
287
392
|
readonly name: "pause";
|
|
@@ -330,6 +435,38 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
330
435
|
readonly internalType: "bool";
|
|
331
436
|
}];
|
|
332
437
|
readonly stateMutability: "view";
|
|
438
|
+
}, {
|
|
439
|
+
readonly type: "function";
|
|
440
|
+
readonly name: "proposalClassSubject";
|
|
441
|
+
readonly inputs: readonly [{
|
|
442
|
+
readonly name: "proposalId";
|
|
443
|
+
readonly type: "uint256";
|
|
444
|
+
readonly internalType: "uint256";
|
|
445
|
+
}, {
|
|
446
|
+
readonly name: "classIdx";
|
|
447
|
+
readonly type: "uint256";
|
|
448
|
+
readonly internalType: "uint256";
|
|
449
|
+
}];
|
|
450
|
+
readonly outputs: readonly [{
|
|
451
|
+
readonly name: "subjectId";
|
|
452
|
+
readonly type: "uint256";
|
|
453
|
+
readonly internalType: "uint256";
|
|
454
|
+
}];
|
|
455
|
+
readonly stateMutability: "view";
|
|
456
|
+
}, {
|
|
457
|
+
readonly type: "function";
|
|
458
|
+
readonly name: "proposalCreatedAt";
|
|
459
|
+
readonly inputs: readonly [{
|
|
460
|
+
readonly name: "id";
|
|
461
|
+
readonly type: "uint256";
|
|
462
|
+
readonly internalType: "uint256";
|
|
463
|
+
}];
|
|
464
|
+
readonly outputs: readonly [{
|
|
465
|
+
readonly name: "";
|
|
466
|
+
readonly type: "uint64";
|
|
467
|
+
readonly internalType: "uint64";
|
|
468
|
+
}];
|
|
469
|
+
readonly stateMutability: "view";
|
|
333
470
|
}, {
|
|
334
471
|
readonly type: "function";
|
|
335
472
|
readonly name: "proposalEndTimestamp";
|
|
@@ -344,6 +481,20 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
344
481
|
readonly internalType: "uint64";
|
|
345
482
|
}];
|
|
346
483
|
readonly stateMutability: "view";
|
|
484
|
+
}, {
|
|
485
|
+
readonly type: "function";
|
|
486
|
+
readonly name: "proposalQuorumOverride";
|
|
487
|
+
readonly inputs: readonly [{
|
|
488
|
+
readonly name: "id";
|
|
489
|
+
readonly type: "uint256";
|
|
490
|
+
readonly internalType: "uint256";
|
|
491
|
+
}];
|
|
492
|
+
readonly outputs: readonly [{
|
|
493
|
+
readonly name: "";
|
|
494
|
+
readonly type: "uint32";
|
|
495
|
+
readonly internalType: "uint32";
|
|
496
|
+
}];
|
|
497
|
+
readonly stateMutability: "view";
|
|
347
498
|
}, {
|
|
348
499
|
readonly type: "function";
|
|
349
500
|
readonly name: "proposalsCount";
|
|
@@ -364,6 +515,34 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
364
515
|
readonly internalType: "uint32";
|
|
365
516
|
}];
|
|
366
517
|
readonly stateMutability: "view";
|
|
518
|
+
}, {
|
|
519
|
+
readonly type: "function";
|
|
520
|
+
readonly name: "removeHatFromClass";
|
|
521
|
+
readonly inputs: readonly [{
|
|
522
|
+
readonly name: "classIdx";
|
|
523
|
+
readonly type: "uint8";
|
|
524
|
+
readonly internalType: "uint8";
|
|
525
|
+
}, {
|
|
526
|
+
readonly name: "hatId";
|
|
527
|
+
readonly type: "uint256";
|
|
528
|
+
readonly internalType: "uint256";
|
|
529
|
+
}];
|
|
530
|
+
readonly outputs: readonly [];
|
|
531
|
+
readonly stateMutability: "nonpayable";
|
|
532
|
+
}, {
|
|
533
|
+
readonly type: "function";
|
|
534
|
+
readonly name: "setClassSubject";
|
|
535
|
+
readonly inputs: readonly [{
|
|
536
|
+
readonly name: "classIdx";
|
|
537
|
+
readonly type: "uint256";
|
|
538
|
+
readonly internalType: "uint256";
|
|
539
|
+
}, {
|
|
540
|
+
readonly name: "subjectId";
|
|
541
|
+
readonly type: "uint256";
|
|
542
|
+
readonly internalType: "uint256";
|
|
543
|
+
}];
|
|
544
|
+
readonly outputs: readonly [];
|
|
545
|
+
readonly stateMutability: "nonpayable";
|
|
367
546
|
}, {
|
|
368
547
|
readonly type: "function";
|
|
369
548
|
readonly name: "setClasses";
|
|
@@ -415,15 +594,11 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
415
594
|
readonly stateMutability: "nonpayable";
|
|
416
595
|
}, {
|
|
417
596
|
readonly type: "function";
|
|
418
|
-
readonly name: "
|
|
597
|
+
readonly name: "setMembershipAuthority";
|
|
419
598
|
readonly inputs: readonly [{
|
|
420
|
-
readonly name: "
|
|
421
|
-
readonly type: "
|
|
422
|
-
readonly internalType: "
|
|
423
|
-
}, {
|
|
424
|
-
readonly name: "ok";
|
|
425
|
-
readonly type: "bool";
|
|
426
|
-
readonly internalType: "bool";
|
|
599
|
+
readonly name: "authority";
|
|
600
|
+
readonly type: "address";
|
|
601
|
+
readonly internalType: "address";
|
|
427
602
|
}];
|
|
428
603
|
readonly outputs: readonly [];
|
|
429
604
|
readonly stateMutability: "nonpayable";
|
|
@@ -461,6 +636,16 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
461
636
|
}];
|
|
462
637
|
readonly outputs: readonly [];
|
|
463
638
|
readonly stateMutability: "nonpayable";
|
|
639
|
+
}, {
|
|
640
|
+
readonly type: "event";
|
|
641
|
+
readonly name: "ConfigAdminSet";
|
|
642
|
+
readonly inputs: readonly [{
|
|
643
|
+
readonly name: "admin";
|
|
644
|
+
readonly type: "address";
|
|
645
|
+
readonly indexed: true;
|
|
646
|
+
readonly internalType: "address";
|
|
647
|
+
}];
|
|
648
|
+
readonly anonymous: false;
|
|
464
649
|
}, {
|
|
465
650
|
readonly type: "event";
|
|
466
651
|
readonly name: "ExecutorUpdated";
|
|
@@ -493,27 +678,22 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
493
678
|
readonly anonymous: false;
|
|
494
679
|
}, {
|
|
495
680
|
readonly type: "event";
|
|
496
|
-
readonly name: "
|
|
681
|
+
readonly name: "Initialized";
|
|
497
682
|
readonly inputs: readonly [{
|
|
498
|
-
readonly name: "
|
|
499
|
-
readonly type: "
|
|
500
|
-
readonly indexed: true;
|
|
501
|
-
readonly internalType: "uint256";
|
|
502
|
-
}, {
|
|
503
|
-
readonly name: "allowed";
|
|
504
|
-
readonly type: "bool";
|
|
683
|
+
readonly name: "version";
|
|
684
|
+
readonly type: "uint64";
|
|
505
685
|
readonly indexed: false;
|
|
506
|
-
readonly internalType: "
|
|
686
|
+
readonly internalType: "uint64";
|
|
507
687
|
}];
|
|
508
688
|
readonly anonymous: false;
|
|
509
689
|
}, {
|
|
510
690
|
readonly type: "event";
|
|
511
|
-
readonly name: "
|
|
691
|
+
readonly name: "MembershipAuthoritySet";
|
|
512
692
|
readonly inputs: readonly [{
|
|
513
|
-
readonly name: "
|
|
514
|
-
readonly type: "
|
|
515
|
-
readonly indexed:
|
|
516
|
-
readonly internalType: "
|
|
693
|
+
readonly name: "authority";
|
|
694
|
+
readonly type: "address";
|
|
695
|
+
readonly indexed: true;
|
|
696
|
+
readonly internalType: "address";
|
|
517
697
|
}];
|
|
518
698
|
readonly anonymous: false;
|
|
519
699
|
}, {
|
|
@@ -792,6 +972,26 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
792
972
|
readonly internalType: "uint64";
|
|
793
973
|
}];
|
|
794
974
|
readonly anonymous: false;
|
|
975
|
+
}, {
|
|
976
|
+
readonly type: "event";
|
|
977
|
+
readonly name: "ProposalConfigV2";
|
|
978
|
+
readonly inputs: readonly [{
|
|
979
|
+
readonly name: "id";
|
|
980
|
+
readonly type: "uint256";
|
|
981
|
+
readonly indexed: true;
|
|
982
|
+
readonly internalType: "uint256";
|
|
983
|
+
}, {
|
|
984
|
+
readonly name: "quorumOverride";
|
|
985
|
+
readonly type: "uint32";
|
|
986
|
+
readonly indexed: false;
|
|
987
|
+
readonly internalType: "uint32";
|
|
988
|
+
}, {
|
|
989
|
+
readonly name: "equalWeight";
|
|
990
|
+
readonly type: "bool";
|
|
991
|
+
readonly indexed: false;
|
|
992
|
+
readonly internalType: "bool";
|
|
993
|
+
}];
|
|
994
|
+
readonly anonymous: false;
|
|
795
995
|
}, {
|
|
796
996
|
readonly type: "error";
|
|
797
997
|
readonly name: "DurationOutOfRange";
|
|
@@ -804,6 +1004,10 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
804
1004
|
readonly type: "error";
|
|
805
1005
|
readonly name: "InvalidClassCount";
|
|
806
1006
|
readonly inputs: readonly [];
|
|
1007
|
+
}, {
|
|
1008
|
+
readonly type: "error";
|
|
1009
|
+
readonly name: "InvalidQuorum";
|
|
1010
|
+
readonly inputs: readonly [];
|
|
807
1011
|
}, {
|
|
808
1012
|
readonly type: "error";
|
|
809
1013
|
readonly name: "TitleTooLong";
|
|
@@ -820,6 +1024,46 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
820
1024
|
readonly type: "error";
|
|
821
1025
|
readonly name: "TooManyPollHats";
|
|
822
1026
|
readonly inputs: readonly [];
|
|
1027
|
+
}, {
|
|
1028
|
+
readonly type: "event";
|
|
1029
|
+
readonly name: "ClassHatSet";
|
|
1030
|
+
readonly inputs: readonly [{
|
|
1031
|
+
readonly name: "classIdx";
|
|
1032
|
+
readonly type: "uint8";
|
|
1033
|
+
readonly indexed: true;
|
|
1034
|
+
readonly internalType: "uint8";
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly name: "hatId";
|
|
1037
|
+
readonly type: "uint256";
|
|
1038
|
+
readonly indexed: true;
|
|
1039
|
+
readonly internalType: "uint256";
|
|
1040
|
+
}, {
|
|
1041
|
+
readonly name: "added";
|
|
1042
|
+
readonly type: "bool";
|
|
1043
|
+
readonly indexed: false;
|
|
1044
|
+
readonly internalType: "bool";
|
|
1045
|
+
}];
|
|
1046
|
+
readonly anonymous: false;
|
|
1047
|
+
}, {
|
|
1048
|
+
readonly type: "event";
|
|
1049
|
+
readonly name: "ClassSubjectSet";
|
|
1050
|
+
readonly inputs: readonly [{
|
|
1051
|
+
readonly name: "classId";
|
|
1052
|
+
readonly type: "uint256";
|
|
1053
|
+
readonly indexed: true;
|
|
1054
|
+
readonly internalType: "uint256";
|
|
1055
|
+
}, {
|
|
1056
|
+
readonly name: "classIdx";
|
|
1057
|
+
readonly type: "uint256";
|
|
1058
|
+
readonly indexed: true;
|
|
1059
|
+
readonly internalType: "uint256";
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly name: "subjectId";
|
|
1062
|
+
readonly type: "uint256";
|
|
1063
|
+
readonly indexed: true;
|
|
1064
|
+
readonly internalType: "uint256";
|
|
1065
|
+
}];
|
|
1066
|
+
readonly anonymous: false;
|
|
823
1067
|
}, {
|
|
824
1068
|
readonly type: "event";
|
|
825
1069
|
readonly name: "ClassesReplaced";
|
|
@@ -884,7 +1128,7 @@ export declare const HybridVotingNewAbi: readonly [{
|
|
|
884
1128
|
readonly inputs: readonly [];
|
|
885
1129
|
}, {
|
|
886
1130
|
readonly type: "error";
|
|
887
|
-
readonly name: "
|
|
1131
|
+
readonly name: "InvalidConfigKey";
|
|
888
1132
|
readonly inputs: readonly [];
|
|
889
1133
|
}, {
|
|
890
1134
|
readonly type: "error";
|