@sparkdreamnft/sparkdreamjs 0.0.17 → 0.0.19
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/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +106 -106
- package/esm/sparkdream/blog/v1/params.js +113 -52
- package/esm/sparkdream/blog/v1/tx.js +583 -2
- package/esm/sparkdream/blog/v1/tx.registry.js +74 -2
- package/esm/sparkdream/blog/v1/tx.rpc.msg.js +33 -3
- package/esm/sparkdream/bundle.js +448 -346
- package/esm/sparkdream/client.js +7 -1
- package/esm/sparkdream/collect/v1/params.js +121 -1
- package/esm/sparkdream/collect/v1/tx.js +293 -1
- package/esm/sparkdream/collect/v1/tx.registry.js +38 -2
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +17 -2
- package/esm/sparkdream/collect/v1/types.js +147 -3
- package/esm/sparkdream/commons/v1/genesis.js +29 -1
- package/esm/sparkdream/commons/v1/query.js +317 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +23 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +20 -1
- package/esm/sparkdream/commons/v1/recurring_spend.js +296 -0
- package/esm/sparkdream/commons/v1/tx.js +693 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +33 -1
- package/esm/sparkdream/federation/v1/genesis.js +10 -10
- package/esm/sparkdream/federation/v1/params.js +29 -54
- package/esm/sparkdream/federation/v1/query.js +216 -71
- package/esm/sparkdream/federation/v1/query.lcd.js +11 -6
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +24 -15
- package/esm/sparkdream/federation/v1/tx.amino.js +21 -21
- package/esm/sparkdream/federation/v1/tx.js +1146 -1105
- package/esm/sparkdream/federation/v1/tx.registry.js +74 -74
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +32 -26
- package/esm/sparkdream/federation/v1/types.js +355 -99
- package/esm/sparkdream/federation/v1/verifier_activity.js +13 -1
- package/esm/sparkdream/forum/v1/params.js +389 -148
- package/esm/sparkdream/forum/v1/post.js +25 -1
- package/esm/sparkdream/forum/v1/tx.js +460 -0
- package/esm/sparkdream/forum/v1/tx.registry.js +56 -2
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +30 -1
- package/esm/sparkdream/forum/v1/types.js +355 -0
- package/esm/sparkdream/forum/v1/user_rate_limit.js +41 -2
- package/esm/sparkdream/guardian/module/v1/module.js +68 -0
- package/esm/sparkdream/guardian/v1/query.js +128 -0
- package/esm/sparkdream/guardian/v1/query.lcd.js +13 -0
- package/esm/sparkdream/guardian/v1/query.rpc.Query.js +26 -0
- package/esm/sparkdream/guardian/v1/tx.amino.js +9 -0
- package/esm/sparkdream/guardian/v1/tx.js +175 -0
- package/esm/sparkdream/guardian/v1/tx.registry.js +33 -0
- package/esm/sparkdream/guardian/v1/tx.rpc.msg.js +24 -0
- package/esm/sparkdream/identity/module/v1/module.js +71 -0
- package/esm/sparkdream/identity/v1/chain_identity.js +199 -0
- package/esm/sparkdream/identity/v1/genesis.js +84 -0
- package/esm/sparkdream/identity/v1/query.js +372 -0
- package/esm/sparkdream/identity/v1/query.lcd.js +21 -0
- package/esm/sparkdream/identity/v1/query.rpc.Query.js +42 -0
- package/esm/sparkdream/lcd.js +15 -0
- package/esm/sparkdream/name/v1/params.js +19 -18
- package/esm/sparkdream/rep/v1/bonded_role.js +48 -2
- package/esm/sparkdream/rep/v1/member.js +209 -1
- package/esm/sparkdream/rep/v1/tag.js +6 -13
- package/esm/sparkdream/rpc.query.js +9 -0
- package/esm/sparkdream/rpc.tx.js +6 -0
- package/esm/sparkdream/service/module/v1/module.js +71 -0
- package/esm/sparkdream/service/v1/controller_transfer_case.js +155 -0
- package/esm/sparkdream/service/v1/genesis.js +240 -0
- package/esm/sparkdream/service/v1/operator.js +250 -0
- package/esm/sparkdream/service/v1/params.js +355 -0
- package/esm/sparkdream/service/v1/query.js +1582 -0
- package/esm/sparkdream/service/v1/query.lcd.js +107 -0
- package/esm/sparkdream/service/v1/query.rpc.Query.js +109 -0
- package/esm/sparkdream/service/v1/refile_cooldown.js +121 -0
- package/esm/sparkdream/service/v1/report.js +212 -0
- package/esm/sparkdream/service/v1/reporter_rate_limit.js +137 -0
- package/esm/sparkdream/service/v1/service_type_config.js +264 -0
- package/esm/sparkdream/service/v1/system_report_rate_limit.js +115 -0
- package/esm/sparkdream/service/v1/tier1_escrow_entry.js +145 -0
- package/esm/sparkdream/service/v1/tier1_last_slash.js +121 -0
- package/esm/sparkdream/service/v1/tx.amino.js +69 -0
- package/esm/sparkdream/service/v1/tx.js +2124 -0
- package/esm/sparkdream/service/v1/tx.registry.js +249 -0
- package/esm/sparkdream/service/v1/tx.rpc.msg.js +100 -0
- package/esm/sparkdream/service/v1/types.js +353 -0
- package/esm/sparkdream/session/v1/genesis.js +136 -10
- package/esm/sparkdream/session/v1/grant.js +1020 -0
- package/esm/sparkdream/session/v1/params.js +543 -19
- package/esm/sparkdream/session/v1/query.js +487 -0
- package/esm/sparkdream/session/v1/query.lcd.js +41 -3
- package/esm/sparkdream/session/v1/query.rpc.Query.js +36 -4
- package/esm/sparkdream/session/v1/session.js +6 -0
- package/esm/sparkdream/session/v1/tx.js +1066 -0
- package/esm/sparkdream/session/v1/tx.registry.js +110 -2
- package/esm/sparkdream/session/v1/tx.rpc.msg.js +65 -3
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +90 -90
- package/ibc/bundle.js +106 -106
- package/package.json +1 -1
- package/sparkdream/blog/v1/params.d.ts +89 -28
- package/sparkdream/blog/v1/params.js +113 -52
- package/sparkdream/blog/v1/post.d.ts +2 -2
- package/sparkdream/blog/v1/tx.d.ts +385 -10
- package/sparkdream/blog/v1/tx.js +584 -3
- package/sparkdream/blog/v1/tx.registry.d.ts +49 -1
- package/sparkdream/blog/v1/tx.registry.js +73 -1
- package/sparkdream/blog/v1/tx.rpc.msg.d.ts +27 -3
- package/sparkdream/blog/v1/tx.rpc.msg.js +32 -2
- package/sparkdream/bundle.d.ts +15308 -12896
- package/sparkdream/bundle.js +448 -346
- package/sparkdream/client.d.ts +90 -20
- package/sparkdream/client.js +7 -1
- package/sparkdream/collect/v1/params.d.ts +140 -0
- package/sparkdream/collect/v1/params.js +121 -1
- package/sparkdream/collect/v1/tx.d.ts +195 -3
- package/sparkdream/collect/v1/tx.js +294 -2
- package/sparkdream/collect/v1/tx.registry.d.ts +25 -1
- package/sparkdream/collect/v1/tx.registry.js +37 -1
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +15 -2
- package/sparkdream/collect/v1/tx.rpc.msg.js +16 -1
- package/sparkdream/collect/v1/types.d.ts +114 -0
- package/sparkdream/collect/v1/types.js +147 -3
- package/sparkdream/commons/v1/genesis.d.ts +17 -0
- package/sparkdream/commons/v1/genesis.js +29 -1
- package/sparkdream/commons/v1/query.d.ts +186 -0
- package/sparkdream/commons/v1/query.js +318 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
- package/sparkdream/commons/v1/query.lcd.js +23 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +12 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +19 -0
- package/sparkdream/commons/v1/recurring_spend.d.ts +234 -0
- package/sparkdream/commons/v1/recurring_spend.js +301 -0
- package/sparkdream/commons/v1/tx.d.ts +472 -0
- package/sparkdream/commons/v1/tx.js +694 -1
- package/sparkdream/commons/v1/tx.registry.d.ts +49 -1
- package/sparkdream/commons/v1/tx.registry.js +73 -1
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +29 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +32 -0
- package/sparkdream/federation/v1/genesis.d.ts +3 -3
- package/sparkdream/federation/v1/genesis.js +9 -9
- package/sparkdream/federation/v1/params.d.ts +64 -13
- package/sparkdream/federation/v1/params.js +29 -54
- package/sparkdream/federation/v1/query.d.ts +209 -100
- package/sparkdream/federation/v1/query.js +216 -71
- package/sparkdream/federation/v1/query.lcd.d.ts +4 -3
- package/sparkdream/federation/v1/query.lcd.js +11 -6
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +10 -7
- package/sparkdream/federation/v1/query.rpc.Query.js +24 -15
- package/sparkdream/federation/v1/tx.amino.d.ts +21 -21
- package/sparkdream/federation/v1/tx.amino.js +20 -20
- package/sparkdream/federation/v1/tx.d.ts +479 -352
- package/sparkdream/federation/v1/tx.js +1147 -1106
- package/sparkdream/federation/v1/tx.registry.d.ts +49 -49
- package/sparkdream/federation/v1/tx.registry.js +73 -73
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +18 -9
- package/sparkdream/federation/v1/tx.rpc.msg.js +31 -25
- package/sparkdream/federation/v1/types.d.ts +307 -41
- package/sparkdream/federation/v1/types.js +360 -100
- package/sparkdream/federation/v1/verifier_activity.d.ts +18 -0
- package/sparkdream/federation/v1/verifier_activity.js +13 -1
- package/sparkdream/forum/v1/params.d.ts +309 -62
- package/sparkdream/forum/v1/params.js +389 -148
- package/sparkdream/forum/v1/post.d.ts +28 -0
- package/sparkdream/forum/v1/post.js +25 -1
- package/sparkdream/forum/v1/tx.d.ts +291 -0
- package/sparkdream/forum/v1/tx.js +462 -2
- package/sparkdream/forum/v1/tx.registry.d.ts +37 -1
- package/sparkdream/forum/v1/tx.registry.js +55 -1
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +27 -1
- package/sparkdream/forum/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/forum/v1/types.d.ts +247 -0
- package/sparkdream/forum/v1/types.js +356 -1
- package/sparkdream/forum/v1/user_rate_limit.d.ts +24 -3
- package/sparkdream/forum/v1/user_rate_limit.js +41 -2
- package/sparkdream/guardian/module/v1/module.d.ts +74 -0
- package/sparkdream/guardian/module/v1/module.js +71 -0
- package/sparkdream/guardian/v1/query.d.ts +88 -0
- package/sparkdream/guardian/v1/query.js +131 -0
- package/sparkdream/guardian/v1/query.lcd.d.ts +9 -0
- package/sparkdream/guardian/v1/query.lcd.js +17 -0
- package/sparkdream/guardian/v1/query.rpc.Query.d.ts +20 -0
- package/sparkdream/guardian/v1/query.rpc.Query.js +31 -0
- package/sparkdream/guardian/v1/tx.amino.d.ts +8 -0
- package/sparkdream/guardian/v1/tx.amino.js +12 -0
- package/sparkdream/guardian/v1/tx.d.ts +138 -0
- package/sparkdream/guardian/v1/tx.js +181 -0
- package/sparkdream/guardian/v1/tx.registry.d.ts +25 -0
- package/sparkdream/guardian/v1/tx.registry.js +37 -0
- package/sparkdream/guardian/v1/tx.rpc.msg.d.ts +22 -0
- package/sparkdream/guardian/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/identity/module/v1/module.d.ts +54 -0
- package/sparkdream/identity/module/v1/module.js +74 -0
- package/sparkdream/identity/v1/chain_identity.d.ts +131 -0
- package/sparkdream/identity/v1/chain_identity.js +202 -0
- package/sparkdream/identity/v1/genesis.d.ts +65 -0
- package/sparkdream/identity/v1/genesis.js +87 -0
- package/sparkdream/identity/v1/query.d.ts +243 -0
- package/sparkdream/identity/v1/query.js +375 -0
- package/sparkdream/identity/v1/query.lcd.d.ts +11 -0
- package/sparkdream/identity/v1/query.lcd.js +25 -0
- package/sparkdream/identity/v1/query.rpc.Query.d.ts +26 -0
- package/sparkdream/identity/v1/query.rpc.Query.js +47 -0
- package/sparkdream/lcd.d.ts +9 -0
- package/sparkdream/lcd.js +15 -0
- package/sparkdream/name/v1/params.d.ts +25 -8
- package/sparkdream/name/v1/params.js +19 -18
- package/sparkdream/rep/v1/bonded_role.d.ts +51 -0
- package/sparkdream/rep/v1/bonded_role.js +48 -2
- package/sparkdream/rep/v1/member.d.ts +134 -0
- package/sparkdream/rep/v1/member.js +210 -2
- package/sparkdream/rep/v1/tag.d.ts +15 -2
- package/sparkdream/rep/v1/tag.js +6 -13
- package/sparkdream/rpc.query.d.ts +34 -2
- package/sparkdream/rpc.query.js +9 -0
- package/sparkdream/rpc.tx.d.ts +6 -0
- package/sparkdream/rpc.tx.js +6 -0
- package/sparkdream/service/module/v1/module.d.ts +54 -0
- package/sparkdream/service/module/v1/module.js +74 -0
- package/sparkdream/service/v1/controller_transfer_case.d.ts +125 -0
- package/sparkdream/service/v1/controller_transfer_case.js +158 -0
- package/sparkdream/service/v1/genesis.d.ts +172 -0
- package/sparkdream/service/v1/genesis.js +243 -0
- package/sparkdream/service/v1/operator.d.ts +215 -0
- package/sparkdream/service/v1/operator.js +253 -0
- package/sparkdream/service/v1/params.d.ts +346 -0
- package/sparkdream/service/v1/params.js +358 -0
- package/sparkdream/service/v1/query.d.ts +964 -0
- package/sparkdream/service/v1/query.js +1585 -0
- package/sparkdream/service/v1/query.lcd.d.ts +18 -0
- package/sparkdream/service/v1/query.lcd.js +111 -0
- package/sparkdream/service/v1/query.rpc.Query.d.ts +63 -0
- package/sparkdream/service/v1/query.rpc.Query.js +114 -0
- package/sparkdream/service/v1/refile_cooldown.d.ts +105 -0
- package/sparkdream/service/v1/refile_cooldown.js +124 -0
- package/sparkdream/service/v1/report.d.ts +174 -0
- package/sparkdream/service/v1/report.js +215 -0
- package/sparkdream/service/v1/reporter_rate_limit.d.ts +112 -0
- package/sparkdream/service/v1/reporter_rate_limit.js +140 -0
- package/sparkdream/service/v1/service_type_config.d.ts +222 -0
- package/sparkdream/service/v1/service_type_config.js +269 -0
- package/sparkdream/service/v1/system_report_rate_limit.d.ts +106 -0
- package/sparkdream/service/v1/system_report_rate_limit.js +118 -0
- package/sparkdream/service/v1/tier1_escrow_entry.d.ts +125 -0
- package/sparkdream/service/v1/tier1_escrow_entry.js +148 -0
- package/sparkdream/service/v1/tier1_last_slash.d.ts +101 -0
- package/sparkdream/service/v1/tier1_last_slash.js +124 -0
- package/sparkdream/service/v1/tx.amino.d.ts +68 -0
- package/sparkdream/service/v1/tx.amino.js +72 -0
- package/sparkdream/service/v1/tx.d.ts +1264 -0
- package/sparkdream/service/v1/tx.js +2127 -0
- package/sparkdream/service/v1/tx.registry.d.ts +169 -0
- package/sparkdream/service/v1/tx.registry.js +253 -0
- package/sparkdream/service/v1/tx.rpc.msg.d.ts +80 -0
- package/sparkdream/service/v1/tx.rpc.msg.js +105 -0
- package/sparkdream/service/v1/types.d.ts +94 -0
- package/sparkdream/service/v1/types.js +370 -0
- package/sparkdream/session/v1/genesis.d.ts +93 -9
- package/sparkdream/session/v1/genesis.js +137 -11
- package/sparkdream/session/v1/grant.d.ts +517 -0
- package/sparkdream/session/v1/grant.js +1027 -0
- package/sparkdream/session/v1/params.d.ts +338 -7
- package/sparkdream/session/v1/params.js +543 -19
- package/sparkdream/session/v1/query.d.ts +265 -0
- package/sparkdream/session/v1/query.js +488 -1
- package/sparkdream/session/v1/query.lcd.d.ts +4 -1
- package/sparkdream/session/v1/query.lcd.js +41 -3
- package/sparkdream/session/v1/query.rpc.Query.d.ts +27 -4
- package/sparkdream/session/v1/query.rpc.Query.js +35 -3
- package/sparkdream/session/v1/session.d.ts +18 -0
- package/sparkdream/session/v1/session.js +6 -0
- package/sparkdream/session/v1/tx.d.ts +660 -0
- package/sparkdream/session/v1/tx.js +1067 -1
- package/sparkdream/session/v1/tx.registry.d.ts +73 -1
- package/sparkdream/session/v1/tx.registry.js +109 -1
- package/sparkdream/session/v1/tx.rpc.msg.d.ts +63 -3
- package/sparkdream/session/v1/tx.rpc.msg.js +64 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
|
-
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
3
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
3
|
import { Decimal } from "@interchainjs/math";
|
|
5
4
|
function createBaseParams() {
|
|
@@ -10,14 +9,14 @@ function createBaseParams() {
|
|
|
10
9
|
reactionsEnabled: false,
|
|
11
10
|
appealsPaused: false,
|
|
12
11
|
editingEnabled: false,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
spamTaxAmount: "",
|
|
13
|
+
reactionSpamTaxAmount: "",
|
|
14
|
+
flagSpamTaxAmount: "",
|
|
15
|
+
downvoteDepositAmount: "",
|
|
16
|
+
appealFeeAmount: "",
|
|
17
|
+
lockAppealFeeAmount: "",
|
|
18
|
+
moveAppealFeeAmount: "",
|
|
19
|
+
editFeeAmount: "",
|
|
21
20
|
bountyCancellationFeePercent: BigInt(0),
|
|
22
21
|
maxContentSize: BigInt(0),
|
|
23
22
|
dailyPostLimit: BigInt(0),
|
|
@@ -31,7 +30,7 @@ function createBaseParams() {
|
|
|
31
30
|
hideAppealCooldown: BigInt(0),
|
|
32
31
|
lockAppealCooldown: BigInt(0),
|
|
33
32
|
moveAppealCooldown: BigInt(0),
|
|
34
|
-
|
|
33
|
+
costPerByteAmount: "",
|
|
35
34
|
costPerByteExempt: false,
|
|
36
35
|
ephemeralTtl: BigInt(0),
|
|
37
36
|
convictionRenewalThreshold: "",
|
|
@@ -42,11 +41,23 @@ function createBaseParams() {
|
|
|
42
41
|
minSentinelAgeBlocks: BigInt(0),
|
|
43
42
|
sentinelDemotionCooldown: BigInt(0),
|
|
44
43
|
sentinelDemotionThreshold: "",
|
|
45
|
-
sentinelUnhideWindow: BigInt(0)
|
|
44
|
+
sentinelUnhideWindow: BigInt(0),
|
|
45
|
+
sentinelUnbondCooldown: BigInt(0),
|
|
46
|
+
makePermanentMinTrustLevel: 0,
|
|
47
|
+
maxPromotionsPerBlock: 0,
|
|
48
|
+
authorRepSlash: "",
|
|
49
|
+
maxMakePermanentPerDay: BigInt(0),
|
|
50
|
+
minPostConvictionStake: "",
|
|
51
|
+
postConvictionLockSeconds: BigInt(0),
|
|
52
|
+
postConvictionStreamRatePerBlock: "",
|
|
53
|
+
maxForumRepPerTagPerEpoch: "",
|
|
54
|
+
postConvictionStakerSlashBps: BigInt(0)
|
|
46
55
|
};
|
|
47
56
|
}
|
|
48
57
|
/**
|
|
49
|
-
* Params defines the parameters for the module.
|
|
58
|
+
* Params defines the parameters for the module. Fee/cost fields are stored
|
|
59
|
+
* as bare amounts in the chain's bond denom (resolved at runtime from
|
|
60
|
+
* x/identity); the keeper wraps them into sdk.Coin at the point of use.
|
|
50
61
|
* @name Params
|
|
51
62
|
* @package sparkdream.forum.v1
|
|
52
63
|
* @see proto type: sparkdream.forum.v1.Params
|
|
@@ -73,29 +84,29 @@ export const Params = {
|
|
|
73
84
|
if (message.editingEnabled === true) {
|
|
74
85
|
writer.uint32(48).bool(message.editingEnabled);
|
|
75
86
|
}
|
|
76
|
-
if (message.
|
|
77
|
-
|
|
87
|
+
if (message.spamTaxAmount !== "") {
|
|
88
|
+
writer.uint32(58).string(message.spamTaxAmount);
|
|
78
89
|
}
|
|
79
|
-
if (message.
|
|
80
|
-
|
|
90
|
+
if (message.reactionSpamTaxAmount !== "") {
|
|
91
|
+
writer.uint32(66).string(message.reactionSpamTaxAmount);
|
|
81
92
|
}
|
|
82
|
-
if (message.
|
|
83
|
-
|
|
93
|
+
if (message.flagSpamTaxAmount !== "") {
|
|
94
|
+
writer.uint32(74).string(message.flagSpamTaxAmount);
|
|
84
95
|
}
|
|
85
|
-
if (message.
|
|
86
|
-
|
|
96
|
+
if (message.downvoteDepositAmount !== "") {
|
|
97
|
+
writer.uint32(82).string(message.downvoteDepositAmount);
|
|
87
98
|
}
|
|
88
|
-
if (message.
|
|
89
|
-
|
|
99
|
+
if (message.appealFeeAmount !== "") {
|
|
100
|
+
writer.uint32(90).string(message.appealFeeAmount);
|
|
90
101
|
}
|
|
91
|
-
if (message.
|
|
92
|
-
|
|
102
|
+
if (message.lockAppealFeeAmount !== "") {
|
|
103
|
+
writer.uint32(98).string(message.lockAppealFeeAmount);
|
|
93
104
|
}
|
|
94
|
-
if (message.
|
|
95
|
-
|
|
105
|
+
if (message.moveAppealFeeAmount !== "") {
|
|
106
|
+
writer.uint32(106).string(message.moveAppealFeeAmount);
|
|
96
107
|
}
|
|
97
|
-
if (message.
|
|
98
|
-
|
|
108
|
+
if (message.editFeeAmount !== "") {
|
|
109
|
+
writer.uint32(114).string(message.editFeeAmount);
|
|
99
110
|
}
|
|
100
111
|
if (message.bountyCancellationFeePercent !== BigInt(0)) {
|
|
101
112
|
writer.uint32(120).uint64(message.bountyCancellationFeePercent);
|
|
@@ -136,8 +147,8 @@ export const Params = {
|
|
|
136
147
|
if (message.moveAppealCooldown !== BigInt(0)) {
|
|
137
148
|
writer.uint32(216).int64(message.moveAppealCooldown);
|
|
138
149
|
}
|
|
139
|
-
if (message.
|
|
140
|
-
|
|
150
|
+
if (message.costPerByteAmount !== "") {
|
|
151
|
+
writer.uint32(226).string(message.costPerByteAmount);
|
|
141
152
|
}
|
|
142
153
|
if (message.costPerByteExempt === true) {
|
|
143
154
|
writer.uint32(232).bool(message.costPerByteExempt);
|
|
@@ -172,6 +183,36 @@ export const Params = {
|
|
|
172
183
|
if (message.sentinelUnhideWindow !== BigInt(0)) {
|
|
173
184
|
writer.uint32(368).int64(message.sentinelUnhideWindow);
|
|
174
185
|
}
|
|
186
|
+
if (message.sentinelUnbondCooldown !== BigInt(0)) {
|
|
187
|
+
writer.uint32(376).int64(message.sentinelUnbondCooldown);
|
|
188
|
+
}
|
|
189
|
+
if (message.makePermanentMinTrustLevel !== 0) {
|
|
190
|
+
writer.uint32(384).uint32(message.makePermanentMinTrustLevel);
|
|
191
|
+
}
|
|
192
|
+
if (message.maxPromotionsPerBlock !== 0) {
|
|
193
|
+
writer.uint32(392).uint32(message.maxPromotionsPerBlock);
|
|
194
|
+
}
|
|
195
|
+
if (message.authorRepSlash !== "") {
|
|
196
|
+
writer.uint32(402).string(Decimal.fromUserInput(message.authorRepSlash, 18).atomics);
|
|
197
|
+
}
|
|
198
|
+
if (message.maxMakePermanentPerDay !== BigInt(0)) {
|
|
199
|
+
writer.uint32(408).uint64(message.maxMakePermanentPerDay);
|
|
200
|
+
}
|
|
201
|
+
if (message.minPostConvictionStake !== "") {
|
|
202
|
+
writer.uint32(482).string(message.minPostConvictionStake);
|
|
203
|
+
}
|
|
204
|
+
if (message.postConvictionLockSeconds !== BigInt(0)) {
|
|
205
|
+
writer.uint32(488).int64(message.postConvictionLockSeconds);
|
|
206
|
+
}
|
|
207
|
+
if (message.postConvictionStreamRatePerBlock !== "") {
|
|
208
|
+
writer.uint32(498).string(Decimal.fromUserInput(message.postConvictionStreamRatePerBlock, 18).atomics);
|
|
209
|
+
}
|
|
210
|
+
if (message.maxForumRepPerTagPerEpoch !== "") {
|
|
211
|
+
writer.uint32(506).string(Decimal.fromUserInput(message.maxForumRepPerTagPerEpoch, 18).atomics);
|
|
212
|
+
}
|
|
213
|
+
if (message.postConvictionStakerSlashBps !== BigInt(0)) {
|
|
214
|
+
writer.uint32(512).uint64(message.postConvictionStakerSlashBps);
|
|
215
|
+
}
|
|
175
216
|
return writer;
|
|
176
217
|
},
|
|
177
218
|
decode(input, length) {
|
|
@@ -200,28 +241,28 @@ export const Params = {
|
|
|
200
241
|
message.editingEnabled = reader.bool();
|
|
201
242
|
break;
|
|
202
243
|
case 7:
|
|
203
|
-
message.
|
|
244
|
+
message.spamTaxAmount = reader.string();
|
|
204
245
|
break;
|
|
205
246
|
case 8:
|
|
206
|
-
message.
|
|
247
|
+
message.reactionSpamTaxAmount = reader.string();
|
|
207
248
|
break;
|
|
208
249
|
case 9:
|
|
209
|
-
message.
|
|
250
|
+
message.flagSpamTaxAmount = reader.string();
|
|
210
251
|
break;
|
|
211
252
|
case 10:
|
|
212
|
-
message.
|
|
253
|
+
message.downvoteDepositAmount = reader.string();
|
|
213
254
|
break;
|
|
214
255
|
case 11:
|
|
215
|
-
message.
|
|
256
|
+
message.appealFeeAmount = reader.string();
|
|
216
257
|
break;
|
|
217
258
|
case 12:
|
|
218
|
-
message.
|
|
259
|
+
message.lockAppealFeeAmount = reader.string();
|
|
219
260
|
break;
|
|
220
261
|
case 13:
|
|
221
|
-
message.
|
|
262
|
+
message.moveAppealFeeAmount = reader.string();
|
|
222
263
|
break;
|
|
223
264
|
case 14:
|
|
224
|
-
message.
|
|
265
|
+
message.editFeeAmount = reader.string();
|
|
225
266
|
break;
|
|
226
267
|
case 15:
|
|
227
268
|
message.bountyCancellationFeePercent = reader.uint64();
|
|
@@ -263,7 +304,7 @@ export const Params = {
|
|
|
263
304
|
message.moveAppealCooldown = reader.int64();
|
|
264
305
|
break;
|
|
265
306
|
case 28:
|
|
266
|
-
message.
|
|
307
|
+
message.costPerByteAmount = reader.string();
|
|
267
308
|
break;
|
|
268
309
|
case 29:
|
|
269
310
|
message.costPerByteExempt = reader.bool();
|
|
@@ -298,6 +339,36 @@ export const Params = {
|
|
|
298
339
|
case 46:
|
|
299
340
|
message.sentinelUnhideWindow = reader.int64();
|
|
300
341
|
break;
|
|
342
|
+
case 47:
|
|
343
|
+
message.sentinelUnbondCooldown = reader.int64();
|
|
344
|
+
break;
|
|
345
|
+
case 48:
|
|
346
|
+
message.makePermanentMinTrustLevel = reader.uint32();
|
|
347
|
+
break;
|
|
348
|
+
case 49:
|
|
349
|
+
message.maxPromotionsPerBlock = reader.uint32();
|
|
350
|
+
break;
|
|
351
|
+
case 50:
|
|
352
|
+
message.authorRepSlash = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
353
|
+
break;
|
|
354
|
+
case 51:
|
|
355
|
+
message.maxMakePermanentPerDay = reader.uint64();
|
|
356
|
+
break;
|
|
357
|
+
case 60:
|
|
358
|
+
message.minPostConvictionStake = reader.string();
|
|
359
|
+
break;
|
|
360
|
+
case 61:
|
|
361
|
+
message.postConvictionLockSeconds = reader.int64();
|
|
362
|
+
break;
|
|
363
|
+
case 62:
|
|
364
|
+
message.postConvictionStreamRatePerBlock = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
365
|
+
break;
|
|
366
|
+
case 63:
|
|
367
|
+
message.maxForumRepPerTagPerEpoch = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
368
|
+
break;
|
|
369
|
+
case 64:
|
|
370
|
+
message.postConvictionStakerSlashBps = reader.uint64();
|
|
371
|
+
break;
|
|
301
372
|
default:
|
|
302
373
|
reader.skipType(tag & 7);
|
|
303
374
|
break;
|
|
@@ -313,14 +384,14 @@ export const Params = {
|
|
|
313
384
|
message.reactionsEnabled = object.reactionsEnabled ?? false;
|
|
314
385
|
message.appealsPaused = object.appealsPaused ?? false;
|
|
315
386
|
message.editingEnabled = object.editingEnabled ?? false;
|
|
316
|
-
message.
|
|
317
|
-
message.
|
|
318
|
-
message.
|
|
319
|
-
message.
|
|
320
|
-
message.
|
|
321
|
-
message.
|
|
322
|
-
message.
|
|
323
|
-
message.
|
|
387
|
+
message.spamTaxAmount = object.spamTaxAmount ?? "";
|
|
388
|
+
message.reactionSpamTaxAmount = object.reactionSpamTaxAmount ?? "";
|
|
389
|
+
message.flagSpamTaxAmount = object.flagSpamTaxAmount ?? "";
|
|
390
|
+
message.downvoteDepositAmount = object.downvoteDepositAmount ?? "";
|
|
391
|
+
message.appealFeeAmount = object.appealFeeAmount ?? "";
|
|
392
|
+
message.lockAppealFeeAmount = object.lockAppealFeeAmount ?? "";
|
|
393
|
+
message.moveAppealFeeAmount = object.moveAppealFeeAmount ?? "";
|
|
394
|
+
message.editFeeAmount = object.editFeeAmount ?? "";
|
|
324
395
|
message.bountyCancellationFeePercent = object.bountyCancellationFeePercent !== undefined && object.bountyCancellationFeePercent !== null ? BigInt(object.bountyCancellationFeePercent.toString()) : BigInt(0);
|
|
325
396
|
message.maxContentSize = object.maxContentSize !== undefined && object.maxContentSize !== null ? BigInt(object.maxContentSize.toString()) : BigInt(0);
|
|
326
397
|
message.dailyPostLimit = object.dailyPostLimit !== undefined && object.dailyPostLimit !== null ? BigInt(object.dailyPostLimit.toString()) : BigInt(0);
|
|
@@ -334,7 +405,7 @@ export const Params = {
|
|
|
334
405
|
message.hideAppealCooldown = object.hideAppealCooldown !== undefined && object.hideAppealCooldown !== null ? BigInt(object.hideAppealCooldown.toString()) : BigInt(0);
|
|
335
406
|
message.lockAppealCooldown = object.lockAppealCooldown !== undefined && object.lockAppealCooldown !== null ? BigInt(object.lockAppealCooldown.toString()) : BigInt(0);
|
|
336
407
|
message.moveAppealCooldown = object.moveAppealCooldown !== undefined && object.moveAppealCooldown !== null ? BigInt(object.moveAppealCooldown.toString()) : BigInt(0);
|
|
337
|
-
message.
|
|
408
|
+
message.costPerByteAmount = object.costPerByteAmount ?? "";
|
|
338
409
|
message.costPerByteExempt = object.costPerByteExempt ?? false;
|
|
339
410
|
message.ephemeralTtl = object.ephemeralTtl !== undefined && object.ephemeralTtl !== null ? BigInt(object.ephemeralTtl.toString()) : BigInt(0);
|
|
340
411
|
message.convictionRenewalThreshold = object.convictionRenewalThreshold ?? "";
|
|
@@ -346,6 +417,16 @@ export const Params = {
|
|
|
346
417
|
message.sentinelDemotionCooldown = object.sentinelDemotionCooldown !== undefined && object.sentinelDemotionCooldown !== null ? BigInt(object.sentinelDemotionCooldown.toString()) : BigInt(0);
|
|
347
418
|
message.sentinelDemotionThreshold = object.sentinelDemotionThreshold ?? "";
|
|
348
419
|
message.sentinelUnhideWindow = object.sentinelUnhideWindow !== undefined && object.sentinelUnhideWindow !== null ? BigInt(object.sentinelUnhideWindow.toString()) : BigInt(0);
|
|
420
|
+
message.sentinelUnbondCooldown = object.sentinelUnbondCooldown !== undefined && object.sentinelUnbondCooldown !== null ? BigInt(object.sentinelUnbondCooldown.toString()) : BigInt(0);
|
|
421
|
+
message.makePermanentMinTrustLevel = object.makePermanentMinTrustLevel ?? 0;
|
|
422
|
+
message.maxPromotionsPerBlock = object.maxPromotionsPerBlock ?? 0;
|
|
423
|
+
message.authorRepSlash = object.authorRepSlash ?? "";
|
|
424
|
+
message.maxMakePermanentPerDay = object.maxMakePermanentPerDay !== undefined && object.maxMakePermanentPerDay !== null ? BigInt(object.maxMakePermanentPerDay.toString()) : BigInt(0);
|
|
425
|
+
message.minPostConvictionStake = object.minPostConvictionStake ?? "";
|
|
426
|
+
message.postConvictionLockSeconds = object.postConvictionLockSeconds !== undefined && object.postConvictionLockSeconds !== null ? BigInt(object.postConvictionLockSeconds.toString()) : BigInt(0);
|
|
427
|
+
message.postConvictionStreamRatePerBlock = object.postConvictionStreamRatePerBlock ?? "";
|
|
428
|
+
message.maxForumRepPerTagPerEpoch = object.maxForumRepPerTagPerEpoch ?? "";
|
|
429
|
+
message.postConvictionStakerSlashBps = object.postConvictionStakerSlashBps !== undefined && object.postConvictionStakerSlashBps !== null ? BigInt(object.postConvictionStakerSlashBps.toString()) : BigInt(0);
|
|
349
430
|
return message;
|
|
350
431
|
},
|
|
351
432
|
fromAmino(object) {
|
|
@@ -368,29 +449,29 @@ export const Params = {
|
|
|
368
449
|
if (object.editing_enabled !== undefined && object.editing_enabled !== null) {
|
|
369
450
|
message.editingEnabled = object.editing_enabled;
|
|
370
451
|
}
|
|
371
|
-
if (object.
|
|
372
|
-
message.
|
|
452
|
+
if (object.spam_tax_amount !== undefined && object.spam_tax_amount !== null) {
|
|
453
|
+
message.spamTaxAmount = object.spam_tax_amount;
|
|
373
454
|
}
|
|
374
|
-
if (object.
|
|
375
|
-
message.
|
|
455
|
+
if (object.reaction_spam_tax_amount !== undefined && object.reaction_spam_tax_amount !== null) {
|
|
456
|
+
message.reactionSpamTaxAmount = object.reaction_spam_tax_amount;
|
|
376
457
|
}
|
|
377
|
-
if (object.
|
|
378
|
-
message.
|
|
458
|
+
if (object.flag_spam_tax_amount !== undefined && object.flag_spam_tax_amount !== null) {
|
|
459
|
+
message.flagSpamTaxAmount = object.flag_spam_tax_amount;
|
|
379
460
|
}
|
|
380
|
-
if (object.
|
|
381
|
-
message.
|
|
461
|
+
if (object.downvote_deposit_amount !== undefined && object.downvote_deposit_amount !== null) {
|
|
462
|
+
message.downvoteDepositAmount = object.downvote_deposit_amount;
|
|
382
463
|
}
|
|
383
|
-
if (object.
|
|
384
|
-
message.
|
|
464
|
+
if (object.appeal_fee_amount !== undefined && object.appeal_fee_amount !== null) {
|
|
465
|
+
message.appealFeeAmount = object.appeal_fee_amount;
|
|
385
466
|
}
|
|
386
|
-
if (object.
|
|
387
|
-
message.
|
|
467
|
+
if (object.lock_appeal_fee_amount !== undefined && object.lock_appeal_fee_amount !== null) {
|
|
468
|
+
message.lockAppealFeeAmount = object.lock_appeal_fee_amount;
|
|
388
469
|
}
|
|
389
|
-
if (object.
|
|
390
|
-
message.
|
|
470
|
+
if (object.move_appeal_fee_amount !== undefined && object.move_appeal_fee_amount !== null) {
|
|
471
|
+
message.moveAppealFeeAmount = object.move_appeal_fee_amount;
|
|
391
472
|
}
|
|
392
|
-
if (object.
|
|
393
|
-
message.
|
|
473
|
+
if (object.edit_fee_amount !== undefined && object.edit_fee_amount !== null) {
|
|
474
|
+
message.editFeeAmount = object.edit_fee_amount;
|
|
394
475
|
}
|
|
395
476
|
if (object.bounty_cancellation_fee_percent !== undefined && object.bounty_cancellation_fee_percent !== null) {
|
|
396
477
|
message.bountyCancellationFeePercent = BigInt(object.bounty_cancellation_fee_percent);
|
|
@@ -431,8 +512,8 @@ export const Params = {
|
|
|
431
512
|
if (object.move_appeal_cooldown !== undefined && object.move_appeal_cooldown !== null) {
|
|
432
513
|
message.moveAppealCooldown = BigInt(object.move_appeal_cooldown);
|
|
433
514
|
}
|
|
434
|
-
if (object.
|
|
435
|
-
message.
|
|
515
|
+
if (object.cost_per_byte_amount !== undefined && object.cost_per_byte_amount !== null) {
|
|
516
|
+
message.costPerByteAmount = object.cost_per_byte_amount;
|
|
436
517
|
}
|
|
437
518
|
if (object.cost_per_byte_exempt !== undefined && object.cost_per_byte_exempt !== null) {
|
|
438
519
|
message.costPerByteExempt = object.cost_per_byte_exempt;
|
|
@@ -467,6 +548,36 @@ export const Params = {
|
|
|
467
548
|
if (object.sentinel_unhide_window !== undefined && object.sentinel_unhide_window !== null) {
|
|
468
549
|
message.sentinelUnhideWindow = BigInt(object.sentinel_unhide_window);
|
|
469
550
|
}
|
|
551
|
+
if (object.sentinel_unbond_cooldown !== undefined && object.sentinel_unbond_cooldown !== null) {
|
|
552
|
+
message.sentinelUnbondCooldown = BigInt(object.sentinel_unbond_cooldown);
|
|
553
|
+
}
|
|
554
|
+
if (object.make_permanent_min_trust_level !== undefined && object.make_permanent_min_trust_level !== null) {
|
|
555
|
+
message.makePermanentMinTrustLevel = object.make_permanent_min_trust_level;
|
|
556
|
+
}
|
|
557
|
+
if (object.max_promotions_per_block !== undefined && object.max_promotions_per_block !== null) {
|
|
558
|
+
message.maxPromotionsPerBlock = object.max_promotions_per_block;
|
|
559
|
+
}
|
|
560
|
+
if (object.author_rep_slash !== undefined && object.author_rep_slash !== null) {
|
|
561
|
+
message.authorRepSlash = object.author_rep_slash;
|
|
562
|
+
}
|
|
563
|
+
if (object.max_make_permanent_per_day !== undefined && object.max_make_permanent_per_day !== null) {
|
|
564
|
+
message.maxMakePermanentPerDay = BigInt(object.max_make_permanent_per_day);
|
|
565
|
+
}
|
|
566
|
+
if (object.min_post_conviction_stake !== undefined && object.min_post_conviction_stake !== null) {
|
|
567
|
+
message.minPostConvictionStake = object.min_post_conviction_stake;
|
|
568
|
+
}
|
|
569
|
+
if (object.post_conviction_lock_seconds !== undefined && object.post_conviction_lock_seconds !== null) {
|
|
570
|
+
message.postConvictionLockSeconds = BigInt(object.post_conviction_lock_seconds);
|
|
571
|
+
}
|
|
572
|
+
if (object.post_conviction_stream_rate_per_block !== undefined && object.post_conviction_stream_rate_per_block !== null) {
|
|
573
|
+
message.postConvictionStreamRatePerBlock = object.post_conviction_stream_rate_per_block;
|
|
574
|
+
}
|
|
575
|
+
if (object.max_forum_rep_per_tag_per_epoch !== undefined && object.max_forum_rep_per_tag_per_epoch !== null) {
|
|
576
|
+
message.maxForumRepPerTagPerEpoch = object.max_forum_rep_per_tag_per_epoch;
|
|
577
|
+
}
|
|
578
|
+
if (object.post_conviction_staker_slash_bps !== undefined && object.post_conviction_staker_slash_bps !== null) {
|
|
579
|
+
message.postConvictionStakerSlashBps = BigInt(object.post_conviction_staker_slash_bps);
|
|
580
|
+
}
|
|
470
581
|
return message;
|
|
471
582
|
},
|
|
472
583
|
toAmino(message) {
|
|
@@ -477,14 +588,14 @@ export const Params = {
|
|
|
477
588
|
obj.reactions_enabled = message.reactionsEnabled === false ? undefined : message.reactionsEnabled;
|
|
478
589
|
obj.appeals_paused = message.appealsPaused === false ? undefined : message.appealsPaused;
|
|
479
590
|
obj.editing_enabled = message.editingEnabled === false ? undefined : message.editingEnabled;
|
|
480
|
-
obj.
|
|
481
|
-
obj.
|
|
482
|
-
obj.
|
|
483
|
-
obj.
|
|
484
|
-
obj.
|
|
485
|
-
obj.
|
|
486
|
-
obj.
|
|
487
|
-
obj.
|
|
591
|
+
obj.spam_tax_amount = message.spamTaxAmount === "" ? undefined : message.spamTaxAmount;
|
|
592
|
+
obj.reaction_spam_tax_amount = message.reactionSpamTaxAmount === "" ? undefined : message.reactionSpamTaxAmount;
|
|
593
|
+
obj.flag_spam_tax_amount = message.flagSpamTaxAmount === "" ? undefined : message.flagSpamTaxAmount;
|
|
594
|
+
obj.downvote_deposit_amount = message.downvoteDepositAmount === "" ? undefined : message.downvoteDepositAmount;
|
|
595
|
+
obj.appeal_fee_amount = message.appealFeeAmount === "" ? undefined : message.appealFeeAmount;
|
|
596
|
+
obj.lock_appeal_fee_amount = message.lockAppealFeeAmount === "" ? undefined : message.lockAppealFeeAmount;
|
|
597
|
+
obj.move_appeal_fee_amount = message.moveAppealFeeAmount === "" ? undefined : message.moveAppealFeeAmount;
|
|
598
|
+
obj.edit_fee_amount = message.editFeeAmount === "" ? undefined : message.editFeeAmount;
|
|
488
599
|
obj.bounty_cancellation_fee_percent = message.bountyCancellationFeePercent !== BigInt(0) ? message.bountyCancellationFeePercent?.toString() : undefined;
|
|
489
600
|
obj.max_content_size = message.maxContentSize !== BigInt(0) ? message.maxContentSize?.toString() : undefined;
|
|
490
601
|
obj.daily_post_limit = message.dailyPostLimit !== BigInt(0) ? message.dailyPostLimit?.toString() : undefined;
|
|
@@ -498,7 +609,7 @@ export const Params = {
|
|
|
498
609
|
obj.hide_appeal_cooldown = message.hideAppealCooldown !== BigInt(0) ? message.hideAppealCooldown?.toString() : undefined;
|
|
499
610
|
obj.lock_appeal_cooldown = message.lockAppealCooldown !== BigInt(0) ? message.lockAppealCooldown?.toString() : undefined;
|
|
500
611
|
obj.move_appeal_cooldown = message.moveAppealCooldown !== BigInt(0) ? message.moveAppealCooldown?.toString() : undefined;
|
|
501
|
-
obj.
|
|
612
|
+
obj.cost_per_byte_amount = message.costPerByteAmount === "" ? undefined : message.costPerByteAmount;
|
|
502
613
|
obj.cost_per_byte_exempt = message.costPerByteExempt === false ? undefined : message.costPerByteExempt;
|
|
503
614
|
obj.ephemeral_ttl = message.ephemeralTtl !== BigInt(0) ? message.ephemeralTtl?.toString() : undefined;
|
|
504
615
|
obj.conviction_renewal_threshold = message.convictionRenewalThreshold === "" ? undefined : message.convictionRenewalThreshold;
|
|
@@ -510,6 +621,16 @@ export const Params = {
|
|
|
510
621
|
obj.sentinel_demotion_cooldown = message.sentinelDemotionCooldown !== BigInt(0) ? message.sentinelDemotionCooldown?.toString() : undefined;
|
|
511
622
|
obj.sentinel_demotion_threshold = message.sentinelDemotionThreshold === "" ? undefined : message.sentinelDemotionThreshold;
|
|
512
623
|
obj.sentinel_unhide_window = message.sentinelUnhideWindow !== BigInt(0) ? message.sentinelUnhideWindow?.toString() : undefined;
|
|
624
|
+
obj.sentinel_unbond_cooldown = message.sentinelUnbondCooldown !== BigInt(0) ? message.sentinelUnbondCooldown?.toString() : undefined;
|
|
625
|
+
obj.make_permanent_min_trust_level = message.makePermanentMinTrustLevel === 0 ? undefined : message.makePermanentMinTrustLevel;
|
|
626
|
+
obj.max_promotions_per_block = message.maxPromotionsPerBlock === 0 ? undefined : message.maxPromotionsPerBlock;
|
|
627
|
+
obj.author_rep_slash = message.authorRepSlash === "" ? undefined : message.authorRepSlash;
|
|
628
|
+
obj.max_make_permanent_per_day = message.maxMakePermanentPerDay !== BigInt(0) ? message.maxMakePermanentPerDay?.toString() : undefined;
|
|
629
|
+
obj.min_post_conviction_stake = message.minPostConvictionStake === "" ? undefined : message.minPostConvictionStake;
|
|
630
|
+
obj.post_conviction_lock_seconds = message.postConvictionLockSeconds !== BigInt(0) ? message.postConvictionLockSeconds?.toString() : undefined;
|
|
631
|
+
obj.post_conviction_stream_rate_per_block = message.postConvictionStreamRatePerBlock === "" ? undefined : message.postConvictionStreamRatePerBlock;
|
|
632
|
+
obj.max_forum_rep_per_tag_per_epoch = message.maxForumRepPerTagPerEpoch === "" ? undefined : message.maxForumRepPerTagPerEpoch;
|
|
633
|
+
obj.post_conviction_staker_slash_bps = message.postConvictionStakerSlashBps !== BigInt(0) ? message.postConvictionStakerSlashBps?.toString() : undefined;
|
|
513
634
|
return obj;
|
|
514
635
|
},
|
|
515
636
|
fromAminoMsg(object) {
|
|
@@ -539,15 +660,15 @@ function createBaseForumOperationalParams() {
|
|
|
539
660
|
bountiesEnabled: false,
|
|
540
661
|
reactionsEnabled: false,
|
|
541
662
|
editingEnabled: false,
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
663
|
+
spamTaxAmount: "",
|
|
664
|
+
reactionSpamTaxAmount: "",
|
|
665
|
+
flagSpamTaxAmount: "",
|
|
666
|
+
downvoteDepositAmount: "",
|
|
667
|
+
appealFeeAmount: "",
|
|
668
|
+
lockAppealFeeAmount: "",
|
|
669
|
+
moveAppealFeeAmount: "",
|
|
670
|
+
editFeeAmount: "",
|
|
671
|
+
costPerByteAmount: "",
|
|
551
672
|
costPerByteExempt: false,
|
|
552
673
|
maxContentSize: BigInt(0),
|
|
553
674
|
dailyPostLimit: BigInt(0),
|
|
@@ -571,7 +692,17 @@ function createBaseForumOperationalParams() {
|
|
|
571
692
|
minSentinelAgeBlocks: BigInt(0),
|
|
572
693
|
sentinelDemotionCooldown: BigInt(0),
|
|
573
694
|
sentinelDemotionThreshold: "",
|
|
574
|
-
sentinelUnhideWindow: BigInt(0)
|
|
695
|
+
sentinelUnhideWindow: BigInt(0),
|
|
696
|
+
sentinelUnbondCooldown: BigInt(0),
|
|
697
|
+
makePermanentMinTrustLevel: 0,
|
|
698
|
+
maxPromotionsPerBlock: 0,
|
|
699
|
+
authorRepSlash: "",
|
|
700
|
+
maxMakePermanentPerDay: BigInt(0),
|
|
701
|
+
minPostConvictionStake: "",
|
|
702
|
+
postConvictionLockSeconds: BigInt(0),
|
|
703
|
+
postConvictionStreamRatePerBlock: "",
|
|
704
|
+
maxForumRepPerTagPerEpoch: "",
|
|
705
|
+
postConvictionStakerSlashBps: BigInt(0)
|
|
575
706
|
};
|
|
576
707
|
}
|
|
577
708
|
/**
|
|
@@ -596,32 +727,32 @@ export const ForumOperationalParams = {
|
|
|
596
727
|
if (message.editingEnabled === true) {
|
|
597
728
|
writer.uint32(24).bool(message.editingEnabled);
|
|
598
729
|
}
|
|
599
|
-
if (message.
|
|
600
|
-
|
|
730
|
+
if (message.spamTaxAmount !== "") {
|
|
731
|
+
writer.uint32(34).string(message.spamTaxAmount);
|
|
601
732
|
}
|
|
602
|
-
if (message.
|
|
603
|
-
|
|
733
|
+
if (message.reactionSpamTaxAmount !== "") {
|
|
734
|
+
writer.uint32(42).string(message.reactionSpamTaxAmount);
|
|
604
735
|
}
|
|
605
|
-
if (message.
|
|
606
|
-
|
|
736
|
+
if (message.flagSpamTaxAmount !== "") {
|
|
737
|
+
writer.uint32(50).string(message.flagSpamTaxAmount);
|
|
607
738
|
}
|
|
608
|
-
if (message.
|
|
609
|
-
|
|
739
|
+
if (message.downvoteDepositAmount !== "") {
|
|
740
|
+
writer.uint32(58).string(message.downvoteDepositAmount);
|
|
610
741
|
}
|
|
611
|
-
if (message.
|
|
612
|
-
|
|
742
|
+
if (message.appealFeeAmount !== "") {
|
|
743
|
+
writer.uint32(66).string(message.appealFeeAmount);
|
|
613
744
|
}
|
|
614
|
-
if (message.
|
|
615
|
-
|
|
745
|
+
if (message.lockAppealFeeAmount !== "") {
|
|
746
|
+
writer.uint32(74).string(message.lockAppealFeeAmount);
|
|
616
747
|
}
|
|
617
|
-
if (message.
|
|
618
|
-
|
|
748
|
+
if (message.moveAppealFeeAmount !== "") {
|
|
749
|
+
writer.uint32(82).string(message.moveAppealFeeAmount);
|
|
619
750
|
}
|
|
620
|
-
if (message.
|
|
621
|
-
|
|
751
|
+
if (message.editFeeAmount !== "") {
|
|
752
|
+
writer.uint32(90).string(message.editFeeAmount);
|
|
622
753
|
}
|
|
623
|
-
if (message.
|
|
624
|
-
|
|
754
|
+
if (message.costPerByteAmount !== "") {
|
|
755
|
+
writer.uint32(98).string(message.costPerByteAmount);
|
|
625
756
|
}
|
|
626
757
|
if (message.costPerByteExempt === true) {
|
|
627
758
|
writer.uint32(104).bool(message.costPerByteExempt);
|
|
@@ -695,6 +826,36 @@ export const ForumOperationalParams = {
|
|
|
695
826
|
if (message.sentinelUnhideWindow !== BigInt(0)) {
|
|
696
827
|
writer.uint32(368).int64(message.sentinelUnhideWindow);
|
|
697
828
|
}
|
|
829
|
+
if (message.sentinelUnbondCooldown !== BigInt(0)) {
|
|
830
|
+
writer.uint32(376).int64(message.sentinelUnbondCooldown);
|
|
831
|
+
}
|
|
832
|
+
if (message.makePermanentMinTrustLevel !== 0) {
|
|
833
|
+
writer.uint32(384).uint32(message.makePermanentMinTrustLevel);
|
|
834
|
+
}
|
|
835
|
+
if (message.maxPromotionsPerBlock !== 0) {
|
|
836
|
+
writer.uint32(392).uint32(message.maxPromotionsPerBlock);
|
|
837
|
+
}
|
|
838
|
+
if (message.authorRepSlash !== "") {
|
|
839
|
+
writer.uint32(402).string(Decimal.fromUserInput(message.authorRepSlash, 18).atomics);
|
|
840
|
+
}
|
|
841
|
+
if (message.maxMakePermanentPerDay !== BigInt(0)) {
|
|
842
|
+
writer.uint32(408).uint64(message.maxMakePermanentPerDay);
|
|
843
|
+
}
|
|
844
|
+
if (message.minPostConvictionStake !== "") {
|
|
845
|
+
writer.uint32(482).string(message.minPostConvictionStake);
|
|
846
|
+
}
|
|
847
|
+
if (message.postConvictionLockSeconds !== BigInt(0)) {
|
|
848
|
+
writer.uint32(488).int64(message.postConvictionLockSeconds);
|
|
849
|
+
}
|
|
850
|
+
if (message.postConvictionStreamRatePerBlock !== "") {
|
|
851
|
+
writer.uint32(498).string(Decimal.fromUserInput(message.postConvictionStreamRatePerBlock, 18).atomics);
|
|
852
|
+
}
|
|
853
|
+
if (message.maxForumRepPerTagPerEpoch !== "") {
|
|
854
|
+
writer.uint32(506).string(Decimal.fromUserInput(message.maxForumRepPerTagPerEpoch, 18).atomics);
|
|
855
|
+
}
|
|
856
|
+
if (message.postConvictionStakerSlashBps !== BigInt(0)) {
|
|
857
|
+
writer.uint32(512).uint64(message.postConvictionStakerSlashBps);
|
|
858
|
+
}
|
|
698
859
|
return writer;
|
|
699
860
|
},
|
|
700
861
|
decode(input, length) {
|
|
@@ -714,31 +875,31 @@ export const ForumOperationalParams = {
|
|
|
714
875
|
message.editingEnabled = reader.bool();
|
|
715
876
|
break;
|
|
716
877
|
case 4:
|
|
717
|
-
message.
|
|
878
|
+
message.spamTaxAmount = reader.string();
|
|
718
879
|
break;
|
|
719
880
|
case 5:
|
|
720
|
-
message.
|
|
881
|
+
message.reactionSpamTaxAmount = reader.string();
|
|
721
882
|
break;
|
|
722
883
|
case 6:
|
|
723
|
-
message.
|
|
884
|
+
message.flagSpamTaxAmount = reader.string();
|
|
724
885
|
break;
|
|
725
886
|
case 7:
|
|
726
|
-
message.
|
|
887
|
+
message.downvoteDepositAmount = reader.string();
|
|
727
888
|
break;
|
|
728
889
|
case 8:
|
|
729
|
-
message.
|
|
890
|
+
message.appealFeeAmount = reader.string();
|
|
730
891
|
break;
|
|
731
892
|
case 9:
|
|
732
|
-
message.
|
|
893
|
+
message.lockAppealFeeAmount = reader.string();
|
|
733
894
|
break;
|
|
734
895
|
case 10:
|
|
735
|
-
message.
|
|
896
|
+
message.moveAppealFeeAmount = reader.string();
|
|
736
897
|
break;
|
|
737
898
|
case 11:
|
|
738
|
-
message.
|
|
899
|
+
message.editFeeAmount = reader.string();
|
|
739
900
|
break;
|
|
740
901
|
case 12:
|
|
741
|
-
message.
|
|
902
|
+
message.costPerByteAmount = reader.string();
|
|
742
903
|
break;
|
|
743
904
|
case 13:
|
|
744
905
|
message.costPerByteExempt = reader.bool();
|
|
@@ -812,6 +973,36 @@ export const ForumOperationalParams = {
|
|
|
812
973
|
case 46:
|
|
813
974
|
message.sentinelUnhideWindow = reader.int64();
|
|
814
975
|
break;
|
|
976
|
+
case 47:
|
|
977
|
+
message.sentinelUnbondCooldown = reader.int64();
|
|
978
|
+
break;
|
|
979
|
+
case 48:
|
|
980
|
+
message.makePermanentMinTrustLevel = reader.uint32();
|
|
981
|
+
break;
|
|
982
|
+
case 49:
|
|
983
|
+
message.maxPromotionsPerBlock = reader.uint32();
|
|
984
|
+
break;
|
|
985
|
+
case 50:
|
|
986
|
+
message.authorRepSlash = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
987
|
+
break;
|
|
988
|
+
case 51:
|
|
989
|
+
message.maxMakePermanentPerDay = reader.uint64();
|
|
990
|
+
break;
|
|
991
|
+
case 60:
|
|
992
|
+
message.minPostConvictionStake = reader.string();
|
|
993
|
+
break;
|
|
994
|
+
case 61:
|
|
995
|
+
message.postConvictionLockSeconds = reader.int64();
|
|
996
|
+
break;
|
|
997
|
+
case 62:
|
|
998
|
+
message.postConvictionStreamRatePerBlock = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
999
|
+
break;
|
|
1000
|
+
case 63:
|
|
1001
|
+
message.maxForumRepPerTagPerEpoch = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1002
|
+
break;
|
|
1003
|
+
case 64:
|
|
1004
|
+
message.postConvictionStakerSlashBps = reader.uint64();
|
|
1005
|
+
break;
|
|
815
1006
|
default:
|
|
816
1007
|
reader.skipType(tag & 7);
|
|
817
1008
|
break;
|
|
@@ -824,15 +1015,15 @@ export const ForumOperationalParams = {
|
|
|
824
1015
|
message.bountiesEnabled = object.bountiesEnabled ?? false;
|
|
825
1016
|
message.reactionsEnabled = object.reactionsEnabled ?? false;
|
|
826
1017
|
message.editingEnabled = object.editingEnabled ?? false;
|
|
827
|
-
message.
|
|
828
|
-
message.
|
|
829
|
-
message.
|
|
830
|
-
message.
|
|
831
|
-
message.
|
|
832
|
-
message.
|
|
833
|
-
message.
|
|
834
|
-
message.
|
|
835
|
-
message.
|
|
1018
|
+
message.spamTaxAmount = object.spamTaxAmount ?? "";
|
|
1019
|
+
message.reactionSpamTaxAmount = object.reactionSpamTaxAmount ?? "";
|
|
1020
|
+
message.flagSpamTaxAmount = object.flagSpamTaxAmount ?? "";
|
|
1021
|
+
message.downvoteDepositAmount = object.downvoteDepositAmount ?? "";
|
|
1022
|
+
message.appealFeeAmount = object.appealFeeAmount ?? "";
|
|
1023
|
+
message.lockAppealFeeAmount = object.lockAppealFeeAmount ?? "";
|
|
1024
|
+
message.moveAppealFeeAmount = object.moveAppealFeeAmount ?? "";
|
|
1025
|
+
message.editFeeAmount = object.editFeeAmount ?? "";
|
|
1026
|
+
message.costPerByteAmount = object.costPerByteAmount ?? "";
|
|
836
1027
|
message.costPerByteExempt = object.costPerByteExempt ?? false;
|
|
837
1028
|
message.maxContentSize = object.maxContentSize !== undefined && object.maxContentSize !== null ? BigInt(object.maxContentSize.toString()) : BigInt(0);
|
|
838
1029
|
message.dailyPostLimit = object.dailyPostLimit !== undefined && object.dailyPostLimit !== null ? BigInt(object.dailyPostLimit.toString()) : BigInt(0);
|
|
@@ -857,6 +1048,16 @@ export const ForumOperationalParams = {
|
|
|
857
1048
|
message.sentinelDemotionCooldown = object.sentinelDemotionCooldown !== undefined && object.sentinelDemotionCooldown !== null ? BigInt(object.sentinelDemotionCooldown.toString()) : BigInt(0);
|
|
858
1049
|
message.sentinelDemotionThreshold = object.sentinelDemotionThreshold ?? "";
|
|
859
1050
|
message.sentinelUnhideWindow = object.sentinelUnhideWindow !== undefined && object.sentinelUnhideWindow !== null ? BigInt(object.sentinelUnhideWindow.toString()) : BigInt(0);
|
|
1051
|
+
message.sentinelUnbondCooldown = object.sentinelUnbondCooldown !== undefined && object.sentinelUnbondCooldown !== null ? BigInt(object.sentinelUnbondCooldown.toString()) : BigInt(0);
|
|
1052
|
+
message.makePermanentMinTrustLevel = object.makePermanentMinTrustLevel ?? 0;
|
|
1053
|
+
message.maxPromotionsPerBlock = object.maxPromotionsPerBlock ?? 0;
|
|
1054
|
+
message.authorRepSlash = object.authorRepSlash ?? "";
|
|
1055
|
+
message.maxMakePermanentPerDay = object.maxMakePermanentPerDay !== undefined && object.maxMakePermanentPerDay !== null ? BigInt(object.maxMakePermanentPerDay.toString()) : BigInt(0);
|
|
1056
|
+
message.minPostConvictionStake = object.minPostConvictionStake ?? "";
|
|
1057
|
+
message.postConvictionLockSeconds = object.postConvictionLockSeconds !== undefined && object.postConvictionLockSeconds !== null ? BigInt(object.postConvictionLockSeconds.toString()) : BigInt(0);
|
|
1058
|
+
message.postConvictionStreamRatePerBlock = object.postConvictionStreamRatePerBlock ?? "";
|
|
1059
|
+
message.maxForumRepPerTagPerEpoch = object.maxForumRepPerTagPerEpoch ?? "";
|
|
1060
|
+
message.postConvictionStakerSlashBps = object.postConvictionStakerSlashBps !== undefined && object.postConvictionStakerSlashBps !== null ? BigInt(object.postConvictionStakerSlashBps.toString()) : BigInt(0);
|
|
860
1061
|
return message;
|
|
861
1062
|
},
|
|
862
1063
|
fromAmino(object) {
|
|
@@ -870,32 +1071,32 @@ export const ForumOperationalParams = {
|
|
|
870
1071
|
if (object.editing_enabled !== undefined && object.editing_enabled !== null) {
|
|
871
1072
|
message.editingEnabled = object.editing_enabled;
|
|
872
1073
|
}
|
|
873
|
-
if (object.
|
|
874
|
-
message.
|
|
1074
|
+
if (object.spam_tax_amount !== undefined && object.spam_tax_amount !== null) {
|
|
1075
|
+
message.spamTaxAmount = object.spam_tax_amount;
|
|
875
1076
|
}
|
|
876
|
-
if (object.
|
|
877
|
-
message.
|
|
1077
|
+
if (object.reaction_spam_tax_amount !== undefined && object.reaction_spam_tax_amount !== null) {
|
|
1078
|
+
message.reactionSpamTaxAmount = object.reaction_spam_tax_amount;
|
|
878
1079
|
}
|
|
879
|
-
if (object.
|
|
880
|
-
message.
|
|
1080
|
+
if (object.flag_spam_tax_amount !== undefined && object.flag_spam_tax_amount !== null) {
|
|
1081
|
+
message.flagSpamTaxAmount = object.flag_spam_tax_amount;
|
|
881
1082
|
}
|
|
882
|
-
if (object.
|
|
883
|
-
message.
|
|
1083
|
+
if (object.downvote_deposit_amount !== undefined && object.downvote_deposit_amount !== null) {
|
|
1084
|
+
message.downvoteDepositAmount = object.downvote_deposit_amount;
|
|
884
1085
|
}
|
|
885
|
-
if (object.
|
|
886
|
-
message.
|
|
1086
|
+
if (object.appeal_fee_amount !== undefined && object.appeal_fee_amount !== null) {
|
|
1087
|
+
message.appealFeeAmount = object.appeal_fee_amount;
|
|
887
1088
|
}
|
|
888
|
-
if (object.
|
|
889
|
-
message.
|
|
1089
|
+
if (object.lock_appeal_fee_amount !== undefined && object.lock_appeal_fee_amount !== null) {
|
|
1090
|
+
message.lockAppealFeeAmount = object.lock_appeal_fee_amount;
|
|
890
1091
|
}
|
|
891
|
-
if (object.
|
|
892
|
-
message.
|
|
1092
|
+
if (object.move_appeal_fee_amount !== undefined && object.move_appeal_fee_amount !== null) {
|
|
1093
|
+
message.moveAppealFeeAmount = object.move_appeal_fee_amount;
|
|
893
1094
|
}
|
|
894
|
-
if (object.
|
|
895
|
-
message.
|
|
1095
|
+
if (object.edit_fee_amount !== undefined && object.edit_fee_amount !== null) {
|
|
1096
|
+
message.editFeeAmount = object.edit_fee_amount;
|
|
896
1097
|
}
|
|
897
|
-
if (object.
|
|
898
|
-
message.
|
|
1098
|
+
if (object.cost_per_byte_amount !== undefined && object.cost_per_byte_amount !== null) {
|
|
1099
|
+
message.costPerByteAmount = object.cost_per_byte_amount;
|
|
899
1100
|
}
|
|
900
1101
|
if (object.cost_per_byte_exempt !== undefined && object.cost_per_byte_exempt !== null) {
|
|
901
1102
|
message.costPerByteExempt = object.cost_per_byte_exempt;
|
|
@@ -969,6 +1170,36 @@ export const ForumOperationalParams = {
|
|
|
969
1170
|
if (object.sentinel_unhide_window !== undefined && object.sentinel_unhide_window !== null) {
|
|
970
1171
|
message.sentinelUnhideWindow = BigInt(object.sentinel_unhide_window);
|
|
971
1172
|
}
|
|
1173
|
+
if (object.sentinel_unbond_cooldown !== undefined && object.sentinel_unbond_cooldown !== null) {
|
|
1174
|
+
message.sentinelUnbondCooldown = BigInt(object.sentinel_unbond_cooldown);
|
|
1175
|
+
}
|
|
1176
|
+
if (object.make_permanent_min_trust_level !== undefined && object.make_permanent_min_trust_level !== null) {
|
|
1177
|
+
message.makePermanentMinTrustLevel = object.make_permanent_min_trust_level;
|
|
1178
|
+
}
|
|
1179
|
+
if (object.max_promotions_per_block !== undefined && object.max_promotions_per_block !== null) {
|
|
1180
|
+
message.maxPromotionsPerBlock = object.max_promotions_per_block;
|
|
1181
|
+
}
|
|
1182
|
+
if (object.author_rep_slash !== undefined && object.author_rep_slash !== null) {
|
|
1183
|
+
message.authorRepSlash = object.author_rep_slash;
|
|
1184
|
+
}
|
|
1185
|
+
if (object.max_make_permanent_per_day !== undefined && object.max_make_permanent_per_day !== null) {
|
|
1186
|
+
message.maxMakePermanentPerDay = BigInt(object.max_make_permanent_per_day);
|
|
1187
|
+
}
|
|
1188
|
+
if (object.min_post_conviction_stake !== undefined && object.min_post_conviction_stake !== null) {
|
|
1189
|
+
message.minPostConvictionStake = object.min_post_conviction_stake;
|
|
1190
|
+
}
|
|
1191
|
+
if (object.post_conviction_lock_seconds !== undefined && object.post_conviction_lock_seconds !== null) {
|
|
1192
|
+
message.postConvictionLockSeconds = BigInt(object.post_conviction_lock_seconds);
|
|
1193
|
+
}
|
|
1194
|
+
if (object.post_conviction_stream_rate_per_block !== undefined && object.post_conviction_stream_rate_per_block !== null) {
|
|
1195
|
+
message.postConvictionStreamRatePerBlock = object.post_conviction_stream_rate_per_block;
|
|
1196
|
+
}
|
|
1197
|
+
if (object.max_forum_rep_per_tag_per_epoch !== undefined && object.max_forum_rep_per_tag_per_epoch !== null) {
|
|
1198
|
+
message.maxForumRepPerTagPerEpoch = object.max_forum_rep_per_tag_per_epoch;
|
|
1199
|
+
}
|
|
1200
|
+
if (object.post_conviction_staker_slash_bps !== undefined && object.post_conviction_staker_slash_bps !== null) {
|
|
1201
|
+
message.postConvictionStakerSlashBps = BigInt(object.post_conviction_staker_slash_bps);
|
|
1202
|
+
}
|
|
972
1203
|
return message;
|
|
973
1204
|
},
|
|
974
1205
|
toAmino(message) {
|
|
@@ -976,15 +1207,15 @@ export const ForumOperationalParams = {
|
|
|
976
1207
|
obj.bounties_enabled = message.bountiesEnabled === false ? undefined : message.bountiesEnabled;
|
|
977
1208
|
obj.reactions_enabled = message.reactionsEnabled === false ? undefined : message.reactionsEnabled;
|
|
978
1209
|
obj.editing_enabled = message.editingEnabled === false ? undefined : message.editingEnabled;
|
|
979
|
-
obj.
|
|
980
|
-
obj.
|
|
981
|
-
obj.
|
|
982
|
-
obj.
|
|
983
|
-
obj.
|
|
984
|
-
obj.
|
|
985
|
-
obj.
|
|
986
|
-
obj.
|
|
987
|
-
obj.
|
|
1210
|
+
obj.spam_tax_amount = message.spamTaxAmount === "" ? undefined : message.spamTaxAmount;
|
|
1211
|
+
obj.reaction_spam_tax_amount = message.reactionSpamTaxAmount === "" ? undefined : message.reactionSpamTaxAmount;
|
|
1212
|
+
obj.flag_spam_tax_amount = message.flagSpamTaxAmount === "" ? undefined : message.flagSpamTaxAmount;
|
|
1213
|
+
obj.downvote_deposit_amount = message.downvoteDepositAmount === "" ? undefined : message.downvoteDepositAmount;
|
|
1214
|
+
obj.appeal_fee_amount = message.appealFeeAmount === "" ? undefined : message.appealFeeAmount;
|
|
1215
|
+
obj.lock_appeal_fee_amount = message.lockAppealFeeAmount === "" ? undefined : message.lockAppealFeeAmount;
|
|
1216
|
+
obj.move_appeal_fee_amount = message.moveAppealFeeAmount === "" ? undefined : message.moveAppealFeeAmount;
|
|
1217
|
+
obj.edit_fee_amount = message.editFeeAmount === "" ? undefined : message.editFeeAmount;
|
|
1218
|
+
obj.cost_per_byte_amount = message.costPerByteAmount === "" ? undefined : message.costPerByteAmount;
|
|
988
1219
|
obj.cost_per_byte_exempt = message.costPerByteExempt === false ? undefined : message.costPerByteExempt;
|
|
989
1220
|
obj.max_content_size = message.maxContentSize !== BigInt(0) ? message.maxContentSize?.toString() : undefined;
|
|
990
1221
|
obj.daily_post_limit = message.dailyPostLimit !== BigInt(0) ? message.dailyPostLimit?.toString() : undefined;
|
|
@@ -1009,6 +1240,16 @@ export const ForumOperationalParams = {
|
|
|
1009
1240
|
obj.sentinel_demotion_cooldown = message.sentinelDemotionCooldown !== BigInt(0) ? message.sentinelDemotionCooldown?.toString() : undefined;
|
|
1010
1241
|
obj.sentinel_demotion_threshold = message.sentinelDemotionThreshold === "" ? undefined : message.sentinelDemotionThreshold;
|
|
1011
1242
|
obj.sentinel_unhide_window = message.sentinelUnhideWindow !== BigInt(0) ? message.sentinelUnhideWindow?.toString() : undefined;
|
|
1243
|
+
obj.sentinel_unbond_cooldown = message.sentinelUnbondCooldown !== BigInt(0) ? message.sentinelUnbondCooldown?.toString() : undefined;
|
|
1244
|
+
obj.make_permanent_min_trust_level = message.makePermanentMinTrustLevel === 0 ? undefined : message.makePermanentMinTrustLevel;
|
|
1245
|
+
obj.max_promotions_per_block = message.maxPromotionsPerBlock === 0 ? undefined : message.maxPromotionsPerBlock;
|
|
1246
|
+
obj.author_rep_slash = message.authorRepSlash === "" ? undefined : message.authorRepSlash;
|
|
1247
|
+
obj.max_make_permanent_per_day = message.maxMakePermanentPerDay !== BigInt(0) ? message.maxMakePermanentPerDay?.toString() : undefined;
|
|
1248
|
+
obj.min_post_conviction_stake = message.minPostConvictionStake === "" ? undefined : message.minPostConvictionStake;
|
|
1249
|
+
obj.post_conviction_lock_seconds = message.postConvictionLockSeconds !== BigInt(0) ? message.postConvictionLockSeconds?.toString() : undefined;
|
|
1250
|
+
obj.post_conviction_stream_rate_per_block = message.postConvictionStreamRatePerBlock === "" ? undefined : message.postConvictionStreamRatePerBlock;
|
|
1251
|
+
obj.max_forum_rep_per_tag_per_epoch = message.maxForumRepPerTagPerEpoch === "" ? undefined : message.maxForumRepPerTagPerEpoch;
|
|
1252
|
+
obj.post_conviction_staker_slash_bps = message.postConvictionStakerSlashBps !== BigInt(0) ? message.postConvictionStakerSlashBps?.toString() : undefined;
|
|
1012
1253
|
return obj;
|
|
1013
1254
|
},
|
|
1014
1255
|
fromAminoMsg(object) {
|