@sparkdreamnft/sparkdreamjs 0.0.42 → 0.0.44
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/akash/bundle.d.ts +134 -134
- package/akash/bundle.js +150 -150
- package/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/akash/bundle.js +150 -150
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +116 -116
- package/esm/sparkdream/artifact/module/v1/module.js +71 -0
- package/esm/sparkdream/artifact/v1/genesis.js +279 -0
- package/esm/sparkdream/artifact/v1/params.js +645 -0
- package/esm/sparkdream/artifact/v1/query.js +3415 -0
- package/esm/sparkdream/artifact/v1/query.lcd.js +159 -0
- package/esm/sparkdream/artifact/v1/query.rpc.Query.js +188 -0
- package/esm/sparkdream/artifact/v1/tx.amino.js +159 -0
- package/esm/sparkdream/artifact/v1/tx.js +5751 -0
- package/esm/sparkdream/artifact/v1/tx.registry.js +573 -0
- package/esm/sparkdream/artifact/v1/tx.rpc.msg.js +199 -0
- package/esm/sparkdream/artifact/v1/types.js +2603 -0
- package/esm/sparkdream/blog/v1/params.js +37 -1
- package/esm/sparkdream/blog/v1/post.js +38 -1
- package/esm/sparkdream/blog/v1/query.js +351 -0
- package/esm/sparkdream/blog/v1/query.lcd.js +12 -0
- package/esm/sparkdream/blog/v1/query.rpc.Query.js +21 -1
- package/esm/sparkdream/blog/v1/types.js +38 -1
- package/esm/sparkdream/bundle.js +521 -483
- package/esm/sparkdream/client.js +4 -1
- package/esm/sparkdream/collect/v1/params.js +102 -126
- package/esm/sparkdream/collect/v1/types.js +207 -123
- package/esm/sparkdream/common/v1/media_flag.js +63 -0
- package/esm/sparkdream/common/v1/moderation_reason.js +1 -1
- package/esm/sparkdream/commons/v1/query.js +27 -3
- package/esm/sparkdream/federation/v1/packet.js +13 -1
- package/esm/sparkdream/federation/v1/query.js +163 -0
- package/esm/sparkdream/federation/v1/query.lcd.js +7 -0
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +12 -1
- package/esm/sparkdream/federation/v1/tx.js +13 -1
- package/esm/sparkdream/federation/v1/types.js +134 -2
- package/esm/sparkdream/forum/v1/params.js +37 -1
- package/esm/sparkdream/forum/v1/post.js +38 -1
- package/esm/sparkdream/forum/v1/query.js +176 -0
- package/esm/sparkdream/forum/v1/query.lcd.js +7 -0
- package/esm/sparkdream/forum/v1/query.rpc.Query.js +12 -1
- package/esm/sparkdream/lcd.js +5 -0
- package/esm/sparkdream/rep/v1/accountability.js +22 -0
- package/esm/sparkdream/rep/v1/genesis.js +18 -2
- package/esm/sparkdream/rep/v1/initiative_bounty.js +200 -0
- package/esm/sparkdream/rep/v1/member.js +97 -35
- package/esm/sparkdream/rep/v1/params.js +186 -66
- package/esm/sparkdream/rep/v1/query.js +530 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +23 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +26 -1
- package/esm/sparkdream/rep/v1/tx.js +354 -7
- package/esm/sparkdream/rep/v1/tx.registry.js +38 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +13 -1
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -0
- package/esm/sparkdream/service/v1/checkpoint.js +125 -0
- package/esm/sparkdream/service/v1/genesis.js +17 -1
- package/esm/sparkdream/service/v1/query.js +317 -0
- package/esm/sparkdream/service/v1/query.lcd.js +18 -0
- package/esm/sparkdream/service/v1/query.rpc.Query.js +21 -1
- package/esm/sparkdream/service/v1/service_type_config.js +37 -1
- package/esm/sparkdream/service/v1/tx.amino.js +6 -1
- package/esm/sparkdream/service/v1/tx.js +169 -0
- package/esm/sparkdream/service/v1/tx.registry.js +20 -2
- package/esm/sparkdream/service/v1/tx.rpc.msg.js +10 -1
- package/esm/sparkdream/shield/v1/params.js +13 -1
- package/esm/sparkdream/shield/v1/types.js +66 -1
- package/esm/sparkdream/sparkdream/v1/query.js +176 -0
- package/esm/sparkdream/sparkdream/v1/query.lcd.js +9 -0
- package/esm/sparkdream/sparkdream/v1/query.rpc.Query.js +14 -1
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +99 -99
- package/ibc/bundle.js +116 -116
- package/package.json +1 -1
- package/sparkdream/artifact/module/v1/module.d.ts +54 -0
- package/sparkdream/artifact/module/v1/module.js +74 -0
- package/sparkdream/artifact/v1/genesis.d.ts +88 -0
- package/sparkdream/artifact/v1/genesis.js +282 -0
- package/sparkdream/artifact/v1/params.d.ts +251 -0
- package/sparkdream/artifact/v1/params.js +648 -0
- package/sparkdream/artifact/v1/query.d.ts +1986 -0
- package/sparkdream/artifact/v1/query.js +3418 -0
- package/sparkdream/artifact/v1/query.lcd.d.ts +27 -0
- package/sparkdream/artifact/v1/query.lcd.js +163 -0
- package/sparkdream/artifact/v1/query.rpc.Query.d.ts +88 -0
- package/sparkdream/artifact/v1/query.rpc.Query.js +193 -0
- package/sparkdream/artifact/v1/tx.amino.d.ts +158 -0
- package/sparkdream/artifact/v1/tx.amino.js +162 -0
- package/sparkdream/artifact/v1/tx.d.ts +3268 -0
- package/sparkdream/artifact/v1/tx.js +5755 -0
- package/sparkdream/artifact/v1/tx.registry.d.ts +385 -0
- package/sparkdream/artifact/v1/tx.registry.js +577 -0
- package/sparkdream/artifact/v1/tx.rpc.msg.d.ts +109 -0
- package/sparkdream/artifact/v1/tx.rpc.msg.js +204 -0
- package/sparkdream/artifact/v1/types.d.ts +1157 -0
- package/sparkdream/artifact/v1/types.js +2620 -0
- package/sparkdream/blog/v1/params.d.ts +46 -0
- package/sparkdream/blog/v1/params.js +37 -1
- package/sparkdream/blog/v1/post.d.ts +24 -0
- package/sparkdream/blog/v1/post.js +38 -1
- package/sparkdream/blog/v1/query.d.ts +195 -0
- package/sparkdream/blog/v1/query.js +352 -1
- package/sparkdream/blog/v1/query.lcd.d.ts +3 -1
- package/sparkdream/blog/v1/query.lcd.js +12 -0
- package/sparkdream/blog/v1/query.rpc.Query.d.ts +13 -1
- package/sparkdream/blog/v1/query.rpc.Query.js +20 -0
- package/sparkdream/blog/v1/types.d.ts +24 -0
- package/sparkdream/blog/v1/types.js +38 -1
- package/sparkdream/bundle.d.ts +20540 -17854
- package/sparkdream/bundle.js +521 -483
- package/sparkdream/client.d.ts +160 -0
- package/sparkdream/client.js +4 -1
- package/sparkdream/collect/v1/params.d.ts +0 -4
- package/sparkdream/collect/v1/params.js +102 -126
- package/sparkdream/collect/v1/types.d.ts +80 -4
- package/sparkdream/collect/v1/types.js +207 -123
- package/sparkdream/common/v1/media_flag.d.ts +23 -0
- package/sparkdream/common/v1/media_flag.js +68 -0
- package/sparkdream/common/v1/moderation_reason.d.ts +1 -1
- package/sparkdream/common/v1/moderation_reason.js +1 -1
- package/sparkdream/commons/v1/query.d.ts +19 -1
- package/sparkdream/commons/v1/query.js +26 -2
- package/sparkdream/federation/v1/packet.d.ts +14 -0
- package/sparkdream/federation/v1/packet.js +13 -1
- package/sparkdream/federation/v1/query.d.ts +92 -0
- package/sparkdream/federation/v1/query.js +164 -1
- package/sparkdream/federation/v1/query.lcd.d.ts +2 -1
- package/sparkdream/federation/v1/query.lcd.js +7 -0
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +9 -1
- package/sparkdream/federation/v1/query.rpc.Query.js +11 -0
- package/sparkdream/federation/v1/tx.d.ts +18 -0
- package/sparkdream/federation/v1/tx.js +13 -1
- package/sparkdream/federation/v1/types.d.ts +128 -0
- package/sparkdream/federation/v1/types.js +135 -3
- package/sparkdream/forum/v1/params.d.ts +46 -0
- package/sparkdream/forum/v1/params.js +37 -1
- package/sparkdream/forum/v1/post.d.ts +30 -0
- package/sparkdream/forum/v1/post.js +38 -1
- package/sparkdream/forum/v1/query.d.ts +98 -0
- package/sparkdream/forum/v1/query.js +177 -1
- package/sparkdream/forum/v1/query.lcd.d.ts +2 -1
- package/sparkdream/forum/v1/query.lcd.js +7 -0
- package/sparkdream/forum/v1/query.rpc.Query.d.ts +9 -1
- package/sparkdream/forum/v1/query.rpc.Query.js +11 -0
- package/sparkdream/lcd.d.ts +3 -0
- package/sparkdream/lcd.js +5 -0
- package/sparkdream/rep/v1/accountability.d.ts +12 -0
- package/sparkdream/rep/v1/accountability.js +22 -0
- package/sparkdream/rep/v1/genesis.d.ts +18 -7
- package/sparkdream/rep/v1/genesis.js +18 -2
- package/sparkdream/rep/v1/initiative_bounty.d.ts +143 -0
- package/sparkdream/rep/v1/initiative_bounty.js +203 -0
- package/sparkdream/rep/v1/member.d.ts +82 -28
- package/sparkdream/rep/v1/member.js +97 -35
- package/sparkdream/rep/v1/params.d.ts +128 -28
- package/sparkdream/rep/v1/params.js +186 -66
- package/sparkdream/rep/v1/query.d.ts +315 -10
- package/sparkdream/rep/v1/query.js +531 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +3 -1
- package/sparkdream/rep/v1/query.lcd.js +23 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +18 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +25 -0
- package/sparkdream/rep/v1/tx.d.ts +245 -1
- package/sparkdream/rep/v1/tx.js +355 -8
- package/sparkdream/rep/v1/tx.registry.d.ts +25 -1
- package/sparkdream/rep/v1/tx.registry.js +37 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +12 -0
- package/sparkdream/rpc.query.d.ts +32 -0
- package/sparkdream/rpc.query.js +3 -0
- package/sparkdream/rpc.tx.d.ts +3 -0
- package/sparkdream/rpc.tx.js +3 -0
- package/sparkdream/service/v1/checkpoint.d.ts +93 -0
- package/sparkdream/service/v1/checkpoint.js +128 -0
- package/sparkdream/service/v1/genesis.d.ts +15 -0
- package/sparkdream/service/v1/genesis.js +17 -1
- package/sparkdream/service/v1/query.d.ts +186 -0
- package/sparkdream/service/v1/query.js +318 -1
- package/sparkdream/service/v1/query.lcd.d.ts +3 -1
- package/sparkdream/service/v1/query.lcd.js +18 -0
- package/sparkdream/service/v1/query.rpc.Query.d.ts +13 -1
- package/sparkdream/service/v1/query.rpc.Query.js +20 -0
- package/sparkdream/service/v1/service_type_config.d.ts +48 -0
- package/sparkdream/service/v1/service_type_config.js +37 -1
- package/sparkdream/service/v1/tx.amino.d.ts +6 -1
- package/sparkdream/service/v1/tx.amino.js +5 -0
- package/sparkdream/service/v1/tx.d.ts +97 -0
- package/sparkdream/service/v1/tx.js +170 -1
- package/sparkdream/service/v1/tx.registry.d.ts +13 -1
- package/sparkdream/service/v1/tx.registry.js +19 -1
- package/sparkdream/service/v1/tx.rpc.msg.d.ts +9 -1
- package/sparkdream/service/v1/tx.rpc.msg.js +9 -0
- package/sparkdream/shield/v1/params.d.ts +16 -0
- package/sparkdream/shield/v1/params.js +13 -1
- package/sparkdream/shield/v1/tx.d.ts +2 -2
- package/sparkdream/shield/v1/types.d.ts +45 -2
- package/sparkdream/shield/v1/types.js +69 -2
- package/sparkdream/sparkdream/v1/query.d.ts +132 -0
- package/sparkdream/sparkdream/v1/query.js +177 -1
- package/sparkdream/sparkdream/v1/query.lcd.d.ts +2 -1
- package/sparkdream/sparkdream/v1/query.lcd.js +9 -0
- package/sparkdream/sparkdream/v1/query.rpc.Query.d.ts +11 -1
- package/sparkdream/sparkdream/v1/query.rpc.Query.js +13 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -395,7 +395,13 @@ function createBaseCollection() {
|
|
|
395
395
|
convictionSustained: false,
|
|
396
396
|
initiativeId: BigInt(0),
|
|
397
397
|
pinned: false,
|
|
398
|
-
nonMemberCollaboratorCount: 0
|
|
398
|
+
nonMemberCollaboratorCount: 0,
|
|
399
|
+
anonOwnerDomain: 0,
|
|
400
|
+
anonOwnerScope: BigInt(0),
|
|
401
|
+
anonOwnerTag: new Uint8Array(),
|
|
402
|
+
anonOwnerSequence: BigInt(0),
|
|
403
|
+
mediaFlags: 0,
|
|
404
|
+
mediaRulesVersion: 0
|
|
399
405
|
};
|
|
400
406
|
}
|
|
401
407
|
/**
|
|
@@ -497,6 +503,24 @@ exports.Collection = {
|
|
|
497
503
|
if (message.nonMemberCollaboratorCount !== 0) {
|
|
498
504
|
writer.uint32(240).uint32(message.nonMemberCollaboratorCount);
|
|
499
505
|
}
|
|
506
|
+
if (message.anonOwnerDomain !== 0) {
|
|
507
|
+
writer.uint32(248).uint32(message.anonOwnerDomain);
|
|
508
|
+
}
|
|
509
|
+
if (message.anonOwnerScope !== BigInt(0)) {
|
|
510
|
+
writer.uint32(256).uint64(message.anonOwnerScope);
|
|
511
|
+
}
|
|
512
|
+
if (message.anonOwnerTag.length !== 0) {
|
|
513
|
+
writer.uint32(266).bytes(message.anonOwnerTag);
|
|
514
|
+
}
|
|
515
|
+
if (message.anonOwnerSequence !== BigInt(0)) {
|
|
516
|
+
writer.uint32(272).uint64(message.anonOwnerSequence);
|
|
517
|
+
}
|
|
518
|
+
if (message.mediaFlags !== 0) {
|
|
519
|
+
writer.uint32(280).uint32(message.mediaFlags);
|
|
520
|
+
}
|
|
521
|
+
if (message.mediaRulesVersion !== 0) {
|
|
522
|
+
writer.uint32(288).uint32(message.mediaRulesVersion);
|
|
523
|
+
}
|
|
500
524
|
return writer;
|
|
501
525
|
},
|
|
502
526
|
decode(input, length) {
|
|
@@ -596,6 +620,24 @@ exports.Collection = {
|
|
|
596
620
|
case 30:
|
|
597
621
|
message.nonMemberCollaboratorCount = reader.uint32();
|
|
598
622
|
break;
|
|
623
|
+
case 31:
|
|
624
|
+
message.anonOwnerDomain = reader.uint32();
|
|
625
|
+
break;
|
|
626
|
+
case 32:
|
|
627
|
+
message.anonOwnerScope = reader.uint64();
|
|
628
|
+
break;
|
|
629
|
+
case 33:
|
|
630
|
+
message.anonOwnerTag = reader.bytes();
|
|
631
|
+
break;
|
|
632
|
+
case 34:
|
|
633
|
+
message.anonOwnerSequence = reader.uint64();
|
|
634
|
+
break;
|
|
635
|
+
case 35:
|
|
636
|
+
message.mediaFlags = reader.uint32();
|
|
637
|
+
break;
|
|
638
|
+
case 36:
|
|
639
|
+
message.mediaRulesVersion = reader.uint32();
|
|
640
|
+
break;
|
|
599
641
|
default:
|
|
600
642
|
reader.skipType(tag & 7);
|
|
601
643
|
break;
|
|
@@ -635,6 +677,12 @@ exports.Collection = {
|
|
|
635
677
|
message.initiativeId = object.initiativeId !== undefined && object.initiativeId !== null ? BigInt(object.initiativeId.toString()) : BigInt(0);
|
|
636
678
|
message.pinned = object.pinned ?? false;
|
|
637
679
|
message.nonMemberCollaboratorCount = object.nonMemberCollaboratorCount ?? 0;
|
|
680
|
+
message.anonOwnerDomain = object.anonOwnerDomain ?? 0;
|
|
681
|
+
message.anonOwnerScope = object.anonOwnerScope !== undefined && object.anonOwnerScope !== null ? BigInt(object.anonOwnerScope.toString()) : BigInt(0);
|
|
682
|
+
message.anonOwnerTag = object.anonOwnerTag ?? new Uint8Array();
|
|
683
|
+
message.anonOwnerSequence = object.anonOwnerSequence !== undefined && object.anonOwnerSequence !== null ? BigInt(object.anonOwnerSequence.toString()) : BigInt(0);
|
|
684
|
+
message.mediaFlags = object.mediaFlags ?? 0;
|
|
685
|
+
message.mediaRulesVersion = object.mediaRulesVersion ?? 0;
|
|
638
686
|
return message;
|
|
639
687
|
},
|
|
640
688
|
fromAmino(object) {
|
|
@@ -727,6 +775,24 @@ exports.Collection = {
|
|
|
727
775
|
if (object.non_member_collaborator_count !== undefined && object.non_member_collaborator_count !== null) {
|
|
728
776
|
message.nonMemberCollaboratorCount = object.non_member_collaborator_count;
|
|
729
777
|
}
|
|
778
|
+
if (object.anon_owner_domain !== undefined && object.anon_owner_domain !== null) {
|
|
779
|
+
message.anonOwnerDomain = object.anon_owner_domain;
|
|
780
|
+
}
|
|
781
|
+
if (object.anon_owner_scope !== undefined && object.anon_owner_scope !== null) {
|
|
782
|
+
message.anonOwnerScope = BigInt(object.anon_owner_scope);
|
|
783
|
+
}
|
|
784
|
+
if (object.anon_owner_tag !== undefined && object.anon_owner_tag !== null) {
|
|
785
|
+
message.anonOwnerTag = (0, helpers_1.bytesFromBase64)(object.anon_owner_tag);
|
|
786
|
+
}
|
|
787
|
+
if (object.anon_owner_sequence !== undefined && object.anon_owner_sequence !== null) {
|
|
788
|
+
message.anonOwnerSequence = BigInt(object.anon_owner_sequence);
|
|
789
|
+
}
|
|
790
|
+
if (object.media_flags !== undefined && object.media_flags !== null) {
|
|
791
|
+
message.mediaFlags = object.media_flags;
|
|
792
|
+
}
|
|
793
|
+
if (object.media_rules_version !== undefined && object.media_rules_version !== null) {
|
|
794
|
+
message.mediaRulesVersion = object.media_rules_version;
|
|
795
|
+
}
|
|
730
796
|
return message;
|
|
731
797
|
},
|
|
732
798
|
toAmino(message) {
|
|
@@ -766,6 +832,12 @@ exports.Collection = {
|
|
|
766
832
|
obj.initiative_id = message.initiativeId !== BigInt(0) ? message.initiativeId?.toString() : undefined;
|
|
767
833
|
obj.pinned = message.pinned === false ? undefined : message.pinned;
|
|
768
834
|
obj.non_member_collaborator_count = message.nonMemberCollaboratorCount === 0 ? undefined : message.nonMemberCollaboratorCount;
|
|
835
|
+
obj.anon_owner_domain = message.anonOwnerDomain === 0 ? undefined : message.anonOwnerDomain;
|
|
836
|
+
obj.anon_owner_scope = message.anonOwnerScope !== BigInt(0) ? message.anonOwnerScope?.toString() : undefined;
|
|
837
|
+
obj.anon_owner_tag = message.anonOwnerTag ? (0, helpers_1.base64FromBytes)(message.anonOwnerTag) : undefined;
|
|
838
|
+
obj.anon_owner_sequence = message.anonOwnerSequence !== BigInt(0) ? message.anonOwnerSequence?.toString() : undefined;
|
|
839
|
+
obj.media_flags = message.mediaFlags === 0 ? undefined : message.mediaFlags;
|
|
840
|
+
obj.media_rules_version = message.mediaRulesVersion === 0 ? undefined : message.mediaRulesVersion;
|
|
769
841
|
return obj;
|
|
770
842
|
},
|
|
771
843
|
fromAminoMsg(object) {
|
|
@@ -803,7 +875,9 @@ function createBaseItem() {
|
|
|
803
875
|
addedAt: BigInt(0),
|
|
804
876
|
status: 0,
|
|
805
877
|
upvoteCount: BigInt(0),
|
|
806
|
-
downvoteCount: BigInt(0)
|
|
878
|
+
downvoteCount: BigInt(0),
|
|
879
|
+
mediaFlags: 0,
|
|
880
|
+
mediaRulesVersion: 0
|
|
807
881
|
};
|
|
808
882
|
}
|
|
809
883
|
/**
|
|
@@ -869,6 +943,12 @@ exports.Item = {
|
|
|
869
943
|
if (message.downvoteCount !== BigInt(0)) {
|
|
870
944
|
writer.uint32(144).uint64(message.downvoteCount);
|
|
871
945
|
}
|
|
946
|
+
if (message.mediaFlags !== 0) {
|
|
947
|
+
writer.uint32(152).uint32(message.mediaFlags);
|
|
948
|
+
}
|
|
949
|
+
if (message.mediaRulesVersion !== 0) {
|
|
950
|
+
writer.uint32(160).uint32(message.mediaRulesVersion);
|
|
951
|
+
}
|
|
872
952
|
return writer;
|
|
873
953
|
},
|
|
874
954
|
decode(input, length) {
|
|
@@ -932,6 +1012,12 @@ exports.Item = {
|
|
|
932
1012
|
case 18:
|
|
933
1013
|
message.downvoteCount = reader.uint64();
|
|
934
1014
|
break;
|
|
1015
|
+
case 19:
|
|
1016
|
+
message.mediaFlags = reader.uint32();
|
|
1017
|
+
break;
|
|
1018
|
+
case 20:
|
|
1019
|
+
message.mediaRulesVersion = reader.uint32();
|
|
1020
|
+
break;
|
|
935
1021
|
default:
|
|
936
1022
|
reader.skipType(tag & 7);
|
|
937
1023
|
break;
|
|
@@ -959,6 +1045,8 @@ exports.Item = {
|
|
|
959
1045
|
message.status = object.status ?? 0;
|
|
960
1046
|
message.upvoteCount = object.upvoteCount !== undefined && object.upvoteCount !== null ? BigInt(object.upvoteCount.toString()) : BigInt(0);
|
|
961
1047
|
message.downvoteCount = object.downvoteCount !== undefined && object.downvoteCount !== null ? BigInt(object.downvoteCount.toString()) : BigInt(0);
|
|
1048
|
+
message.mediaFlags = object.mediaFlags ?? 0;
|
|
1049
|
+
message.mediaRulesVersion = object.mediaRulesVersion ?? 0;
|
|
962
1050
|
return message;
|
|
963
1051
|
},
|
|
964
1052
|
fromAmino(object) {
|
|
@@ -1015,6 +1103,12 @@ exports.Item = {
|
|
|
1015
1103
|
if (object.downvote_count !== undefined && object.downvote_count !== null) {
|
|
1016
1104
|
message.downvoteCount = BigInt(object.downvote_count);
|
|
1017
1105
|
}
|
|
1106
|
+
if (object.media_flags !== undefined && object.media_flags !== null) {
|
|
1107
|
+
message.mediaFlags = object.media_flags;
|
|
1108
|
+
}
|
|
1109
|
+
if (object.media_rules_version !== undefined && object.media_rules_version !== null) {
|
|
1110
|
+
message.mediaRulesVersion = object.media_rules_version;
|
|
1111
|
+
}
|
|
1018
1112
|
return message;
|
|
1019
1113
|
},
|
|
1020
1114
|
toAmino(message) {
|
|
@@ -1042,6 +1136,8 @@ exports.Item = {
|
|
|
1042
1136
|
obj.status = message.status === 0 ? undefined : message.status;
|
|
1043
1137
|
obj.upvote_count = message.upvoteCount !== BigInt(0) ? message.upvoteCount?.toString() : undefined;
|
|
1044
1138
|
obj.downvote_count = message.downvoteCount !== BigInt(0) ? message.downvoteCount?.toString() : undefined;
|
|
1139
|
+
obj.media_flags = message.mediaFlags === 0 ? undefined : message.mediaFlags;
|
|
1140
|
+
obj.media_rules_version = message.mediaRulesVersion === 0 ? undefined : message.mediaRulesVersion;
|
|
1045
1141
|
return obj;
|
|
1046
1142
|
},
|
|
1047
1143
|
fromAminoMsg(object) {
|
|
@@ -2400,9 +2496,7 @@ function createBaseCollectOperationalParams() {
|
|
|
2400
2496
|
maxFlagReasonLength: 0,
|
|
2401
2497
|
sentinelCommitAmount: "",
|
|
2402
2498
|
hideExpiryBlocks: BigInt(0),
|
|
2403
|
-
appealFee: "",
|
|
2404
2499
|
appealCooldownBlocks: BigInt(0),
|
|
2405
|
-
appealDeadlineBlocks: BigInt(0),
|
|
2406
2500
|
endorsementCreationFee: "",
|
|
2407
2501
|
endorsementDreamStake: "",
|
|
2408
2502
|
endorsementStakeDuration: BigInt(0),
|
|
@@ -2447,154 +2541,148 @@ exports.CollectOperationalParams = {
|
|
|
2447
2541
|
writer.uint32(26).string(message.perItemSpamTax);
|
|
2448
2542
|
}
|
|
2449
2543
|
if (message.sponsorFee !== "") {
|
|
2450
|
-
writer.uint32(
|
|
2544
|
+
writer.uint32(34).string(message.sponsorFee);
|
|
2451
2545
|
}
|
|
2452
2546
|
if (message.minSponsorTrustLevel !== "") {
|
|
2453
|
-
writer.uint32(
|
|
2547
|
+
writer.uint32(42).string(message.minSponsorTrustLevel);
|
|
2454
2548
|
}
|
|
2455
2549
|
if (message.sponsorshipRequestTtlBlocks !== BigInt(0)) {
|
|
2456
|
-
writer.uint32(
|
|
2550
|
+
writer.uint32(48).int64(message.sponsorshipRequestTtlBlocks);
|
|
2457
2551
|
}
|
|
2458
2552
|
if (message.minCuratorBond !== "") {
|
|
2459
|
-
writer.uint32(
|
|
2553
|
+
writer.uint32(58).string(message.minCuratorBond);
|
|
2460
2554
|
}
|
|
2461
2555
|
if (message.minCuratorTrustLevel !== "") {
|
|
2462
|
-
writer.uint32(
|
|
2556
|
+
writer.uint32(66).string(message.minCuratorTrustLevel);
|
|
2463
2557
|
}
|
|
2464
2558
|
if (message.minCuratorAgeBlocks !== BigInt(0)) {
|
|
2465
|
-
writer.uint32(
|
|
2559
|
+
writer.uint32(72).int64(message.minCuratorAgeBlocks);
|
|
2466
2560
|
}
|
|
2467
2561
|
if (message.maxTagsPerReview !== 0) {
|
|
2468
|
-
writer.uint32(
|
|
2562
|
+
writer.uint32(80).uint32(message.maxTagsPerReview);
|
|
2469
2563
|
}
|
|
2470
2564
|
if (message.maxReviewCommentLength !== 0) {
|
|
2471
|
-
writer.uint32(
|
|
2565
|
+
writer.uint32(88).uint32(message.maxReviewCommentLength);
|
|
2472
2566
|
}
|
|
2473
2567
|
if (message.maxReviewsPerCollection !== 0) {
|
|
2474
|
-
writer.uint32(
|
|
2568
|
+
writer.uint32(96).uint32(message.maxReviewsPerCollection);
|
|
2475
2569
|
}
|
|
2476
2570
|
if (message.curatorSlashFraction !== "") {
|
|
2477
|
-
writer.uint32(
|
|
2571
|
+
writer.uint32(106).string(math_1.Decimal.fromUserInput(message.curatorSlashFraction, 18).atomics);
|
|
2478
2572
|
}
|
|
2479
2573
|
if (message.challengeWindowBlocks !== BigInt(0)) {
|
|
2480
|
-
writer.uint32(
|
|
2574
|
+
writer.uint32(112).int64(message.challengeWindowBlocks);
|
|
2481
2575
|
}
|
|
2482
2576
|
if (message.challengeDeposit !== "") {
|
|
2483
|
-
writer.uint32(
|
|
2577
|
+
writer.uint32(122).string(message.challengeDeposit);
|
|
2484
2578
|
}
|
|
2485
2579
|
if (message.maxChallengeReasonLength !== 0) {
|
|
2486
|
-
writer.uint32(
|
|
2580
|
+
writer.uint32(128).uint32(message.maxChallengeReasonLength);
|
|
2487
2581
|
}
|
|
2488
2582
|
if (message.challengeRewardFraction !== "") {
|
|
2489
|
-
writer.uint32(
|
|
2583
|
+
writer.uint32(138).string(math_1.Decimal.fromUserInput(message.challengeRewardFraction, 18).atomics);
|
|
2490
2584
|
}
|
|
2491
2585
|
if (message.downvoteCost !== "") {
|
|
2492
|
-
writer.uint32(
|
|
2586
|
+
writer.uint32(146).string(message.downvoteCost);
|
|
2493
2587
|
}
|
|
2494
2588
|
if (message.maxUpvotesPerDay !== 0) {
|
|
2495
|
-
writer.uint32(
|
|
2589
|
+
writer.uint32(152).uint32(message.maxUpvotesPerDay);
|
|
2496
2590
|
}
|
|
2497
2591
|
if (message.maxDownvotesPerDay !== 0) {
|
|
2498
|
-
writer.uint32(
|
|
2592
|
+
writer.uint32(160).uint32(message.maxDownvotesPerDay);
|
|
2499
2593
|
}
|
|
2500
2594
|
if (message.flagReviewThreshold !== 0) {
|
|
2501
|
-
writer.uint32(
|
|
2595
|
+
writer.uint32(168).uint32(message.flagReviewThreshold);
|
|
2502
2596
|
}
|
|
2503
2597
|
if (message.maxFlagsPerDay !== 0) {
|
|
2504
|
-
writer.uint32(
|
|
2598
|
+
writer.uint32(176).uint32(message.maxFlagsPerDay);
|
|
2505
2599
|
}
|
|
2506
2600
|
if (message.maxFlaggersPerTarget !== 0) {
|
|
2507
|
-
writer.uint32(
|
|
2601
|
+
writer.uint32(184).uint32(message.maxFlaggersPerTarget);
|
|
2508
2602
|
}
|
|
2509
2603
|
if (message.flagExpirationBlocks !== BigInt(0)) {
|
|
2510
|
-
writer.uint32(
|
|
2604
|
+
writer.uint32(192).int64(message.flagExpirationBlocks);
|
|
2511
2605
|
}
|
|
2512
2606
|
if (message.maxFlagReasonLength !== 0) {
|
|
2513
|
-
writer.uint32(
|
|
2607
|
+
writer.uint32(200).uint32(message.maxFlagReasonLength);
|
|
2514
2608
|
}
|
|
2515
2609
|
if (message.sentinelCommitAmount !== "") {
|
|
2516
|
-
writer.uint32(
|
|
2610
|
+
writer.uint32(210).string(message.sentinelCommitAmount);
|
|
2517
2611
|
}
|
|
2518
2612
|
if (message.hideExpiryBlocks !== BigInt(0)) {
|
|
2519
|
-
writer.uint32(
|
|
2520
|
-
}
|
|
2521
|
-
if (message.appealFee !== "") {
|
|
2522
|
-
writer.uint32(234).string(message.appealFee);
|
|
2613
|
+
writer.uint32(216).int64(message.hideExpiryBlocks);
|
|
2523
2614
|
}
|
|
2524
2615
|
if (message.appealCooldownBlocks !== BigInt(0)) {
|
|
2525
|
-
writer.uint32(
|
|
2526
|
-
}
|
|
2527
|
-
if (message.appealDeadlineBlocks !== BigInt(0)) {
|
|
2528
|
-
writer.uint32(248).int64(message.appealDeadlineBlocks);
|
|
2616
|
+
writer.uint32(224).int64(message.appealCooldownBlocks);
|
|
2529
2617
|
}
|
|
2530
2618
|
if (message.endorsementCreationFee !== "") {
|
|
2531
|
-
writer.uint32(
|
|
2619
|
+
writer.uint32(234).string(message.endorsementCreationFee);
|
|
2532
2620
|
}
|
|
2533
2621
|
if (message.endorsementDreamStake !== "") {
|
|
2534
|
-
writer.uint32(
|
|
2622
|
+
writer.uint32(242).string(message.endorsementDreamStake);
|
|
2535
2623
|
}
|
|
2536
2624
|
if (message.endorsementStakeDuration !== BigInt(0)) {
|
|
2537
|
-
writer.uint32(
|
|
2625
|
+
writer.uint32(248).int64(message.endorsementStakeDuration);
|
|
2538
2626
|
}
|
|
2539
2627
|
if (message.endorsementExpiryBlocks !== BigInt(0)) {
|
|
2540
|
-
writer.uint32(
|
|
2628
|
+
writer.uint32(256).int64(message.endorsementExpiryBlocks);
|
|
2541
2629
|
}
|
|
2542
2630
|
if (message.endorsementFeeEndorserShare !== "") {
|
|
2543
|
-
writer.uint32(
|
|
2631
|
+
writer.uint32(266).string(math_1.Decimal.fromUserInput(message.endorsementFeeEndorserShare, 18).atomics);
|
|
2544
2632
|
}
|
|
2545
2633
|
if (message.endorsementDeletionBurnFraction !== "") {
|
|
2546
|
-
writer.uint32(
|
|
2634
|
+
writer.uint32(274).string(math_1.Decimal.fromUserInput(message.endorsementDeletionBurnFraction, 18).atomics);
|
|
2547
2635
|
}
|
|
2548
2636
|
if (message.convictionRenewalThreshold !== "") {
|
|
2549
|
-
writer.uint32(
|
|
2637
|
+
writer.uint32(282).string(math_1.Decimal.fromUserInput(message.convictionRenewalThreshold, 18).atomics);
|
|
2550
2638
|
}
|
|
2551
2639
|
if (message.convictionRenewalPeriod !== BigInt(0)) {
|
|
2552
|
-
writer.uint32(
|
|
2640
|
+
writer.uint32(288).int64(message.convictionRenewalPeriod);
|
|
2553
2641
|
}
|
|
2554
2642
|
if (message.pinMinTrustLevel !== 0) {
|
|
2555
|
-
writer.uint32(
|
|
2643
|
+
writer.uint32(296).uint32(message.pinMinTrustLevel);
|
|
2556
2644
|
}
|
|
2557
2645
|
if (message.maxPinsPerDay !== 0) {
|
|
2558
|
-
writer.uint32(
|
|
2646
|
+
writer.uint32(304).uint32(message.maxPinsPerDay);
|
|
2559
2647
|
}
|
|
2560
2648
|
if (message.curatorDemotionCooldown !== BigInt(0)) {
|
|
2561
|
-
writer.uint32(
|
|
2649
|
+
writer.uint32(312).int64(message.curatorDemotionCooldown);
|
|
2562
2650
|
}
|
|
2563
2651
|
if (message.curatorDemotionThreshold !== "") {
|
|
2564
|
-
writer.uint32(
|
|
2652
|
+
writer.uint32(322).string(message.curatorDemotionThreshold);
|
|
2565
2653
|
}
|
|
2566
2654
|
if (message.curatorOverturnDemotionStreak !== BigInt(0)) {
|
|
2567
|
-
writer.uint32(
|
|
2655
|
+
writer.uint32(328).uint64(message.curatorOverturnDemotionStreak);
|
|
2568
2656
|
}
|
|
2569
2657
|
if (message.curatorUnbondCooldown !== BigInt(0)) {
|
|
2570
|
-
writer.uint32(
|
|
2658
|
+
writer.uint32(336).int64(message.curatorUnbondCooldown);
|
|
2571
2659
|
}
|
|
2572
2660
|
if (message.makePermanentMinTrustLevel !== 0) {
|
|
2573
|
-
writer.uint32(
|
|
2661
|
+
writer.uint32(344).uint32(message.makePermanentMinTrustLevel);
|
|
2574
2662
|
}
|
|
2575
2663
|
if (message.maxMakePermanentPerDay !== 0) {
|
|
2576
|
-
writer.uint32(
|
|
2664
|
+
writer.uint32(392).uint32(message.maxMakePermanentPerDay);
|
|
2577
2665
|
}
|
|
2578
2666
|
if (message.nonMemberCollabDreamStake !== "") {
|
|
2579
|
-
writer.uint32(
|
|
2667
|
+
writer.uint32(354).string(message.nonMemberCollabDreamStake);
|
|
2580
2668
|
}
|
|
2581
2669
|
if (message.nonMemberCollabBurnFraction !== "") {
|
|
2582
|
-
writer.uint32(
|
|
2670
|
+
writer.uint32(362).string(math_1.Decimal.fromUserInput(message.nonMemberCollabBurnFraction, 18).atomics);
|
|
2583
2671
|
}
|
|
2584
2672
|
if (message.endorserRepPenalty !== "") {
|
|
2585
|
-
writer.uint32(
|
|
2673
|
+
writer.uint32(370).string(math_1.Decimal.fromUserInput(message.endorserRepPenalty, 18).atomics);
|
|
2586
2674
|
}
|
|
2587
2675
|
if (message.collabInviterRepPenalty !== "") {
|
|
2588
|
-
writer.uint32(
|
|
2676
|
+
writer.uint32(378).string(math_1.Decimal.fromUserInput(message.collabInviterRepPenalty, 18).atomics);
|
|
2589
2677
|
}
|
|
2590
2678
|
if (message.authorRepPenalty !== "") {
|
|
2591
|
-
writer.uint32(
|
|
2679
|
+
writer.uint32(386).string(math_1.Decimal.fromUserInput(message.authorRepPenalty, 18).atomics);
|
|
2592
2680
|
}
|
|
2593
2681
|
if (message.sentinelUnhideWindowBlocks !== BigInt(0)) {
|
|
2594
|
-
writer.uint32(
|
|
2682
|
+
writer.uint32(400).int64(message.sentinelUnhideWindowBlocks);
|
|
2595
2683
|
}
|
|
2596
2684
|
if (message.maxHidesPerSentinelPerDay !== 0) {
|
|
2597
|
-
writer.uint32(
|
|
2685
|
+
writer.uint32(408).uint32(message.maxHidesPerSentinelPerDay);
|
|
2598
2686
|
}
|
|
2599
2687
|
return writer;
|
|
2600
2688
|
},
|
|
@@ -2614,154 +2702,148 @@ exports.CollectOperationalParams = {
|
|
|
2614
2702
|
case 3:
|
|
2615
2703
|
message.perItemSpamTax = reader.string();
|
|
2616
2704
|
break;
|
|
2617
|
-
case
|
|
2705
|
+
case 4:
|
|
2618
2706
|
message.sponsorFee = reader.string();
|
|
2619
2707
|
break;
|
|
2620
|
-
case
|
|
2708
|
+
case 5:
|
|
2621
2709
|
message.minSponsorTrustLevel = reader.string();
|
|
2622
2710
|
break;
|
|
2623
|
-
case
|
|
2711
|
+
case 6:
|
|
2624
2712
|
message.sponsorshipRequestTtlBlocks = reader.int64();
|
|
2625
2713
|
break;
|
|
2626
|
-
case
|
|
2714
|
+
case 7:
|
|
2627
2715
|
message.minCuratorBond = reader.string();
|
|
2628
2716
|
break;
|
|
2629
|
-
case
|
|
2717
|
+
case 8:
|
|
2630
2718
|
message.minCuratorTrustLevel = reader.string();
|
|
2631
2719
|
break;
|
|
2632
|
-
case
|
|
2720
|
+
case 9:
|
|
2633
2721
|
message.minCuratorAgeBlocks = reader.int64();
|
|
2634
2722
|
break;
|
|
2635
|
-
case
|
|
2723
|
+
case 10:
|
|
2636
2724
|
message.maxTagsPerReview = reader.uint32();
|
|
2637
2725
|
break;
|
|
2638
|
-
case
|
|
2726
|
+
case 11:
|
|
2639
2727
|
message.maxReviewCommentLength = reader.uint32();
|
|
2640
2728
|
break;
|
|
2641
|
-
case
|
|
2729
|
+
case 12:
|
|
2642
2730
|
message.maxReviewsPerCollection = reader.uint32();
|
|
2643
2731
|
break;
|
|
2644
|
-
case
|
|
2732
|
+
case 13:
|
|
2645
2733
|
message.curatorSlashFraction = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2646
2734
|
break;
|
|
2647
|
-
case
|
|
2735
|
+
case 14:
|
|
2648
2736
|
message.challengeWindowBlocks = reader.int64();
|
|
2649
2737
|
break;
|
|
2650
|
-
case
|
|
2738
|
+
case 15:
|
|
2651
2739
|
message.challengeDeposit = reader.string();
|
|
2652
2740
|
break;
|
|
2653
|
-
case
|
|
2741
|
+
case 16:
|
|
2654
2742
|
message.maxChallengeReasonLength = reader.uint32();
|
|
2655
2743
|
break;
|
|
2656
|
-
case
|
|
2744
|
+
case 17:
|
|
2657
2745
|
message.challengeRewardFraction = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2658
2746
|
break;
|
|
2659
|
-
case
|
|
2747
|
+
case 18:
|
|
2660
2748
|
message.downvoteCost = reader.string();
|
|
2661
2749
|
break;
|
|
2662
|
-
case
|
|
2750
|
+
case 19:
|
|
2663
2751
|
message.maxUpvotesPerDay = reader.uint32();
|
|
2664
2752
|
break;
|
|
2665
|
-
case
|
|
2753
|
+
case 20:
|
|
2666
2754
|
message.maxDownvotesPerDay = reader.uint32();
|
|
2667
2755
|
break;
|
|
2668
|
-
case
|
|
2756
|
+
case 21:
|
|
2669
2757
|
message.flagReviewThreshold = reader.uint32();
|
|
2670
2758
|
break;
|
|
2671
|
-
case
|
|
2759
|
+
case 22:
|
|
2672
2760
|
message.maxFlagsPerDay = reader.uint32();
|
|
2673
2761
|
break;
|
|
2674
|
-
case
|
|
2762
|
+
case 23:
|
|
2675
2763
|
message.maxFlaggersPerTarget = reader.uint32();
|
|
2676
2764
|
break;
|
|
2677
|
-
case
|
|
2765
|
+
case 24:
|
|
2678
2766
|
message.flagExpirationBlocks = reader.int64();
|
|
2679
2767
|
break;
|
|
2680
|
-
case
|
|
2768
|
+
case 25:
|
|
2681
2769
|
message.maxFlagReasonLength = reader.uint32();
|
|
2682
2770
|
break;
|
|
2683
|
-
case
|
|
2771
|
+
case 26:
|
|
2684
2772
|
message.sentinelCommitAmount = reader.string();
|
|
2685
2773
|
break;
|
|
2686
|
-
case
|
|
2774
|
+
case 27:
|
|
2687
2775
|
message.hideExpiryBlocks = reader.int64();
|
|
2688
2776
|
break;
|
|
2689
|
-
case
|
|
2690
|
-
message.appealFee = reader.string();
|
|
2691
|
-
break;
|
|
2692
|
-
case 30:
|
|
2777
|
+
case 28:
|
|
2693
2778
|
message.appealCooldownBlocks = reader.int64();
|
|
2694
2779
|
break;
|
|
2695
|
-
case
|
|
2696
|
-
message.appealDeadlineBlocks = reader.int64();
|
|
2697
|
-
break;
|
|
2698
|
-
case 32:
|
|
2780
|
+
case 29:
|
|
2699
2781
|
message.endorsementCreationFee = reader.string();
|
|
2700
2782
|
break;
|
|
2701
|
-
case
|
|
2783
|
+
case 30:
|
|
2702
2784
|
message.endorsementDreamStake = reader.string();
|
|
2703
2785
|
break;
|
|
2704
|
-
case
|
|
2786
|
+
case 31:
|
|
2705
2787
|
message.endorsementStakeDuration = reader.int64();
|
|
2706
2788
|
break;
|
|
2707
|
-
case
|
|
2789
|
+
case 32:
|
|
2708
2790
|
message.endorsementExpiryBlocks = reader.int64();
|
|
2709
2791
|
break;
|
|
2710
|
-
case
|
|
2792
|
+
case 33:
|
|
2711
2793
|
message.endorsementFeeEndorserShare = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2712
2794
|
break;
|
|
2713
|
-
case
|
|
2795
|
+
case 34:
|
|
2714
2796
|
message.endorsementDeletionBurnFraction = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2715
2797
|
break;
|
|
2716
|
-
case
|
|
2798
|
+
case 35:
|
|
2717
2799
|
message.convictionRenewalThreshold = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2718
2800
|
break;
|
|
2719
|
-
case
|
|
2801
|
+
case 36:
|
|
2720
2802
|
message.convictionRenewalPeriod = reader.int64();
|
|
2721
2803
|
break;
|
|
2722
|
-
case
|
|
2804
|
+
case 37:
|
|
2723
2805
|
message.pinMinTrustLevel = reader.uint32();
|
|
2724
2806
|
break;
|
|
2725
|
-
case
|
|
2807
|
+
case 38:
|
|
2726
2808
|
message.maxPinsPerDay = reader.uint32();
|
|
2727
2809
|
break;
|
|
2728
|
-
case
|
|
2810
|
+
case 39:
|
|
2729
2811
|
message.curatorDemotionCooldown = reader.int64();
|
|
2730
2812
|
break;
|
|
2731
|
-
case
|
|
2813
|
+
case 40:
|
|
2732
2814
|
message.curatorDemotionThreshold = reader.string();
|
|
2733
2815
|
break;
|
|
2734
|
-
case
|
|
2816
|
+
case 41:
|
|
2735
2817
|
message.curatorOverturnDemotionStreak = reader.uint64();
|
|
2736
2818
|
break;
|
|
2737
|
-
case
|
|
2819
|
+
case 42:
|
|
2738
2820
|
message.curatorUnbondCooldown = reader.int64();
|
|
2739
2821
|
break;
|
|
2740
|
-
case
|
|
2822
|
+
case 43:
|
|
2741
2823
|
message.makePermanentMinTrustLevel = reader.uint32();
|
|
2742
2824
|
break;
|
|
2743
|
-
case
|
|
2825
|
+
case 49:
|
|
2744
2826
|
message.maxMakePermanentPerDay = reader.uint32();
|
|
2745
2827
|
break;
|
|
2746
|
-
case
|
|
2828
|
+
case 44:
|
|
2747
2829
|
message.nonMemberCollabDreamStake = reader.string();
|
|
2748
2830
|
break;
|
|
2749
|
-
case
|
|
2831
|
+
case 45:
|
|
2750
2832
|
message.nonMemberCollabBurnFraction = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2751
2833
|
break;
|
|
2752
|
-
case
|
|
2834
|
+
case 46:
|
|
2753
2835
|
message.endorserRepPenalty = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2754
2836
|
break;
|
|
2755
|
-
case
|
|
2837
|
+
case 47:
|
|
2756
2838
|
message.collabInviterRepPenalty = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2757
2839
|
break;
|
|
2758
|
-
case
|
|
2840
|
+
case 48:
|
|
2759
2841
|
message.authorRepPenalty = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2760
2842
|
break;
|
|
2761
|
-
case
|
|
2843
|
+
case 50:
|
|
2762
2844
|
message.sentinelUnhideWindowBlocks = reader.int64();
|
|
2763
2845
|
break;
|
|
2764
|
-
case
|
|
2846
|
+
case 51:
|
|
2765
2847
|
message.maxHidesPerSentinelPerDay = reader.uint32();
|
|
2766
2848
|
break;
|
|
2767
2849
|
default:
|
|
@@ -2800,9 +2882,7 @@ exports.CollectOperationalParams = {
|
|
|
2800
2882
|
message.maxFlagReasonLength = object.maxFlagReasonLength ?? 0;
|
|
2801
2883
|
message.sentinelCommitAmount = object.sentinelCommitAmount ?? "";
|
|
2802
2884
|
message.hideExpiryBlocks = object.hideExpiryBlocks !== undefined && object.hideExpiryBlocks !== null ? BigInt(object.hideExpiryBlocks.toString()) : BigInt(0);
|
|
2803
|
-
message.appealFee = object.appealFee ?? "";
|
|
2804
2885
|
message.appealCooldownBlocks = object.appealCooldownBlocks !== undefined && object.appealCooldownBlocks !== null ? BigInt(object.appealCooldownBlocks.toString()) : BigInt(0);
|
|
2805
|
-
message.appealDeadlineBlocks = object.appealDeadlineBlocks !== undefined && object.appealDeadlineBlocks !== null ? BigInt(object.appealDeadlineBlocks.toString()) : BigInt(0);
|
|
2806
2886
|
message.endorsementCreationFee = object.endorsementCreationFee ?? "";
|
|
2807
2887
|
message.endorsementDreamStake = object.endorsementDreamStake ?? "";
|
|
2808
2888
|
message.endorsementStakeDuration = object.endorsementStakeDuration !== undefined && object.endorsementStakeDuration !== null ? BigInt(object.endorsementStakeDuration.toString()) : BigInt(0);
|
|
@@ -2911,15 +2991,9 @@ exports.CollectOperationalParams = {
|
|
|
2911
2991
|
if (object.hide_expiry_blocks !== undefined && object.hide_expiry_blocks !== null) {
|
|
2912
2992
|
message.hideExpiryBlocks = BigInt(object.hide_expiry_blocks);
|
|
2913
2993
|
}
|
|
2914
|
-
if (object.appeal_fee !== undefined && object.appeal_fee !== null) {
|
|
2915
|
-
message.appealFee = object.appeal_fee;
|
|
2916
|
-
}
|
|
2917
2994
|
if (object.appeal_cooldown_blocks !== undefined && object.appeal_cooldown_blocks !== null) {
|
|
2918
2995
|
message.appealCooldownBlocks = BigInt(object.appeal_cooldown_blocks);
|
|
2919
2996
|
}
|
|
2920
|
-
if (object.appeal_deadline_blocks !== undefined && object.appeal_deadline_blocks !== null) {
|
|
2921
|
-
message.appealDeadlineBlocks = BigInt(object.appeal_deadline_blocks);
|
|
2922
|
-
}
|
|
2923
2997
|
if (object.endorsement_creation_fee !== undefined && object.endorsement_creation_fee !== null) {
|
|
2924
2998
|
message.endorsementCreationFee = object.endorsement_creation_fee;
|
|
2925
2999
|
}
|
|
@@ -3020,9 +3094,7 @@ exports.CollectOperationalParams = {
|
|
|
3020
3094
|
obj.max_flag_reason_length = message.maxFlagReasonLength === 0 ? undefined : message.maxFlagReasonLength;
|
|
3021
3095
|
obj.sentinel_commit_amount = message.sentinelCommitAmount === "" ? undefined : message.sentinelCommitAmount;
|
|
3022
3096
|
obj.hide_expiry_blocks = message.hideExpiryBlocks !== BigInt(0) ? message.hideExpiryBlocks?.toString() : undefined;
|
|
3023
|
-
obj.appeal_fee = message.appealFee === "" ? undefined : message.appealFee;
|
|
3024
3097
|
obj.appeal_cooldown_blocks = message.appealCooldownBlocks !== BigInt(0) ? message.appealCooldownBlocks?.toString() : undefined;
|
|
3025
|
-
obj.appeal_deadline_blocks = message.appealDeadlineBlocks !== BigInt(0) ? message.appealDeadlineBlocks?.toString() : undefined;
|
|
3026
3098
|
obj.endorsement_creation_fee = message.endorsementCreationFee === "" ? undefined : message.endorsementCreationFee;
|
|
3027
3099
|
obj.endorsement_dream_stake = message.endorsementDreamStake === "" ? undefined : message.endorsementDreamStake;
|
|
3028
3100
|
obj.endorsement_stake_duration = message.endorsementStakeDuration !== BigInt(0) ? message.endorsementStakeDuration?.toString() : undefined;
|
|
@@ -3225,7 +3297,8 @@ function createBaseHideRecord() {
|
|
|
3225
3297
|
authorBondAmount: "",
|
|
3226
3298
|
authorRepPenalty: "",
|
|
3227
3299
|
repPenaltyTags: [],
|
|
3228
|
-
repPenaltyAmounts: []
|
|
3300
|
+
repPenaltyAmounts: [],
|
|
3301
|
+
appealId: BigInt(0)
|
|
3229
3302
|
};
|
|
3230
3303
|
}
|
|
3231
3304
|
/**
|
|
@@ -3285,6 +3358,9 @@ exports.HideRecord = {
|
|
|
3285
3358
|
for (const v of message.repPenaltyAmounts) {
|
|
3286
3359
|
writer.uint32(130).string(v);
|
|
3287
3360
|
}
|
|
3361
|
+
if (message.appealId !== BigInt(0)) {
|
|
3362
|
+
writer.uint32(136).uint64(message.appealId);
|
|
3363
|
+
}
|
|
3288
3364
|
return writer;
|
|
3289
3365
|
},
|
|
3290
3366
|
decode(input, length) {
|
|
@@ -3342,6 +3418,9 @@ exports.HideRecord = {
|
|
|
3342
3418
|
case 16:
|
|
3343
3419
|
message.repPenaltyAmounts.push(reader.string());
|
|
3344
3420
|
break;
|
|
3421
|
+
case 17:
|
|
3422
|
+
message.appealId = reader.uint64();
|
|
3423
|
+
break;
|
|
3345
3424
|
default:
|
|
3346
3425
|
reader.skipType(tag & 7);
|
|
3347
3426
|
break;
|
|
@@ -3367,6 +3446,7 @@ exports.HideRecord = {
|
|
|
3367
3446
|
message.authorRepPenalty = object.authorRepPenalty ?? "";
|
|
3368
3447
|
message.repPenaltyTags = object.repPenaltyTags?.map(e => e) || [];
|
|
3369
3448
|
message.repPenaltyAmounts = object.repPenaltyAmounts?.map(e => e) || [];
|
|
3449
|
+
message.appealId = object.appealId !== undefined && object.appealId !== null ? BigInt(object.appealId.toString()) : BigInt(0);
|
|
3370
3450
|
return message;
|
|
3371
3451
|
},
|
|
3372
3452
|
fromAmino(object) {
|
|
@@ -3415,6 +3495,9 @@ exports.HideRecord = {
|
|
|
3415
3495
|
}
|
|
3416
3496
|
message.repPenaltyTags = object.rep_penalty_tags?.map(e => e) || [];
|
|
3417
3497
|
message.repPenaltyAmounts = object.rep_penalty_amounts?.map(e => e) || [];
|
|
3498
|
+
if (object.appeal_id !== undefined && object.appeal_id !== null) {
|
|
3499
|
+
message.appealId = BigInt(object.appeal_id);
|
|
3500
|
+
}
|
|
3418
3501
|
return message;
|
|
3419
3502
|
},
|
|
3420
3503
|
toAmino(message) {
|
|
@@ -3445,6 +3528,7 @@ exports.HideRecord = {
|
|
|
3445
3528
|
else {
|
|
3446
3529
|
obj.rep_penalty_amounts = message.repPenaltyAmounts;
|
|
3447
3530
|
}
|
|
3531
|
+
obj.appeal_id = message.appealId !== BigInt(0) ? message.appealId?.toString() : undefined;
|
|
3448
3532
|
return obj;
|
|
3449
3533
|
},
|
|
3450
3534
|
fromAminoMsg(object) {
|