@graphprotocol/grc-20 0.25.0 → 0.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/src/abis/governance-setup.js +234 -234
  2. package/dist/src/abis/main-voting.d.ts +62 -1
  3. package/dist/src/abis/main-voting.d.ts.map +1 -1
  4. package/dist/src/abis/main-voting.js +964 -887
  5. package/dist/src/abis/main-voting.js.map +1 -1
  6. package/dist/src/abis/member-access.js +345 -345
  7. package/dist/src/abis/personal-space-admin-setup.js +171 -171
  8. package/dist/src/abis/personal-space-admin.d.ts +24 -1
  9. package/dist/src/abis/personal-space-admin.d.ts.map +1 -1
  10. package/dist/src/abis/personal-space-admin.js +272 -243
  11. package/dist/src/abis/personal-space-admin.js.map +1 -1
  12. package/dist/src/abis/space-setup.d.ts +18 -2
  13. package/dist/src/abis/space-setup.d.ts.map +1 -1
  14. package/dist/src/abis/space-setup.js +216 -196
  15. package/dist/src/abis/space-setup.js.map +1 -1
  16. package/dist/src/abis/space.d.ts +99 -3
  17. package/dist/src/abis/space.d.ts.map +1 -1
  18. package/dist/src/abis/space.js +275 -153
  19. package/dist/src/abis/space.js.map +1 -1
  20. package/dist/src/encodings/get-calldata-for-space-governance-type.d.ts +1 -1
  21. package/dist/src/encodings/get-calldata-for-space-governance-type.d.ts.map +1 -1
  22. package/dist/src/encodings/get-calldata-for-space-governance-type.js +13 -8
  23. package/dist/src/encodings/get-calldata-for-space-governance-type.js.map +1 -1
  24. package/dist/src/encodings/get-process-geo-proposal-arguments.d.ts +1 -1
  25. package/dist/src/encodings/get-process-geo-proposal-arguments.d.ts.map +1 -1
  26. package/dist/src/encodings/get-process-geo-proposal-arguments.js +5 -5
  27. package/dist/src/encodings/get-process-geo-proposal-arguments.js.map +1 -1
  28. package/package.json +1 -1
@@ -2,460 +2,460 @@ export const abi = [
2
2
  {
3
3
  inputs: [
4
4
  {
5
- internalType: 'contract PluginSetupProcessor',
6
- name: 'pluginSetupProcessorAddress',
7
- type: 'address',
5
+ internalType: "contract PluginSetupProcessor",
6
+ name: "pluginSetupProcessorAddress",
7
+ type: "address",
8
8
  },
9
9
  ],
10
- stateMutability: 'nonpayable',
11
- type: 'constructor',
10
+ stateMutability: "nonpayable",
11
+ type: "constructor",
12
12
  },
13
13
  {
14
14
  inputs: [
15
15
  {
16
- internalType: 'uint256',
17
- name: 'actualLength',
18
- type: 'uint256',
16
+ internalType: "uint256",
17
+ name: "actualLength",
18
+ type: "uint256",
19
19
  },
20
20
  ],
21
- name: 'InvalidHelpers',
22
- type: 'error',
21
+ name: "InvalidHelpers",
22
+ type: "error",
23
23
  },
24
24
  {
25
25
  anonymous: false,
26
26
  inputs: [
27
27
  {
28
28
  indexed: false,
29
- internalType: 'address',
30
- name: 'dao',
31
- type: 'address',
29
+ internalType: "address",
30
+ name: "dao",
31
+ type: "address",
32
32
  },
33
33
  {
34
34
  indexed: false,
35
- internalType: 'address',
36
- name: 'mainVotingPlugin',
37
- type: 'address',
35
+ internalType: "address",
36
+ name: "mainVotingPlugin",
37
+ type: "address",
38
38
  },
39
39
  {
40
40
  indexed: false,
41
- internalType: 'address',
42
- name: 'memberAccessPlugin',
43
- type: 'address',
41
+ internalType: "address",
42
+ name: "memberAccessPlugin",
43
+ type: "address",
44
44
  },
45
45
  ],
46
- name: 'GeoGovernancePluginsCreated',
47
- type: 'event',
46
+ name: "GeoGovernancePluginsCreated",
47
+ type: "event",
48
48
  },
49
49
  {
50
50
  inputs: [
51
51
  {
52
- internalType: 'bytes',
53
- name: '_data',
54
- type: 'bytes',
52
+ internalType: "bytes",
53
+ name: "_data",
54
+ type: "bytes",
55
55
  },
56
56
  ],
57
- name: 'decodeInstallationParams',
57
+ name: "decodeInstallationParams",
58
58
  outputs: [
59
59
  {
60
60
  components: [
61
61
  {
62
- internalType: 'enum MajorityVotingBase.VotingMode',
63
- name: 'votingMode',
64
- type: 'uint8',
62
+ internalType: "enum MajorityVotingBase.VotingMode",
63
+ name: "votingMode",
64
+ type: "uint8",
65
65
  },
66
66
  {
67
- internalType: 'uint32',
68
- name: 'supportThreshold',
69
- type: 'uint32',
67
+ internalType: "uint32",
68
+ name: "supportThreshold",
69
+ type: "uint32",
70
70
  },
71
71
  {
72
- internalType: 'uint64',
73
- name: 'duration',
74
- type: 'uint64',
72
+ internalType: "uint64",
73
+ name: "duration",
74
+ type: "uint64",
75
75
  },
76
76
  ],
77
- internalType: 'struct MajorityVotingBase.VotingSettings',
78
- name: 'votingSettings',
79
- type: 'tuple',
77
+ internalType: "struct MajorityVotingBase.VotingSettings",
78
+ name: "votingSettings",
79
+ type: "tuple",
80
80
  },
81
81
  {
82
- internalType: 'address[]',
83
- name: 'initialEditors',
84
- type: 'address[]',
82
+ internalType: "address[]",
83
+ name: "initialEditors",
84
+ type: "address[]",
85
85
  },
86
86
  {
87
- internalType: 'uint64',
88
- name: 'memberAccessProposalDuration',
89
- type: 'uint64',
87
+ internalType: "uint64",
88
+ name: "memberAccessProposalDuration",
89
+ type: "uint64",
90
90
  },
91
91
  {
92
- internalType: 'address',
93
- name: 'pluginUpgrader',
94
- type: 'address',
92
+ internalType: "address",
93
+ name: "pluginUpgrader",
94
+ type: "address",
95
95
  },
96
96
  ],
97
- stateMutability: 'pure',
98
- type: 'function',
97
+ stateMutability: "pure",
98
+ type: "function",
99
99
  },
100
100
  {
101
101
  inputs: [
102
102
  {
103
- internalType: 'bytes',
104
- name: '_data',
105
- type: 'bytes',
103
+ internalType: "bytes",
104
+ name: "_data",
105
+ type: "bytes",
106
106
  },
107
107
  ],
108
- name: 'decodeUninstallationParams',
108
+ name: "decodeUninstallationParams",
109
109
  outputs: [
110
110
  {
111
- internalType: 'address',
112
- name: 'pluginUpgrader',
113
- type: 'address',
111
+ internalType: "address",
112
+ name: "pluginUpgrader",
113
+ type: "address",
114
114
  },
115
115
  ],
116
- stateMutability: 'pure',
117
- type: 'function',
116
+ stateMutability: "pure",
117
+ type: "function",
118
118
  },
119
119
  {
120
120
  inputs: [
121
121
  {
122
122
  components: [
123
123
  {
124
- internalType: 'enum MajorityVotingBase.VotingMode',
125
- name: 'votingMode',
126
- type: 'uint8',
124
+ internalType: "enum MajorityVotingBase.VotingMode",
125
+ name: "votingMode",
126
+ type: "uint8",
127
127
  },
128
128
  {
129
- internalType: 'uint32',
130
- name: 'supportThreshold',
131
- type: 'uint32',
129
+ internalType: "uint32",
130
+ name: "supportThreshold",
131
+ type: "uint32",
132
132
  },
133
133
  {
134
- internalType: 'uint64',
135
- name: 'duration',
136
- type: 'uint64',
134
+ internalType: "uint64",
135
+ name: "duration",
136
+ type: "uint64",
137
137
  },
138
138
  ],
139
- internalType: 'struct MajorityVotingBase.VotingSettings',
140
- name: '_votingSettings',
141
- type: 'tuple',
139
+ internalType: "struct MajorityVotingBase.VotingSettings",
140
+ name: "_votingSettings",
141
+ type: "tuple",
142
142
  },
143
143
  {
144
- internalType: 'address[]',
145
- name: '_initialEditors',
146
- type: 'address[]',
144
+ internalType: "address[]",
145
+ name: "_initialEditors",
146
+ type: "address[]",
147
147
  },
148
148
  {
149
- internalType: 'uint64',
150
- name: '_memberAccessProposalDuration',
151
- type: 'uint64',
149
+ internalType: "uint64",
150
+ name: "_memberAccessProposalDuration",
151
+ type: "uint64",
152
152
  },
153
153
  {
154
- internalType: 'address',
155
- name: '_pluginUpgrader',
156
- type: 'address',
154
+ internalType: "address",
155
+ name: "_pluginUpgrader",
156
+ type: "address",
157
157
  },
158
158
  ],
159
- name: 'encodeInstallationParams',
159
+ name: "encodeInstallationParams",
160
160
  outputs: [
161
161
  {
162
- internalType: 'bytes',
163
- name: '',
164
- type: 'bytes',
162
+ internalType: "bytes",
163
+ name: "",
164
+ type: "bytes",
165
165
  },
166
166
  ],
167
- stateMutability: 'pure',
168
- type: 'function',
167
+ stateMutability: "pure",
168
+ type: "function",
169
169
  },
170
170
  {
171
171
  inputs: [
172
172
  {
173
- internalType: 'address',
174
- name: '_pluginUpgrader',
175
- type: 'address',
173
+ internalType: "address",
174
+ name: "_pluginUpgrader",
175
+ type: "address",
176
176
  },
177
177
  ],
178
- name: 'encodeUninstallationParams',
178
+ name: "encodeUninstallationParams",
179
179
  outputs: [
180
180
  {
181
- internalType: 'bytes',
182
- name: '',
183
- type: 'bytes',
181
+ internalType: "bytes",
182
+ name: "",
183
+ type: "bytes",
184
184
  },
185
185
  ],
186
- stateMutability: 'pure',
187
- type: 'function',
186
+ stateMutability: "pure",
187
+ type: "function",
188
188
  },
189
189
  {
190
190
  inputs: [],
191
- name: 'implementation',
191
+ name: "implementation",
192
192
  outputs: [
193
193
  {
194
- internalType: 'address',
195
- name: '',
196
- type: 'address',
194
+ internalType: "address",
195
+ name: "",
196
+ type: "address",
197
197
  },
198
198
  ],
199
- stateMutability: 'view',
200
- type: 'function',
199
+ stateMutability: "view",
200
+ type: "function",
201
201
  },
202
202
  {
203
203
  inputs: [],
204
- name: 'memberAccessPluginImplementation',
204
+ name: "memberAccessPluginImplementation",
205
205
  outputs: [
206
206
  {
207
- internalType: 'address',
208
- name: '',
209
- type: 'address',
207
+ internalType: "address",
208
+ name: "",
209
+ type: "address",
210
210
  },
211
211
  ],
212
- stateMutability: 'view',
213
- type: 'function',
212
+ stateMutability: "view",
213
+ type: "function",
214
214
  },
215
215
  {
216
216
  inputs: [
217
217
  {
218
- internalType: 'address',
219
- name: '_dao',
220
- type: 'address',
218
+ internalType: "address",
219
+ name: "_dao",
220
+ type: "address",
221
221
  },
222
222
  {
223
- internalType: 'bytes',
224
- name: '_data',
225
- type: 'bytes',
223
+ internalType: "bytes",
224
+ name: "_data",
225
+ type: "bytes",
226
226
  },
227
227
  ],
228
- name: 'prepareInstallation',
228
+ name: "prepareInstallation",
229
229
  outputs: [
230
230
  {
231
- internalType: 'address',
232
- name: 'mainVotingPlugin',
233
- type: 'address',
231
+ internalType: "address",
232
+ name: "mainVotingPlugin",
233
+ type: "address",
234
234
  },
235
235
  {
236
236
  components: [
237
237
  {
238
- internalType: 'address[]',
239
- name: 'helpers',
240
- type: 'address[]',
238
+ internalType: "address[]",
239
+ name: "helpers",
240
+ type: "address[]",
241
241
  },
242
242
  {
243
243
  components: [
244
244
  {
245
- internalType: 'enum PermissionLib.Operation',
246
- name: 'operation',
247
- type: 'uint8',
245
+ internalType: "enum PermissionLib.Operation",
246
+ name: "operation",
247
+ type: "uint8",
248
248
  },
249
249
  {
250
- internalType: 'address',
251
- name: 'where',
252
- type: 'address',
250
+ internalType: "address",
251
+ name: "where",
252
+ type: "address",
253
253
  },
254
254
  {
255
- internalType: 'address',
256
- name: 'who',
257
- type: 'address',
255
+ internalType: "address",
256
+ name: "who",
257
+ type: "address",
258
258
  },
259
259
  {
260
- internalType: 'address',
261
- name: 'condition',
262
- type: 'address',
260
+ internalType: "address",
261
+ name: "condition",
262
+ type: "address",
263
263
  },
264
264
  {
265
- internalType: 'bytes32',
266
- name: 'permissionId',
267
- type: 'bytes32',
265
+ internalType: "bytes32",
266
+ name: "permissionId",
267
+ type: "bytes32",
268
268
  },
269
269
  ],
270
- internalType: 'struct PermissionLib.MultiTargetPermission[]',
271
- name: 'permissions',
272
- type: 'tuple[]',
270
+ internalType: "struct PermissionLib.MultiTargetPermission[]",
271
+ name: "permissions",
272
+ type: "tuple[]",
273
273
  },
274
274
  ],
275
- internalType: 'struct IPluginSetup.PreparedSetupData',
276
- name: 'preparedSetupData',
277
- type: 'tuple',
275
+ internalType: "struct IPluginSetup.PreparedSetupData",
276
+ name: "preparedSetupData",
277
+ type: "tuple",
278
278
  },
279
279
  ],
280
- stateMutability: 'nonpayable',
281
- type: 'function',
280
+ stateMutability: "nonpayable",
281
+ type: "function",
282
282
  },
283
283
  {
284
284
  inputs: [
285
285
  {
286
- internalType: 'address',
287
- name: '_dao',
288
- type: 'address',
286
+ internalType: "address",
287
+ name: "_dao",
288
+ type: "address",
289
289
  },
290
290
  {
291
291
  components: [
292
292
  {
293
- internalType: 'address',
294
- name: 'plugin',
295
- type: 'address',
293
+ internalType: "address",
294
+ name: "plugin",
295
+ type: "address",
296
296
  },
297
297
  {
298
- internalType: 'address[]',
299
- name: 'currentHelpers',
300
- type: 'address[]',
298
+ internalType: "address[]",
299
+ name: "currentHelpers",
300
+ type: "address[]",
301
301
  },
302
302
  {
303
- internalType: 'bytes',
304
- name: 'data',
305
- type: 'bytes',
303
+ internalType: "bytes",
304
+ name: "data",
305
+ type: "bytes",
306
306
  },
307
307
  ],
308
- internalType: 'struct IPluginSetup.SetupPayload',
309
- name: '_payload',
310
- type: 'tuple',
308
+ internalType: "struct IPluginSetup.SetupPayload",
309
+ name: "_payload",
310
+ type: "tuple",
311
311
  },
312
312
  ],
313
- name: 'prepareUninstallation',
313
+ name: "prepareUninstallation",
314
314
  outputs: [
315
315
  {
316
316
  components: [
317
317
  {
318
- internalType: 'enum PermissionLib.Operation',
319
- name: 'operation',
320
- type: 'uint8',
318
+ internalType: "enum PermissionLib.Operation",
319
+ name: "operation",
320
+ type: "uint8",
321
321
  },
322
322
  {
323
- internalType: 'address',
324
- name: 'where',
325
- type: 'address',
323
+ internalType: "address",
324
+ name: "where",
325
+ type: "address",
326
326
  },
327
327
  {
328
- internalType: 'address',
329
- name: 'who',
330
- type: 'address',
328
+ internalType: "address",
329
+ name: "who",
330
+ type: "address",
331
331
  },
332
332
  {
333
- internalType: 'address',
334
- name: 'condition',
335
- type: 'address',
333
+ internalType: "address",
334
+ name: "condition",
335
+ type: "address",
336
336
  },
337
337
  {
338
- internalType: 'bytes32',
339
- name: 'permissionId',
340
- type: 'bytes32',
338
+ internalType: "bytes32",
339
+ name: "permissionId",
340
+ type: "bytes32",
341
341
  },
342
342
  ],
343
- internalType: 'struct PermissionLib.MultiTargetPermission[]',
344
- name: 'permissionChanges',
345
- type: 'tuple[]',
343
+ internalType: "struct PermissionLib.MultiTargetPermission[]",
344
+ name: "permissionChanges",
345
+ type: "tuple[]",
346
346
  },
347
347
  ],
348
- stateMutability: 'view',
349
- type: 'function',
348
+ stateMutability: "view",
349
+ type: "function",
350
350
  },
351
351
  {
352
352
  inputs: [
353
353
  {
354
- internalType: 'address',
355
- name: '_dao',
356
- type: 'address',
354
+ internalType: "address",
355
+ name: "_dao",
356
+ type: "address",
357
357
  },
358
358
  {
359
- internalType: 'uint16',
360
- name: '_currentBuild',
361
- type: 'uint16',
359
+ internalType: "uint16",
360
+ name: "_currentBuild",
361
+ type: "uint16",
362
362
  },
363
363
  {
364
364
  components: [
365
365
  {
366
- internalType: 'address',
367
- name: 'plugin',
368
- type: 'address',
366
+ internalType: "address",
367
+ name: "plugin",
368
+ type: "address",
369
369
  },
370
370
  {
371
- internalType: 'address[]',
372
- name: 'currentHelpers',
373
- type: 'address[]',
371
+ internalType: "address[]",
372
+ name: "currentHelpers",
373
+ type: "address[]",
374
374
  },
375
375
  {
376
- internalType: 'bytes',
377
- name: 'data',
378
- type: 'bytes',
376
+ internalType: "bytes",
377
+ name: "data",
378
+ type: "bytes",
379
379
  },
380
380
  ],
381
- internalType: 'struct IPluginSetup.SetupPayload',
382
- name: '_payload',
383
- type: 'tuple',
381
+ internalType: "struct IPluginSetup.SetupPayload",
382
+ name: "_payload",
383
+ type: "tuple",
384
384
  },
385
385
  ],
386
- name: 'prepareUpdate',
386
+ name: "prepareUpdate",
387
387
  outputs: [
388
388
  {
389
- internalType: 'bytes',
390
- name: 'initData',
391
- type: 'bytes',
389
+ internalType: "bytes",
390
+ name: "initData",
391
+ type: "bytes",
392
392
  },
393
393
  {
394
394
  components: [
395
395
  {
396
- internalType: 'address[]',
397
- name: 'helpers',
398
- type: 'address[]',
396
+ internalType: "address[]",
397
+ name: "helpers",
398
+ type: "address[]",
399
399
  },
400
400
  {
401
401
  components: [
402
402
  {
403
- internalType: 'enum PermissionLib.Operation',
404
- name: 'operation',
405
- type: 'uint8',
403
+ internalType: "enum PermissionLib.Operation",
404
+ name: "operation",
405
+ type: "uint8",
406
406
  },
407
407
  {
408
- internalType: 'address',
409
- name: 'where',
410
- type: 'address',
408
+ internalType: "address",
409
+ name: "where",
410
+ type: "address",
411
411
  },
412
412
  {
413
- internalType: 'address',
414
- name: 'who',
415
- type: 'address',
413
+ internalType: "address",
414
+ name: "who",
415
+ type: "address",
416
416
  },
417
417
  {
418
- internalType: 'address',
419
- name: 'condition',
420
- type: 'address',
418
+ internalType: "address",
419
+ name: "condition",
420
+ type: "address",
421
421
  },
422
422
  {
423
- internalType: 'bytes32',
424
- name: 'permissionId',
425
- type: 'bytes32',
423
+ internalType: "bytes32",
424
+ name: "permissionId",
425
+ type: "bytes32",
426
426
  },
427
427
  ],
428
- internalType: 'struct PermissionLib.MultiTargetPermission[]',
429
- name: 'permissions',
430
- type: 'tuple[]',
428
+ internalType: "struct PermissionLib.MultiTargetPermission[]",
429
+ name: "permissions",
430
+ type: "tuple[]",
431
431
  },
432
432
  ],
433
- internalType: 'struct IPluginSetup.PreparedSetupData',
434
- name: 'preparedSetupData',
435
- type: 'tuple',
433
+ internalType: "struct IPluginSetup.PreparedSetupData",
434
+ name: "preparedSetupData",
435
+ type: "tuple",
436
436
  },
437
437
  ],
438
- stateMutability: 'nonpayable',
439
- type: 'function',
438
+ stateMutability: "nonpayable",
439
+ type: "function",
440
440
  },
441
441
  {
442
442
  inputs: [
443
443
  {
444
- internalType: 'bytes4',
445
- name: '_interfaceId',
446
- type: 'bytes4',
444
+ internalType: "bytes4",
445
+ name: "_interfaceId",
446
+ type: "bytes4",
447
447
  },
448
448
  ],
449
- name: 'supportsInterface',
449
+ name: "supportsInterface",
450
450
  outputs: [
451
451
  {
452
- internalType: 'bool',
453
- name: '',
454
- type: 'bool',
452
+ internalType: "bool",
453
+ name: "",
454
+ type: "bool",
455
455
  },
456
456
  ],
457
- stateMutability: 'view',
458
- type: 'function',
457
+ stateMutability: "view",
458
+ type: "function",
459
459
  },
460
460
  ];
461
461
  //# sourceMappingURL=governance-setup.js.map