@graphprotocol/grc-20 0.27.0 → 0.29.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.
Files changed (73) hide show
  1. package/dist/contracts.d.ts +2 -2
  2. package/dist/contracts.js +2 -2
  3. package/dist/examples/ranks/create-ordinal-rank.d.ts +8 -0
  4. package/dist/examples/ranks/create-ordinal-rank.d.ts.map +1 -0
  5. package/dist/examples/ranks/create-ordinal-rank.js +42 -0
  6. package/dist/examples/ranks/create-ordinal-rank.js.map +1 -0
  7. package/dist/examples/ranks/create-weighted-rank.d.ts +8 -0
  8. package/dist/examples/ranks/create-weighted-rank.d.ts.map +1 -0
  9. package/dist/examples/ranks/create-weighted-rank.js +42 -0
  10. package/dist/examples/ranks/create-weighted-rank.js.map +1 -0
  11. package/dist/index.d.ts +6 -1
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +6 -1
  14. package/dist/index.js.map +1 -1
  15. package/dist/scripts/setup-rank-types.d.ts +15 -0
  16. package/dist/scripts/setup-rank-types.d.ts.map +1 -0
  17. package/dist/scripts/setup-rank-types.js +62 -0
  18. package/dist/scripts/setup-rank-types.js.map +1 -0
  19. package/dist/src/abis/dao-space-factory.d.ts +30 -12
  20. package/dist/src/abis/dao-space-factory.d.ts.map +1 -1
  21. package/dist/src/abis/dao-space-factory.js +38 -15
  22. package/dist/src/abis/dao-space-factory.js.map +1 -1
  23. package/dist/src/abis/dao-space.d.ts +702 -0
  24. package/dist/src/abis/dao-space.d.ts.map +1 -0
  25. package/dist/src/abis/dao-space.js +911 -0
  26. package/dist/src/abis/dao-space.js.map +1 -0
  27. package/dist/src/abis/index.d.ts +1 -0
  28. package/dist/src/abis/index.d.ts.map +1 -1
  29. package/dist/src/abis/index.js +1 -0
  30. package/dist/src/abis/index.js.map +1 -1
  31. package/dist/src/abis/space-registry.d.ts +51 -9
  32. package/dist/src/abis/space-registry.d.ts.map +1 -1
  33. package/dist/src/abis/space-registry.js +393 -54
  34. package/dist/src/abis/space-registry.js.map +1 -1
  35. package/dist/src/core/ids/system.d.ts +6 -0
  36. package/dist/src/core/ids/system.d.ts.map +1 -1
  37. package/dist/src/core/ids/system.js +6 -0
  38. package/dist/src/core/ids/system.js.map +1 -1
  39. package/dist/src/encodings/get-create-dao-space-calldata.d.ts +9 -0
  40. package/dist/src/encodings/get-create-dao-space-calldata.d.ts.map +1 -1
  41. package/dist/src/encodings/get-create-dao-space-calldata.js +33 -1
  42. package/dist/src/encodings/get-create-dao-space-calldata.js.map +1 -1
  43. package/dist/src/encodings/get-create-dao-space-calldata.test.js +63 -1
  44. package/dist/src/encodings/get-create-dao-space-calldata.test.js.map +1 -1
  45. package/dist/src/encodings/get-create-personal-space-calldata.d.ts +33 -0
  46. package/dist/src/encodings/get-create-personal-space-calldata.d.ts.map +1 -0
  47. package/dist/src/encodings/get-create-personal-space-calldata.js +43 -0
  48. package/dist/src/encodings/get-create-personal-space-calldata.js.map +1 -0
  49. package/dist/src/encodings/get-create-personal-space-calldata.test.d.ts +2 -0
  50. package/dist/src/encodings/get-create-personal-space-calldata.test.d.ts.map +1 -0
  51. package/dist/src/encodings/get-create-personal-space-calldata.test.js +15 -0
  52. package/dist/src/encodings/get-create-personal-space-calldata.test.js.map +1 -0
  53. package/dist/src/encodings/index.d.ts +1 -1
  54. package/dist/src/encodings/index.d.ts.map +1 -1
  55. package/dist/src/encodings/index.js +1 -1
  56. package/dist/src/encodings/index.js.map +1 -1
  57. package/dist/src/ranks/create-rank.d.ts +42 -0
  58. package/dist/src/ranks/create-rank.d.ts.map +1 -0
  59. package/dist/src/ranks/create-rank.js +139 -0
  60. package/dist/src/ranks/create-rank.js.map +1 -0
  61. package/dist/src/ranks/create-rank.test.d.ts +2 -0
  62. package/dist/src/ranks/create-rank.test.d.ts.map +1 -0
  63. package/dist/src/ranks/create-rank.test.js +246 -0
  64. package/dist/src/ranks/create-rank.test.js.map +1 -0
  65. package/dist/src/ranks/index.d.ts +3 -0
  66. package/dist/src/ranks/index.d.ts.map +1 -0
  67. package/dist/src/ranks/index.js +3 -0
  68. package/dist/src/ranks/index.js.map +1 -0
  69. package/dist/src/ranks/types.d.ts +30 -0
  70. package/dist/src/ranks/types.d.ts.map +1 -0
  71. package/dist/src/ranks/types.js +2 -0
  72. package/dist/src/ranks/types.js.map +1 -0
  73. package/package.json +1 -1
@@ -0,0 +1,911 @@
1
+ export const abi = [
2
+ {
3
+ inputs: [],
4
+ stateMutability: 'nonpayable',
5
+ type: 'constructor',
6
+ },
7
+ {
8
+ inputs: [],
9
+ name: 'ActionReverted',
10
+ type: 'error',
11
+ },
12
+ {
13
+ inputs: [],
14
+ name: 'CanNotExecute',
15
+ type: 'error',
16
+ },
17
+ {
18
+ inputs: [],
19
+ name: 'CanNotVote',
20
+ type: 'error',
21
+ },
22
+ {
23
+ inputs: [],
24
+ name: 'FastPathRestricted',
25
+ type: 'error',
26
+ },
27
+ {
28
+ inputs: [],
29
+ name: 'InvalidAction',
30
+ type: 'error',
31
+ },
32
+ {
33
+ inputs: [],
34
+ name: 'InvalidAddressForRole',
35
+ type: 'error',
36
+ },
37
+ {
38
+ inputs: [],
39
+ name: 'InvalidCaller',
40
+ type: 'error',
41
+ },
42
+ {
43
+ inputs: [],
44
+ name: 'InvalidFromSpace',
45
+ type: 'error',
46
+ },
47
+ {
48
+ inputs: [],
49
+ name: 'InvalidInitialization',
50
+ type: 'error',
51
+ },
52
+ {
53
+ inputs: [],
54
+ name: 'InvalidProposalId',
55
+ type: 'error',
56
+ },
57
+ {
58
+ inputs: [],
59
+ name: 'InvalidSetting',
60
+ type: 'error',
61
+ },
62
+ {
63
+ inputs: [],
64
+ name: 'NotInitializing',
65
+ type: 'error',
66
+ },
67
+ {
68
+ inputs: [],
69
+ name: 'OneActionForFastPath',
70
+ type: 'error',
71
+ },
72
+ {
73
+ inputs: [],
74
+ name: 'SpaceNotRegistered',
75
+ type: 'error',
76
+ },
77
+ {
78
+ inputs: [],
79
+ name: 'VerifyDisabled',
80
+ type: 'error',
81
+ },
82
+ {
83
+ anonymous: false,
84
+ inputs: [
85
+ {
86
+ indexed: false,
87
+ internalType: 'uint64',
88
+ name: 'version',
89
+ type: 'uint64',
90
+ },
91
+ ],
92
+ name: 'Initialized',
93
+ type: 'event',
94
+ },
95
+ {
96
+ inputs: [],
97
+ name: 'DAO',
98
+ outputs: [
99
+ {
100
+ internalType: 'bytes32',
101
+ name: '',
102
+ type: 'bytes32',
103
+ },
104
+ ],
105
+ stateMutability: 'view',
106
+ type: 'function',
107
+ },
108
+ {
109
+ inputs: [],
110
+ name: 'EDITOR',
111
+ outputs: [
112
+ {
113
+ internalType: 'bytes32',
114
+ name: '',
115
+ type: 'bytes32',
116
+ },
117
+ ],
118
+ stateMutability: 'view',
119
+ type: 'function',
120
+ },
121
+ {
122
+ inputs: [],
123
+ name: 'FAST_PATH_RESTRICTED',
124
+ outputs: [
125
+ {
126
+ internalType: 'bytes32',
127
+ name: '',
128
+ type: 'bytes32',
129
+ },
130
+ ],
131
+ stateMutability: 'view',
132
+ type: 'function',
133
+ },
134
+ {
135
+ inputs: [],
136
+ name: 'MEMBER',
137
+ outputs: [
138
+ {
139
+ internalType: 'bytes32',
140
+ name: '',
141
+ type: 'bytes32',
142
+ },
143
+ ],
144
+ stateMutability: 'view',
145
+ type: 'function',
146
+ },
147
+ {
148
+ inputs: [],
149
+ name: 'MINIMUM_VOTING_DURATION',
150
+ outputs: [
151
+ {
152
+ internalType: 'uint256',
153
+ name: '',
154
+ type: 'uint256',
155
+ },
156
+ ],
157
+ stateMutability: 'view',
158
+ type: 'function',
159
+ },
160
+ {
161
+ inputs: [],
162
+ name: 'RATIO_BASE',
163
+ outputs: [
164
+ {
165
+ internalType: 'uint256',
166
+ name: '',
167
+ type: 'uint256',
168
+ },
169
+ ],
170
+ stateMutability: 'view',
171
+ type: 'function',
172
+ },
173
+ {
174
+ inputs: [],
175
+ name: 'SPACE_REGISTRY',
176
+ outputs: [
177
+ {
178
+ internalType: 'bytes32',
179
+ name: '',
180
+ type: 'bytes32',
181
+ },
182
+ ],
183
+ stateMutability: 'view',
184
+ type: 'function',
185
+ },
186
+ {
187
+ inputs: [
188
+ {
189
+ internalType: 'bytes4',
190
+ name: '_selector',
191
+ type: 'bytes4',
192
+ },
193
+ ],
194
+ name: 'actionIsFastPathValid',
195
+ outputs: [
196
+ {
197
+ internalType: 'bool',
198
+ name: '_isValid',
199
+ type: 'bool',
200
+ },
201
+ ],
202
+ stateMutability: 'view',
203
+ type: 'function',
204
+ },
205
+ {
206
+ inputs: [
207
+ {
208
+ internalType: 'address',
209
+ name: '_newEditor',
210
+ type: 'address',
211
+ },
212
+ ],
213
+ name: 'addEditor',
214
+ outputs: [],
215
+ stateMutability: 'nonpayable',
216
+ type: 'function',
217
+ },
218
+ {
219
+ inputs: [
220
+ {
221
+ internalType: 'address',
222
+ name: '_newMember',
223
+ type: 'address',
224
+ },
225
+ ],
226
+ name: 'addMember',
227
+ outputs: [],
228
+ stateMutability: 'nonpayable',
229
+ type: 'function',
230
+ },
231
+ {
232
+ inputs: [
233
+ {
234
+ internalType: 'bytes32',
235
+ name: '_action',
236
+ type: 'bytes32',
237
+ },
238
+ {
239
+ internalType: 'bytes32',
240
+ name: '_topicInput',
241
+ type: 'bytes32',
242
+ },
243
+ {
244
+ internalType: 'bytes',
245
+ name: '_data',
246
+ type: 'bytes',
247
+ },
248
+ ],
249
+ name: 'fetch',
250
+ outputs: [
251
+ {
252
+ internalType: 'bytes32',
253
+ name: '_topicOutput',
254
+ type: 'bytes32',
255
+ },
256
+ ],
257
+ stateMutability: 'view',
258
+ type: 'function',
259
+ },
260
+ {
261
+ inputs: [
262
+ {
263
+ internalType: 'bytes32',
264
+ name: '_topic',
265
+ type: 'bytes32',
266
+ },
267
+ {
268
+ internalType: 'bytes',
269
+ name: '_flaggedId',
270
+ type: 'bytes',
271
+ },
272
+ ],
273
+ name: 'flag',
274
+ outputs: [],
275
+ stateMutability: 'nonpayable',
276
+ type: 'function',
277
+ },
278
+ {
279
+ inputs: [
280
+ {
281
+ internalType: 'bytes16',
282
+ name: '_proposalId',
283
+ type: 'bytes16',
284
+ },
285
+ ],
286
+ name: 'getLatestProposalInformation',
287
+ outputs: [
288
+ {
289
+ internalType: 'bool',
290
+ name: '_executed',
291
+ type: 'bool',
292
+ },
293
+ {
294
+ internalType: 'address',
295
+ name: '_creator',
296
+ type: 'address',
297
+ },
298
+ {
299
+ components: [
300
+ {
301
+ internalType: 'enum IDAOSpace.VotingMode',
302
+ name: 'votingMode',
303
+ type: 'uint8',
304
+ },
305
+ {
306
+ internalType: 'uint256',
307
+ name: 'supportThreshold',
308
+ type: 'uint256',
309
+ },
310
+ {
311
+ internalType: 'uint256',
312
+ name: 'quorum',
313
+ type: 'uint256',
314
+ },
315
+ {
316
+ internalType: 'uint256',
317
+ name: 'startDate',
318
+ type: 'uint256',
319
+ },
320
+ {
321
+ internalType: 'uint256',
322
+ name: 'lastDate',
323
+ type: 'uint256',
324
+ },
325
+ ],
326
+ internalType: 'struct IDAOSpace.ProposalParameters',
327
+ name: '_parameters',
328
+ type: 'tuple',
329
+ },
330
+ {
331
+ components: [
332
+ {
333
+ internalType: 'uint256',
334
+ name: 'abstain',
335
+ type: 'uint256',
336
+ },
337
+ {
338
+ internalType: 'uint256',
339
+ name: 'yes',
340
+ type: 'uint256',
341
+ },
342
+ {
343
+ internalType: 'uint256',
344
+ name: 'no',
345
+ type: 'uint256',
346
+ },
347
+ ],
348
+ internalType: 'struct IDAOSpace.Tally',
349
+ name: '_tally',
350
+ type: 'tuple',
351
+ },
352
+ {
353
+ components: [
354
+ {
355
+ internalType: 'address',
356
+ name: 'to',
357
+ type: 'address',
358
+ },
359
+ {
360
+ internalType: 'uint256',
361
+ name: 'value',
362
+ type: 'uint256',
363
+ },
364
+ {
365
+ internalType: 'bytes',
366
+ name: 'data',
367
+ type: 'bytes',
368
+ },
369
+ ],
370
+ internalType: 'struct IDAOSpace.Action[]',
371
+ name: '_actions',
372
+ type: 'tuple[]',
373
+ },
374
+ ],
375
+ stateMutability: 'view',
376
+ type: 'function',
377
+ },
378
+ {
379
+ inputs: [
380
+ {
381
+ internalType: 'bytes16',
382
+ name: '_proposalId',
383
+ type: 'bytes16',
384
+ },
385
+ {
386
+ internalType: 'address',
387
+ name: '_account',
388
+ type: 'address',
389
+ },
390
+ ],
391
+ name: 'getLatestProposalVote',
392
+ outputs: [
393
+ {
394
+ internalType: 'enum IDAOSpace.VoteOption',
395
+ name: '_voteOption',
396
+ type: 'uint8',
397
+ },
398
+ ],
399
+ stateMutability: 'view',
400
+ type: 'function',
401
+ },
402
+ {
403
+ inputs: [
404
+ {
405
+ internalType: 'bytes16',
406
+ name: '_proposalId',
407
+ type: 'bytes16',
408
+ },
409
+ {
410
+ internalType: 'uint8',
411
+ name: '_version',
412
+ type: 'uint8',
413
+ },
414
+ ],
415
+ name: 'getProposalInformation',
416
+ outputs: [
417
+ {
418
+ internalType: 'bool',
419
+ name: '_executed',
420
+ type: 'bool',
421
+ },
422
+ {
423
+ internalType: 'address',
424
+ name: '_creator',
425
+ type: 'address',
426
+ },
427
+ {
428
+ components: [
429
+ {
430
+ internalType: 'enum IDAOSpace.VotingMode',
431
+ name: 'votingMode',
432
+ type: 'uint8',
433
+ },
434
+ {
435
+ internalType: 'uint256',
436
+ name: 'supportThreshold',
437
+ type: 'uint256',
438
+ },
439
+ {
440
+ internalType: 'uint256',
441
+ name: 'quorum',
442
+ type: 'uint256',
443
+ },
444
+ {
445
+ internalType: 'uint256',
446
+ name: 'startDate',
447
+ type: 'uint256',
448
+ },
449
+ {
450
+ internalType: 'uint256',
451
+ name: 'lastDate',
452
+ type: 'uint256',
453
+ },
454
+ ],
455
+ internalType: 'struct IDAOSpace.ProposalParameters',
456
+ name: '_parameters',
457
+ type: 'tuple',
458
+ },
459
+ {
460
+ components: [
461
+ {
462
+ internalType: 'uint256',
463
+ name: 'abstain',
464
+ type: 'uint256',
465
+ },
466
+ {
467
+ internalType: 'uint256',
468
+ name: 'yes',
469
+ type: 'uint256',
470
+ },
471
+ {
472
+ internalType: 'uint256',
473
+ name: 'no',
474
+ type: 'uint256',
475
+ },
476
+ ],
477
+ internalType: 'struct IDAOSpace.Tally',
478
+ name: '_tally',
479
+ type: 'tuple',
480
+ },
481
+ {
482
+ components: [
483
+ {
484
+ internalType: 'address',
485
+ name: 'to',
486
+ type: 'address',
487
+ },
488
+ {
489
+ internalType: 'uint256',
490
+ name: 'value',
491
+ type: 'uint256',
492
+ },
493
+ {
494
+ internalType: 'bytes',
495
+ name: 'data',
496
+ type: 'bytes',
497
+ },
498
+ ],
499
+ internalType: 'struct IDAOSpace.Action[]',
500
+ name: '_actions',
501
+ type: 'tuple[]',
502
+ },
503
+ ],
504
+ stateMutability: 'view',
505
+ type: 'function',
506
+ },
507
+ {
508
+ inputs: [
509
+ {
510
+ internalType: 'bytes16',
511
+ name: '_proposalId',
512
+ type: 'bytes16',
513
+ },
514
+ {
515
+ internalType: 'uint8',
516
+ name: '_version',
517
+ type: 'uint8',
518
+ },
519
+ {
520
+ internalType: 'address',
521
+ name: '_account',
522
+ type: 'address',
523
+ },
524
+ ],
525
+ name: 'getProposalVote',
526
+ outputs: [
527
+ {
528
+ internalType: 'enum IDAOSpace.VoteOption',
529
+ name: '_voteOption',
530
+ type: 'uint8',
531
+ },
532
+ ],
533
+ stateMutability: 'view',
534
+ type: 'function',
535
+ },
536
+ {
537
+ inputs: [
538
+ {
539
+ internalType: 'bytes32',
540
+ name: '_role',
541
+ type: 'bytes32',
542
+ },
543
+ {
544
+ internalType: 'address',
545
+ name: '_account',
546
+ type: 'address',
547
+ },
548
+ ],
549
+ name: 'hasRole',
550
+ outputs: [
551
+ {
552
+ internalType: 'bool',
553
+ name: '_hasRole',
554
+ type: 'bool',
555
+ },
556
+ ],
557
+ stateMutability: 'view',
558
+ type: 'function',
559
+ },
560
+ {
561
+ inputs: [
562
+ {
563
+ internalType: 'bytes',
564
+ name: '_initializerData',
565
+ type: 'bytes',
566
+ },
567
+ ],
568
+ name: 'initialize',
569
+ outputs: [],
570
+ stateMutability: 'nonpayable',
571
+ type: 'function',
572
+ },
573
+ {
574
+ inputs: [
575
+ {
576
+ internalType: 'bytes16',
577
+ name: '_proposalId',
578
+ type: 'bytes16',
579
+ },
580
+ ],
581
+ name: 'isSupportThresholdReached',
582
+ outputs: [
583
+ {
584
+ internalType: 'bool',
585
+ name: '_isSupportThresholdReached',
586
+ type: 'bool',
587
+ },
588
+ ],
589
+ stateMutability: 'view',
590
+ type: 'function',
591
+ },
592
+ {
593
+ inputs: [
594
+ {
595
+ internalType: 'bytes16',
596
+ name: '_proposalId',
597
+ type: 'bytes16',
598
+ },
599
+ ],
600
+ name: 'latestProposalVersion',
601
+ outputs: [
602
+ {
603
+ internalType: 'uint8',
604
+ name: '_version',
605
+ type: 'uint8',
606
+ },
607
+ ],
608
+ stateMutability: 'view',
609
+ type: 'function',
610
+ },
611
+ {
612
+ inputs: [],
613
+ name: 'name',
614
+ outputs: [
615
+ {
616
+ internalType: 'string',
617
+ name: '_name',
618
+ type: 'string',
619
+ },
620
+ ],
621
+ stateMutability: 'pure',
622
+ type: 'function',
623
+ },
624
+ {
625
+ inputs: [
626
+ {
627
+ internalType: 'bytes32',
628
+ name: '_action',
629
+ type: 'bytes32',
630
+ },
631
+ {
632
+ internalType: 'bytes32',
633
+ name: '_topic',
634
+ type: 'bytes32',
635
+ },
636
+ {
637
+ internalType: 'bytes',
638
+ name: '_data',
639
+ type: 'bytes',
640
+ },
641
+ ],
642
+ name: 'ping',
643
+ outputs: [],
644
+ stateMutability: 'nonpayable',
645
+ type: 'function',
646
+ },
647
+ {
648
+ inputs: [
649
+ {
650
+ internalType: 'bytes32',
651
+ name: '_topic',
652
+ type: 'bytes32',
653
+ },
654
+ {
655
+ internalType: 'bytes',
656
+ name: '_editsContentUri',
657
+ type: 'bytes',
658
+ },
659
+ {
660
+ internalType: 'bytes',
661
+ name: '_editsMetadata',
662
+ type: 'bytes',
663
+ },
664
+ ],
665
+ name: 'publish',
666
+ outputs: [],
667
+ stateMutability: 'nonpayable',
668
+ type: 'function',
669
+ },
670
+ {
671
+ inputs: [
672
+ {
673
+ internalType: 'address',
674
+ name: '_oldEditor',
675
+ type: 'address',
676
+ },
677
+ ],
678
+ name: 'removeEditor',
679
+ outputs: [],
680
+ stateMutability: 'nonpayable',
681
+ type: 'function',
682
+ },
683
+ {
684
+ inputs: [
685
+ {
686
+ internalType: 'address',
687
+ name: '_oldMember',
688
+ type: 'address',
689
+ },
690
+ ],
691
+ name: 'removeMember',
692
+ outputs: [],
693
+ stateMutability: 'nonpayable',
694
+ type: 'function',
695
+ },
696
+ {
697
+ inputs: [],
698
+ name: 'spaceRegistry',
699
+ outputs: [
700
+ {
701
+ internalType: 'contract ISpaceRegistry',
702
+ name: '_spaceRegistry',
703
+ type: 'address',
704
+ },
705
+ ],
706
+ stateMutability: 'view',
707
+ type: 'function',
708
+ },
709
+ {
710
+ inputs: [],
711
+ name: 'totalEditors',
712
+ outputs: [
713
+ {
714
+ internalType: 'uint256',
715
+ name: '_totalEditors',
716
+ type: 'uint256',
717
+ },
718
+ ],
719
+ stateMutability: 'view',
720
+ type: 'function',
721
+ },
722
+ {
723
+ inputs: [],
724
+ name: 'typeId',
725
+ outputs: [
726
+ {
727
+ internalType: 'bytes32',
728
+ name: '_type',
729
+ type: 'bytes32',
730
+ },
731
+ ],
732
+ stateMutability: 'pure',
733
+ type: 'function',
734
+ },
735
+ {
736
+ inputs: [
737
+ {
738
+ internalType: 'bytes32',
739
+ name: '_topic',
740
+ type: 'bytes32',
741
+ },
742
+ {
743
+ internalType: 'bytes',
744
+ name: '_unflaggedId',
745
+ type: 'bytes',
746
+ },
747
+ ],
748
+ name: 'unflag',
749
+ outputs: [],
750
+ stateMutability: 'nonpayable',
751
+ type: 'function',
752
+ },
753
+ {
754
+ inputs: [
755
+ {
756
+ internalType: 'address',
757
+ name: '_space',
758
+ type: 'address',
759
+ },
760
+ ],
761
+ name: 'unrestrictSpace',
762
+ outputs: [],
763
+ stateMutability: 'nonpayable',
764
+ type: 'function',
765
+ },
766
+ {
767
+ inputs: [
768
+ {
769
+ components: [
770
+ {
771
+ internalType: 'uint256',
772
+ name: 'slowPathPercentageThreshold',
773
+ type: 'uint256',
774
+ },
775
+ {
776
+ internalType: 'uint256',
777
+ name: 'fastPathFlatThreshold',
778
+ type: 'uint256',
779
+ },
780
+ {
781
+ internalType: 'uint256',
782
+ name: 'quorum',
783
+ type: 'uint256',
784
+ },
785
+ {
786
+ internalType: 'uint256',
787
+ name: 'duration',
788
+ type: 'uint256',
789
+ },
790
+ ],
791
+ internalType: 'struct IDAOSpace.VotingSettings',
792
+ name: '_votingSettings',
793
+ type: 'tuple',
794
+ },
795
+ ],
796
+ name: 'updateVotingSettings',
797
+ outputs: [],
798
+ stateMutability: 'nonpayable',
799
+ type: 'function',
800
+ },
801
+ {
802
+ inputs: [
803
+ {
804
+ internalType: 'address',
805
+ name: '',
806
+ type: 'address',
807
+ },
808
+ {
809
+ internalType: 'bytes32',
810
+ name: '',
811
+ type: 'bytes32',
812
+ },
813
+ {
814
+ internalType: 'bytes32',
815
+ name: '',
816
+ type: 'bytes32',
817
+ },
818
+ {
819
+ internalType: 'bytes',
820
+ name: '',
821
+ type: 'bytes',
822
+ },
823
+ {
824
+ internalType: 'bytes',
825
+ name: '',
826
+ type: 'bytes',
827
+ },
828
+ ],
829
+ name: 'verify',
830
+ outputs: [],
831
+ stateMutability: 'pure',
832
+ type: 'function',
833
+ },
834
+ {
835
+ inputs: [],
836
+ name: 'version',
837
+ outputs: [
838
+ {
839
+ internalType: 'string',
840
+ name: '_version',
841
+ type: 'string',
842
+ },
843
+ ],
844
+ stateMutability: 'pure',
845
+ type: 'function',
846
+ },
847
+ {
848
+ inputs: [],
849
+ name: 'votingSettings',
850
+ outputs: [
851
+ {
852
+ components: [
853
+ {
854
+ internalType: 'uint256',
855
+ name: 'slowPathPercentageThreshold',
856
+ type: 'uint256',
857
+ },
858
+ {
859
+ internalType: 'uint256',
860
+ name: 'fastPathFlatThreshold',
861
+ type: 'uint256',
862
+ },
863
+ {
864
+ internalType: 'uint256',
865
+ name: 'quorum',
866
+ type: 'uint256',
867
+ },
868
+ {
869
+ internalType: 'uint256',
870
+ name: 'duration',
871
+ type: 'uint256',
872
+ },
873
+ ],
874
+ internalType: 'struct IDAOSpace.VotingSettings',
875
+ name: '_votingSettings',
876
+ type: 'tuple',
877
+ },
878
+ ],
879
+ stateMutability: 'view',
880
+ type: 'function',
881
+ },
882
+ {
883
+ inputs: [
884
+ {
885
+ internalType: 'address',
886
+ name: '_fromSpace',
887
+ type: 'address',
888
+ },
889
+ {
890
+ internalType: 'bytes32',
891
+ name: '_action',
892
+ type: 'bytes32',
893
+ },
894
+ {
895
+ internalType: 'bytes32',
896
+ name: '',
897
+ type: 'bytes32',
898
+ },
899
+ {
900
+ internalType: 'bytes',
901
+ name: '_data',
902
+ type: 'bytes',
903
+ },
904
+ ],
905
+ name: 'write',
906
+ outputs: [],
907
+ stateMutability: 'nonpayable',
908
+ type: 'function',
909
+ },
910
+ ];
911
+ //# sourceMappingURL=dao-space.js.map