@sparkdreamnft/sparkdreamjs 0.0.43 → 0.0.45
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 +37 -1
- 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/name/v1/genesis.js +32 -2
- 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 +198 -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 +499 -7
- package/esm/sparkdream/rep/v1/tx.registry.js +56 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +21 -1
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -0
- package/esm/sparkdream/season/v1/tx.js +33 -2
- package/esm/sparkdream/service/v1/checkpoint.js +125 -0
- package/esm/sparkdream/service/v1/genesis.js +17 -1
- package/esm/sparkdream/service/v1/operator.js +25 -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 +11 -1
- package/esm/sparkdream/service/v1/tx.js +332 -0
- package/esm/sparkdream/service/v1/tx.registry.js +38 -2
- package/esm/sparkdream/service/v1/tx.rpc.msg.js +20 -1
- package/esm/sparkdream/session/v1/grant.js +98 -6
- package/esm/sparkdream/session/v1/tx.amino.js +3 -0
- package/esm/sparkdream/session/v1/tx.js +15 -3
- package/esm/sparkdream/session/v1/tx.rpc.msg.js +2 -2
- package/esm/sparkdream/shield/v1/genesis.js +32 -2
- package/esm/sparkdream/shield/v1/params.js +25 -1
- package/esm/sparkdream/shield/v1/query.js +13 -1
- package/esm/sparkdream/shield/v1/types.js +480 -16
- 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 +20666 -17863
- package/sparkdream/bundle.js +521 -483
- package/sparkdream/client.d.ts +165 -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 +34 -0
- package/sparkdream/federation/v1/types.js +37 -1
- 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/name/v1/genesis.d.ts +23 -1
- package/sparkdream/name/v1/genesis.js +31 -1
- 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 +144 -28
- package/sparkdream/rep/v1/params.js +198 -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 +338 -1
- package/sparkdream/rep/v1/tx.js +500 -8
- package/sparkdream/rep/v1/tx.registry.d.ts +37 -1
- package/sparkdream/rep/v1/tx.registry.js +55 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +14 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +20 -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/season/v1/tx.d.ts +19 -0
- package/sparkdream/season/v1/tx.js +33 -2
- 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/operator.d.ts +30 -0
- package/sparkdream/service/v1/operator.js +25 -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 +11 -1
- package/sparkdream/service/v1/tx.amino.js +10 -0
- package/sparkdream/service/v1/tx.d.ts +216 -0
- package/sparkdream/service/v1/tx.js +333 -1
- package/sparkdream/service/v1/tx.registry.d.ts +25 -1
- package/sparkdream/service/v1/tx.registry.js +37 -1
- package/sparkdream/service/v1/tx.rpc.msg.d.ts +18 -1
- package/sparkdream/service/v1/tx.rpc.msg.js +19 -0
- package/sparkdream/session/v1/grant.d.ts +75 -7
- package/sparkdream/session/v1/grant.js +99 -7
- package/sparkdream/session/v1/tx.amino.js +3 -0
- package/sparkdream/session/v1/tx.d.ts +6 -4
- package/sparkdream/session/v1/tx.js +14 -2
- package/sparkdream/session/v1/tx.rpc.msg.d.ts +2 -2
- package/sparkdream/session/v1/tx.rpc.msg.js +2 -2
- package/sparkdream/shield/v1/genesis.d.ts +17 -1
- package/sparkdream/shield/v1/genesis.js +31 -1
- package/sparkdream/shield/v1/params.d.ts +32 -4
- package/sparkdream/shield/v1/params.js +25 -1
- package/sparkdream/shield/v1/query.d.ts +8 -0
- package/sparkdream/shield/v1/query.js +13 -1
- package/sparkdream/shield/v1/tx.d.ts +36 -10
- package/sparkdream/shield/v1/types.d.ts +337 -13
- package/sparkdream/shield/v1/types.js +483 -17
- 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
|
@@ -329,8 +329,8 @@ function createBaseParams() {
|
|
|
329
329
|
unstakedDecayRate: "",
|
|
330
330
|
transferTaxRate: "",
|
|
331
331
|
maxTipAmount: "",
|
|
332
|
-
|
|
333
|
-
|
|
332
|
+
maxTipsSentPerEpoch: "",
|
|
333
|
+
maxGiftPerInvitee: "",
|
|
334
334
|
giftOnlyToInvitees: false,
|
|
335
335
|
completerShare: "",
|
|
336
336
|
treasuryShare: "",
|
|
@@ -373,8 +373,8 @@ function createBaseParams() {
|
|
|
373
373
|
minStakeDurationSeconds: BigInt(0),
|
|
374
374
|
allowSelfMemberStake: false,
|
|
375
375
|
challengeResponseDeadlineEpochs: BigInt(0),
|
|
376
|
-
|
|
377
|
-
|
|
376
|
+
maxTransferReceivedPerEpoch: "",
|
|
377
|
+
maxTransferReceivedPerSeason: "",
|
|
378
378
|
contentConvictionHalfLifeEpochs: BigInt(0),
|
|
379
379
|
maxContentStakePerMember: "",
|
|
380
380
|
maxAuthorBondPerContent: "",
|
|
@@ -466,7 +466,13 @@ function createBaseParams() {
|
|
|
466
466
|
verifierAccuracyWindowEpochs: BigInt(0),
|
|
467
467
|
minEpochVerifications: 0,
|
|
468
468
|
verifierDreamReward: "",
|
|
469
|
-
maxVerifierDreamMintPerEpoch: ""
|
|
469
|
+
maxVerifierDreamMintPerEpoch: "",
|
|
470
|
+
initiativeBountyMaxBudgetRatio: "",
|
|
471
|
+
maxInitiativeBountyPerFunderEpoch: "",
|
|
472
|
+
minInitiativeBountyContribution: "",
|
|
473
|
+
maxInitiativeBountyContributions: 0,
|
|
474
|
+
initiativeBountyReclaimDelay: BigInt(0),
|
|
475
|
+
invitationAcceptanceEpochs: BigInt(0)
|
|
470
476
|
};
|
|
471
477
|
}
|
|
472
478
|
/**
|
|
@@ -494,11 +500,11 @@ exports.Params = {
|
|
|
494
500
|
if (message.maxTipAmount !== "") {
|
|
495
501
|
writer.uint32(42).string(message.maxTipAmount);
|
|
496
502
|
}
|
|
497
|
-
if (message.
|
|
498
|
-
writer.uint32(
|
|
503
|
+
if (message.maxTipsSentPerEpoch !== "") {
|
|
504
|
+
writer.uint32(50).string(message.maxTipsSentPerEpoch);
|
|
499
505
|
}
|
|
500
|
-
if (message.
|
|
501
|
-
writer.uint32(58).string(message.
|
|
506
|
+
if (message.maxGiftPerInvitee !== "") {
|
|
507
|
+
writer.uint32(58).string(message.maxGiftPerInvitee);
|
|
502
508
|
}
|
|
503
509
|
if (message.giftOnlyToInvitees === true) {
|
|
504
510
|
writer.uint32(64).bool(message.giftOnlyToInvitees);
|
|
@@ -626,11 +632,11 @@ exports.Params = {
|
|
|
626
632
|
if (message.challengeResponseDeadlineEpochs !== BigInt(0)) {
|
|
627
633
|
writer.uint32(392).int64(message.challengeResponseDeadlineEpochs);
|
|
628
634
|
}
|
|
629
|
-
if (message.
|
|
630
|
-
writer.uint32(
|
|
635
|
+
if (message.maxTransferReceivedPerEpoch !== "") {
|
|
636
|
+
writer.uint32(402).string(message.maxTransferReceivedPerEpoch);
|
|
631
637
|
}
|
|
632
|
-
if (message.
|
|
633
|
-
writer.uint32(410).string(message.
|
|
638
|
+
if (message.maxTransferReceivedPerSeason !== "") {
|
|
639
|
+
writer.uint32(410).string(message.maxTransferReceivedPerSeason);
|
|
634
640
|
}
|
|
635
641
|
if (message.contentConvictionHalfLifeEpochs !== BigInt(0)) {
|
|
636
642
|
writer.uint32(416).int64(message.contentConvictionHalfLifeEpochs);
|
|
@@ -908,6 +914,24 @@ exports.Params = {
|
|
|
908
914
|
if (message.maxVerifierDreamMintPerEpoch !== "") {
|
|
909
915
|
writer.uint32(1026).string(message.maxVerifierDreamMintPerEpoch);
|
|
910
916
|
}
|
|
917
|
+
if (message.initiativeBountyMaxBudgetRatio !== "") {
|
|
918
|
+
writer.uint32(1154).string(math_1.Decimal.fromUserInput(message.initiativeBountyMaxBudgetRatio, 18).atomics);
|
|
919
|
+
}
|
|
920
|
+
if (message.maxInitiativeBountyPerFunderEpoch !== "") {
|
|
921
|
+
writer.uint32(1162).string(message.maxInitiativeBountyPerFunderEpoch);
|
|
922
|
+
}
|
|
923
|
+
if (message.minInitiativeBountyContribution !== "") {
|
|
924
|
+
writer.uint32(1170).string(message.minInitiativeBountyContribution);
|
|
925
|
+
}
|
|
926
|
+
if (message.maxInitiativeBountyContributions !== 0) {
|
|
927
|
+
writer.uint32(1176).uint32(message.maxInitiativeBountyContributions);
|
|
928
|
+
}
|
|
929
|
+
if (message.initiativeBountyReclaimDelay !== BigInt(0)) {
|
|
930
|
+
writer.uint32(1184).uint64(message.initiativeBountyReclaimDelay);
|
|
931
|
+
}
|
|
932
|
+
if (message.invitationAcceptanceEpochs !== BigInt(0)) {
|
|
933
|
+
writer.uint32(1192).int64(message.invitationAcceptanceEpochs);
|
|
934
|
+
}
|
|
911
935
|
return writer;
|
|
912
936
|
},
|
|
913
937
|
decode(input, length) {
|
|
@@ -933,10 +957,10 @@ exports.Params = {
|
|
|
933
957
|
message.maxTipAmount = reader.string();
|
|
934
958
|
break;
|
|
935
959
|
case 6:
|
|
936
|
-
message.
|
|
960
|
+
message.maxTipsSentPerEpoch = reader.string();
|
|
937
961
|
break;
|
|
938
962
|
case 7:
|
|
939
|
-
message.
|
|
963
|
+
message.maxGiftPerInvitee = reader.string();
|
|
940
964
|
break;
|
|
941
965
|
case 8:
|
|
942
966
|
message.giftOnlyToInvitees = reader.bool();
|
|
@@ -1065,10 +1089,10 @@ exports.Params = {
|
|
|
1065
1089
|
message.challengeResponseDeadlineEpochs = reader.int64();
|
|
1066
1090
|
break;
|
|
1067
1091
|
case 50:
|
|
1068
|
-
message.
|
|
1092
|
+
message.maxTransferReceivedPerEpoch = reader.string();
|
|
1069
1093
|
break;
|
|
1070
1094
|
case 51:
|
|
1071
|
-
message.
|
|
1095
|
+
message.maxTransferReceivedPerSeason = reader.string();
|
|
1072
1096
|
break;
|
|
1073
1097
|
case 52:
|
|
1074
1098
|
message.contentConvictionHalfLifeEpochs = reader.int64();
|
|
@@ -1346,6 +1370,24 @@ exports.Params = {
|
|
|
1346
1370
|
case 128:
|
|
1347
1371
|
message.maxVerifierDreamMintPerEpoch = reader.string();
|
|
1348
1372
|
break;
|
|
1373
|
+
case 144:
|
|
1374
|
+
message.initiativeBountyMaxBudgetRatio = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1375
|
+
break;
|
|
1376
|
+
case 145:
|
|
1377
|
+
message.maxInitiativeBountyPerFunderEpoch = reader.string();
|
|
1378
|
+
break;
|
|
1379
|
+
case 146:
|
|
1380
|
+
message.minInitiativeBountyContribution = reader.string();
|
|
1381
|
+
break;
|
|
1382
|
+
case 147:
|
|
1383
|
+
message.maxInitiativeBountyContributions = reader.uint32();
|
|
1384
|
+
break;
|
|
1385
|
+
case 148:
|
|
1386
|
+
message.initiativeBountyReclaimDelay = reader.uint64();
|
|
1387
|
+
break;
|
|
1388
|
+
case 149:
|
|
1389
|
+
message.invitationAcceptanceEpochs = reader.int64();
|
|
1390
|
+
break;
|
|
1349
1391
|
default:
|
|
1350
1392
|
reader.skipType(tag & 7);
|
|
1351
1393
|
break;
|
|
@@ -1360,8 +1402,8 @@ exports.Params = {
|
|
|
1360
1402
|
message.unstakedDecayRate = object.unstakedDecayRate ?? "";
|
|
1361
1403
|
message.transferTaxRate = object.transferTaxRate ?? "";
|
|
1362
1404
|
message.maxTipAmount = object.maxTipAmount ?? "";
|
|
1363
|
-
message.
|
|
1364
|
-
message.
|
|
1405
|
+
message.maxTipsSentPerEpoch = object.maxTipsSentPerEpoch ?? "";
|
|
1406
|
+
message.maxGiftPerInvitee = object.maxGiftPerInvitee ?? "";
|
|
1365
1407
|
message.giftOnlyToInvitees = object.giftOnlyToInvitees ?? false;
|
|
1366
1408
|
message.completerShare = object.completerShare ?? "";
|
|
1367
1409
|
message.treasuryShare = object.treasuryShare ?? "";
|
|
@@ -1404,8 +1446,8 @@ exports.Params = {
|
|
|
1404
1446
|
message.minStakeDurationSeconds = object.minStakeDurationSeconds !== undefined && object.minStakeDurationSeconds !== null ? BigInt(object.minStakeDurationSeconds.toString()) : BigInt(0);
|
|
1405
1447
|
message.allowSelfMemberStake = object.allowSelfMemberStake ?? false;
|
|
1406
1448
|
message.challengeResponseDeadlineEpochs = object.challengeResponseDeadlineEpochs !== undefined && object.challengeResponseDeadlineEpochs !== null ? BigInt(object.challengeResponseDeadlineEpochs.toString()) : BigInt(0);
|
|
1407
|
-
message.
|
|
1408
|
-
message.
|
|
1449
|
+
message.maxTransferReceivedPerEpoch = object.maxTransferReceivedPerEpoch ?? "";
|
|
1450
|
+
message.maxTransferReceivedPerSeason = object.maxTransferReceivedPerSeason ?? "";
|
|
1409
1451
|
message.contentConvictionHalfLifeEpochs = object.contentConvictionHalfLifeEpochs !== undefined && object.contentConvictionHalfLifeEpochs !== null ? BigInt(object.contentConvictionHalfLifeEpochs.toString()) : BigInt(0);
|
|
1410
1452
|
message.maxContentStakePerMember = object.maxContentStakePerMember ?? "";
|
|
1411
1453
|
message.maxAuthorBondPerContent = object.maxAuthorBondPerContent ?? "";
|
|
@@ -1498,6 +1540,12 @@ exports.Params = {
|
|
|
1498
1540
|
message.minEpochVerifications = object.minEpochVerifications ?? 0;
|
|
1499
1541
|
message.verifierDreamReward = object.verifierDreamReward ?? "";
|
|
1500
1542
|
message.maxVerifierDreamMintPerEpoch = object.maxVerifierDreamMintPerEpoch ?? "";
|
|
1543
|
+
message.initiativeBountyMaxBudgetRatio = object.initiativeBountyMaxBudgetRatio ?? "";
|
|
1544
|
+
message.maxInitiativeBountyPerFunderEpoch = object.maxInitiativeBountyPerFunderEpoch ?? "";
|
|
1545
|
+
message.minInitiativeBountyContribution = object.minInitiativeBountyContribution ?? "";
|
|
1546
|
+
message.maxInitiativeBountyContributions = object.maxInitiativeBountyContributions ?? 0;
|
|
1547
|
+
message.initiativeBountyReclaimDelay = object.initiativeBountyReclaimDelay !== undefined && object.initiativeBountyReclaimDelay !== null ? BigInt(object.initiativeBountyReclaimDelay.toString()) : BigInt(0);
|
|
1548
|
+
message.invitationAcceptanceEpochs = object.invitationAcceptanceEpochs !== undefined && object.invitationAcceptanceEpochs !== null ? BigInt(object.invitationAcceptanceEpochs.toString()) : BigInt(0);
|
|
1501
1549
|
return message;
|
|
1502
1550
|
},
|
|
1503
1551
|
fromAmino(object) {
|
|
@@ -1517,11 +1565,11 @@ exports.Params = {
|
|
|
1517
1565
|
if (object.max_tip_amount !== undefined && object.max_tip_amount !== null) {
|
|
1518
1566
|
message.maxTipAmount = object.max_tip_amount;
|
|
1519
1567
|
}
|
|
1520
|
-
if (object.
|
|
1521
|
-
message.
|
|
1568
|
+
if (object.max_tips_sent_per_epoch !== undefined && object.max_tips_sent_per_epoch !== null) {
|
|
1569
|
+
message.maxTipsSentPerEpoch = object.max_tips_sent_per_epoch;
|
|
1522
1570
|
}
|
|
1523
|
-
if (object.
|
|
1524
|
-
message.
|
|
1571
|
+
if (object.max_gift_per_invitee !== undefined && object.max_gift_per_invitee !== null) {
|
|
1572
|
+
message.maxGiftPerInvitee = object.max_gift_per_invitee;
|
|
1525
1573
|
}
|
|
1526
1574
|
if (object.gift_only_to_invitees !== undefined && object.gift_only_to_invitees !== null) {
|
|
1527
1575
|
message.giftOnlyToInvitees = object.gift_only_to_invitees;
|
|
@@ -1649,11 +1697,11 @@ exports.Params = {
|
|
|
1649
1697
|
if (object.challenge_response_deadline_epochs !== undefined && object.challenge_response_deadline_epochs !== null) {
|
|
1650
1698
|
message.challengeResponseDeadlineEpochs = BigInt(object.challenge_response_deadline_epochs);
|
|
1651
1699
|
}
|
|
1652
|
-
if (object.
|
|
1653
|
-
message.
|
|
1700
|
+
if (object.max_transfer_received_per_epoch !== undefined && object.max_transfer_received_per_epoch !== null) {
|
|
1701
|
+
message.maxTransferReceivedPerEpoch = object.max_transfer_received_per_epoch;
|
|
1654
1702
|
}
|
|
1655
|
-
if (object.
|
|
1656
|
-
message.
|
|
1703
|
+
if (object.max_transfer_received_per_season !== undefined && object.max_transfer_received_per_season !== null) {
|
|
1704
|
+
message.maxTransferReceivedPerSeason = object.max_transfer_received_per_season;
|
|
1657
1705
|
}
|
|
1658
1706
|
if (object.content_conviction_half_life_epochs !== undefined && object.content_conviction_half_life_epochs !== null) {
|
|
1659
1707
|
message.contentConvictionHalfLifeEpochs = BigInt(object.content_conviction_half_life_epochs);
|
|
@@ -1931,6 +1979,24 @@ exports.Params = {
|
|
|
1931
1979
|
if (object.max_verifier_dream_mint_per_epoch !== undefined && object.max_verifier_dream_mint_per_epoch !== null) {
|
|
1932
1980
|
message.maxVerifierDreamMintPerEpoch = object.max_verifier_dream_mint_per_epoch;
|
|
1933
1981
|
}
|
|
1982
|
+
if (object.initiative_bounty_max_budget_ratio !== undefined && object.initiative_bounty_max_budget_ratio !== null) {
|
|
1983
|
+
message.initiativeBountyMaxBudgetRatio = object.initiative_bounty_max_budget_ratio;
|
|
1984
|
+
}
|
|
1985
|
+
if (object.max_initiative_bounty_per_funder_epoch !== undefined && object.max_initiative_bounty_per_funder_epoch !== null) {
|
|
1986
|
+
message.maxInitiativeBountyPerFunderEpoch = object.max_initiative_bounty_per_funder_epoch;
|
|
1987
|
+
}
|
|
1988
|
+
if (object.min_initiative_bounty_contribution !== undefined && object.min_initiative_bounty_contribution !== null) {
|
|
1989
|
+
message.minInitiativeBountyContribution = object.min_initiative_bounty_contribution;
|
|
1990
|
+
}
|
|
1991
|
+
if (object.max_initiative_bounty_contributions !== undefined && object.max_initiative_bounty_contributions !== null) {
|
|
1992
|
+
message.maxInitiativeBountyContributions = object.max_initiative_bounty_contributions;
|
|
1993
|
+
}
|
|
1994
|
+
if (object.initiative_bounty_reclaim_delay !== undefined && object.initiative_bounty_reclaim_delay !== null) {
|
|
1995
|
+
message.initiativeBountyReclaimDelay = BigInt(object.initiative_bounty_reclaim_delay);
|
|
1996
|
+
}
|
|
1997
|
+
if (object.invitation_acceptance_epochs !== undefined && object.invitation_acceptance_epochs !== null) {
|
|
1998
|
+
message.invitationAcceptanceEpochs = BigInt(object.invitation_acceptance_epochs);
|
|
1999
|
+
}
|
|
1934
2000
|
return message;
|
|
1935
2001
|
},
|
|
1936
2002
|
toAmino(message) {
|
|
@@ -1940,8 +2006,8 @@ exports.Params = {
|
|
|
1940
2006
|
obj.unstaked_decay_rate = message.unstakedDecayRate === "" ? undefined : message.unstakedDecayRate;
|
|
1941
2007
|
obj.transfer_tax_rate = message.transferTaxRate === "" ? undefined : message.transferTaxRate;
|
|
1942
2008
|
obj.max_tip_amount = message.maxTipAmount === "" ? undefined : message.maxTipAmount;
|
|
1943
|
-
obj.
|
|
1944
|
-
obj.
|
|
2009
|
+
obj.max_tips_sent_per_epoch = message.maxTipsSentPerEpoch === "" ? undefined : message.maxTipsSentPerEpoch;
|
|
2010
|
+
obj.max_gift_per_invitee = message.maxGiftPerInvitee === "" ? undefined : message.maxGiftPerInvitee;
|
|
1945
2011
|
obj.gift_only_to_invitees = message.giftOnlyToInvitees === false ? undefined : message.giftOnlyToInvitees;
|
|
1946
2012
|
obj.completer_share = message.completerShare === "" ? undefined : message.completerShare;
|
|
1947
2013
|
obj.treasury_share = message.treasuryShare === "" ? undefined : message.treasuryShare;
|
|
@@ -1984,8 +2050,8 @@ exports.Params = {
|
|
|
1984
2050
|
obj.min_stake_duration_seconds = message.minStakeDurationSeconds !== BigInt(0) ? message.minStakeDurationSeconds?.toString() : undefined;
|
|
1985
2051
|
obj.allow_self_member_stake = message.allowSelfMemberStake === false ? undefined : message.allowSelfMemberStake;
|
|
1986
2052
|
obj.challenge_response_deadline_epochs = message.challengeResponseDeadlineEpochs !== BigInt(0) ? message.challengeResponseDeadlineEpochs?.toString() : undefined;
|
|
1987
|
-
obj.
|
|
1988
|
-
obj.
|
|
2053
|
+
obj.max_transfer_received_per_epoch = message.maxTransferReceivedPerEpoch === "" ? undefined : message.maxTransferReceivedPerEpoch;
|
|
2054
|
+
obj.max_transfer_received_per_season = message.maxTransferReceivedPerSeason === "" ? undefined : message.maxTransferReceivedPerSeason;
|
|
1989
2055
|
obj.content_conviction_half_life_epochs = message.contentConvictionHalfLifeEpochs !== BigInt(0) ? message.contentConvictionHalfLifeEpochs?.toString() : undefined;
|
|
1990
2056
|
obj.max_content_stake_per_member = message.maxContentStakePerMember === "" ? undefined : message.maxContentStakePerMember;
|
|
1991
2057
|
obj.max_author_bond_per_content = message.maxAuthorBondPerContent === "" ? undefined : message.maxAuthorBondPerContent;
|
|
@@ -2078,6 +2144,12 @@ exports.Params = {
|
|
|
2078
2144
|
obj.min_epoch_verifications = message.minEpochVerifications === 0 ? undefined : message.minEpochVerifications;
|
|
2079
2145
|
obj.verifier_dream_reward = message.verifierDreamReward === "" ? undefined : message.verifierDreamReward;
|
|
2080
2146
|
obj.max_verifier_dream_mint_per_epoch = message.maxVerifierDreamMintPerEpoch === "" ? undefined : message.maxVerifierDreamMintPerEpoch;
|
|
2147
|
+
obj.initiative_bounty_max_budget_ratio = message.initiativeBountyMaxBudgetRatio === "" ? undefined : message.initiativeBountyMaxBudgetRatio;
|
|
2148
|
+
obj.max_initiative_bounty_per_funder_epoch = message.maxInitiativeBountyPerFunderEpoch === "" ? undefined : message.maxInitiativeBountyPerFunderEpoch;
|
|
2149
|
+
obj.min_initiative_bounty_contribution = message.minInitiativeBountyContribution === "" ? undefined : message.minInitiativeBountyContribution;
|
|
2150
|
+
obj.max_initiative_bounty_contributions = message.maxInitiativeBountyContributions === 0 ? undefined : message.maxInitiativeBountyContributions;
|
|
2151
|
+
obj.initiative_bounty_reclaim_delay = message.initiativeBountyReclaimDelay !== BigInt(0) ? message.initiativeBountyReclaimDelay?.toString() : undefined;
|
|
2152
|
+
obj.invitation_acceptance_epochs = message.invitationAcceptanceEpochs !== BigInt(0) ? message.invitationAcceptanceEpochs?.toString() : undefined;
|
|
2081
2153
|
return obj;
|
|
2082
2154
|
},
|
|
2083
2155
|
fromAminoMsg(object) {
|
|
@@ -2109,8 +2181,8 @@ function createBaseRepOperationalParams() {
|
|
|
2109
2181
|
unstakedDecayRate: "",
|
|
2110
2182
|
transferTaxRate: "",
|
|
2111
2183
|
maxTipAmount: "",
|
|
2112
|
-
|
|
2113
|
-
|
|
2184
|
+
maxTipsSentPerEpoch: "",
|
|
2185
|
+
maxGiftPerInvitee: "",
|
|
2114
2186
|
giftOnlyToInvitees: false,
|
|
2115
2187
|
minReputationMultiplier: "",
|
|
2116
2188
|
defaultReviewPeriodEpochs: BigInt(0),
|
|
@@ -2139,8 +2211,8 @@ function createBaseRepOperationalParams() {
|
|
|
2139
2211
|
minStakeDurationSeconds: BigInt(0),
|
|
2140
2212
|
allowSelfMemberStake: false,
|
|
2141
2213
|
challengeResponseDeadlineEpochs: BigInt(0),
|
|
2142
|
-
|
|
2143
|
-
|
|
2214
|
+
maxTransferReceivedPerEpoch: "",
|
|
2215
|
+
maxTransferReceivedPerSeason: "",
|
|
2144
2216
|
contentConvictionHalfLifeEpochs: BigInt(0),
|
|
2145
2217
|
maxContentStakePerMember: "",
|
|
2146
2218
|
maxAuthorBondPerContent: "",
|
|
@@ -2226,7 +2298,12 @@ function createBaseRepOperationalParams() {
|
|
|
2226
2298
|
stakingRewardYieldPerEpoch: "",
|
|
2227
2299
|
stakingPoolMintShare: "",
|
|
2228
2300
|
stakingPoolCapBase: "",
|
|
2229
|
-
stakingPoolCapRate: ""
|
|
2301
|
+
stakingPoolCapRate: "",
|
|
2302
|
+
initiativeBountyMaxBudgetRatio: "",
|
|
2303
|
+
maxInitiativeBountyPerFunderEpoch: "",
|
|
2304
|
+
minInitiativeBountyContribution: "",
|
|
2305
|
+
maxInitiativeBountyContributions: 0,
|
|
2306
|
+
initiativeBountyReclaimDelay: BigInt(0)
|
|
2230
2307
|
};
|
|
2231
2308
|
}
|
|
2232
2309
|
/**
|
|
@@ -2256,11 +2333,11 @@ exports.RepOperationalParams = {
|
|
|
2256
2333
|
if (message.maxTipAmount !== "") {
|
|
2257
2334
|
writer.uint32(42).string(message.maxTipAmount);
|
|
2258
2335
|
}
|
|
2259
|
-
if (message.
|
|
2260
|
-
writer.uint32(
|
|
2336
|
+
if (message.maxTipsSentPerEpoch !== "") {
|
|
2337
|
+
writer.uint32(50).string(message.maxTipsSentPerEpoch);
|
|
2261
2338
|
}
|
|
2262
|
-
if (message.
|
|
2263
|
-
writer.uint32(58).string(message.
|
|
2339
|
+
if (message.maxGiftPerInvitee !== "") {
|
|
2340
|
+
writer.uint32(58).string(message.maxGiftPerInvitee);
|
|
2264
2341
|
}
|
|
2265
2342
|
if (message.giftOnlyToInvitees === true) {
|
|
2266
2343
|
writer.uint32(64).bool(message.giftOnlyToInvitees);
|
|
@@ -2346,11 +2423,11 @@ exports.RepOperationalParams = {
|
|
|
2346
2423
|
if (message.challengeResponseDeadlineEpochs !== BigInt(0)) {
|
|
2347
2424
|
writer.uint32(280).int64(message.challengeResponseDeadlineEpochs);
|
|
2348
2425
|
}
|
|
2349
|
-
if (message.
|
|
2350
|
-
writer.uint32(
|
|
2426
|
+
if (message.maxTransferReceivedPerEpoch !== "") {
|
|
2427
|
+
writer.uint32(290).string(message.maxTransferReceivedPerEpoch);
|
|
2351
2428
|
}
|
|
2352
|
-
if (message.
|
|
2353
|
-
writer.uint32(298).string(message.
|
|
2429
|
+
if (message.maxTransferReceivedPerSeason !== "") {
|
|
2430
|
+
writer.uint32(298).string(message.maxTransferReceivedPerSeason);
|
|
2354
2431
|
}
|
|
2355
2432
|
if (message.contentConvictionHalfLifeEpochs !== BigInt(0)) {
|
|
2356
2433
|
writer.uint32(304).int64(message.contentConvictionHalfLifeEpochs);
|
|
@@ -2610,6 +2687,21 @@ exports.RepOperationalParams = {
|
|
|
2610
2687
|
if (message.stakingPoolCapRate !== "") {
|
|
2611
2688
|
writer.uint32(954).string(math_1.Decimal.fromUserInput(message.stakingPoolCapRate, 18).atomics);
|
|
2612
2689
|
}
|
|
2690
|
+
if (message.initiativeBountyMaxBudgetRatio !== "") {
|
|
2691
|
+
writer.uint32(994).string(math_1.Decimal.fromUserInput(message.initiativeBountyMaxBudgetRatio, 18).atomics);
|
|
2692
|
+
}
|
|
2693
|
+
if (message.maxInitiativeBountyPerFunderEpoch !== "") {
|
|
2694
|
+
writer.uint32(1002).string(message.maxInitiativeBountyPerFunderEpoch);
|
|
2695
|
+
}
|
|
2696
|
+
if (message.minInitiativeBountyContribution !== "") {
|
|
2697
|
+
writer.uint32(1010).string(message.minInitiativeBountyContribution);
|
|
2698
|
+
}
|
|
2699
|
+
if (message.maxInitiativeBountyContributions !== 0) {
|
|
2700
|
+
writer.uint32(1016).uint32(message.maxInitiativeBountyContributions);
|
|
2701
|
+
}
|
|
2702
|
+
if (message.initiativeBountyReclaimDelay !== BigInt(0)) {
|
|
2703
|
+
writer.uint32(1024).uint64(message.initiativeBountyReclaimDelay);
|
|
2704
|
+
}
|
|
2613
2705
|
return writer;
|
|
2614
2706
|
},
|
|
2615
2707
|
decode(input, length) {
|
|
@@ -2635,10 +2727,10 @@ exports.RepOperationalParams = {
|
|
|
2635
2727
|
message.maxTipAmount = reader.string();
|
|
2636
2728
|
break;
|
|
2637
2729
|
case 6:
|
|
2638
|
-
message.
|
|
2730
|
+
message.maxTipsSentPerEpoch = reader.string();
|
|
2639
2731
|
break;
|
|
2640
2732
|
case 7:
|
|
2641
|
-
message.
|
|
2733
|
+
message.maxGiftPerInvitee = reader.string();
|
|
2642
2734
|
break;
|
|
2643
2735
|
case 8:
|
|
2644
2736
|
message.giftOnlyToInvitees = reader.bool();
|
|
@@ -2725,10 +2817,10 @@ exports.RepOperationalParams = {
|
|
|
2725
2817
|
message.challengeResponseDeadlineEpochs = reader.int64();
|
|
2726
2818
|
break;
|
|
2727
2819
|
case 36:
|
|
2728
|
-
message.
|
|
2820
|
+
message.maxTransferReceivedPerEpoch = reader.string();
|
|
2729
2821
|
break;
|
|
2730
2822
|
case 37:
|
|
2731
|
-
message.
|
|
2823
|
+
message.maxTransferReceivedPerSeason = reader.string();
|
|
2732
2824
|
break;
|
|
2733
2825
|
case 38:
|
|
2734
2826
|
message.contentConvictionHalfLifeEpochs = reader.int64();
|
|
@@ -2988,6 +3080,21 @@ exports.RepOperationalParams = {
|
|
|
2988
3080
|
case 119:
|
|
2989
3081
|
message.stakingPoolCapRate = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2990
3082
|
break;
|
|
3083
|
+
case 124:
|
|
3084
|
+
message.initiativeBountyMaxBudgetRatio = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
3085
|
+
break;
|
|
3086
|
+
case 125:
|
|
3087
|
+
message.maxInitiativeBountyPerFunderEpoch = reader.string();
|
|
3088
|
+
break;
|
|
3089
|
+
case 126:
|
|
3090
|
+
message.minInitiativeBountyContribution = reader.string();
|
|
3091
|
+
break;
|
|
3092
|
+
case 127:
|
|
3093
|
+
message.maxInitiativeBountyContributions = reader.uint32();
|
|
3094
|
+
break;
|
|
3095
|
+
case 128:
|
|
3096
|
+
message.initiativeBountyReclaimDelay = reader.uint64();
|
|
3097
|
+
break;
|
|
2991
3098
|
default:
|
|
2992
3099
|
reader.skipType(tag & 7);
|
|
2993
3100
|
break;
|
|
@@ -3002,8 +3109,8 @@ exports.RepOperationalParams = {
|
|
|
3002
3109
|
message.unstakedDecayRate = object.unstakedDecayRate ?? "";
|
|
3003
3110
|
message.transferTaxRate = object.transferTaxRate ?? "";
|
|
3004
3111
|
message.maxTipAmount = object.maxTipAmount ?? "";
|
|
3005
|
-
message.
|
|
3006
|
-
message.
|
|
3112
|
+
message.maxTipsSentPerEpoch = object.maxTipsSentPerEpoch ?? "";
|
|
3113
|
+
message.maxGiftPerInvitee = object.maxGiftPerInvitee ?? "";
|
|
3007
3114
|
message.giftOnlyToInvitees = object.giftOnlyToInvitees ?? false;
|
|
3008
3115
|
message.minReputationMultiplier = object.minReputationMultiplier ?? "";
|
|
3009
3116
|
message.defaultReviewPeriodEpochs = object.defaultReviewPeriodEpochs !== undefined && object.defaultReviewPeriodEpochs !== null ? BigInt(object.defaultReviewPeriodEpochs.toString()) : BigInt(0);
|
|
@@ -3032,8 +3139,8 @@ exports.RepOperationalParams = {
|
|
|
3032
3139
|
message.minStakeDurationSeconds = object.minStakeDurationSeconds !== undefined && object.minStakeDurationSeconds !== null ? BigInt(object.minStakeDurationSeconds.toString()) : BigInt(0);
|
|
3033
3140
|
message.allowSelfMemberStake = object.allowSelfMemberStake ?? false;
|
|
3034
3141
|
message.challengeResponseDeadlineEpochs = object.challengeResponseDeadlineEpochs !== undefined && object.challengeResponseDeadlineEpochs !== null ? BigInt(object.challengeResponseDeadlineEpochs.toString()) : BigInt(0);
|
|
3035
|
-
message.
|
|
3036
|
-
message.
|
|
3142
|
+
message.maxTransferReceivedPerEpoch = object.maxTransferReceivedPerEpoch ?? "";
|
|
3143
|
+
message.maxTransferReceivedPerSeason = object.maxTransferReceivedPerSeason ?? "";
|
|
3037
3144
|
message.contentConvictionHalfLifeEpochs = object.contentConvictionHalfLifeEpochs !== undefined && object.contentConvictionHalfLifeEpochs !== null ? BigInt(object.contentConvictionHalfLifeEpochs.toString()) : BigInt(0);
|
|
3038
3145
|
message.maxContentStakePerMember = object.maxContentStakePerMember ?? "";
|
|
3039
3146
|
message.maxAuthorBondPerContent = object.maxAuthorBondPerContent ?? "";
|
|
@@ -3120,6 +3227,11 @@ exports.RepOperationalParams = {
|
|
|
3120
3227
|
message.stakingPoolMintShare = object.stakingPoolMintShare ?? "";
|
|
3121
3228
|
message.stakingPoolCapBase = object.stakingPoolCapBase ?? "";
|
|
3122
3229
|
message.stakingPoolCapRate = object.stakingPoolCapRate ?? "";
|
|
3230
|
+
message.initiativeBountyMaxBudgetRatio = object.initiativeBountyMaxBudgetRatio ?? "";
|
|
3231
|
+
message.maxInitiativeBountyPerFunderEpoch = object.maxInitiativeBountyPerFunderEpoch ?? "";
|
|
3232
|
+
message.minInitiativeBountyContribution = object.minInitiativeBountyContribution ?? "";
|
|
3233
|
+
message.maxInitiativeBountyContributions = object.maxInitiativeBountyContributions ?? 0;
|
|
3234
|
+
message.initiativeBountyReclaimDelay = object.initiativeBountyReclaimDelay !== undefined && object.initiativeBountyReclaimDelay !== null ? BigInt(object.initiativeBountyReclaimDelay.toString()) : BigInt(0);
|
|
3123
3235
|
return message;
|
|
3124
3236
|
},
|
|
3125
3237
|
fromAmino(object) {
|
|
@@ -3139,11 +3251,11 @@ exports.RepOperationalParams = {
|
|
|
3139
3251
|
if (object.max_tip_amount !== undefined && object.max_tip_amount !== null) {
|
|
3140
3252
|
message.maxTipAmount = object.max_tip_amount;
|
|
3141
3253
|
}
|
|
3142
|
-
if (object.
|
|
3143
|
-
message.
|
|
3254
|
+
if (object.max_tips_sent_per_epoch !== undefined && object.max_tips_sent_per_epoch !== null) {
|
|
3255
|
+
message.maxTipsSentPerEpoch = object.max_tips_sent_per_epoch;
|
|
3144
3256
|
}
|
|
3145
|
-
if (object.
|
|
3146
|
-
message.
|
|
3257
|
+
if (object.max_gift_per_invitee !== undefined && object.max_gift_per_invitee !== null) {
|
|
3258
|
+
message.maxGiftPerInvitee = object.max_gift_per_invitee;
|
|
3147
3259
|
}
|
|
3148
3260
|
if (object.gift_only_to_invitees !== undefined && object.gift_only_to_invitees !== null) {
|
|
3149
3261
|
message.giftOnlyToInvitees = object.gift_only_to_invitees;
|
|
@@ -3229,11 +3341,11 @@ exports.RepOperationalParams = {
|
|
|
3229
3341
|
if (object.challenge_response_deadline_epochs !== undefined && object.challenge_response_deadline_epochs !== null) {
|
|
3230
3342
|
message.challengeResponseDeadlineEpochs = BigInt(object.challenge_response_deadline_epochs);
|
|
3231
3343
|
}
|
|
3232
|
-
if (object.
|
|
3233
|
-
message.
|
|
3344
|
+
if (object.max_transfer_received_per_epoch !== undefined && object.max_transfer_received_per_epoch !== null) {
|
|
3345
|
+
message.maxTransferReceivedPerEpoch = object.max_transfer_received_per_epoch;
|
|
3234
3346
|
}
|
|
3235
|
-
if (object.
|
|
3236
|
-
message.
|
|
3347
|
+
if (object.max_transfer_received_per_season !== undefined && object.max_transfer_received_per_season !== null) {
|
|
3348
|
+
message.maxTransferReceivedPerSeason = object.max_transfer_received_per_season;
|
|
3237
3349
|
}
|
|
3238
3350
|
if (object.content_conviction_half_life_epochs !== undefined && object.content_conviction_half_life_epochs !== null) {
|
|
3239
3351
|
message.contentConvictionHalfLifeEpochs = BigInt(object.content_conviction_half_life_epochs);
|
|
@@ -3493,6 +3605,21 @@ exports.RepOperationalParams = {
|
|
|
3493
3605
|
if (object.staking_pool_cap_rate !== undefined && object.staking_pool_cap_rate !== null) {
|
|
3494
3606
|
message.stakingPoolCapRate = object.staking_pool_cap_rate;
|
|
3495
3607
|
}
|
|
3608
|
+
if (object.initiative_bounty_max_budget_ratio !== undefined && object.initiative_bounty_max_budget_ratio !== null) {
|
|
3609
|
+
message.initiativeBountyMaxBudgetRatio = object.initiative_bounty_max_budget_ratio;
|
|
3610
|
+
}
|
|
3611
|
+
if (object.max_initiative_bounty_per_funder_epoch !== undefined && object.max_initiative_bounty_per_funder_epoch !== null) {
|
|
3612
|
+
message.maxInitiativeBountyPerFunderEpoch = object.max_initiative_bounty_per_funder_epoch;
|
|
3613
|
+
}
|
|
3614
|
+
if (object.min_initiative_bounty_contribution !== undefined && object.min_initiative_bounty_contribution !== null) {
|
|
3615
|
+
message.minInitiativeBountyContribution = object.min_initiative_bounty_contribution;
|
|
3616
|
+
}
|
|
3617
|
+
if (object.max_initiative_bounty_contributions !== undefined && object.max_initiative_bounty_contributions !== null) {
|
|
3618
|
+
message.maxInitiativeBountyContributions = object.max_initiative_bounty_contributions;
|
|
3619
|
+
}
|
|
3620
|
+
if (object.initiative_bounty_reclaim_delay !== undefined && object.initiative_bounty_reclaim_delay !== null) {
|
|
3621
|
+
message.initiativeBountyReclaimDelay = BigInt(object.initiative_bounty_reclaim_delay);
|
|
3622
|
+
}
|
|
3496
3623
|
return message;
|
|
3497
3624
|
},
|
|
3498
3625
|
toAmino(message) {
|
|
@@ -3502,8 +3629,8 @@ exports.RepOperationalParams = {
|
|
|
3502
3629
|
obj.unstaked_decay_rate = message.unstakedDecayRate === "" ? undefined : message.unstakedDecayRate;
|
|
3503
3630
|
obj.transfer_tax_rate = message.transferTaxRate === "" ? undefined : message.transferTaxRate;
|
|
3504
3631
|
obj.max_tip_amount = message.maxTipAmount === "" ? undefined : message.maxTipAmount;
|
|
3505
|
-
obj.
|
|
3506
|
-
obj.
|
|
3632
|
+
obj.max_tips_sent_per_epoch = message.maxTipsSentPerEpoch === "" ? undefined : message.maxTipsSentPerEpoch;
|
|
3633
|
+
obj.max_gift_per_invitee = message.maxGiftPerInvitee === "" ? undefined : message.maxGiftPerInvitee;
|
|
3507
3634
|
obj.gift_only_to_invitees = message.giftOnlyToInvitees === false ? undefined : message.giftOnlyToInvitees;
|
|
3508
3635
|
obj.min_reputation_multiplier = message.minReputationMultiplier === "" ? undefined : message.minReputationMultiplier;
|
|
3509
3636
|
obj.default_review_period_epochs = message.defaultReviewPeriodEpochs !== BigInt(0) ? message.defaultReviewPeriodEpochs?.toString() : undefined;
|
|
@@ -3532,8 +3659,8 @@ exports.RepOperationalParams = {
|
|
|
3532
3659
|
obj.min_stake_duration_seconds = message.minStakeDurationSeconds !== BigInt(0) ? message.minStakeDurationSeconds?.toString() : undefined;
|
|
3533
3660
|
obj.allow_self_member_stake = message.allowSelfMemberStake === false ? undefined : message.allowSelfMemberStake;
|
|
3534
3661
|
obj.challenge_response_deadline_epochs = message.challengeResponseDeadlineEpochs !== BigInt(0) ? message.challengeResponseDeadlineEpochs?.toString() : undefined;
|
|
3535
|
-
obj.
|
|
3536
|
-
obj.
|
|
3662
|
+
obj.max_transfer_received_per_epoch = message.maxTransferReceivedPerEpoch === "" ? undefined : message.maxTransferReceivedPerEpoch;
|
|
3663
|
+
obj.max_transfer_received_per_season = message.maxTransferReceivedPerSeason === "" ? undefined : message.maxTransferReceivedPerSeason;
|
|
3537
3664
|
obj.content_conviction_half_life_epochs = message.contentConvictionHalfLifeEpochs !== BigInt(0) ? message.contentConvictionHalfLifeEpochs?.toString() : undefined;
|
|
3538
3665
|
obj.max_content_stake_per_member = message.maxContentStakePerMember === "" ? undefined : message.maxContentStakePerMember;
|
|
3539
3666
|
obj.max_author_bond_per_content = message.maxAuthorBondPerContent === "" ? undefined : message.maxAuthorBondPerContent;
|
|
@@ -3620,6 +3747,11 @@ exports.RepOperationalParams = {
|
|
|
3620
3747
|
obj.staking_pool_mint_share = message.stakingPoolMintShare === "" ? undefined : message.stakingPoolMintShare;
|
|
3621
3748
|
obj.staking_pool_cap_base = message.stakingPoolCapBase === "" ? undefined : message.stakingPoolCapBase;
|
|
3622
3749
|
obj.staking_pool_cap_rate = message.stakingPoolCapRate === "" ? undefined : message.stakingPoolCapRate;
|
|
3750
|
+
obj.initiative_bounty_max_budget_ratio = message.initiativeBountyMaxBudgetRatio === "" ? undefined : message.initiativeBountyMaxBudgetRatio;
|
|
3751
|
+
obj.max_initiative_bounty_per_funder_epoch = message.maxInitiativeBountyPerFunderEpoch === "" ? undefined : message.maxInitiativeBountyPerFunderEpoch;
|
|
3752
|
+
obj.min_initiative_bounty_contribution = message.minInitiativeBountyContribution === "" ? undefined : message.minInitiativeBountyContribution;
|
|
3753
|
+
obj.max_initiative_bounty_contributions = message.maxInitiativeBountyContributions === 0 ? undefined : message.maxInitiativeBountyContributions;
|
|
3754
|
+
obj.initiative_bounty_reclaim_delay = message.initiativeBountyReclaimDelay !== BigInt(0) ? message.initiativeBountyReclaimDelay?.toString() : undefined;
|
|
3623
3755
|
return obj;
|
|
3624
3756
|
},
|
|
3625
3757
|
fromAminoMsg(object) {
|