@sparkdreamnft/sparkdreamjs 0.0.11 → 0.0.13
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/esm/nested-amino.js +52 -0
- package/esm/sparkdream/blog/v1/tx.amino.js +14 -14
- package/esm/sparkdream/blog/v1/tx.js +98 -0
- package/esm/sparkdream/collect/v1/tx.amino.js +25 -25
- package/esm/sparkdream/collect/v1/tx.js +175 -0
- package/esm/sparkdream/commons/v1/query.js +379 -1
- package/esm/sparkdream/commons/v1/query.lcd.js +21 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +24 -1
- package/esm/sparkdream/commons/v1/tx.amino.js +80 -41
- package/esm/sparkdream/commons/v1/tx.js +91 -0
- package/esm/sparkdream/federation/v1/tx.amino.js +24 -24
- package/esm/sparkdream/federation/v1/tx.js +168 -0
- package/esm/sparkdream/forum/v1/tx.amino.js +33 -33
- package/esm/sparkdream/forum/v1/tx.js +231 -0
- package/esm/sparkdream/futarchy/v1/tx.amino.js +4 -4
- package/esm/sparkdream/futarchy/v1/tx.js +28 -0
- package/esm/sparkdream/name/v1/name_record.js +33 -2
- package/esm/sparkdream/name/v1/query.js +166 -0
- package/esm/sparkdream/name/v1/query.lcd.js +13 -0
- package/esm/sparkdream/name/v1/query.rpc.Query.js +12 -1
- package/esm/sparkdream/name/v1/tx.amino.js +21 -6
- package/esm/sparkdream/name/v1/tx.js +500 -0
- package/esm/sparkdream/name/v1/tx.registry.js +56 -2
- package/esm/sparkdream/name/v1/tx.rpc.msg.js +24 -1
- package/esm/sparkdream/rep/v1/query.js +204 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +5 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +10 -1
- package/esm/sparkdream/rep/v1/tx.amino.js +45 -45
- package/esm/sparkdream/rep/v1/tx.js +315 -0
- package/esm/sparkdream/reveal/v1/tx.amino.js +9 -9
- package/esm/sparkdream/reveal/v1/tx.js +63 -0
- package/esm/sparkdream/season/v1/tx.amino.js +25 -25
- package/esm/sparkdream/season/v1/tx.js +175 -0
- package/esm/sparkdream/session/v1/tx.amino.js +33 -11
- package/esm/sparkdream/session/v1/tx.js +21 -0
- package/esm/sparkdream/shield/v1/tx.amino.js +4 -4
- package/esm/sparkdream/shield/v1/tx.js +28 -0
- package/nested-amino.d.ts +76 -0
- package/nested-amino.js +57 -0
- package/package.json +1 -1
- package/sparkdream/blog/v1/tx.amino.js +14 -14
- package/sparkdream/blog/v1/tx.d.ts +42 -14
- package/sparkdream/blog/v1/tx.js +98 -0
- package/sparkdream/bundle.d.ts +661 -6
- package/sparkdream/client.d.ts +21 -6
- package/sparkdream/collect/v1/tx.amino.js +25 -25
- package/sparkdream/collect/v1/tx.d.ts +75 -25
- package/sparkdream/collect/v1/tx.js +175 -0
- package/sparkdream/commons/v1/query.d.ts +243 -1
- package/sparkdream/commons/v1/query.js +379 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
- package/sparkdream/commons/v1/query.lcd.js +21 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +16 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +23 -0
- package/sparkdream/commons/v1/tx.amino.d.ts +6 -5
- package/sparkdream/commons/v1/tx.amino.js +82 -42
- package/sparkdream/commons/v1/tx.d.ts +39 -13
- package/sparkdream/commons/v1/tx.js +91 -0
- package/sparkdream/federation/v1/tx.amino.js +24 -24
- package/sparkdream/federation/v1/tx.d.ts +72 -24
- package/sparkdream/federation/v1/tx.js +168 -0
- package/sparkdream/forum/v1/tx.amino.js +33 -33
- package/sparkdream/forum/v1/tx.d.ts +99 -33
- package/sparkdream/forum/v1/tx.js +231 -0
- package/sparkdream/futarchy/v1/tx.amino.js +4 -4
- package/sparkdream/futarchy/v1/tx.d.ts +12 -4
- package/sparkdream/futarchy/v1/tx.js +28 -0
- package/sparkdream/name/v1/name_record.d.ts +46 -3
- package/sparkdream/name/v1/name_record.js +33 -2
- package/sparkdream/name/v1/query.d.ts +95 -0
- package/sparkdream/name/v1/query.js +167 -1
- package/sparkdream/name/v1/query.lcd.d.ts +2 -1
- package/sparkdream/name/v1/query.lcd.js +13 -0
- package/sparkdream/name/v1/query.rpc.Query.d.ts +9 -1
- package/sparkdream/name/v1/query.rpc.Query.js +11 -0
- package/sparkdream/name/v1/tx.amino.d.ts +16 -1
- package/sparkdream/name/v1/tx.amino.js +20 -5
- package/sparkdream/name/v1/tx.d.ts +336 -5
- package/sparkdream/name/v1/tx.js +501 -1
- package/sparkdream/name/v1/tx.registry.d.ts +37 -1
- package/sparkdream/name/v1/tx.registry.js +55 -1
- package/sparkdream/name/v1/tx.rpc.msg.d.ts +21 -1
- package/sparkdream/name/v1/tx.rpc.msg.js +23 -0
- package/sparkdream/rep/v1/query.d.ts +153 -1
- package/sparkdream/rep/v1/query.js +205 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +2 -1
- package/sparkdream/rep/v1/query.lcd.js +5 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +5 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +9 -0
- package/sparkdream/rep/v1/tx.amino.js +45 -45
- package/sparkdream/rep/v1/tx.d.ts +135 -45
- package/sparkdream/rep/v1/tx.js +315 -0
- package/sparkdream/reveal/v1/tx.amino.js +9 -9
- package/sparkdream/reveal/v1/tx.d.ts +27 -9
- package/sparkdream/reveal/v1/tx.js +63 -0
- package/sparkdream/rpc.query.d.ts +4 -0
- package/sparkdream/season/v1/tx.amino.js +25 -25
- package/sparkdream/season/v1/tx.d.ts +75 -25
- package/sparkdream/season/v1/tx.js +175 -0
- package/sparkdream/session/v1/tx.amino.d.ts +3 -3
- package/sparkdream/session/v1/tx.amino.js +33 -11
- package/sparkdream/session/v1/tx.d.ts +9 -3
- package/sparkdream/session/v1/tx.js +21 -0
- package/sparkdream/shield/v1/tx.amino.js +4 -4
- package/sparkdream/shield/v1/tx.d.ts +12 -4
- package/sparkdream/shield/v1/tx.js +28 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
3
3
|
import { Params } from "./params";
|
|
4
4
|
import { PolicyPermissions } from "./policy_permissions";
|
|
5
|
-
import { Group, Member, Proposal, Vote, TallyResult } from "./group";
|
|
5
|
+
import { DecisionPolicy, Group, Member, Proposal, Vote, TallyResult } from "./group";
|
|
6
6
|
import { Category } from "./category";
|
|
7
7
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
8
8
|
function createBaseQueryParamsRequest() {
|
|
@@ -421,6 +421,384 @@ export const QueryAllPolicyPermissionsResponse = {
|
|
|
421
421
|
};
|
|
422
422
|
}
|
|
423
423
|
};
|
|
424
|
+
function createBaseQueryGetDecisionPolicyRequest() {
|
|
425
|
+
return {
|
|
426
|
+
policyAddress: ""
|
|
427
|
+
};
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* QueryGetDecisionPolicyRequest fetches a single DecisionPolicy by policy_address.
|
|
431
|
+
* @name QueryGetDecisionPolicyRequest
|
|
432
|
+
* @package sparkdream.commons.v1
|
|
433
|
+
* @see proto type: sparkdream.commons.v1.QueryGetDecisionPolicyRequest
|
|
434
|
+
*/
|
|
435
|
+
export const QueryGetDecisionPolicyRequest = {
|
|
436
|
+
typeUrl: "/sparkdream.commons.v1.QueryGetDecisionPolicyRequest",
|
|
437
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
438
|
+
if (message.policyAddress !== "") {
|
|
439
|
+
writer.uint32(10).string(message.policyAddress);
|
|
440
|
+
}
|
|
441
|
+
return writer;
|
|
442
|
+
},
|
|
443
|
+
decode(input, length) {
|
|
444
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
445
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
446
|
+
const message = createBaseQueryGetDecisionPolicyRequest();
|
|
447
|
+
while (reader.pos < end) {
|
|
448
|
+
const tag = reader.uint32();
|
|
449
|
+
switch (tag >>> 3) {
|
|
450
|
+
case 1:
|
|
451
|
+
message.policyAddress = reader.string();
|
|
452
|
+
break;
|
|
453
|
+
default:
|
|
454
|
+
reader.skipType(tag & 7);
|
|
455
|
+
break;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
return message;
|
|
459
|
+
},
|
|
460
|
+
fromPartial(object) {
|
|
461
|
+
const message = createBaseQueryGetDecisionPolicyRequest();
|
|
462
|
+
message.policyAddress = object.policyAddress ?? "";
|
|
463
|
+
return message;
|
|
464
|
+
},
|
|
465
|
+
fromAmino(object) {
|
|
466
|
+
const message = createBaseQueryGetDecisionPolicyRequest();
|
|
467
|
+
if (object.policy_address !== undefined && object.policy_address !== null) {
|
|
468
|
+
message.policyAddress = object.policy_address;
|
|
469
|
+
}
|
|
470
|
+
return message;
|
|
471
|
+
},
|
|
472
|
+
toAmino(message) {
|
|
473
|
+
const obj = {};
|
|
474
|
+
obj.policy_address = message.policyAddress === "" ? undefined : message.policyAddress;
|
|
475
|
+
return obj;
|
|
476
|
+
},
|
|
477
|
+
fromAminoMsg(object) {
|
|
478
|
+
return QueryGetDecisionPolicyRequest.fromAmino(object.value);
|
|
479
|
+
},
|
|
480
|
+
fromProtoMsg(message) {
|
|
481
|
+
return QueryGetDecisionPolicyRequest.decode(message.value);
|
|
482
|
+
},
|
|
483
|
+
toProto(message) {
|
|
484
|
+
return QueryGetDecisionPolicyRequest.encode(message).finish();
|
|
485
|
+
},
|
|
486
|
+
toProtoMsg(message) {
|
|
487
|
+
return {
|
|
488
|
+
typeUrl: "/sparkdream.commons.v1.QueryGetDecisionPolicyRequest",
|
|
489
|
+
value: QueryGetDecisionPolicyRequest.encode(message).finish()
|
|
490
|
+
};
|
|
491
|
+
}
|
|
492
|
+
};
|
|
493
|
+
function createBaseQueryGetDecisionPolicyResponse() {
|
|
494
|
+
return {
|
|
495
|
+
decisionPolicy: DecisionPolicy.fromPartial({})
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* QueryGetDecisionPolicyResponse returns the DecisionPolicy registered for a
|
|
500
|
+
* given council policy address.
|
|
501
|
+
* @name QueryGetDecisionPolicyResponse
|
|
502
|
+
* @package sparkdream.commons.v1
|
|
503
|
+
* @see proto type: sparkdream.commons.v1.QueryGetDecisionPolicyResponse
|
|
504
|
+
*/
|
|
505
|
+
export const QueryGetDecisionPolicyResponse = {
|
|
506
|
+
typeUrl: "/sparkdream.commons.v1.QueryGetDecisionPolicyResponse",
|
|
507
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
508
|
+
if (message.decisionPolicy !== undefined) {
|
|
509
|
+
DecisionPolicy.encode(message.decisionPolicy, writer.uint32(10).fork()).ldelim();
|
|
510
|
+
}
|
|
511
|
+
return writer;
|
|
512
|
+
},
|
|
513
|
+
decode(input, length) {
|
|
514
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
515
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
516
|
+
const message = createBaseQueryGetDecisionPolicyResponse();
|
|
517
|
+
while (reader.pos < end) {
|
|
518
|
+
const tag = reader.uint32();
|
|
519
|
+
switch (tag >>> 3) {
|
|
520
|
+
case 1:
|
|
521
|
+
message.decisionPolicy = DecisionPolicy.decode(reader, reader.uint32());
|
|
522
|
+
break;
|
|
523
|
+
default:
|
|
524
|
+
reader.skipType(tag & 7);
|
|
525
|
+
break;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
return message;
|
|
529
|
+
},
|
|
530
|
+
fromPartial(object) {
|
|
531
|
+
const message = createBaseQueryGetDecisionPolicyResponse();
|
|
532
|
+
message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? DecisionPolicy.fromPartial(object.decisionPolicy) : undefined;
|
|
533
|
+
return message;
|
|
534
|
+
},
|
|
535
|
+
fromAmino(object) {
|
|
536
|
+
const message = createBaseQueryGetDecisionPolicyResponse();
|
|
537
|
+
if (object.decision_policy !== undefined && object.decision_policy !== null) {
|
|
538
|
+
message.decisionPolicy = DecisionPolicy.fromAmino(object.decision_policy);
|
|
539
|
+
}
|
|
540
|
+
return message;
|
|
541
|
+
},
|
|
542
|
+
toAmino(message) {
|
|
543
|
+
const obj = {};
|
|
544
|
+
obj.decision_policy = message.decisionPolicy ? DecisionPolicy.toAmino(message.decisionPolicy) : undefined;
|
|
545
|
+
return obj;
|
|
546
|
+
},
|
|
547
|
+
fromAminoMsg(object) {
|
|
548
|
+
return QueryGetDecisionPolicyResponse.fromAmino(object.value);
|
|
549
|
+
},
|
|
550
|
+
fromProtoMsg(message) {
|
|
551
|
+
return QueryGetDecisionPolicyResponse.decode(message.value);
|
|
552
|
+
},
|
|
553
|
+
toProto(message) {
|
|
554
|
+
return QueryGetDecisionPolicyResponse.encode(message).finish();
|
|
555
|
+
},
|
|
556
|
+
toProtoMsg(message) {
|
|
557
|
+
return {
|
|
558
|
+
typeUrl: "/sparkdream.commons.v1.QueryGetDecisionPolicyResponse",
|
|
559
|
+
value: QueryGetDecisionPolicyResponse.encode(message).finish()
|
|
560
|
+
};
|
|
561
|
+
}
|
|
562
|
+
};
|
|
563
|
+
function createBaseDecisionPolicyEntry() {
|
|
564
|
+
return {
|
|
565
|
+
policyAddress: "",
|
|
566
|
+
decisionPolicy: DecisionPolicy.fromPartial({})
|
|
567
|
+
};
|
|
568
|
+
}
|
|
569
|
+
/**
|
|
570
|
+
* DecisionPolicyEntry pairs a policy_address with its DecisionPolicy. Used as
|
|
571
|
+
* the element type for the paginated list response — the underlying
|
|
572
|
+
* collections.Map is keyed by policy_address, and consumers of the list query
|
|
573
|
+
* need the key alongside the value to disambiguate which council each entry
|
|
574
|
+
* belongs to.
|
|
575
|
+
* @name DecisionPolicyEntry
|
|
576
|
+
* @package sparkdream.commons.v1
|
|
577
|
+
* @see proto type: sparkdream.commons.v1.DecisionPolicyEntry
|
|
578
|
+
*/
|
|
579
|
+
export const DecisionPolicyEntry = {
|
|
580
|
+
typeUrl: "/sparkdream.commons.v1.DecisionPolicyEntry",
|
|
581
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
582
|
+
if (message.policyAddress !== "") {
|
|
583
|
+
writer.uint32(10).string(message.policyAddress);
|
|
584
|
+
}
|
|
585
|
+
if (message.decisionPolicy !== undefined) {
|
|
586
|
+
DecisionPolicy.encode(message.decisionPolicy, writer.uint32(18).fork()).ldelim();
|
|
587
|
+
}
|
|
588
|
+
return writer;
|
|
589
|
+
},
|
|
590
|
+
decode(input, length) {
|
|
591
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
592
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
593
|
+
const message = createBaseDecisionPolicyEntry();
|
|
594
|
+
while (reader.pos < end) {
|
|
595
|
+
const tag = reader.uint32();
|
|
596
|
+
switch (tag >>> 3) {
|
|
597
|
+
case 1:
|
|
598
|
+
message.policyAddress = reader.string();
|
|
599
|
+
break;
|
|
600
|
+
case 2:
|
|
601
|
+
message.decisionPolicy = DecisionPolicy.decode(reader, reader.uint32());
|
|
602
|
+
break;
|
|
603
|
+
default:
|
|
604
|
+
reader.skipType(tag & 7);
|
|
605
|
+
break;
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
return message;
|
|
609
|
+
},
|
|
610
|
+
fromPartial(object) {
|
|
611
|
+
const message = createBaseDecisionPolicyEntry();
|
|
612
|
+
message.policyAddress = object.policyAddress ?? "";
|
|
613
|
+
message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? DecisionPolicy.fromPartial(object.decisionPolicy) : undefined;
|
|
614
|
+
return message;
|
|
615
|
+
},
|
|
616
|
+
fromAmino(object) {
|
|
617
|
+
const message = createBaseDecisionPolicyEntry();
|
|
618
|
+
if (object.policy_address !== undefined && object.policy_address !== null) {
|
|
619
|
+
message.policyAddress = object.policy_address;
|
|
620
|
+
}
|
|
621
|
+
if (object.decision_policy !== undefined && object.decision_policy !== null) {
|
|
622
|
+
message.decisionPolicy = DecisionPolicy.fromAmino(object.decision_policy);
|
|
623
|
+
}
|
|
624
|
+
return message;
|
|
625
|
+
},
|
|
626
|
+
toAmino(message) {
|
|
627
|
+
const obj = {};
|
|
628
|
+
obj.policy_address = message.policyAddress === "" ? undefined : message.policyAddress;
|
|
629
|
+
obj.decision_policy = message.decisionPolicy ? DecisionPolicy.toAmino(message.decisionPolicy) : undefined;
|
|
630
|
+
return obj;
|
|
631
|
+
},
|
|
632
|
+
fromAminoMsg(object) {
|
|
633
|
+
return DecisionPolicyEntry.fromAmino(object.value);
|
|
634
|
+
},
|
|
635
|
+
fromProtoMsg(message) {
|
|
636
|
+
return DecisionPolicyEntry.decode(message.value);
|
|
637
|
+
},
|
|
638
|
+
toProto(message) {
|
|
639
|
+
return DecisionPolicyEntry.encode(message).finish();
|
|
640
|
+
},
|
|
641
|
+
toProtoMsg(message) {
|
|
642
|
+
return {
|
|
643
|
+
typeUrl: "/sparkdream.commons.v1.DecisionPolicyEntry",
|
|
644
|
+
value: DecisionPolicyEntry.encode(message).finish()
|
|
645
|
+
};
|
|
646
|
+
}
|
|
647
|
+
};
|
|
648
|
+
function createBaseQueryAllDecisionPoliciesRequest() {
|
|
649
|
+
return {
|
|
650
|
+
pagination: undefined
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* QueryAllDecisionPoliciesRequest paginates over every DecisionPolicy.
|
|
655
|
+
* @name QueryAllDecisionPoliciesRequest
|
|
656
|
+
* @package sparkdream.commons.v1
|
|
657
|
+
* @see proto type: sparkdream.commons.v1.QueryAllDecisionPoliciesRequest
|
|
658
|
+
*/
|
|
659
|
+
export const QueryAllDecisionPoliciesRequest = {
|
|
660
|
+
typeUrl: "/sparkdream.commons.v1.QueryAllDecisionPoliciesRequest",
|
|
661
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
662
|
+
if (message.pagination !== undefined) {
|
|
663
|
+
PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
|
|
664
|
+
}
|
|
665
|
+
return writer;
|
|
666
|
+
},
|
|
667
|
+
decode(input, length) {
|
|
668
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
669
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
670
|
+
const message = createBaseQueryAllDecisionPoliciesRequest();
|
|
671
|
+
while (reader.pos < end) {
|
|
672
|
+
const tag = reader.uint32();
|
|
673
|
+
switch (tag >>> 3) {
|
|
674
|
+
case 1:
|
|
675
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
676
|
+
break;
|
|
677
|
+
default:
|
|
678
|
+
reader.skipType(tag & 7);
|
|
679
|
+
break;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
return message;
|
|
683
|
+
},
|
|
684
|
+
fromPartial(object) {
|
|
685
|
+
const message = createBaseQueryAllDecisionPoliciesRequest();
|
|
686
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
687
|
+
return message;
|
|
688
|
+
},
|
|
689
|
+
fromAmino(object) {
|
|
690
|
+
const message = createBaseQueryAllDecisionPoliciesRequest();
|
|
691
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
692
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
693
|
+
}
|
|
694
|
+
return message;
|
|
695
|
+
},
|
|
696
|
+
toAmino(message) {
|
|
697
|
+
const obj = {};
|
|
698
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
699
|
+
return obj;
|
|
700
|
+
},
|
|
701
|
+
fromAminoMsg(object) {
|
|
702
|
+
return QueryAllDecisionPoliciesRequest.fromAmino(object.value);
|
|
703
|
+
},
|
|
704
|
+
fromProtoMsg(message) {
|
|
705
|
+
return QueryAllDecisionPoliciesRequest.decode(message.value);
|
|
706
|
+
},
|
|
707
|
+
toProto(message) {
|
|
708
|
+
return QueryAllDecisionPoliciesRequest.encode(message).finish();
|
|
709
|
+
},
|
|
710
|
+
toProtoMsg(message) {
|
|
711
|
+
return {
|
|
712
|
+
typeUrl: "/sparkdream.commons.v1.QueryAllDecisionPoliciesRequest",
|
|
713
|
+
value: QueryAllDecisionPoliciesRequest.encode(message).finish()
|
|
714
|
+
};
|
|
715
|
+
}
|
|
716
|
+
};
|
|
717
|
+
function createBaseQueryAllDecisionPoliciesResponse() {
|
|
718
|
+
return {
|
|
719
|
+
entries: [],
|
|
720
|
+
pagination: undefined
|
|
721
|
+
};
|
|
722
|
+
}
|
|
723
|
+
/**
|
|
724
|
+
* QueryAllDecisionPoliciesResponse returns every DecisionPolicy paired with
|
|
725
|
+
* its policy_address.
|
|
726
|
+
* @name QueryAllDecisionPoliciesResponse
|
|
727
|
+
* @package sparkdream.commons.v1
|
|
728
|
+
* @see proto type: sparkdream.commons.v1.QueryAllDecisionPoliciesResponse
|
|
729
|
+
*/
|
|
730
|
+
export const QueryAllDecisionPoliciesResponse = {
|
|
731
|
+
typeUrl: "/sparkdream.commons.v1.QueryAllDecisionPoliciesResponse",
|
|
732
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
733
|
+
for (const v of message.entries) {
|
|
734
|
+
DecisionPolicyEntry.encode(v, writer.uint32(10).fork()).ldelim();
|
|
735
|
+
}
|
|
736
|
+
if (message.pagination !== undefined) {
|
|
737
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
738
|
+
}
|
|
739
|
+
return writer;
|
|
740
|
+
},
|
|
741
|
+
decode(input, length) {
|
|
742
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
743
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
744
|
+
const message = createBaseQueryAllDecisionPoliciesResponse();
|
|
745
|
+
while (reader.pos < end) {
|
|
746
|
+
const tag = reader.uint32();
|
|
747
|
+
switch (tag >>> 3) {
|
|
748
|
+
case 1:
|
|
749
|
+
message.entries.push(DecisionPolicyEntry.decode(reader, reader.uint32()));
|
|
750
|
+
break;
|
|
751
|
+
case 2:
|
|
752
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
753
|
+
break;
|
|
754
|
+
default:
|
|
755
|
+
reader.skipType(tag & 7);
|
|
756
|
+
break;
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
return message;
|
|
760
|
+
},
|
|
761
|
+
fromPartial(object) {
|
|
762
|
+
const message = createBaseQueryAllDecisionPoliciesResponse();
|
|
763
|
+
message.entries = object.entries?.map(e => DecisionPolicyEntry.fromPartial(e)) || [];
|
|
764
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
765
|
+
return message;
|
|
766
|
+
},
|
|
767
|
+
fromAmino(object) {
|
|
768
|
+
const message = createBaseQueryAllDecisionPoliciesResponse();
|
|
769
|
+
message.entries = object.entries?.map(e => DecisionPolicyEntry.fromAmino(e)) || [];
|
|
770
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
771
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
772
|
+
}
|
|
773
|
+
return message;
|
|
774
|
+
},
|
|
775
|
+
toAmino(message) {
|
|
776
|
+
const obj = {};
|
|
777
|
+
if (message.entries) {
|
|
778
|
+
obj.entries = message.entries.map(e => e ? DecisionPolicyEntry.toAmino(e) : undefined);
|
|
779
|
+
}
|
|
780
|
+
else {
|
|
781
|
+
obj.entries = message.entries;
|
|
782
|
+
}
|
|
783
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
784
|
+
return obj;
|
|
785
|
+
},
|
|
786
|
+
fromAminoMsg(object) {
|
|
787
|
+
return QueryAllDecisionPoliciesResponse.fromAmino(object.value);
|
|
788
|
+
},
|
|
789
|
+
fromProtoMsg(message) {
|
|
790
|
+
return QueryAllDecisionPoliciesResponse.decode(message.value);
|
|
791
|
+
},
|
|
792
|
+
toProto(message) {
|
|
793
|
+
return QueryAllDecisionPoliciesResponse.encode(message).finish();
|
|
794
|
+
},
|
|
795
|
+
toProtoMsg(message) {
|
|
796
|
+
return {
|
|
797
|
+
typeUrl: "/sparkdream.commons.v1.QueryAllDecisionPoliciesResponse",
|
|
798
|
+
value: QueryAllDecisionPoliciesResponse.encode(message).finish()
|
|
799
|
+
};
|
|
800
|
+
}
|
|
801
|
+
};
|
|
424
802
|
function createBaseQueryGetGroupRequest() {
|
|
425
803
|
return {
|
|
426
804
|
index: ""
|
|
@@ -28,6 +28,27 @@ export class LCDQueryClient {
|
|
|
28
28
|
const endpoint = `sparkdream/commons/v1/policy_permissions`;
|
|
29
29
|
return await this.req.get(endpoint, options);
|
|
30
30
|
};
|
|
31
|
+
/* GetDecisionPolicy returns the DecisionPolicy (voting threshold, voting
|
|
32
|
+
period, min execution period) for a given council policy address. Read-only. */
|
|
33
|
+
getDecisionPolicy = async (params) => {
|
|
34
|
+
const endpoint = `sparkdream/commons/v1/decision_policy/${params.policyAddress}`;
|
|
35
|
+
return await this.req.get(endpoint);
|
|
36
|
+
};
|
|
37
|
+
/* ListDecisionPolicies returns every stored DecisionPolicy paginated, paired
|
|
38
|
+
with its policy_address. Useful for UIs that want to render every council's
|
|
39
|
+
voting rules in one pass. */
|
|
40
|
+
listDecisionPolicies = async (params = {
|
|
41
|
+
pagination: undefined
|
|
42
|
+
}) => {
|
|
43
|
+
const options = {
|
|
44
|
+
params: {}
|
|
45
|
+
};
|
|
46
|
+
if (typeof params?.pagination !== "undefined") {
|
|
47
|
+
setPaginationParams(options, params.pagination);
|
|
48
|
+
}
|
|
49
|
+
const endpoint = `sparkdream/commons/v1/decision_policy`;
|
|
50
|
+
return await this.req.get(endpoint, options);
|
|
51
|
+
};
|
|
31
52
|
/* GetGroup queries a specific group by name. */
|
|
32
53
|
getGroup = async (params) => {
|
|
33
54
|
const endpoint = `sparkdream/commons/v1/group/${params.index}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader } from "../../../binary";
|
|
2
2
|
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryGetPolicyPermissionsRequest, QueryGetPolicyPermissionsResponse, QueryAllPolicyPermissionsRequest, QueryAllPolicyPermissionsResponse, QueryGetGroupRequest, QueryGetGroupResponse, QueryAllGroupRequest, QueryAllGroupResponse, QueryGetCouncilMembersRequest, QueryGetCouncilMembersResponse, QueryGetProposalRequest, QueryGetProposalResponse, QueryListProposalsRequest, QueryListProposalsResponse, QueryGetProposalVotesRequest, QueryGetProposalVotesResponse, QueryGetCategoryRequest, QueryGetCategoryResponse, QueryAllCategoryRequest, QueryAllCategoryResponse } from "./query";
|
|
3
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryGetPolicyPermissionsRequest, QueryGetPolicyPermissionsResponse, QueryAllPolicyPermissionsRequest, QueryAllPolicyPermissionsResponse, QueryGetDecisionPolicyRequest, QueryGetDecisionPolicyResponse, QueryAllDecisionPoliciesRequest, QueryAllDecisionPoliciesResponse, QueryGetGroupRequest, QueryGetGroupResponse, QueryAllGroupRequest, QueryAllGroupResponse, QueryGetCouncilMembersRequest, QueryGetCouncilMembersResponse, QueryGetProposalRequest, QueryGetProposalResponse, QueryListProposalsRequest, QueryListProposalsResponse, QueryGetProposalVotesRequest, QueryGetProposalVotesResponse, QueryGetCategoryRequest, QueryGetCategoryResponse, QueryAllCategoryRequest, QueryAllCategoryResponse } from "./query";
|
|
4
4
|
export class QueryClientImpl {
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
@@ -26,6 +26,23 @@ export class QueryClientImpl {
|
|
|
26
26
|
const promise = this.rpc.request("sparkdream.commons.v1.Query", "ListPolicyPermissions", data);
|
|
27
27
|
return promise.then(data => QueryAllPolicyPermissionsResponse.decode(new BinaryReader(data)));
|
|
28
28
|
};
|
|
29
|
+
/* GetDecisionPolicy returns the DecisionPolicy (voting threshold, voting
|
|
30
|
+
period, min execution period) for a given council policy address. Read-only. */
|
|
31
|
+
getDecisionPolicy = async (request) => {
|
|
32
|
+
const data = QueryGetDecisionPolicyRequest.encode(request).finish();
|
|
33
|
+
const promise = this.rpc.request("sparkdream.commons.v1.Query", "GetDecisionPolicy", data);
|
|
34
|
+
return promise.then(data => QueryGetDecisionPolicyResponse.decode(new BinaryReader(data)));
|
|
35
|
+
};
|
|
36
|
+
/* ListDecisionPolicies returns every stored DecisionPolicy paginated, paired
|
|
37
|
+
with its policy_address. Useful for UIs that want to render every council's
|
|
38
|
+
voting rules in one pass. */
|
|
39
|
+
listDecisionPolicies = async (request = {
|
|
40
|
+
pagination: undefined
|
|
41
|
+
}) => {
|
|
42
|
+
const data = QueryAllDecisionPoliciesRequest.encode(request).finish();
|
|
43
|
+
const promise = this.rpc.request("sparkdream.commons.v1.Query", "ListDecisionPolicies", data);
|
|
44
|
+
return promise.then(data => QueryAllDecisionPoliciesResponse.decode(new BinaryReader(data)));
|
|
45
|
+
};
|
|
29
46
|
/* GetGroup queries a specific group by name. */
|
|
30
47
|
getGroup = async (request) => {
|
|
31
48
|
const data = QueryGetGroupRequest.encode(request).finish();
|
|
@@ -92,6 +109,12 @@ export const createRpcQueryExtension = (base) => {
|
|
|
92
109
|
listPolicyPermissions(request) {
|
|
93
110
|
return queryService.listPolicyPermissions(request);
|
|
94
111
|
},
|
|
112
|
+
getDecisionPolicy(request) {
|
|
113
|
+
return queryService.getDecisionPolicy(request);
|
|
114
|
+
},
|
|
115
|
+
listDecisionPolicies(request) {
|
|
116
|
+
return queryService.listDecisionPolicies(request);
|
|
117
|
+
},
|
|
95
118
|
getGroup(request) {
|
|
96
119
|
return queryService.getGroup(request);
|
|
97
120
|
},
|
|
@@ -1,99 +1,138 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
|
-
|
|
2
|
+
// HAND-WRITTEN OVERRIDE — overlaid on top of the Telescope-generated tx.amino.ts
|
|
3
|
+
// by scripts/codegen.ts after each codegen run. Do not let codegen wipe this.
|
|
4
|
+
//
|
|
5
|
+
// Why: Telescope emits a flat AminoConverter that hands each entry's toAmino
|
|
6
|
+
// straight through to the message's auto-generated toAmino. For
|
|
7
|
+
// MsgSubmitProposal and MsgSubmitAnonymousProposal (both have
|
|
8
|
+
// `repeated google.protobuf.Any messages`), the auto-generated toAmino calls
|
|
9
|
+
// Any.toAmino which just attaches the raw Uint8Array bytes — Ledger rejects
|
|
10
|
+
// the resulting JSON ("Dictionaries are not sorted") and the chain produces
|
|
11
|
+
// different sign bytes ("signature verification failed").
|
|
12
|
+
//
|
|
13
|
+
// This override delegates the inner Any conversion to a consumer-supplied
|
|
14
|
+
// proto registry + AminoTypes via `configureNestedAminoConverter`. The rest of
|
|
15
|
+
// the converters are unchanged.
|
|
16
|
+
import { MsgUpdateParams, MsgSpendFromCommons, MsgEmergencyCancelGovProposal, MsgCreatePolicyPermissions, MsgUpdatePolicyPermissions, MsgDeletePolicyPermissions, MsgRegisterGroup, MsgRenewGroup, MsgUpdateGroupMembers, MsgUpdateGroupConfig, MsgForceUpgrade, MsgDeleteGroup, MsgVetoGroupProposals, MsgVoteProposal, MsgExecuteProposal, MsgAnonymousVoteProposal, MsgCreateCategory, } from "./tx";
|
|
17
|
+
import { anyToAmino, aminoToAny } from "../../../nested-amino";
|
|
18
|
+
export { configureNestedAminoConverter } from "../../../nested-amino";
|
|
19
|
+
// Both proposal-submission messages share the same shape, so they share a
|
|
20
|
+
// converter factory.
|
|
21
|
+
function buildProposalConverter(aminoType) {
|
|
22
|
+
return {
|
|
23
|
+
aminoType,
|
|
24
|
+
toAmino(message) {
|
|
25
|
+
const obj = {};
|
|
26
|
+
obj.proposer = message.proposer === "" ? undefined : message.proposer;
|
|
27
|
+
obj.policy_address = message.policyAddress === "" ? undefined : message.policyAddress;
|
|
28
|
+
// Mirror cosmossdk.io/x/tx/signing/aminojson's omitempty default for
|
|
29
|
+
// repeated fields: omit when empty rather than emitting `[]`. Otherwise
|
|
30
|
+
// the JS side signs `"messages":[]` and the chain reconstructs without
|
|
31
|
+
// the key, causing signature verification to fail.
|
|
32
|
+
obj.messages = (message.messages?.length ?? 0) > 0
|
|
33
|
+
? message.messages.map((a) => anyToAmino(a))
|
|
34
|
+
: undefined;
|
|
35
|
+
obj.metadata = message.metadata === "" ? undefined : message.metadata;
|
|
36
|
+
return obj;
|
|
37
|
+
},
|
|
38
|
+
fromAmino(object) {
|
|
39
|
+
return {
|
|
40
|
+
proposer: object.proposer ?? "",
|
|
41
|
+
policyAddress: object.policy_address ?? "",
|
|
42
|
+
messages: (object.messages ?? []).map((e) => aminoToAny(e)),
|
|
43
|
+
metadata: object.metadata ?? "",
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
}
|
|
3
48
|
export const AminoConverter = {
|
|
4
49
|
"/sparkdream.commons.v1.MsgUpdateParams": {
|
|
5
50
|
aminoType: "sparkdream/x/commons/MsgUpdateParams",
|
|
6
51
|
toAmino: MsgUpdateParams.toAmino,
|
|
7
|
-
fromAmino: MsgUpdateParams.fromAmino
|
|
52
|
+
fromAmino: MsgUpdateParams.fromAmino,
|
|
8
53
|
},
|
|
9
54
|
"/sparkdream.commons.v1.MsgSpendFromCommons": {
|
|
10
55
|
aminoType: "sparkdream/x/commons/MsgSpendFromCommons",
|
|
11
56
|
toAmino: MsgSpendFromCommons.toAmino,
|
|
12
|
-
fromAmino: MsgSpendFromCommons.fromAmino
|
|
57
|
+
fromAmino: MsgSpendFromCommons.fromAmino,
|
|
13
58
|
},
|
|
14
59
|
"/sparkdream.commons.v1.MsgEmergencyCancelGovProposal": {
|
|
15
60
|
aminoType: "sparkdream/x/commons/MsgEmergencyCancelGovProposal",
|
|
16
61
|
toAmino: MsgEmergencyCancelGovProposal.toAmino,
|
|
17
|
-
fromAmino: MsgEmergencyCancelGovProposal.fromAmino
|
|
62
|
+
fromAmino: MsgEmergencyCancelGovProposal.fromAmino,
|
|
18
63
|
},
|
|
19
64
|
"/sparkdream.commons.v1.MsgCreatePolicyPermissions": {
|
|
20
|
-
aminoType: "/
|
|
65
|
+
aminoType: "sparkdream/x/commons/MsgCreatePolicyPermissions",
|
|
21
66
|
toAmino: MsgCreatePolicyPermissions.toAmino,
|
|
22
|
-
fromAmino: MsgCreatePolicyPermissions.fromAmino
|
|
67
|
+
fromAmino: MsgCreatePolicyPermissions.fromAmino,
|
|
23
68
|
},
|
|
24
69
|
"/sparkdream.commons.v1.MsgUpdatePolicyPermissions": {
|
|
25
|
-
aminoType: "/
|
|
70
|
+
aminoType: "sparkdream/x/commons/MsgUpdatePolicyPermissions",
|
|
26
71
|
toAmino: MsgUpdatePolicyPermissions.toAmino,
|
|
27
|
-
fromAmino: MsgUpdatePolicyPermissions.fromAmino
|
|
72
|
+
fromAmino: MsgUpdatePolicyPermissions.fromAmino,
|
|
28
73
|
},
|
|
29
74
|
"/sparkdream.commons.v1.MsgDeletePolicyPermissions": {
|
|
30
|
-
aminoType: "/
|
|
75
|
+
aminoType: "sparkdream/x/commons/MsgDeletePolicyPermissions",
|
|
31
76
|
toAmino: MsgDeletePolicyPermissions.toAmino,
|
|
32
|
-
fromAmino: MsgDeletePolicyPermissions.fromAmino
|
|
77
|
+
fromAmino: MsgDeletePolicyPermissions.fromAmino,
|
|
33
78
|
},
|
|
34
79
|
"/sparkdream.commons.v1.MsgRegisterGroup": {
|
|
35
|
-
aminoType: "/
|
|
80
|
+
aminoType: "sparkdream/x/commons/MsgRegisterGroup",
|
|
36
81
|
toAmino: MsgRegisterGroup.toAmino,
|
|
37
|
-
fromAmino: MsgRegisterGroup.fromAmino
|
|
82
|
+
fromAmino: MsgRegisterGroup.fromAmino,
|
|
38
83
|
},
|
|
39
84
|
"/sparkdream.commons.v1.MsgRenewGroup": {
|
|
40
|
-
aminoType: "/
|
|
85
|
+
aminoType: "sparkdream/x/commons/MsgRenewGroup",
|
|
41
86
|
toAmino: MsgRenewGroup.toAmino,
|
|
42
|
-
fromAmino: MsgRenewGroup.fromAmino
|
|
87
|
+
fromAmino: MsgRenewGroup.fromAmino,
|
|
43
88
|
},
|
|
44
89
|
"/sparkdream.commons.v1.MsgUpdateGroupMembers": {
|
|
45
|
-
aminoType: "/
|
|
90
|
+
aminoType: "sparkdream/x/commons/MsgUpdateGroupMembers",
|
|
46
91
|
toAmino: MsgUpdateGroupMembers.toAmino,
|
|
47
|
-
fromAmino: MsgUpdateGroupMembers.fromAmino
|
|
92
|
+
fromAmino: MsgUpdateGroupMembers.fromAmino,
|
|
48
93
|
},
|
|
49
94
|
"/sparkdream.commons.v1.MsgUpdateGroupConfig": {
|
|
50
|
-
aminoType: "/
|
|
95
|
+
aminoType: "sparkdream/x/commons/MsgUpdateGroupConfig",
|
|
51
96
|
toAmino: MsgUpdateGroupConfig.toAmino,
|
|
52
|
-
fromAmino: MsgUpdateGroupConfig.fromAmino
|
|
97
|
+
fromAmino: MsgUpdateGroupConfig.fromAmino,
|
|
53
98
|
},
|
|
54
99
|
"/sparkdream.commons.v1.MsgForceUpgrade": {
|
|
55
|
-
aminoType: "/
|
|
100
|
+
aminoType: "sparkdream/x/commons/MsgForceUpgrade",
|
|
56
101
|
toAmino: MsgForceUpgrade.toAmino,
|
|
57
|
-
fromAmino: MsgForceUpgrade.fromAmino
|
|
102
|
+
fromAmino: MsgForceUpgrade.fromAmino,
|
|
58
103
|
},
|
|
59
104
|
"/sparkdream.commons.v1.MsgDeleteGroup": {
|
|
60
|
-
aminoType: "/
|
|
105
|
+
aminoType: "sparkdream/x/commons/MsgDeleteGroup",
|
|
61
106
|
toAmino: MsgDeleteGroup.toAmino,
|
|
62
|
-
fromAmino: MsgDeleteGroup.fromAmino
|
|
107
|
+
fromAmino: MsgDeleteGroup.fromAmino,
|
|
63
108
|
},
|
|
64
109
|
"/sparkdream.commons.v1.MsgVetoGroupProposals": {
|
|
65
|
-
aminoType: "/
|
|
110
|
+
aminoType: "sparkdream/x/commons/MsgVetoGroupProposals",
|
|
66
111
|
toAmino: MsgVetoGroupProposals.toAmino,
|
|
67
|
-
fromAmino: MsgVetoGroupProposals.fromAmino
|
|
68
|
-
},
|
|
69
|
-
"/sparkdream.commons.v1.MsgSubmitProposal": {
|
|
70
|
-
aminoType: "/sparkdream.commons.v1.MsgSubmitProposal",
|
|
71
|
-
toAmino: MsgSubmitProposal.toAmino,
|
|
72
|
-
fromAmino: MsgSubmitProposal.fromAmino
|
|
112
|
+
fromAmino: MsgVetoGroupProposals.fromAmino,
|
|
73
113
|
},
|
|
114
|
+
// Recursive Any handling — see top-of-file comment.
|
|
115
|
+
"/sparkdream.commons.v1.MsgSubmitProposal": buildProposalConverter("sparkdream/x/commons/MsgSubmitProposal"),
|
|
74
116
|
"/sparkdream.commons.v1.MsgVoteProposal": {
|
|
75
|
-
aminoType: "/
|
|
117
|
+
aminoType: "sparkdream/x/commons/MsgVoteProposal",
|
|
76
118
|
toAmino: MsgVoteProposal.toAmino,
|
|
77
|
-
fromAmino: MsgVoteProposal.fromAmino
|
|
119
|
+
fromAmino: MsgVoteProposal.fromAmino,
|
|
78
120
|
},
|
|
79
121
|
"/sparkdream.commons.v1.MsgExecuteProposal": {
|
|
80
|
-
aminoType: "/
|
|
122
|
+
aminoType: "sparkdream/x/commons/MsgExecuteProposal",
|
|
81
123
|
toAmino: MsgExecuteProposal.toAmino,
|
|
82
|
-
fromAmino: MsgExecuteProposal.fromAmino
|
|
83
|
-
},
|
|
84
|
-
"/sparkdream.commons.v1.MsgSubmitAnonymousProposal": {
|
|
85
|
-
aminoType: "sparkdream/x/commons/MsgSubmitAnonymousProposal",
|
|
86
|
-
toAmino: MsgSubmitAnonymousProposal.toAmino,
|
|
87
|
-
fromAmino: MsgSubmitAnonymousProposal.fromAmino
|
|
124
|
+
fromAmino: MsgExecuteProposal.fromAmino,
|
|
88
125
|
},
|
|
126
|
+
// Recursive Any handling — see top-of-file comment.
|
|
127
|
+
"/sparkdream.commons.v1.MsgSubmitAnonymousProposal": buildProposalConverter("sparkdream/x/commons/MsgSubmitAnonymousProposal"),
|
|
89
128
|
"/sparkdream.commons.v1.MsgAnonymousVoteProposal": {
|
|
90
129
|
aminoType: "sparkdream/x/commons/MsgAnonymousVoteProposal",
|
|
91
130
|
toAmino: MsgAnonymousVoteProposal.toAmino,
|
|
92
|
-
fromAmino: MsgAnonymousVoteProposal.fromAmino
|
|
131
|
+
fromAmino: MsgAnonymousVoteProposal.fromAmino,
|
|
93
132
|
},
|
|
94
133
|
"/sparkdream.commons.v1.MsgCreateCategory": {
|
|
95
134
|
aminoType: "sparkdream/x/commons/MsgCreateCategory",
|
|
96
135
|
toAmino: MsgCreateCategory.toAmino,
|
|
97
|
-
fromAmino: MsgCreateCategory.fromAmino
|
|
98
|
-
}
|
|
136
|
+
fromAmino: MsgCreateCategory.fromAmino,
|
|
137
|
+
},
|
|
99
138
|
};
|