@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
|
@@ -326,8 +326,8 @@ function createBaseParams() {
|
|
|
326
326
|
unstakedDecayRate: "",
|
|
327
327
|
transferTaxRate: "",
|
|
328
328
|
maxTipAmount: "",
|
|
329
|
-
|
|
330
|
-
|
|
329
|
+
maxTipsSentPerEpoch: "",
|
|
330
|
+
maxGiftPerInvitee: "",
|
|
331
331
|
giftOnlyToInvitees: false,
|
|
332
332
|
completerShare: "",
|
|
333
333
|
treasuryShare: "",
|
|
@@ -370,8 +370,8 @@ function createBaseParams() {
|
|
|
370
370
|
minStakeDurationSeconds: BigInt(0),
|
|
371
371
|
allowSelfMemberStake: false,
|
|
372
372
|
challengeResponseDeadlineEpochs: BigInt(0),
|
|
373
|
-
|
|
374
|
-
|
|
373
|
+
maxTransferReceivedPerEpoch: "",
|
|
374
|
+
maxTransferReceivedPerSeason: "",
|
|
375
375
|
contentConvictionHalfLifeEpochs: BigInt(0),
|
|
376
376
|
maxContentStakePerMember: "",
|
|
377
377
|
maxAuthorBondPerContent: "",
|
|
@@ -463,7 +463,13 @@ function createBaseParams() {
|
|
|
463
463
|
verifierAccuracyWindowEpochs: BigInt(0),
|
|
464
464
|
minEpochVerifications: 0,
|
|
465
465
|
verifierDreamReward: "",
|
|
466
|
-
maxVerifierDreamMintPerEpoch: ""
|
|
466
|
+
maxVerifierDreamMintPerEpoch: "",
|
|
467
|
+
initiativeBountyMaxBudgetRatio: "",
|
|
468
|
+
maxInitiativeBountyPerFunderEpoch: "",
|
|
469
|
+
minInitiativeBountyContribution: "",
|
|
470
|
+
maxInitiativeBountyContributions: 0,
|
|
471
|
+
initiativeBountyReclaimDelay: BigInt(0),
|
|
472
|
+
invitationAcceptanceEpochs: BigInt(0)
|
|
467
473
|
};
|
|
468
474
|
}
|
|
469
475
|
/**
|
|
@@ -491,11 +497,11 @@ export const Params = {
|
|
|
491
497
|
if (message.maxTipAmount !== "") {
|
|
492
498
|
writer.uint32(42).string(message.maxTipAmount);
|
|
493
499
|
}
|
|
494
|
-
if (message.
|
|
495
|
-
writer.uint32(
|
|
500
|
+
if (message.maxTipsSentPerEpoch !== "") {
|
|
501
|
+
writer.uint32(50).string(message.maxTipsSentPerEpoch);
|
|
496
502
|
}
|
|
497
|
-
if (message.
|
|
498
|
-
writer.uint32(58).string(message.
|
|
503
|
+
if (message.maxGiftPerInvitee !== "") {
|
|
504
|
+
writer.uint32(58).string(message.maxGiftPerInvitee);
|
|
499
505
|
}
|
|
500
506
|
if (message.giftOnlyToInvitees === true) {
|
|
501
507
|
writer.uint32(64).bool(message.giftOnlyToInvitees);
|
|
@@ -623,11 +629,11 @@ export const Params = {
|
|
|
623
629
|
if (message.challengeResponseDeadlineEpochs !== BigInt(0)) {
|
|
624
630
|
writer.uint32(392).int64(message.challengeResponseDeadlineEpochs);
|
|
625
631
|
}
|
|
626
|
-
if (message.
|
|
627
|
-
writer.uint32(
|
|
632
|
+
if (message.maxTransferReceivedPerEpoch !== "") {
|
|
633
|
+
writer.uint32(402).string(message.maxTransferReceivedPerEpoch);
|
|
628
634
|
}
|
|
629
|
-
if (message.
|
|
630
|
-
writer.uint32(410).string(message.
|
|
635
|
+
if (message.maxTransferReceivedPerSeason !== "") {
|
|
636
|
+
writer.uint32(410).string(message.maxTransferReceivedPerSeason);
|
|
631
637
|
}
|
|
632
638
|
if (message.contentConvictionHalfLifeEpochs !== BigInt(0)) {
|
|
633
639
|
writer.uint32(416).int64(message.contentConvictionHalfLifeEpochs);
|
|
@@ -905,6 +911,24 @@ export const Params = {
|
|
|
905
911
|
if (message.maxVerifierDreamMintPerEpoch !== "") {
|
|
906
912
|
writer.uint32(1026).string(message.maxVerifierDreamMintPerEpoch);
|
|
907
913
|
}
|
|
914
|
+
if (message.initiativeBountyMaxBudgetRatio !== "") {
|
|
915
|
+
writer.uint32(1154).string(Decimal.fromUserInput(message.initiativeBountyMaxBudgetRatio, 18).atomics);
|
|
916
|
+
}
|
|
917
|
+
if (message.maxInitiativeBountyPerFunderEpoch !== "") {
|
|
918
|
+
writer.uint32(1162).string(message.maxInitiativeBountyPerFunderEpoch);
|
|
919
|
+
}
|
|
920
|
+
if (message.minInitiativeBountyContribution !== "") {
|
|
921
|
+
writer.uint32(1170).string(message.minInitiativeBountyContribution);
|
|
922
|
+
}
|
|
923
|
+
if (message.maxInitiativeBountyContributions !== 0) {
|
|
924
|
+
writer.uint32(1176).uint32(message.maxInitiativeBountyContributions);
|
|
925
|
+
}
|
|
926
|
+
if (message.initiativeBountyReclaimDelay !== BigInt(0)) {
|
|
927
|
+
writer.uint32(1184).uint64(message.initiativeBountyReclaimDelay);
|
|
928
|
+
}
|
|
929
|
+
if (message.invitationAcceptanceEpochs !== BigInt(0)) {
|
|
930
|
+
writer.uint32(1192).int64(message.invitationAcceptanceEpochs);
|
|
931
|
+
}
|
|
908
932
|
return writer;
|
|
909
933
|
},
|
|
910
934
|
decode(input, length) {
|
|
@@ -930,10 +954,10 @@ export const Params = {
|
|
|
930
954
|
message.maxTipAmount = reader.string();
|
|
931
955
|
break;
|
|
932
956
|
case 6:
|
|
933
|
-
message.
|
|
957
|
+
message.maxTipsSentPerEpoch = reader.string();
|
|
934
958
|
break;
|
|
935
959
|
case 7:
|
|
936
|
-
message.
|
|
960
|
+
message.maxGiftPerInvitee = reader.string();
|
|
937
961
|
break;
|
|
938
962
|
case 8:
|
|
939
963
|
message.giftOnlyToInvitees = reader.bool();
|
|
@@ -1062,10 +1086,10 @@ export const Params = {
|
|
|
1062
1086
|
message.challengeResponseDeadlineEpochs = reader.int64();
|
|
1063
1087
|
break;
|
|
1064
1088
|
case 50:
|
|
1065
|
-
message.
|
|
1089
|
+
message.maxTransferReceivedPerEpoch = reader.string();
|
|
1066
1090
|
break;
|
|
1067
1091
|
case 51:
|
|
1068
|
-
message.
|
|
1092
|
+
message.maxTransferReceivedPerSeason = reader.string();
|
|
1069
1093
|
break;
|
|
1070
1094
|
case 52:
|
|
1071
1095
|
message.contentConvictionHalfLifeEpochs = reader.int64();
|
|
@@ -1343,6 +1367,24 @@ export const Params = {
|
|
|
1343
1367
|
case 128:
|
|
1344
1368
|
message.maxVerifierDreamMintPerEpoch = reader.string();
|
|
1345
1369
|
break;
|
|
1370
|
+
case 144:
|
|
1371
|
+
message.initiativeBountyMaxBudgetRatio = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1372
|
+
break;
|
|
1373
|
+
case 145:
|
|
1374
|
+
message.maxInitiativeBountyPerFunderEpoch = reader.string();
|
|
1375
|
+
break;
|
|
1376
|
+
case 146:
|
|
1377
|
+
message.minInitiativeBountyContribution = reader.string();
|
|
1378
|
+
break;
|
|
1379
|
+
case 147:
|
|
1380
|
+
message.maxInitiativeBountyContributions = reader.uint32();
|
|
1381
|
+
break;
|
|
1382
|
+
case 148:
|
|
1383
|
+
message.initiativeBountyReclaimDelay = reader.uint64();
|
|
1384
|
+
break;
|
|
1385
|
+
case 149:
|
|
1386
|
+
message.invitationAcceptanceEpochs = reader.int64();
|
|
1387
|
+
break;
|
|
1346
1388
|
default:
|
|
1347
1389
|
reader.skipType(tag & 7);
|
|
1348
1390
|
break;
|
|
@@ -1357,8 +1399,8 @@ export const Params = {
|
|
|
1357
1399
|
message.unstakedDecayRate = object.unstakedDecayRate ?? "";
|
|
1358
1400
|
message.transferTaxRate = object.transferTaxRate ?? "";
|
|
1359
1401
|
message.maxTipAmount = object.maxTipAmount ?? "";
|
|
1360
|
-
message.
|
|
1361
|
-
message.
|
|
1402
|
+
message.maxTipsSentPerEpoch = object.maxTipsSentPerEpoch ?? "";
|
|
1403
|
+
message.maxGiftPerInvitee = object.maxGiftPerInvitee ?? "";
|
|
1362
1404
|
message.giftOnlyToInvitees = object.giftOnlyToInvitees ?? false;
|
|
1363
1405
|
message.completerShare = object.completerShare ?? "";
|
|
1364
1406
|
message.treasuryShare = object.treasuryShare ?? "";
|
|
@@ -1401,8 +1443,8 @@ export const Params = {
|
|
|
1401
1443
|
message.minStakeDurationSeconds = object.minStakeDurationSeconds !== undefined && object.minStakeDurationSeconds !== null ? BigInt(object.minStakeDurationSeconds.toString()) : BigInt(0);
|
|
1402
1444
|
message.allowSelfMemberStake = object.allowSelfMemberStake ?? false;
|
|
1403
1445
|
message.challengeResponseDeadlineEpochs = object.challengeResponseDeadlineEpochs !== undefined && object.challengeResponseDeadlineEpochs !== null ? BigInt(object.challengeResponseDeadlineEpochs.toString()) : BigInt(0);
|
|
1404
|
-
message.
|
|
1405
|
-
message.
|
|
1446
|
+
message.maxTransferReceivedPerEpoch = object.maxTransferReceivedPerEpoch ?? "";
|
|
1447
|
+
message.maxTransferReceivedPerSeason = object.maxTransferReceivedPerSeason ?? "";
|
|
1406
1448
|
message.contentConvictionHalfLifeEpochs = object.contentConvictionHalfLifeEpochs !== undefined && object.contentConvictionHalfLifeEpochs !== null ? BigInt(object.contentConvictionHalfLifeEpochs.toString()) : BigInt(0);
|
|
1407
1449
|
message.maxContentStakePerMember = object.maxContentStakePerMember ?? "";
|
|
1408
1450
|
message.maxAuthorBondPerContent = object.maxAuthorBondPerContent ?? "";
|
|
@@ -1495,6 +1537,12 @@ export const Params = {
|
|
|
1495
1537
|
message.minEpochVerifications = object.minEpochVerifications ?? 0;
|
|
1496
1538
|
message.verifierDreamReward = object.verifierDreamReward ?? "";
|
|
1497
1539
|
message.maxVerifierDreamMintPerEpoch = object.maxVerifierDreamMintPerEpoch ?? "";
|
|
1540
|
+
message.initiativeBountyMaxBudgetRatio = object.initiativeBountyMaxBudgetRatio ?? "";
|
|
1541
|
+
message.maxInitiativeBountyPerFunderEpoch = object.maxInitiativeBountyPerFunderEpoch ?? "";
|
|
1542
|
+
message.minInitiativeBountyContribution = object.minInitiativeBountyContribution ?? "";
|
|
1543
|
+
message.maxInitiativeBountyContributions = object.maxInitiativeBountyContributions ?? 0;
|
|
1544
|
+
message.initiativeBountyReclaimDelay = object.initiativeBountyReclaimDelay !== undefined && object.initiativeBountyReclaimDelay !== null ? BigInt(object.initiativeBountyReclaimDelay.toString()) : BigInt(0);
|
|
1545
|
+
message.invitationAcceptanceEpochs = object.invitationAcceptanceEpochs !== undefined && object.invitationAcceptanceEpochs !== null ? BigInt(object.invitationAcceptanceEpochs.toString()) : BigInt(0);
|
|
1498
1546
|
return message;
|
|
1499
1547
|
},
|
|
1500
1548
|
fromAmino(object) {
|
|
@@ -1514,11 +1562,11 @@ export const Params = {
|
|
|
1514
1562
|
if (object.max_tip_amount !== undefined && object.max_tip_amount !== null) {
|
|
1515
1563
|
message.maxTipAmount = object.max_tip_amount;
|
|
1516
1564
|
}
|
|
1517
|
-
if (object.
|
|
1518
|
-
message.
|
|
1565
|
+
if (object.max_tips_sent_per_epoch !== undefined && object.max_tips_sent_per_epoch !== null) {
|
|
1566
|
+
message.maxTipsSentPerEpoch = object.max_tips_sent_per_epoch;
|
|
1519
1567
|
}
|
|
1520
|
-
if (object.
|
|
1521
|
-
message.
|
|
1568
|
+
if (object.max_gift_per_invitee !== undefined && object.max_gift_per_invitee !== null) {
|
|
1569
|
+
message.maxGiftPerInvitee = object.max_gift_per_invitee;
|
|
1522
1570
|
}
|
|
1523
1571
|
if (object.gift_only_to_invitees !== undefined && object.gift_only_to_invitees !== null) {
|
|
1524
1572
|
message.giftOnlyToInvitees = object.gift_only_to_invitees;
|
|
@@ -1646,11 +1694,11 @@ export const Params = {
|
|
|
1646
1694
|
if (object.challenge_response_deadline_epochs !== undefined && object.challenge_response_deadline_epochs !== null) {
|
|
1647
1695
|
message.challengeResponseDeadlineEpochs = BigInt(object.challenge_response_deadline_epochs);
|
|
1648
1696
|
}
|
|
1649
|
-
if (object.
|
|
1650
|
-
message.
|
|
1697
|
+
if (object.max_transfer_received_per_epoch !== undefined && object.max_transfer_received_per_epoch !== null) {
|
|
1698
|
+
message.maxTransferReceivedPerEpoch = object.max_transfer_received_per_epoch;
|
|
1651
1699
|
}
|
|
1652
|
-
if (object.
|
|
1653
|
-
message.
|
|
1700
|
+
if (object.max_transfer_received_per_season !== undefined && object.max_transfer_received_per_season !== null) {
|
|
1701
|
+
message.maxTransferReceivedPerSeason = object.max_transfer_received_per_season;
|
|
1654
1702
|
}
|
|
1655
1703
|
if (object.content_conviction_half_life_epochs !== undefined && object.content_conviction_half_life_epochs !== null) {
|
|
1656
1704
|
message.contentConvictionHalfLifeEpochs = BigInt(object.content_conviction_half_life_epochs);
|
|
@@ -1928,6 +1976,24 @@ export const Params = {
|
|
|
1928
1976
|
if (object.max_verifier_dream_mint_per_epoch !== undefined && object.max_verifier_dream_mint_per_epoch !== null) {
|
|
1929
1977
|
message.maxVerifierDreamMintPerEpoch = object.max_verifier_dream_mint_per_epoch;
|
|
1930
1978
|
}
|
|
1979
|
+
if (object.initiative_bounty_max_budget_ratio !== undefined && object.initiative_bounty_max_budget_ratio !== null) {
|
|
1980
|
+
message.initiativeBountyMaxBudgetRatio = object.initiative_bounty_max_budget_ratio;
|
|
1981
|
+
}
|
|
1982
|
+
if (object.max_initiative_bounty_per_funder_epoch !== undefined && object.max_initiative_bounty_per_funder_epoch !== null) {
|
|
1983
|
+
message.maxInitiativeBountyPerFunderEpoch = object.max_initiative_bounty_per_funder_epoch;
|
|
1984
|
+
}
|
|
1985
|
+
if (object.min_initiative_bounty_contribution !== undefined && object.min_initiative_bounty_contribution !== null) {
|
|
1986
|
+
message.minInitiativeBountyContribution = object.min_initiative_bounty_contribution;
|
|
1987
|
+
}
|
|
1988
|
+
if (object.max_initiative_bounty_contributions !== undefined && object.max_initiative_bounty_contributions !== null) {
|
|
1989
|
+
message.maxInitiativeBountyContributions = object.max_initiative_bounty_contributions;
|
|
1990
|
+
}
|
|
1991
|
+
if (object.initiative_bounty_reclaim_delay !== undefined && object.initiative_bounty_reclaim_delay !== null) {
|
|
1992
|
+
message.initiativeBountyReclaimDelay = BigInt(object.initiative_bounty_reclaim_delay);
|
|
1993
|
+
}
|
|
1994
|
+
if (object.invitation_acceptance_epochs !== undefined && object.invitation_acceptance_epochs !== null) {
|
|
1995
|
+
message.invitationAcceptanceEpochs = BigInt(object.invitation_acceptance_epochs);
|
|
1996
|
+
}
|
|
1931
1997
|
return message;
|
|
1932
1998
|
},
|
|
1933
1999
|
toAmino(message) {
|
|
@@ -1937,8 +2003,8 @@ export const Params = {
|
|
|
1937
2003
|
obj.unstaked_decay_rate = message.unstakedDecayRate === "" ? undefined : message.unstakedDecayRate;
|
|
1938
2004
|
obj.transfer_tax_rate = message.transferTaxRate === "" ? undefined : message.transferTaxRate;
|
|
1939
2005
|
obj.max_tip_amount = message.maxTipAmount === "" ? undefined : message.maxTipAmount;
|
|
1940
|
-
obj.
|
|
1941
|
-
obj.
|
|
2006
|
+
obj.max_tips_sent_per_epoch = message.maxTipsSentPerEpoch === "" ? undefined : message.maxTipsSentPerEpoch;
|
|
2007
|
+
obj.max_gift_per_invitee = message.maxGiftPerInvitee === "" ? undefined : message.maxGiftPerInvitee;
|
|
1942
2008
|
obj.gift_only_to_invitees = message.giftOnlyToInvitees === false ? undefined : message.giftOnlyToInvitees;
|
|
1943
2009
|
obj.completer_share = message.completerShare === "" ? undefined : message.completerShare;
|
|
1944
2010
|
obj.treasury_share = message.treasuryShare === "" ? undefined : message.treasuryShare;
|
|
@@ -1981,8 +2047,8 @@ export const Params = {
|
|
|
1981
2047
|
obj.min_stake_duration_seconds = message.minStakeDurationSeconds !== BigInt(0) ? message.minStakeDurationSeconds?.toString() : undefined;
|
|
1982
2048
|
obj.allow_self_member_stake = message.allowSelfMemberStake === false ? undefined : message.allowSelfMemberStake;
|
|
1983
2049
|
obj.challenge_response_deadline_epochs = message.challengeResponseDeadlineEpochs !== BigInt(0) ? message.challengeResponseDeadlineEpochs?.toString() : undefined;
|
|
1984
|
-
obj.
|
|
1985
|
-
obj.
|
|
2050
|
+
obj.max_transfer_received_per_epoch = message.maxTransferReceivedPerEpoch === "" ? undefined : message.maxTransferReceivedPerEpoch;
|
|
2051
|
+
obj.max_transfer_received_per_season = message.maxTransferReceivedPerSeason === "" ? undefined : message.maxTransferReceivedPerSeason;
|
|
1986
2052
|
obj.content_conviction_half_life_epochs = message.contentConvictionHalfLifeEpochs !== BigInt(0) ? message.contentConvictionHalfLifeEpochs?.toString() : undefined;
|
|
1987
2053
|
obj.max_content_stake_per_member = message.maxContentStakePerMember === "" ? undefined : message.maxContentStakePerMember;
|
|
1988
2054
|
obj.max_author_bond_per_content = message.maxAuthorBondPerContent === "" ? undefined : message.maxAuthorBondPerContent;
|
|
@@ -2075,6 +2141,12 @@ export const Params = {
|
|
|
2075
2141
|
obj.min_epoch_verifications = message.minEpochVerifications === 0 ? undefined : message.minEpochVerifications;
|
|
2076
2142
|
obj.verifier_dream_reward = message.verifierDreamReward === "" ? undefined : message.verifierDreamReward;
|
|
2077
2143
|
obj.max_verifier_dream_mint_per_epoch = message.maxVerifierDreamMintPerEpoch === "" ? undefined : message.maxVerifierDreamMintPerEpoch;
|
|
2144
|
+
obj.initiative_bounty_max_budget_ratio = message.initiativeBountyMaxBudgetRatio === "" ? undefined : message.initiativeBountyMaxBudgetRatio;
|
|
2145
|
+
obj.max_initiative_bounty_per_funder_epoch = message.maxInitiativeBountyPerFunderEpoch === "" ? undefined : message.maxInitiativeBountyPerFunderEpoch;
|
|
2146
|
+
obj.min_initiative_bounty_contribution = message.minInitiativeBountyContribution === "" ? undefined : message.minInitiativeBountyContribution;
|
|
2147
|
+
obj.max_initiative_bounty_contributions = message.maxInitiativeBountyContributions === 0 ? undefined : message.maxInitiativeBountyContributions;
|
|
2148
|
+
obj.initiative_bounty_reclaim_delay = message.initiativeBountyReclaimDelay !== BigInt(0) ? message.initiativeBountyReclaimDelay?.toString() : undefined;
|
|
2149
|
+
obj.invitation_acceptance_epochs = message.invitationAcceptanceEpochs !== BigInt(0) ? message.invitationAcceptanceEpochs?.toString() : undefined;
|
|
2078
2150
|
return obj;
|
|
2079
2151
|
},
|
|
2080
2152
|
fromAminoMsg(object) {
|
|
@@ -2106,8 +2178,8 @@ function createBaseRepOperationalParams() {
|
|
|
2106
2178
|
unstakedDecayRate: "",
|
|
2107
2179
|
transferTaxRate: "",
|
|
2108
2180
|
maxTipAmount: "",
|
|
2109
|
-
|
|
2110
|
-
|
|
2181
|
+
maxTipsSentPerEpoch: "",
|
|
2182
|
+
maxGiftPerInvitee: "",
|
|
2111
2183
|
giftOnlyToInvitees: false,
|
|
2112
2184
|
minReputationMultiplier: "",
|
|
2113
2185
|
defaultReviewPeriodEpochs: BigInt(0),
|
|
@@ -2136,8 +2208,8 @@ function createBaseRepOperationalParams() {
|
|
|
2136
2208
|
minStakeDurationSeconds: BigInt(0),
|
|
2137
2209
|
allowSelfMemberStake: false,
|
|
2138
2210
|
challengeResponseDeadlineEpochs: BigInt(0),
|
|
2139
|
-
|
|
2140
|
-
|
|
2211
|
+
maxTransferReceivedPerEpoch: "",
|
|
2212
|
+
maxTransferReceivedPerSeason: "",
|
|
2141
2213
|
contentConvictionHalfLifeEpochs: BigInt(0),
|
|
2142
2214
|
maxContentStakePerMember: "",
|
|
2143
2215
|
maxAuthorBondPerContent: "",
|
|
@@ -2223,7 +2295,12 @@ function createBaseRepOperationalParams() {
|
|
|
2223
2295
|
stakingRewardYieldPerEpoch: "",
|
|
2224
2296
|
stakingPoolMintShare: "",
|
|
2225
2297
|
stakingPoolCapBase: "",
|
|
2226
|
-
stakingPoolCapRate: ""
|
|
2298
|
+
stakingPoolCapRate: "",
|
|
2299
|
+
initiativeBountyMaxBudgetRatio: "",
|
|
2300
|
+
maxInitiativeBountyPerFunderEpoch: "",
|
|
2301
|
+
minInitiativeBountyContribution: "",
|
|
2302
|
+
maxInitiativeBountyContributions: 0,
|
|
2303
|
+
initiativeBountyReclaimDelay: BigInt(0)
|
|
2227
2304
|
};
|
|
2228
2305
|
}
|
|
2229
2306
|
/**
|
|
@@ -2253,11 +2330,11 @@ export const RepOperationalParams = {
|
|
|
2253
2330
|
if (message.maxTipAmount !== "") {
|
|
2254
2331
|
writer.uint32(42).string(message.maxTipAmount);
|
|
2255
2332
|
}
|
|
2256
|
-
if (message.
|
|
2257
|
-
writer.uint32(
|
|
2333
|
+
if (message.maxTipsSentPerEpoch !== "") {
|
|
2334
|
+
writer.uint32(50).string(message.maxTipsSentPerEpoch);
|
|
2258
2335
|
}
|
|
2259
|
-
if (message.
|
|
2260
|
-
writer.uint32(58).string(message.
|
|
2336
|
+
if (message.maxGiftPerInvitee !== "") {
|
|
2337
|
+
writer.uint32(58).string(message.maxGiftPerInvitee);
|
|
2261
2338
|
}
|
|
2262
2339
|
if (message.giftOnlyToInvitees === true) {
|
|
2263
2340
|
writer.uint32(64).bool(message.giftOnlyToInvitees);
|
|
@@ -2343,11 +2420,11 @@ export const RepOperationalParams = {
|
|
|
2343
2420
|
if (message.challengeResponseDeadlineEpochs !== BigInt(0)) {
|
|
2344
2421
|
writer.uint32(280).int64(message.challengeResponseDeadlineEpochs);
|
|
2345
2422
|
}
|
|
2346
|
-
if (message.
|
|
2347
|
-
writer.uint32(
|
|
2423
|
+
if (message.maxTransferReceivedPerEpoch !== "") {
|
|
2424
|
+
writer.uint32(290).string(message.maxTransferReceivedPerEpoch);
|
|
2348
2425
|
}
|
|
2349
|
-
if (message.
|
|
2350
|
-
writer.uint32(298).string(message.
|
|
2426
|
+
if (message.maxTransferReceivedPerSeason !== "") {
|
|
2427
|
+
writer.uint32(298).string(message.maxTransferReceivedPerSeason);
|
|
2351
2428
|
}
|
|
2352
2429
|
if (message.contentConvictionHalfLifeEpochs !== BigInt(0)) {
|
|
2353
2430
|
writer.uint32(304).int64(message.contentConvictionHalfLifeEpochs);
|
|
@@ -2607,6 +2684,21 @@ export const RepOperationalParams = {
|
|
|
2607
2684
|
if (message.stakingPoolCapRate !== "") {
|
|
2608
2685
|
writer.uint32(954).string(Decimal.fromUserInput(message.stakingPoolCapRate, 18).atomics);
|
|
2609
2686
|
}
|
|
2687
|
+
if (message.initiativeBountyMaxBudgetRatio !== "") {
|
|
2688
|
+
writer.uint32(994).string(Decimal.fromUserInput(message.initiativeBountyMaxBudgetRatio, 18).atomics);
|
|
2689
|
+
}
|
|
2690
|
+
if (message.maxInitiativeBountyPerFunderEpoch !== "") {
|
|
2691
|
+
writer.uint32(1002).string(message.maxInitiativeBountyPerFunderEpoch);
|
|
2692
|
+
}
|
|
2693
|
+
if (message.minInitiativeBountyContribution !== "") {
|
|
2694
|
+
writer.uint32(1010).string(message.minInitiativeBountyContribution);
|
|
2695
|
+
}
|
|
2696
|
+
if (message.maxInitiativeBountyContributions !== 0) {
|
|
2697
|
+
writer.uint32(1016).uint32(message.maxInitiativeBountyContributions);
|
|
2698
|
+
}
|
|
2699
|
+
if (message.initiativeBountyReclaimDelay !== BigInt(0)) {
|
|
2700
|
+
writer.uint32(1024).uint64(message.initiativeBountyReclaimDelay);
|
|
2701
|
+
}
|
|
2610
2702
|
return writer;
|
|
2611
2703
|
},
|
|
2612
2704
|
decode(input, length) {
|
|
@@ -2632,10 +2724,10 @@ export const RepOperationalParams = {
|
|
|
2632
2724
|
message.maxTipAmount = reader.string();
|
|
2633
2725
|
break;
|
|
2634
2726
|
case 6:
|
|
2635
|
-
message.
|
|
2727
|
+
message.maxTipsSentPerEpoch = reader.string();
|
|
2636
2728
|
break;
|
|
2637
2729
|
case 7:
|
|
2638
|
-
message.
|
|
2730
|
+
message.maxGiftPerInvitee = reader.string();
|
|
2639
2731
|
break;
|
|
2640
2732
|
case 8:
|
|
2641
2733
|
message.giftOnlyToInvitees = reader.bool();
|
|
@@ -2722,10 +2814,10 @@ export const RepOperationalParams = {
|
|
|
2722
2814
|
message.challengeResponseDeadlineEpochs = reader.int64();
|
|
2723
2815
|
break;
|
|
2724
2816
|
case 36:
|
|
2725
|
-
message.
|
|
2817
|
+
message.maxTransferReceivedPerEpoch = reader.string();
|
|
2726
2818
|
break;
|
|
2727
2819
|
case 37:
|
|
2728
|
-
message.
|
|
2820
|
+
message.maxTransferReceivedPerSeason = reader.string();
|
|
2729
2821
|
break;
|
|
2730
2822
|
case 38:
|
|
2731
2823
|
message.contentConvictionHalfLifeEpochs = reader.int64();
|
|
@@ -2985,6 +3077,21 @@ export const RepOperationalParams = {
|
|
|
2985
3077
|
case 119:
|
|
2986
3078
|
message.stakingPoolCapRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
2987
3079
|
break;
|
|
3080
|
+
case 124:
|
|
3081
|
+
message.initiativeBountyMaxBudgetRatio = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
3082
|
+
break;
|
|
3083
|
+
case 125:
|
|
3084
|
+
message.maxInitiativeBountyPerFunderEpoch = reader.string();
|
|
3085
|
+
break;
|
|
3086
|
+
case 126:
|
|
3087
|
+
message.minInitiativeBountyContribution = reader.string();
|
|
3088
|
+
break;
|
|
3089
|
+
case 127:
|
|
3090
|
+
message.maxInitiativeBountyContributions = reader.uint32();
|
|
3091
|
+
break;
|
|
3092
|
+
case 128:
|
|
3093
|
+
message.initiativeBountyReclaimDelay = reader.uint64();
|
|
3094
|
+
break;
|
|
2988
3095
|
default:
|
|
2989
3096
|
reader.skipType(tag & 7);
|
|
2990
3097
|
break;
|
|
@@ -2999,8 +3106,8 @@ export const RepOperationalParams = {
|
|
|
2999
3106
|
message.unstakedDecayRate = object.unstakedDecayRate ?? "";
|
|
3000
3107
|
message.transferTaxRate = object.transferTaxRate ?? "";
|
|
3001
3108
|
message.maxTipAmount = object.maxTipAmount ?? "";
|
|
3002
|
-
message.
|
|
3003
|
-
message.
|
|
3109
|
+
message.maxTipsSentPerEpoch = object.maxTipsSentPerEpoch ?? "";
|
|
3110
|
+
message.maxGiftPerInvitee = object.maxGiftPerInvitee ?? "";
|
|
3004
3111
|
message.giftOnlyToInvitees = object.giftOnlyToInvitees ?? false;
|
|
3005
3112
|
message.minReputationMultiplier = object.minReputationMultiplier ?? "";
|
|
3006
3113
|
message.defaultReviewPeriodEpochs = object.defaultReviewPeriodEpochs !== undefined && object.defaultReviewPeriodEpochs !== null ? BigInt(object.defaultReviewPeriodEpochs.toString()) : BigInt(0);
|
|
@@ -3029,8 +3136,8 @@ export const RepOperationalParams = {
|
|
|
3029
3136
|
message.minStakeDurationSeconds = object.minStakeDurationSeconds !== undefined && object.minStakeDurationSeconds !== null ? BigInt(object.minStakeDurationSeconds.toString()) : BigInt(0);
|
|
3030
3137
|
message.allowSelfMemberStake = object.allowSelfMemberStake ?? false;
|
|
3031
3138
|
message.challengeResponseDeadlineEpochs = object.challengeResponseDeadlineEpochs !== undefined && object.challengeResponseDeadlineEpochs !== null ? BigInt(object.challengeResponseDeadlineEpochs.toString()) : BigInt(0);
|
|
3032
|
-
message.
|
|
3033
|
-
message.
|
|
3139
|
+
message.maxTransferReceivedPerEpoch = object.maxTransferReceivedPerEpoch ?? "";
|
|
3140
|
+
message.maxTransferReceivedPerSeason = object.maxTransferReceivedPerSeason ?? "";
|
|
3034
3141
|
message.contentConvictionHalfLifeEpochs = object.contentConvictionHalfLifeEpochs !== undefined && object.contentConvictionHalfLifeEpochs !== null ? BigInt(object.contentConvictionHalfLifeEpochs.toString()) : BigInt(0);
|
|
3035
3142
|
message.maxContentStakePerMember = object.maxContentStakePerMember ?? "";
|
|
3036
3143
|
message.maxAuthorBondPerContent = object.maxAuthorBondPerContent ?? "";
|
|
@@ -3117,6 +3224,11 @@ export const RepOperationalParams = {
|
|
|
3117
3224
|
message.stakingPoolMintShare = object.stakingPoolMintShare ?? "";
|
|
3118
3225
|
message.stakingPoolCapBase = object.stakingPoolCapBase ?? "";
|
|
3119
3226
|
message.stakingPoolCapRate = object.stakingPoolCapRate ?? "";
|
|
3227
|
+
message.initiativeBountyMaxBudgetRatio = object.initiativeBountyMaxBudgetRatio ?? "";
|
|
3228
|
+
message.maxInitiativeBountyPerFunderEpoch = object.maxInitiativeBountyPerFunderEpoch ?? "";
|
|
3229
|
+
message.minInitiativeBountyContribution = object.minInitiativeBountyContribution ?? "";
|
|
3230
|
+
message.maxInitiativeBountyContributions = object.maxInitiativeBountyContributions ?? 0;
|
|
3231
|
+
message.initiativeBountyReclaimDelay = object.initiativeBountyReclaimDelay !== undefined && object.initiativeBountyReclaimDelay !== null ? BigInt(object.initiativeBountyReclaimDelay.toString()) : BigInt(0);
|
|
3120
3232
|
return message;
|
|
3121
3233
|
},
|
|
3122
3234
|
fromAmino(object) {
|
|
@@ -3136,11 +3248,11 @@ export const RepOperationalParams = {
|
|
|
3136
3248
|
if (object.max_tip_amount !== undefined && object.max_tip_amount !== null) {
|
|
3137
3249
|
message.maxTipAmount = object.max_tip_amount;
|
|
3138
3250
|
}
|
|
3139
|
-
if (object.
|
|
3140
|
-
message.
|
|
3251
|
+
if (object.max_tips_sent_per_epoch !== undefined && object.max_tips_sent_per_epoch !== null) {
|
|
3252
|
+
message.maxTipsSentPerEpoch = object.max_tips_sent_per_epoch;
|
|
3141
3253
|
}
|
|
3142
|
-
if (object.
|
|
3143
|
-
message.
|
|
3254
|
+
if (object.max_gift_per_invitee !== undefined && object.max_gift_per_invitee !== null) {
|
|
3255
|
+
message.maxGiftPerInvitee = object.max_gift_per_invitee;
|
|
3144
3256
|
}
|
|
3145
3257
|
if (object.gift_only_to_invitees !== undefined && object.gift_only_to_invitees !== null) {
|
|
3146
3258
|
message.giftOnlyToInvitees = object.gift_only_to_invitees;
|
|
@@ -3226,11 +3338,11 @@ export const RepOperationalParams = {
|
|
|
3226
3338
|
if (object.challenge_response_deadline_epochs !== undefined && object.challenge_response_deadline_epochs !== null) {
|
|
3227
3339
|
message.challengeResponseDeadlineEpochs = BigInt(object.challenge_response_deadline_epochs);
|
|
3228
3340
|
}
|
|
3229
|
-
if (object.
|
|
3230
|
-
message.
|
|
3341
|
+
if (object.max_transfer_received_per_epoch !== undefined && object.max_transfer_received_per_epoch !== null) {
|
|
3342
|
+
message.maxTransferReceivedPerEpoch = object.max_transfer_received_per_epoch;
|
|
3231
3343
|
}
|
|
3232
|
-
if (object.
|
|
3233
|
-
message.
|
|
3344
|
+
if (object.max_transfer_received_per_season !== undefined && object.max_transfer_received_per_season !== null) {
|
|
3345
|
+
message.maxTransferReceivedPerSeason = object.max_transfer_received_per_season;
|
|
3234
3346
|
}
|
|
3235
3347
|
if (object.content_conviction_half_life_epochs !== undefined && object.content_conviction_half_life_epochs !== null) {
|
|
3236
3348
|
message.contentConvictionHalfLifeEpochs = BigInt(object.content_conviction_half_life_epochs);
|
|
@@ -3490,6 +3602,21 @@ export const RepOperationalParams = {
|
|
|
3490
3602
|
if (object.staking_pool_cap_rate !== undefined && object.staking_pool_cap_rate !== null) {
|
|
3491
3603
|
message.stakingPoolCapRate = object.staking_pool_cap_rate;
|
|
3492
3604
|
}
|
|
3605
|
+
if (object.initiative_bounty_max_budget_ratio !== undefined && object.initiative_bounty_max_budget_ratio !== null) {
|
|
3606
|
+
message.initiativeBountyMaxBudgetRatio = object.initiative_bounty_max_budget_ratio;
|
|
3607
|
+
}
|
|
3608
|
+
if (object.max_initiative_bounty_per_funder_epoch !== undefined && object.max_initiative_bounty_per_funder_epoch !== null) {
|
|
3609
|
+
message.maxInitiativeBountyPerFunderEpoch = object.max_initiative_bounty_per_funder_epoch;
|
|
3610
|
+
}
|
|
3611
|
+
if (object.min_initiative_bounty_contribution !== undefined && object.min_initiative_bounty_contribution !== null) {
|
|
3612
|
+
message.minInitiativeBountyContribution = object.min_initiative_bounty_contribution;
|
|
3613
|
+
}
|
|
3614
|
+
if (object.max_initiative_bounty_contributions !== undefined && object.max_initiative_bounty_contributions !== null) {
|
|
3615
|
+
message.maxInitiativeBountyContributions = object.max_initiative_bounty_contributions;
|
|
3616
|
+
}
|
|
3617
|
+
if (object.initiative_bounty_reclaim_delay !== undefined && object.initiative_bounty_reclaim_delay !== null) {
|
|
3618
|
+
message.initiativeBountyReclaimDelay = BigInt(object.initiative_bounty_reclaim_delay);
|
|
3619
|
+
}
|
|
3493
3620
|
return message;
|
|
3494
3621
|
},
|
|
3495
3622
|
toAmino(message) {
|
|
@@ -3499,8 +3626,8 @@ export const RepOperationalParams = {
|
|
|
3499
3626
|
obj.unstaked_decay_rate = message.unstakedDecayRate === "" ? undefined : message.unstakedDecayRate;
|
|
3500
3627
|
obj.transfer_tax_rate = message.transferTaxRate === "" ? undefined : message.transferTaxRate;
|
|
3501
3628
|
obj.max_tip_amount = message.maxTipAmount === "" ? undefined : message.maxTipAmount;
|
|
3502
|
-
obj.
|
|
3503
|
-
obj.
|
|
3629
|
+
obj.max_tips_sent_per_epoch = message.maxTipsSentPerEpoch === "" ? undefined : message.maxTipsSentPerEpoch;
|
|
3630
|
+
obj.max_gift_per_invitee = message.maxGiftPerInvitee === "" ? undefined : message.maxGiftPerInvitee;
|
|
3504
3631
|
obj.gift_only_to_invitees = message.giftOnlyToInvitees === false ? undefined : message.giftOnlyToInvitees;
|
|
3505
3632
|
obj.min_reputation_multiplier = message.minReputationMultiplier === "" ? undefined : message.minReputationMultiplier;
|
|
3506
3633
|
obj.default_review_period_epochs = message.defaultReviewPeriodEpochs !== BigInt(0) ? message.defaultReviewPeriodEpochs?.toString() : undefined;
|
|
@@ -3529,8 +3656,8 @@ export const RepOperationalParams = {
|
|
|
3529
3656
|
obj.min_stake_duration_seconds = message.minStakeDurationSeconds !== BigInt(0) ? message.minStakeDurationSeconds?.toString() : undefined;
|
|
3530
3657
|
obj.allow_self_member_stake = message.allowSelfMemberStake === false ? undefined : message.allowSelfMemberStake;
|
|
3531
3658
|
obj.challenge_response_deadline_epochs = message.challengeResponseDeadlineEpochs !== BigInt(0) ? message.challengeResponseDeadlineEpochs?.toString() : undefined;
|
|
3532
|
-
obj.
|
|
3533
|
-
obj.
|
|
3659
|
+
obj.max_transfer_received_per_epoch = message.maxTransferReceivedPerEpoch === "" ? undefined : message.maxTransferReceivedPerEpoch;
|
|
3660
|
+
obj.max_transfer_received_per_season = message.maxTransferReceivedPerSeason === "" ? undefined : message.maxTransferReceivedPerSeason;
|
|
3534
3661
|
obj.content_conviction_half_life_epochs = message.contentConvictionHalfLifeEpochs !== BigInt(0) ? message.contentConvictionHalfLifeEpochs?.toString() : undefined;
|
|
3535
3662
|
obj.max_content_stake_per_member = message.maxContentStakePerMember === "" ? undefined : message.maxContentStakePerMember;
|
|
3536
3663
|
obj.max_author_bond_per_content = message.maxAuthorBondPerContent === "" ? undefined : message.maxAuthorBondPerContent;
|
|
@@ -3617,6 +3744,11 @@ export const RepOperationalParams = {
|
|
|
3617
3744
|
obj.staking_pool_mint_share = message.stakingPoolMintShare === "" ? undefined : message.stakingPoolMintShare;
|
|
3618
3745
|
obj.staking_pool_cap_base = message.stakingPoolCapBase === "" ? undefined : message.stakingPoolCapBase;
|
|
3619
3746
|
obj.staking_pool_cap_rate = message.stakingPoolCapRate === "" ? undefined : message.stakingPoolCapRate;
|
|
3747
|
+
obj.initiative_bounty_max_budget_ratio = message.initiativeBountyMaxBudgetRatio === "" ? undefined : message.initiativeBountyMaxBudgetRatio;
|
|
3748
|
+
obj.max_initiative_bounty_per_funder_epoch = message.maxInitiativeBountyPerFunderEpoch === "" ? undefined : message.maxInitiativeBountyPerFunderEpoch;
|
|
3749
|
+
obj.min_initiative_bounty_contribution = message.minInitiativeBountyContribution === "" ? undefined : message.minInitiativeBountyContribution;
|
|
3750
|
+
obj.max_initiative_bounty_contributions = message.maxInitiativeBountyContributions === 0 ? undefined : message.maxInitiativeBountyContributions;
|
|
3751
|
+
obj.initiative_bounty_reclaim_delay = message.initiativeBountyReclaimDelay !== BigInt(0) ? message.initiativeBountyReclaimDelay?.toString() : undefined;
|
|
3620
3752
|
return obj;
|
|
3621
3753
|
},
|
|
3622
3754
|
fromAminoMsg(object) {
|