forked from eosdac/eosdac-api
-
Notifications
You must be signed in to change notification settings - Fork 4
/
aw-api-dao-oas.yaml
1571 lines (1566 loc) · 63.6 KB
/
aw-api-dao-oas.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.0
info:
title: aw-api-dao
description: >-
This document describes APIs for DAO related operations.
All paths are prefixed with `/v2/dao`.
The old prefix i.e. `/v1/eosdac` is currently supported but it will soon be
permanently removed.
API clients are encouraged to start migrating their apps to utilise the new
prefix.
version: 1.0.0
servers:
- url: https://dao-api-test.alienworlds.io/v2/dao
description: Test server
- url: https://dao-api.alienworlds.io/v2/dao
description: Production DAO API server
- url: https://api.alienworlds.io/v2/dao
description: Producton API server
paths:
/dacs:
get:
tags:
- default
summary: List all DACs and their respective info
description: >-
Provides list of all available DACs along with their respective detailed
information e.g. balance, statistics and globals.
parameters:
- name: dacId
in: query
schema:
type: string
description: 'Filter the list by dacId. <br><br>[length: 5-6 characters]'
example: eyeke
- name: limit
in: query
schema:
type: integer
description: 'Maximum items to return. <br><br>[min: 1]'
example: '2'
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
examples:
example-0:
summary: list all dacs
value:
results:
- dacId: eyeke
owner: eyeke.dac
title: Eyeke
isDacActive: false
symbol:
contract: token.worlds
code: EYE
precision: 4
refs:
'12': QmUXjmrQ6j2ukCdPjacdQ48MmYo853u4Y5y3kb5b4HBuuF
logoUrl: QmW1SeninpNQUMLstTPFTv7tMkRdBZMHBJTgf17Znr1uKK
description: >-
Also known as Second Earth or Terra Alterna as it is
the nearest, and closest, of all Alien Worlds to
Earth. Humans found Eyeke inhabited by a Monastic
order of Greys who believe that Eyeke is a spiritual
place. Despite initial fears, Trilium mining seems
to be tolerated by the Monks at this time.
accounts:
auth: eyeke.world
treasury: eyeke.world
custodian: dao.worlds
msigOwned: eyeke.dac
proposals: prop.worlds
escrow: escrw.worlds
voteWeight: stkvt.worlds
activation: newperiodctl
referendum: ref.worlds
spendings: eyeke.dac
dacTreasury:
balance: 8148085.9744 TLM
dacStats:
supply: 9221737.242 EYE
maxSupply: 10000000000 EYE
issuer: federation
transferLocked: false
electionGlobals:
authThresholdHigh: 3
authThresholdLow: 2
authThresholdMid: 3
budgetPercentage: 200
initialVoteQuorumPercent: 2
lastClaimBudgetTime: '2023-07-26T05:07:45'
lastPeriodTime: '2023-07-26T02:39:14'
lockupReleaseTimeDelay: 1
lockupAsset:
quantity: 5000.0000 EYE
contract: token.worlds
maxVotes: 2
metInitialVotesThreshold: 1
numberActiveCandidates: 16
numElected: 5
periodLength: 604800
requestedPayMax:
quantity: 0.0000 TLM
contract: alien.worlds
shouldPayViaServiceProvider: 0
tokenSupplyTheshold: 100000000
totalVotesOnCandidates: '421963069221'
totalWeightOfVotes: '84755997865'
voteQuorumPercent: 1
- dacId: kavian
owner: kavian.dac
title: Kavian
isDacActive: false
symbol:
contract: token.worlds
code: KAV
precision: 4
refs:
'12': QmdihYLTt6T1G3N9jHs1bnUSGRTZHyQJPYwh9edLsnjPiK
logoUrl: QmY9n6yWcyYLKJuZ2EVnL1m7iSFovA1GCabhgDa4H1gbZN
description: >-
Although most land on Kavian is rocky and icy, there
are some unusual areas where diverse bio-systems
have flourished. Legend has it that these areas were
terraformed by ancient aliens. Kavian has a number
of small Reptiloid villages.
accounts:
auth: kavian.world
treasury: kavian.world
custodian: dao.worlds
msigOwned: kavian.dac
proposals: prop.worlds
escrow: escrw.worlds
voteWeight: stkvt.worlds
activation: newperiodctl
referendum: ref.worlds
spendings: kavian.dac
dacTreasury:
balance: 15943979.9359 TLM
dacStats:
supply: 9017494.2203 KAV
maxSupply: 10000000000 KAV
issuer: federation
transferLocked: false
electionGlobals:
authThresholdHigh: 3
authThresholdLow: 2
authThresholdMid: 3
budgetPercentage: 200
initialVoteQuorumPercent: 2
lastClaimBudgetTime: '2023-07-26T14:46:11'
lastPeriodTime: '2023-07-26T02:39:14'
lockupReleaseTimeDelay: 1
lockupAsset:
quantity: 5000.0000 KAV
contract: token.worlds
maxVotes: 2
metInitialVotesThreshold: 1
numberActiveCandidates: 12
numElected: 5
periodLength: 604800
requestedPayMax:
quantity: 0.0000 TLM
contract: alien.worlds
shouldPayViaServiceProvider: 0
tokenSupplyTheshold: 100000000
totalVotesOnCandidates: '287041240908'
totalWeightOfVotes: '57935556857'
voteQuorumPercent: 1
- dacId: magor
owner: magor.dac
title: Magor
isDacActive: false
symbol:
contract: token.worlds
code: MAG
precision: 4
refs:
'12': Qmd41ZeVAzUoaVbvuEYcuTm3D2j2rwNJ8WjSnrFk7TneAq
logoUrl: QmTSecCGktdAt7xLZs7vqiXuxe3zMNpvsSy16LQ7ShwNN5
description: >-
Magor has the most hostile planetary environment in
the federation. Due to the volcanic activity, the
sky is covered in smoke and the terrain is extremely
mountainous. There are no permanent settlements but
the sandy part of Magor is considered an anomaly; It
is rumoured that the sand covers many ancient
secrets.
accounts:
auth: magor.world
treasury: magor.world
custodian: dao.worlds
msigOwned: magor.dac
proposals: prop.worlds
escrow: escrw.worlds
voteWeight: stkvt.worlds
activation: newperiodctl
referendum: ref.worlds
spendings: magor.dac
dacTreasury:
balance: 7802897.1845 TLM
dacStats:
supply: 6310323.5658 MAG
maxSupply: 10000000000 MAG
issuer: federation
transferLocked: false
electionGlobals:
authThresholdHigh: 3
authThresholdLow: 2
authThresholdMid: 3
budgetPercentage: 200
initialVoteQuorumPercent: 2
lastClaimBudgetTime: '2023-07-26T02:40:14'
lastPeriodTime: '2023-07-26T02:39:14'
lockupReleaseTimeDelay: 1
lockupAsset:
quantity: 5000.0000 MAG
contract: token.worlds
maxVotes: 2
metInitialVotesThreshold: 1
numberActiveCandidates: 17
numElected: 5
periodLength: 604800
requestedPayMax:
quantity: 0.0000 TLM
contract: alien.worlds
shouldPayViaServiceProvider: 0
tokenSupplyTheshold: 100000000
totalVotesOnCandidates: '197495629715'
totalWeightOfVotes: '41143031533'
voteQuorumPercent: 1
- dacId: naron
owner: naron.dac
title: Naron
isDacActive: false
symbol:
contract: token.worlds
code: NAR
precision: 4
refs:
'12': QmX2ui6n2thrF1JZuDfsu3VHsMCHhzQe3CxsJ3raUnjsPj
logoUrl: QmRNzgY1gBqAS3H7nadRNg19g6aTW8hqB2EJCMX8nXFcpx
description: >-
Naron is also a striped planet and it's geological
structure has given rise to distinctive bands of
environments. Large icy caps give way to mountainous
terrains on both hemispheres. Then come rocky and
grassy terrains with 2 huge lakes and sandy desert
nearer the equator. The island in the largest lake
(Lake Nyari) is held sacred by many alien races and
has rival claims have caused major conflicts.
accounts:
auth: naron.world
treasury: naron.world
custodian: dao.worlds
msigOwned: naron.dac
proposals: prop.worlds
escrow: escrw.worlds
voteWeight: stkvt.worlds
activation: newperiodctl
referendum: ref.worlds
spendings: naron.dac
dacTreasury:
balance: 8292655.1424 TLM
dacStats:
supply: 9990612.5942 NAR
maxSupply: 10000000000 NAR
issuer: federation
transferLocked: false
electionGlobals:
authThresholdHigh: 3
authThresholdLow: 2
authThresholdMid: 3
budgetPercentage: 200
initialVoteQuorumPercent: 2
lastClaimBudgetTime: '2023-07-29T13:04:31'
lastPeriodTime: '2023-07-26T02:39:14'
lockupReleaseTimeDelay: 1
lockupAsset:
quantity: 5000.0000 NAR
contract: token.worlds
maxVotes: 2
metInitialVotesThreshold: 1
numberActiveCandidates: 18
numElected: 5
periodLength: 604800
requestedPayMax:
quantity: 0.0000 TLM
contract: alien.worlds
shouldPayViaServiceProvider: 0
tokenSupplyTheshold: 100000000
totalVotesOnCandidates: '161054465541'
totalWeightOfVotes: '41148463271'
voteQuorumPercent: 1
- dacId: nerix
owner: neri.dac
title: Neri
isDacActive: false
symbol:
contract: token.worlds
code: NER
precision: 4
refs:
'12': QmWeJmvhfG3WioNYCRwM9584xEd5tJU8cihXNRGncLz3xg
logoUrl: QmbpdwnKXR2YHkgo7vQSvrQUbMJ4QYJMiAXKs8hj26XyNW
description: >-
A striped planet with largest forest and sandy
areas, Neri also has some of the largest areas of
methane swamplands. Large numbers of little green
people have made the forests of Neri their home but
they aim to live in balance with nature so casual
visitors may not even notice the colonies.
accounts:
auth: neri.world
treasury: neri.world
custodian: dao.worlds
msigOwned: neri.dac
proposals: prop.worlds
escrow: escrw.worlds
voteWeight: stkvt.worlds
activation: newperiodctl
referendum: ref.worlds
spendings: neri.dac
dacTreasury:
balance: 20999014.8565 TLM
dacStats:
supply: 12576663.9948 NER
maxSupply: 10000000000 NER
issuer: federation
transferLocked: false
electionGlobals:
authThresholdHigh: 3
authThresholdLow: 2
authThresholdMid: 3
budgetPercentage: 200
initialVoteQuorumPercent: 2
lastClaimBudgetTime: '2023-07-26T07:18:52'
lastPeriodTime: '2023-07-26T02:39:14'
lockupReleaseTimeDelay: 1
lockupAsset:
quantity: 5000.0000 NER
contract: token.worlds
maxVotes: 2
metInitialVotesThreshold: 1
numberActiveCandidates: 21
numElected: 5
periodLength: 604800
requestedPayMax:
quantity: 0.0000 TLM
contract: alien.worlds
shouldPayViaServiceProvider: 0
tokenSupplyTheshold: 100000000
totalVotesOnCandidates: '334834616185'
totalWeightOfVotes: '68860425592'
voteQuorumPercent: 1
- dacId: testa
owner: testadacdacc
title: Test A
isDacActive: false
symbol:
contract: token.worlds
code: TESTA
precision: 4
refs:
'12': QmPWAMikwcE6CCEiZ7VtoET1Lp5NT1Z7gvNk31stNSgLbN
logoUrl: QmSVnZ6gLCGTqwWeDuGnD8XqT7iBMfnwiZhD8eNcNwvcZ4
description: >-
This would be the description of Test A DAO. This
text is simply a place holder. The image and the map
image has been copied from Veles for convenience.
accounts:
auth: testdaca.dac
treasury: testdaca.dac
custodian: dao.worlds
msigOwned: testadacdacc
proposals: prop.worlds
escrow: escrw.worlds
voteWeight: stkvt.worlds
activation: newperiodctl
referendum: ref.worlds
spendings: testadacdacc
dacTreasury:
balance: 1459.5258 TLM
dacStats:
supply: 11000000 TESTA
maxSupply: 10000000000 TESTA
issuer: ameet.worlds
transferLocked: false
electionGlobals:
authThresholdHigh: 3
authThresholdLow: 2
authThresholdMid: 3
budgetPercentage: 200
initialVoteQuorumPercent: 2
lastClaimBudgetTime: '2023-02-27T14:45:01'
lastPeriodTime: '2023-06-23T16:16:23'
lockupReleaseTimeDelay: 1
lockupAsset:
quantity: 5000.0000 TESTA
contract: token.worlds
maxVotes: 2
metInitialVotesThreshold: 1
numberActiveCandidates: 19
numElected: 5
periodLength: 60
requestedPayMax:
quantity: 0.0000 TLM
contract: alien.worlds
shouldPayViaServiceProvider: 0
tokenSupplyTheshold: 100000000
totalVotesOnCandidates: '52411712359'
totalWeightOfVotes: '8365320037'
voteQuorumPercent: 1
- dacId: testb
owner: testb.dac
title: Test B
isDacActive: false
symbol:
contract: token.worlds
code: TESTB
precision: 4
refs: {}
accounts:
treasury: testbdacdacc
custodian: dao.worlds
msigOwned: testb.dac
proposals: prop.worlds
escrow: escrw.worlds
voteWeight: stkvt.worlds
activation: newperiodctl
referendum: ref.worlds
spendings: testb.dac
dacStats:
supply: 1000000000 TESTB
maxSupply: 10000000000 TESTB
issuer: ameet.worlds
transferLocked: false
electionGlobals:
authThresholdHigh: 3
authThresholdLow: 2
authThresholdMid: 3
budgetPercentage: 200
initialVoteQuorumPercent: 2
lastClaimBudgetTime: '1970-01-01T00:00:00'
lastPeriodTime: '2022-10-16T11:49:49'
lockupReleaseTimeDelay: 1
lockupAsset:
quantity: 5000.0000 TESTB
contract: token.worlds
maxVotes: 2
metInitialVotesThreshold: 1
numberActiveCandidates: 12
numElected: 5
periodLength: 60
requestedPayMax:
quantity: 0.0000 TLM
contract: alien.worlds
shouldPayViaServiceProvider: 0
tokenSupplyTheshold: 100000000
totalVotesOnCandidates: 1002777776
totalWeightOfVotes: 1000000000
voteQuorumPercent: 1
- dacId: veles
owner: veles.dac
title: Veles
isDacActive: false
symbol:
contract: token.worlds
code: VEL
precision: 4
refs:
'12': QmPWAMikwcE6CCEiZ7VtoET1Lp5NT1Z7gvNk31stNSgLbN
logoUrl: QmSVnZ6gLCGTqwWeDuGnD8XqT7iBMfnwiZhD8eNcNwvcZ4
description: >-
With almost as much of a water world as Earth, Veles
has some of the most beautiful landscapes found thus
far in the universe. It's islands are home to some
unique exoflora. Nordic aliens often visit Veles on
their travels and some have made it their main home.
accounts:
auth: veles.world
treasury: veles.world
custodian: dao.worlds
msigOwned: veles.dac
proposals: prop.worlds
escrow: escrw.worlds
voteWeight: stkvt.worlds
activation: newperiodctl
referendum: ref.worlds
spendings: veles.dac
dacTreasury:
balance: 7381439.3068 TLM
dacStats:
supply: 4233130.028 VEL
maxSupply: 10000000000 VEL
issuer: federation
transferLocked: false
electionGlobals:
authThresholdHigh: 3
authThresholdLow: 2
authThresholdMid: 3
budgetPercentage: 200
initialVoteQuorumPercent: 2
lastClaimBudgetTime: '2023-07-29T23:47:39'
lastPeriodTime: '2023-07-26T02:39:14'
lockupReleaseTimeDelay: 1
lockupAsset:
quantity: 5000.0000 VEL
contract: token.worlds
maxVotes: 2
metInitialVotesThreshold: 1
numberActiveCandidates: 14
numElected: 5
periodLength: 604800
requestedPayMax:
quantity: 0.0000 TLM
contract: alien.worlds
shouldPayViaServiceProvider: 0
tokenSupplyTheshold: 100000000
totalVotesOnCandidates: '116315151726'
totalWeightOfVotes: '24001359597'
voteQuorumPercent: 1
count: 8
example-1:
summary: filter by dacId
value:
results:
- dacId: kavian
owner: kavian.dac
title: Kavian
isDacActive: false
symbol:
contract: token.worlds
code: KAV
precision: 4
refs:
'12': QmdihYLTt6T1G3N9jHs1bnUSGRTZHyQJPYwh9edLsnjPiK
logoUrl: QmY9n6yWcyYLKJuZ2EVnL1m7iSFovA1GCabhgDa4H1gbZN
description: >-
Although most land on Kavian is rocky and icy, there
are some unusual areas where diverse bio-systems
have flourished. Legend has it that these areas were
terraformed by ancient aliens. Kavian has a number
of small Reptiloid villages.
accounts:
auth: kavian.world
treasury: kavian.world
custodian: dao.worlds
msigOwned: kavian.dac
proposals: prop.worlds
escrow: escrw.worlds
voteWeight: stkvt.worlds
activation: newperiodctl
referendum: ref.worlds
spendings: kavian.dac
dacTreasury:
balance: 15943979.9359 TLM
dacStats:
supply: 9017494.2203 KAV
maxSupply: 10000000000 KAV
issuer: federation
transferLocked: false
electionGlobals:
authThresholdHigh: 3
authThresholdLow: 2
authThresholdMid: 3
budgetPercentage: 200
initialVoteQuorumPercent: 2
lastClaimBudgetTime: '2023-07-26T14:46:11'
lastPeriodTime: '2023-07-26T02:39:14'
lockupReleaseTimeDelay: 1
lockupAsset:
quantity: 5000.0000 KAV
contract: token.worlds
maxVotes: 2
metInitialVotesThreshold: 1
numberActiveCandidates: 12
numElected: 5
periodLength: 604800
requestedPayMax:
quantity: 0.0000 TLM
contract: alien.worlds
shouldPayViaServiceProvider: 0
tokenSupplyTheshold: 100000000
totalVotesOnCandidates: '287041240908'
totalWeightOfVotes: '57935556857'
voteQuorumPercent: 1
count: 1
example-2:
summary: apply limit to list
value:
results:
- dacId: eyeke
owner: eyeke.dac
title: Eyeke
isDacActive: false
symbol:
contract: token.worlds
code: EYE
precision: 4
refs:
'12': QmUXjmrQ6j2ukCdPjacdQ48MmYo853u4Y5y3kb5b4HBuuF
logoUrl: QmW1SeninpNQUMLstTPFTv7tMkRdBZMHBJTgf17Znr1uKK
description: >-
Also known as Second Earth or Terra Alterna as it is
the nearest, and closest, of all Alien Worlds to
Earth. Humans found Eyeke inhabited by a Monastic
order of Greys who believe that Eyeke is a spiritual
place. Despite initial fears, Trilium mining seems
to be tolerated by the Monks at this time.
accounts:
auth: eyeke.world
treasury: eyeke.world
custodian: dao.worlds
msigOwned: eyeke.dac
proposals: prop.worlds
escrow: escrw.worlds
voteWeight: stkvt.worlds
activation: newperiodctl
referendum: ref.worlds
spendings: eyeke.dac
dacTreasury:
balance: 8148085.9744 TLM
dacStats:
supply: 9221737.242 EYE
maxSupply: 10000000000 EYE
issuer: federation
transferLocked: false
electionGlobals:
authThresholdHigh: 3
authThresholdLow: 2
authThresholdMid: 3
budgetPercentage: 200
initialVoteQuorumPercent: 2
lastClaimBudgetTime: '2023-07-26T05:07:45'
lastPeriodTime: '2023-07-26T02:39:14'
lockupReleaseTimeDelay: 1
lockupAsset:
quantity: 5000.0000 EYE
contract: token.worlds
maxVotes: 2
metInitialVotesThreshold: 1
numberActiveCandidates: 16
numElected: 5
periodLength: 604800
requestedPayMax:
quantity: 0.0000 TLM
contract: alien.worlds
shouldPayViaServiceProvider: 0
tokenSupplyTheshold: 100000000
totalVotesOnCandidates: '421963069221'
totalWeightOfVotes: '84755997865'
voteQuorumPercent: 1
- dacId: kavian
owner: kavian.dac
title: Kavian
isDacActive: false
symbol:
contract: token.worlds
code: KAV
precision: 4
refs:
'12': QmdihYLTt6T1G3N9jHs1bnUSGRTZHyQJPYwh9edLsnjPiK
logoUrl: QmY9n6yWcyYLKJuZ2EVnL1m7iSFovA1GCabhgDa4H1gbZN
description: >-
Although most land on Kavian is rocky and icy, there
are some unusual areas where diverse bio-systems
have flourished. Legend has it that these areas were
terraformed by ancient aliens. Kavian has a number
of small Reptiloid villages.
accounts:
auth: kavian.world
treasury: kavian.world
custodian: dao.worlds
msigOwned: kavian.dac
proposals: prop.worlds
escrow: escrw.worlds
voteWeight: stkvt.worlds
activation: newperiodctl
referendum: ref.worlds
spendings: kavian.dac
dacTreasury:
balance: 15943979.9359 TLM
dacStats:
supply: 9017494.2203 KAV
maxSupply: 10000000000 KAV
issuer: federation
transferLocked: false
electionGlobals:
authThresholdHigh: 3
authThresholdLow: 2
authThresholdMid: 3
budgetPercentage: 200
initialVoteQuorumPercent: 2
lastClaimBudgetTime: '2023-07-26T14:46:11'
lastPeriodTime: '2023-07-26T02:39:14'
lockupReleaseTimeDelay: 1
lockupAsset:
quantity: 5000.0000 KAV
contract: token.worlds
maxVotes: 2
metInitialVotesThreshold: 1
numberActiveCandidates: 12
numElected: 5
periodLength: 604800
requestedPayMax:
quantity: 0.0000 TLM
contract: alien.worlds
shouldPayViaServiceProvider: 0
tokenSupplyTheshold: 100000000
totalVotesOnCandidates: '287041240908'
totalWeightOfVotes: '57935556857'
voteQuorumPercent: 1
count: 2
'400':
description: Bad Request
content:
application/json:
schema:
type: object
examples:
example-0:
summary: 400 - short dacId
value:
message: bad request
errors:
- /query/dacId must NOT have fewer than 5 characters
example-1:
summary: 400 - long dacId
value:
message: bad request
errors:
- /query/dacId must NOT have more than 6 characters
example-2:
summary: 400 - invalid limit
value:
message: bad request
errors:
- /query/limit must be >= 1
'404':
description: Not Found
content:
application/json:
schema:
type: object
example:
error: >-
Data with dummy in scope: 'index.worlds' table: 'dacs' scope
not found
/{dacId}/profile:
get:
tags:
- default
summary: Get member profile
description: Get user profile
parameters:
- name: account
in: query
schema:
type: string
required: true
description: >-
Account(s) to fetch. It can accept multiple accounts separated by a
comma. <br><br>[min length: 1]
example: suzqu.wam,mgaqy.wam
- name: dacId
in: path
schema:
type: string
required: true
description: 'DAC Id. <br><br>[Required] [length: 5-6 characters]'
example: nerix
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
examples:
example-0:
summary: single account
value:
results:
- blockNumber: '105578904'
account: suzqu.wam
profile:
description: I am squanching in here
familyName: Squanch
givenName: Squanchy
image: >-
https://vignette1.wikia.nocookie.net/rickandmorty/images/5/56/S2e10_squanchy_close.png/revision/latest?cb=20160923052032
count: 1
example-1:
summary: flagged candidate
value:
results:
- account: awtesteroo12
error:
name: Redacted Candidate
body: >-
Candidate "awtesteroo12" profile has been flagged
for supplying inappropriate content.
count: 1
example-2:
summary: multiple accounts
value:
results:
- blockNumber: '209788070'
account: mgaqy.wam
profile:
description: "Together We Grow\_\n\nThe Goiter is the longest standing political party in all of Alien Worlds. We predate everyone and stand fast to all commitments. \n\nDon't worry, you can trust us....\n\nt.me/thegoiter\nhttps://twitter.com/nftstan"
givenName: The Goiter
image: >-
https://gateway.pinata.cloud/ipfs/Qmci9dg78RySNm3dbQuSynd7PuEbiaUFdaWwQV7WTZDAxu
- blockNumber: '105578904'
account: suzqu.wam
profile:
description: I am squanching in here
familyName: Squanch
givenName: Squanchy
image: >-
https://vignette1.wikia.nocookie.net/rickandmorty/images/5/56/S2e10_squanchy_close.png/revision/latest?cb=20160923052032
count: 2
'400':
description: Bad Request
content:
application/json:
schema:
type: object
examples:
example-0:
summary: 400 - missing account
value:
message: bad request
errors:
- /query/account must NOT have fewer than 1 characters
example-1:
summary: 400 - missing dacId
value:
message: bad request
errors:
- /params/dacId must NOT have fewer than 5 characters
example-2:
summary: 400 - long dacId
value:
message: bad request
errors:
- /params/dacId must NOT have more than 6 characters
'404':
description: Not Found
content:
application/json:
schema:
type: object
example:
error: profile not found
'500':
description: Internal Server Error
content:
application/json:
schema:
type: object
example:
results: []
count: 0
/{dacId}/candidates:
get:
tags:
- default
summary: Get candidates by planet
description: Get candidates
parameters:
- name: dacId
in: path
schema:
type: string
required: true
description: 'DAC Id. <br><br>[Required] [length: 5-6 characters]'
example: nerix
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
example:
- account: .p2bu.wam
requestedpay: 0 TLM
votePower: 9123638
rank: 6882300
isActive: true
totalVotes: 19
voteDecay: 16
signedDaoTermsVersion: 5
hasSignedCurrentDaoTerms: true
isFlagged: false
dacId: nerix
- account: 2dybi.wam
requestedpay: 0 TLM
votePower: 3
rank: 6670369
isActive: true
totalVotes: 3
voteDecay: 6
signedDaoTermsVersion: 5
hasSignedCurrentDaoTerms: true
isFlagged: false
dacId: nerix
- account: a52qw.wam
requestedpay: 0 TLM
votePower: 17118124
rank: 6895312
isActive: true
totalVotes: 369
voteDecay: 5
signedDaoTermsVersion: 5
hasSignedCurrentDaoTerms: true
isFlagged: false
dacId: nerix
- account: b52qw.wam
requestedpay: 0 TLM
votePower: 14320239
rank: 6888855
isActive: true
totalVotes: 271
voteDecay: 16
signedDaoTermsVersion: 5
hasSignedCurrentDaoTerms: true
isFlagged: false
dacId: nerix
- account: bsskq.c.wam
requestedpay: 0 TLM
votePower: 5453
rank: 6780202
isActive: true
totalVotes: 2
voteDecay: 1
signedDaoTermsVersion: 5
hasSignedCurrentDaoTerms: true
isFlagged: false
dacId: nerix
- account: c353u.c.wam
requestedpay: 0 TLM
votePower: 0
rank: 0
isActive: true
totalVotes: 0
voteDecay: null
signedDaoTermsVersion: 5
hasSignedCurrentDaoTerms: true
isFlagged: false
dacId: nerix
- account: e3yqy.wam
requestedpay: 0 TLM
votePower: 26722
rank: 6746255
isActive: true
totalVotes: 5
voteDecay: 172
signedDaoTermsVersion: 5
hasSignedCurrentDaoTerms: true
isFlagged: false
dacId: nerix
- account: gtanu.c.wam
requestedpay: 0 TLM
votePower: 25000
rank: 6714308
isActive: true
totalVotes: 4
voteDecay: 265
signedDaoTermsVersion: 3
hasSignedCurrentDaoTerms: false
isFlagged: false
dacId: nerix
- account: i4p3u.c.wam
requestedpay: 0 TLM
votePower: 6842525
rank: 6883401
isActive: true
totalVotes: 11
voteDecay: 1
signedDaoTermsVersion: 5
hasSignedCurrentDaoTerms: true
isFlagged: false
dacId: nerix
- account: ihvb2.wam
requestedpay: 0 TLM
votePower: 7263
rank: 6768207