@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
|
@@ -40,6 +40,15 @@ export interface VerifierActivity {
|
|
|
40
40
|
* slashed (overturn verdicts).
|
|
41
41
|
*/
|
|
42
42
|
slashCount: bigint;
|
|
43
|
+
/**
|
|
44
|
+
* last_slash_epoch records the Phase 11 reward-epoch number
|
|
45
|
+
* (height / GetVerifierRewardEpochBlocks) in which this verifier was
|
|
46
|
+
* most recently slashed. Phase 11's "no slashing this epoch"
|
|
47
|
+
* eligibility gate compares this against the current reward epoch —
|
|
48
|
+
* an exact match disqualifies the verifier for the current epoch's
|
|
49
|
+
* payout. Zero means "never slashed under the current accounting".
|
|
50
|
+
*/
|
|
51
|
+
lastSlashEpoch: bigint;
|
|
43
52
|
}
|
|
44
53
|
export interface VerifierActivityProtoMsg {
|
|
45
54
|
typeUrl: "/sparkdream.federation.v1.VerifierActivity";
|
|
@@ -85,6 +94,15 @@ export interface VerifierActivityAmino {
|
|
|
85
94
|
* slashed (overturn verdicts).
|
|
86
95
|
*/
|
|
87
96
|
slash_count?: string;
|
|
97
|
+
/**
|
|
98
|
+
* last_slash_epoch records the Phase 11 reward-epoch number
|
|
99
|
+
* (height / GetVerifierRewardEpochBlocks) in which this verifier was
|
|
100
|
+
* most recently slashed. Phase 11's "no slashing this epoch"
|
|
101
|
+
* eligibility gate compares this against the current reward epoch —
|
|
102
|
+
* an exact match disqualifies the verifier for the current epoch's
|
|
103
|
+
* payout. Zero means "never slashed under the current accounting".
|
|
104
|
+
*/
|
|
105
|
+
last_slash_epoch?: string;
|
|
88
106
|
}
|
|
89
107
|
export interface VerifierActivityAminoMsg {
|
|
90
108
|
type: "/sparkdream.federation.v1.VerifierActivity";
|
|
@@ -15,7 +15,8 @@ function createBaseVerifierActivity() {
|
|
|
15
15
|
consecutiveOverturns: BigInt(0),
|
|
16
16
|
consecutiveUpheld: BigInt(0),
|
|
17
17
|
overturnCooldownUntil: BigInt(0),
|
|
18
|
-
slashCount: BigInt(0)
|
|
18
|
+
slashCount: BigInt(0),
|
|
19
|
+
lastSlashEpoch: BigInt(0)
|
|
19
20
|
};
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
@@ -63,6 +64,9 @@ exports.VerifierActivity = {
|
|
|
63
64
|
if (message.slashCount !== BigInt(0)) {
|
|
64
65
|
writer.uint32(88).uint64(message.slashCount);
|
|
65
66
|
}
|
|
67
|
+
if (message.lastSlashEpoch !== BigInt(0)) {
|
|
68
|
+
writer.uint32(96).int64(message.lastSlashEpoch);
|
|
69
|
+
}
|
|
66
70
|
return writer;
|
|
67
71
|
},
|
|
68
72
|
decode(input, length) {
|
|
@@ -105,6 +109,9 @@ exports.VerifierActivity = {
|
|
|
105
109
|
case 11:
|
|
106
110
|
message.slashCount = reader.uint64();
|
|
107
111
|
break;
|
|
112
|
+
case 12:
|
|
113
|
+
message.lastSlashEpoch = reader.int64();
|
|
114
|
+
break;
|
|
108
115
|
default:
|
|
109
116
|
reader.skipType(tag & 7);
|
|
110
117
|
break;
|
|
@@ -125,6 +132,7 @@ exports.VerifierActivity = {
|
|
|
125
132
|
message.consecutiveUpheld = object.consecutiveUpheld !== undefined && object.consecutiveUpheld !== null ? BigInt(object.consecutiveUpheld.toString()) : BigInt(0);
|
|
126
133
|
message.overturnCooldownUntil = object.overturnCooldownUntil !== undefined && object.overturnCooldownUntil !== null ? BigInt(object.overturnCooldownUntil.toString()) : BigInt(0);
|
|
127
134
|
message.slashCount = object.slashCount !== undefined && object.slashCount !== null ? BigInt(object.slashCount.toString()) : BigInt(0);
|
|
135
|
+
message.lastSlashEpoch = object.lastSlashEpoch !== undefined && object.lastSlashEpoch !== null ? BigInt(object.lastSlashEpoch.toString()) : BigInt(0);
|
|
128
136
|
return message;
|
|
129
137
|
},
|
|
130
138
|
fromAmino(object) {
|
|
@@ -162,6 +170,9 @@ exports.VerifierActivity = {
|
|
|
162
170
|
if (object.slash_count !== undefined && object.slash_count !== null) {
|
|
163
171
|
message.slashCount = BigInt(object.slash_count);
|
|
164
172
|
}
|
|
173
|
+
if (object.last_slash_epoch !== undefined && object.last_slash_epoch !== null) {
|
|
174
|
+
message.lastSlashEpoch = BigInt(object.last_slash_epoch);
|
|
175
|
+
}
|
|
165
176
|
return message;
|
|
166
177
|
},
|
|
167
178
|
toAmino(message) {
|
|
@@ -177,6 +188,7 @@ exports.VerifierActivity = {
|
|
|
177
188
|
obj.consecutive_upheld = message.consecutiveUpheld !== BigInt(0) ? message.consecutiveUpheld?.toString() : undefined;
|
|
178
189
|
obj.overturn_cooldown_until = message.overturnCooldownUntil !== BigInt(0) ? message.overturnCooldownUntil?.toString() : undefined;
|
|
179
190
|
obj.slash_count = message.slashCount !== BigInt(0) ? message.slashCount?.toString() : undefined;
|
|
191
|
+
obj.last_slash_epoch = message.lastSlashEpoch !== BigInt(0) ? message.lastSlashEpoch?.toString() : undefined;
|
|
180
192
|
return obj;
|
|
181
193
|
},
|
|
182
194
|
fromAminoMsg(object) {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
2
1
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
2
|
import { DeepPartial } from "../../../helpers";
|
|
4
3
|
/**
|
|
5
|
-
* Params defines the parameters for the module.
|
|
4
|
+
* Params defines the parameters for the module. Fee/cost fields are stored
|
|
5
|
+
* as bare amounts in the chain's bond denom (resolved at runtime from
|
|
6
|
+
* x/identity); the keeper wraps them into sdk.Coin at the point of use.
|
|
6
7
|
* @name Params
|
|
7
8
|
* @package sparkdream.forum.v1
|
|
8
9
|
* @see proto type: sparkdream.forum.v1.Params
|
|
@@ -33,37 +34,37 @@ export interface Params {
|
|
|
33
34
|
*/
|
|
34
35
|
editingEnabled: boolean;
|
|
35
36
|
/**
|
|
36
|
-
*
|
|
37
|
+
* spam_tax_amount charged to non-members for posting, in bond-denom micro-units.
|
|
37
38
|
*/
|
|
38
|
-
|
|
39
|
+
spamTaxAmount: string;
|
|
39
40
|
/**
|
|
40
|
-
*
|
|
41
|
+
* reaction_spam_tax_amount charged to non-members for reactions, in bond-denom micro-units.
|
|
41
42
|
*/
|
|
42
|
-
|
|
43
|
+
reactionSpamTaxAmount: string;
|
|
43
44
|
/**
|
|
44
|
-
*
|
|
45
|
+
* flag_spam_tax_amount charged to non-members for flagging, in bond-denom micro-units.
|
|
45
46
|
*/
|
|
46
|
-
|
|
47
|
+
flagSpamTaxAmount: string;
|
|
47
48
|
/**
|
|
48
|
-
*
|
|
49
|
+
* downvote_deposit_amount burned when downvoting, in bond-denom micro-units.
|
|
49
50
|
*/
|
|
50
|
-
|
|
51
|
+
downvoteDepositAmount: string;
|
|
51
52
|
/**
|
|
52
|
-
*
|
|
53
|
+
* appeal_fee_amount charged for appeals, in bond-denom micro-units.
|
|
53
54
|
*/
|
|
54
|
-
|
|
55
|
+
appealFeeAmount: string;
|
|
55
56
|
/**
|
|
56
|
-
*
|
|
57
|
+
* lock_appeal_fee_amount charged for thread lock appeals, in bond-denom micro-units.
|
|
57
58
|
*/
|
|
58
|
-
|
|
59
|
+
lockAppealFeeAmount: string;
|
|
59
60
|
/**
|
|
60
|
-
*
|
|
61
|
+
* move_appeal_fee_amount charged for thread move appeals, in bond-denom micro-units.
|
|
61
62
|
*/
|
|
62
|
-
|
|
63
|
+
moveAppealFeeAmount: string;
|
|
63
64
|
/**
|
|
64
|
-
*
|
|
65
|
+
* edit_fee_amount charged for edits past grace period, in bond-denom micro-units.
|
|
65
66
|
*/
|
|
66
|
-
|
|
67
|
+
editFeeAmount: string;
|
|
67
68
|
/**
|
|
68
69
|
* bounty_cancellation_fee_percent percentage of bounty taken on cancellation (0-100)
|
|
69
70
|
*/
|
|
@@ -117,9 +118,10 @@ export interface Params {
|
|
|
117
118
|
*/
|
|
118
119
|
moveAppealCooldown: bigint;
|
|
119
120
|
/**
|
|
120
|
-
*
|
|
121
|
+
* cost_per_byte_amount charged for on-chain content storage (applies to all
|
|
122
|
+
* posts, burned), in bond-denom micro-units.
|
|
121
123
|
*/
|
|
122
|
-
|
|
124
|
+
costPerByteAmount: string;
|
|
123
125
|
/**
|
|
124
126
|
* cost_per_byte_exempt when true, disables cost_per_byte fee collection
|
|
125
127
|
*/
|
|
@@ -167,13 +169,92 @@ export interface Params {
|
|
|
167
169
|
* governance can unhide. Analogous to edit_max_window for authors.
|
|
168
170
|
*/
|
|
169
171
|
sentinelUnhideWindow: bigint;
|
|
172
|
+
/**
|
|
173
|
+
* sentinel_unbond_cooldown is the number of seconds a sentinel's bond stays
|
|
174
|
+
* locked and slashable after MsgUnbondRole. During the cooldown, the
|
|
175
|
+
* BondedRole status is UNBONDING and forum action gates refuse authority.
|
|
176
|
+
* Propagated to x/rep BondedRoleConfig via SyncSentinelBondedRoleConfig.
|
|
177
|
+
* Zero = immediate withdrawal (legacy behavior).
|
|
178
|
+
*/
|
|
179
|
+
sentinelUnbondCooldown: bigint;
|
|
180
|
+
/**
|
|
181
|
+
* make_permanent_min_trust_level is the minimum trust level a caller of
|
|
182
|
+
* MsgMakePostPermanent must hold (0–4). Default PROVISIONAL (1) — lower
|
|
183
|
+
* than the sentinel-pin gate because preservation is a smaller curator
|
|
184
|
+
* action than featuring.
|
|
185
|
+
*/
|
|
186
|
+
makePermanentMinTrustLevel: number;
|
|
187
|
+
/**
|
|
188
|
+
* max_promotions_per_block bounds how many ephemeral posts the EndBlocker
|
|
189
|
+
* membership-promotion drain may flip per block. Bounds block gas; the
|
|
190
|
+
* remaining queue is processed in subsequent blocks.
|
|
191
|
+
*/
|
|
192
|
+
maxPromotionsPerBlock: number;
|
|
193
|
+
/**
|
|
194
|
+
* author_rep_slash is the per-tag reputation deduction applied to a post's
|
|
195
|
+
* author when ExpireHiddenPosts finalizes an unappealed sentinel hide.
|
|
196
|
+
* Deducted from the author's score in each tag the post carried.
|
|
197
|
+
* DeductReputation floors at zero, so authors with no rep in the tag take
|
|
198
|
+
* no harm — safe to ship before any forum-side rep-grant flow exists.
|
|
199
|
+
*/
|
|
200
|
+
authorRepSlash: string;
|
|
201
|
+
/**
|
|
202
|
+
* max_make_permanent_per_day caps MsgMakePostPermanent calls per address per
|
|
203
|
+
* UTC day. Independent of daily_post_limit — promoting an ephemeral to
|
|
204
|
+
* permanent is a distinct curator action with its own quota.
|
|
205
|
+
*/
|
|
206
|
+
maxMakePermanentPerDay: bigint;
|
|
207
|
+
/**
|
|
208
|
+
* min_post_conviction_stake is the minimum DREAM amount required to open a
|
|
209
|
+
* PostConvictionStake (math.Int string, e.g. "10000000" = 10 DREAM). Floors
|
|
210
|
+
* out sybil dust stakes that would otherwise farm the per-tag epoch cap with
|
|
211
|
+
* many tiny accounts.
|
|
212
|
+
*/
|
|
213
|
+
minPostConvictionStake: string;
|
|
214
|
+
/**
|
|
215
|
+
* post_conviction_lock_seconds is the DREAM-lock duration in seconds. A
|
|
216
|
+
* staker cannot call MsgReleasePostConviction before staked_at + this many
|
|
217
|
+
* seconds. Longer lock = more skin-in-the-game per uDREAM committed.
|
|
218
|
+
*/
|
|
219
|
+
postConvictionLockSeconds: bigint;
|
|
220
|
+
/**
|
|
221
|
+
* post_conviction_stream_rate_per_block is the per-DREAM-per-day rep
|
|
222
|
+
* accrual rate (math.LegacyDec). Despite the historical "per_block"
|
|
223
|
+
* suffix in the field name, the formula is unit-clean and time-based, not
|
|
224
|
+
* block-based:
|
|
225
|
+
* amount_dream = stake.amount_uDREAM / 1_000_000
|
|
226
|
+
* elapsed_days = (now - last_accrual_at) / 86400
|
|
227
|
+
* rep_credited_total = amount_dream * rate * elapsed_days
|
|
228
|
+
* rep_credited_per_tag = rep_credited_total / len(post.tags)
|
|
229
|
+
* The author's per-tag credit is then capped by
|
|
230
|
+
* max_forum_rep_per_tag_per_epoch (one epoch = one UTC day).
|
|
231
|
+
*/
|
|
232
|
+
postConvictionStreamRatePerBlock: string;
|
|
233
|
+
/**
|
|
234
|
+
* max_forum_rep_per_tag_per_epoch caps the per-tag forum rep an author may
|
|
235
|
+
* earn from conviction stakes in a single epoch (math.LegacyDec). Prevents
|
|
236
|
+
* a single tag from being flooded by many simultaneous stakes — excess
|
|
237
|
+
* accrual is silently dropped (no error, no refund) so honest stakers do not
|
|
238
|
+
* suffer from saturation they could not have foreseen.
|
|
239
|
+
*/
|
|
240
|
+
maxForumRepPerTagPerEpoch: string;
|
|
241
|
+
/**
|
|
242
|
+
* post_conviction_staker_slash_bps is the basis-points slash applied to the
|
|
243
|
+
* staker's locked DREAM when ExpireHiddenPosts finalizes a hide on the post
|
|
244
|
+
* (0-10000; 2500 = 25%). The slashed DREAM is burned. The non-slashed
|
|
245
|
+
* portion is unlocked back to the staker on the next MsgReleasePostConviction
|
|
246
|
+
* and the stake is closed.
|
|
247
|
+
*/
|
|
248
|
+
postConvictionStakerSlashBps: bigint;
|
|
170
249
|
}
|
|
171
250
|
export interface ParamsProtoMsg {
|
|
172
251
|
typeUrl: "/sparkdream.forum.v1.Params";
|
|
173
252
|
value: Uint8Array;
|
|
174
253
|
}
|
|
175
254
|
/**
|
|
176
|
-
* Params defines the parameters for the module.
|
|
255
|
+
* Params defines the parameters for the module. Fee/cost fields are stored
|
|
256
|
+
* as bare amounts in the chain's bond denom (resolved at runtime from
|
|
257
|
+
* x/identity); the keeper wraps them into sdk.Coin at the point of use.
|
|
177
258
|
* @name ParamsAmino
|
|
178
259
|
* @package sparkdream.forum.v1
|
|
179
260
|
* @see proto type: sparkdream.forum.v1.Params
|
|
@@ -204,37 +285,37 @@ export interface ParamsAmino {
|
|
|
204
285
|
*/
|
|
205
286
|
editing_enabled?: boolean;
|
|
206
287
|
/**
|
|
207
|
-
*
|
|
288
|
+
* spam_tax_amount charged to non-members for posting, in bond-denom micro-units.
|
|
208
289
|
*/
|
|
209
|
-
|
|
290
|
+
spam_tax_amount?: string;
|
|
210
291
|
/**
|
|
211
|
-
*
|
|
292
|
+
* reaction_spam_tax_amount charged to non-members for reactions, in bond-denom micro-units.
|
|
212
293
|
*/
|
|
213
|
-
|
|
294
|
+
reaction_spam_tax_amount?: string;
|
|
214
295
|
/**
|
|
215
|
-
*
|
|
296
|
+
* flag_spam_tax_amount charged to non-members for flagging, in bond-denom micro-units.
|
|
216
297
|
*/
|
|
217
|
-
|
|
298
|
+
flag_spam_tax_amount?: string;
|
|
218
299
|
/**
|
|
219
|
-
*
|
|
300
|
+
* downvote_deposit_amount burned when downvoting, in bond-denom micro-units.
|
|
220
301
|
*/
|
|
221
|
-
|
|
302
|
+
downvote_deposit_amount?: string;
|
|
222
303
|
/**
|
|
223
|
-
*
|
|
304
|
+
* appeal_fee_amount charged for appeals, in bond-denom micro-units.
|
|
224
305
|
*/
|
|
225
|
-
|
|
306
|
+
appeal_fee_amount?: string;
|
|
226
307
|
/**
|
|
227
|
-
*
|
|
308
|
+
* lock_appeal_fee_amount charged for thread lock appeals, in bond-denom micro-units.
|
|
228
309
|
*/
|
|
229
|
-
|
|
310
|
+
lock_appeal_fee_amount?: string;
|
|
230
311
|
/**
|
|
231
|
-
*
|
|
312
|
+
* move_appeal_fee_amount charged for thread move appeals, in bond-denom micro-units.
|
|
232
313
|
*/
|
|
233
|
-
|
|
314
|
+
move_appeal_fee_amount?: string;
|
|
234
315
|
/**
|
|
235
|
-
*
|
|
316
|
+
* edit_fee_amount charged for edits past grace period, in bond-denom micro-units.
|
|
236
317
|
*/
|
|
237
|
-
|
|
318
|
+
edit_fee_amount?: string;
|
|
238
319
|
/**
|
|
239
320
|
* bounty_cancellation_fee_percent percentage of bounty taken on cancellation (0-100)
|
|
240
321
|
*/
|
|
@@ -288,9 +369,10 @@ export interface ParamsAmino {
|
|
|
288
369
|
*/
|
|
289
370
|
move_appeal_cooldown?: string;
|
|
290
371
|
/**
|
|
291
|
-
*
|
|
372
|
+
* cost_per_byte_amount charged for on-chain content storage (applies to all
|
|
373
|
+
* posts, burned), in bond-denom micro-units.
|
|
292
374
|
*/
|
|
293
|
-
|
|
375
|
+
cost_per_byte_amount?: string;
|
|
294
376
|
/**
|
|
295
377
|
* cost_per_byte_exempt when true, disables cost_per_byte fee collection
|
|
296
378
|
*/
|
|
@@ -338,6 +420,83 @@ export interface ParamsAmino {
|
|
|
338
420
|
* governance can unhide. Analogous to edit_max_window for authors.
|
|
339
421
|
*/
|
|
340
422
|
sentinel_unhide_window?: string;
|
|
423
|
+
/**
|
|
424
|
+
* sentinel_unbond_cooldown is the number of seconds a sentinel's bond stays
|
|
425
|
+
* locked and slashable after MsgUnbondRole. During the cooldown, the
|
|
426
|
+
* BondedRole status is UNBONDING and forum action gates refuse authority.
|
|
427
|
+
* Propagated to x/rep BondedRoleConfig via SyncSentinelBondedRoleConfig.
|
|
428
|
+
* Zero = immediate withdrawal (legacy behavior).
|
|
429
|
+
*/
|
|
430
|
+
sentinel_unbond_cooldown?: string;
|
|
431
|
+
/**
|
|
432
|
+
* make_permanent_min_trust_level is the minimum trust level a caller of
|
|
433
|
+
* MsgMakePostPermanent must hold (0–4). Default PROVISIONAL (1) — lower
|
|
434
|
+
* than the sentinel-pin gate because preservation is a smaller curator
|
|
435
|
+
* action than featuring.
|
|
436
|
+
*/
|
|
437
|
+
make_permanent_min_trust_level?: number;
|
|
438
|
+
/**
|
|
439
|
+
* max_promotions_per_block bounds how many ephemeral posts the EndBlocker
|
|
440
|
+
* membership-promotion drain may flip per block. Bounds block gas; the
|
|
441
|
+
* remaining queue is processed in subsequent blocks.
|
|
442
|
+
*/
|
|
443
|
+
max_promotions_per_block?: number;
|
|
444
|
+
/**
|
|
445
|
+
* author_rep_slash is the per-tag reputation deduction applied to a post's
|
|
446
|
+
* author when ExpireHiddenPosts finalizes an unappealed sentinel hide.
|
|
447
|
+
* Deducted from the author's score in each tag the post carried.
|
|
448
|
+
* DeductReputation floors at zero, so authors with no rep in the tag take
|
|
449
|
+
* no harm — safe to ship before any forum-side rep-grant flow exists.
|
|
450
|
+
*/
|
|
451
|
+
author_rep_slash?: string;
|
|
452
|
+
/**
|
|
453
|
+
* max_make_permanent_per_day caps MsgMakePostPermanent calls per address per
|
|
454
|
+
* UTC day. Independent of daily_post_limit — promoting an ephemeral to
|
|
455
|
+
* permanent is a distinct curator action with its own quota.
|
|
456
|
+
*/
|
|
457
|
+
max_make_permanent_per_day?: string;
|
|
458
|
+
/**
|
|
459
|
+
* min_post_conviction_stake is the minimum DREAM amount required to open a
|
|
460
|
+
* PostConvictionStake (math.Int string, e.g. "10000000" = 10 DREAM). Floors
|
|
461
|
+
* out sybil dust stakes that would otherwise farm the per-tag epoch cap with
|
|
462
|
+
* many tiny accounts.
|
|
463
|
+
*/
|
|
464
|
+
min_post_conviction_stake?: string;
|
|
465
|
+
/**
|
|
466
|
+
* post_conviction_lock_seconds is the DREAM-lock duration in seconds. A
|
|
467
|
+
* staker cannot call MsgReleasePostConviction before staked_at + this many
|
|
468
|
+
* seconds. Longer lock = more skin-in-the-game per uDREAM committed.
|
|
469
|
+
*/
|
|
470
|
+
post_conviction_lock_seconds?: string;
|
|
471
|
+
/**
|
|
472
|
+
* post_conviction_stream_rate_per_block is the per-DREAM-per-day rep
|
|
473
|
+
* accrual rate (math.LegacyDec). Despite the historical "per_block"
|
|
474
|
+
* suffix in the field name, the formula is unit-clean and time-based, not
|
|
475
|
+
* block-based:
|
|
476
|
+
* amount_dream = stake.amount_uDREAM / 1_000_000
|
|
477
|
+
* elapsed_days = (now - last_accrual_at) / 86400
|
|
478
|
+
* rep_credited_total = amount_dream * rate * elapsed_days
|
|
479
|
+
* rep_credited_per_tag = rep_credited_total / len(post.tags)
|
|
480
|
+
* The author's per-tag credit is then capped by
|
|
481
|
+
* max_forum_rep_per_tag_per_epoch (one epoch = one UTC day).
|
|
482
|
+
*/
|
|
483
|
+
post_conviction_stream_rate_per_block?: string;
|
|
484
|
+
/**
|
|
485
|
+
* max_forum_rep_per_tag_per_epoch caps the per-tag forum rep an author may
|
|
486
|
+
* earn from conviction stakes in a single epoch (math.LegacyDec). Prevents
|
|
487
|
+
* a single tag from being flooded by many simultaneous stakes — excess
|
|
488
|
+
* accrual is silently dropped (no error, no refund) so honest stakers do not
|
|
489
|
+
* suffer from saturation they could not have foreseen.
|
|
490
|
+
*/
|
|
491
|
+
max_forum_rep_per_tag_per_epoch?: string;
|
|
492
|
+
/**
|
|
493
|
+
* post_conviction_staker_slash_bps is the basis-points slash applied to the
|
|
494
|
+
* staker's locked DREAM when ExpireHiddenPosts finalizes a hide on the post
|
|
495
|
+
* (0-10000; 2500 = 25%). The slashed DREAM is burned. The non-slashed
|
|
496
|
+
* portion is unlocked back to the staker on the next MsgReleasePostConviction
|
|
497
|
+
* and the stake is closed.
|
|
498
|
+
*/
|
|
499
|
+
post_conviction_staker_slash_bps?: string;
|
|
341
500
|
}
|
|
342
501
|
export interface ParamsAminoMsg {
|
|
343
502
|
type: "sparkdream/x/forum/Params";
|
|
@@ -360,17 +519,17 @@ export interface ForumOperationalParams {
|
|
|
360
519
|
reactionsEnabled: boolean;
|
|
361
520
|
editingEnabled: boolean;
|
|
362
521
|
/**
|
|
363
|
-
* Fees
|
|
364
|
-
*/
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
522
|
+
* Fees, all in bond-denom micro-units.
|
|
523
|
+
*/
|
|
524
|
+
spamTaxAmount: string;
|
|
525
|
+
reactionSpamTaxAmount: string;
|
|
526
|
+
flagSpamTaxAmount: string;
|
|
527
|
+
downvoteDepositAmount: string;
|
|
528
|
+
appealFeeAmount: string;
|
|
529
|
+
lockAppealFeeAmount: string;
|
|
530
|
+
moveAppealFeeAmount: string;
|
|
531
|
+
editFeeAmount: string;
|
|
532
|
+
costPerByteAmount: string;
|
|
374
533
|
costPerByteExempt: boolean;
|
|
375
534
|
/**
|
|
376
535
|
* Limits
|
|
@@ -439,6 +598,49 @@ export interface ForumOperationalParams {
|
|
|
439
598
|
* governance can unhide.
|
|
440
599
|
*/
|
|
441
600
|
sentinelUnhideWindow: bigint;
|
|
601
|
+
/**
|
|
602
|
+
* sentinel_unbond_cooldown is the number of seconds a sentinel's bond stays
|
|
603
|
+
* locked and slashable after MsgUnbondRole. During the cooldown the
|
|
604
|
+
* BondedRole is in UNBONDING status and forum action gates refuse
|
|
605
|
+
* authority. Zero = immediate withdrawal.
|
|
606
|
+
*/
|
|
607
|
+
sentinelUnbondCooldown: bigint;
|
|
608
|
+
/**
|
|
609
|
+
* make_permanent_min_trust_level — see Params.make_permanent_min_trust_level.
|
|
610
|
+
*/
|
|
611
|
+
makePermanentMinTrustLevel: number;
|
|
612
|
+
/**
|
|
613
|
+
* max_promotions_per_block — see Params.max_promotions_per_block.
|
|
614
|
+
*/
|
|
615
|
+
maxPromotionsPerBlock: number;
|
|
616
|
+
/**
|
|
617
|
+
* author_rep_slash — see Params.author_rep_slash.
|
|
618
|
+
*/
|
|
619
|
+
authorRepSlash: string;
|
|
620
|
+
/**
|
|
621
|
+
* max_make_permanent_per_day — see Params.max_make_permanent_per_day.
|
|
622
|
+
*/
|
|
623
|
+
maxMakePermanentPerDay: bigint;
|
|
624
|
+
/**
|
|
625
|
+
* min_post_conviction_stake — see Params.min_post_conviction_stake.
|
|
626
|
+
*/
|
|
627
|
+
minPostConvictionStake: string;
|
|
628
|
+
/**
|
|
629
|
+
* post_conviction_lock_seconds — see Params.post_conviction_lock_seconds.
|
|
630
|
+
*/
|
|
631
|
+
postConvictionLockSeconds: bigint;
|
|
632
|
+
/**
|
|
633
|
+
* post_conviction_stream_rate_per_block — see Params.post_conviction_stream_rate_per_block.
|
|
634
|
+
*/
|
|
635
|
+
postConvictionStreamRatePerBlock: string;
|
|
636
|
+
/**
|
|
637
|
+
* max_forum_rep_per_tag_per_epoch — see Params.max_forum_rep_per_tag_per_epoch.
|
|
638
|
+
*/
|
|
639
|
+
maxForumRepPerTagPerEpoch: string;
|
|
640
|
+
/**
|
|
641
|
+
* post_conviction_staker_slash_bps — see Params.post_conviction_staker_slash_bps.
|
|
642
|
+
*/
|
|
643
|
+
postConvictionStakerSlashBps: bigint;
|
|
442
644
|
}
|
|
443
645
|
export interface ForumOperationalParamsProtoMsg {
|
|
444
646
|
typeUrl: "/sparkdream.forum.v1.ForumOperationalParams";
|
|
@@ -461,17 +663,17 @@ export interface ForumOperationalParamsAmino {
|
|
|
461
663
|
reactions_enabled?: boolean;
|
|
462
664
|
editing_enabled?: boolean;
|
|
463
665
|
/**
|
|
464
|
-
* Fees
|
|
465
|
-
*/
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
666
|
+
* Fees, all in bond-denom micro-units.
|
|
667
|
+
*/
|
|
668
|
+
spam_tax_amount?: string;
|
|
669
|
+
reaction_spam_tax_amount?: string;
|
|
670
|
+
flag_spam_tax_amount?: string;
|
|
671
|
+
downvote_deposit_amount?: string;
|
|
672
|
+
appeal_fee_amount?: string;
|
|
673
|
+
lock_appeal_fee_amount?: string;
|
|
674
|
+
move_appeal_fee_amount?: string;
|
|
675
|
+
edit_fee_amount?: string;
|
|
676
|
+
cost_per_byte_amount?: string;
|
|
475
677
|
cost_per_byte_exempt?: boolean;
|
|
476
678
|
/**
|
|
477
679
|
* Limits
|
|
@@ -540,13 +742,58 @@ export interface ForumOperationalParamsAmino {
|
|
|
540
742
|
* governance can unhide.
|
|
541
743
|
*/
|
|
542
744
|
sentinel_unhide_window?: string;
|
|
745
|
+
/**
|
|
746
|
+
* sentinel_unbond_cooldown is the number of seconds a sentinel's bond stays
|
|
747
|
+
* locked and slashable after MsgUnbondRole. During the cooldown the
|
|
748
|
+
* BondedRole is in UNBONDING status and forum action gates refuse
|
|
749
|
+
* authority. Zero = immediate withdrawal.
|
|
750
|
+
*/
|
|
751
|
+
sentinel_unbond_cooldown?: string;
|
|
752
|
+
/**
|
|
753
|
+
* make_permanent_min_trust_level — see Params.make_permanent_min_trust_level.
|
|
754
|
+
*/
|
|
755
|
+
make_permanent_min_trust_level?: number;
|
|
756
|
+
/**
|
|
757
|
+
* max_promotions_per_block — see Params.max_promotions_per_block.
|
|
758
|
+
*/
|
|
759
|
+
max_promotions_per_block?: number;
|
|
760
|
+
/**
|
|
761
|
+
* author_rep_slash — see Params.author_rep_slash.
|
|
762
|
+
*/
|
|
763
|
+
author_rep_slash?: string;
|
|
764
|
+
/**
|
|
765
|
+
* max_make_permanent_per_day — see Params.max_make_permanent_per_day.
|
|
766
|
+
*/
|
|
767
|
+
max_make_permanent_per_day?: string;
|
|
768
|
+
/**
|
|
769
|
+
* min_post_conviction_stake — see Params.min_post_conviction_stake.
|
|
770
|
+
*/
|
|
771
|
+
min_post_conviction_stake?: string;
|
|
772
|
+
/**
|
|
773
|
+
* post_conviction_lock_seconds — see Params.post_conviction_lock_seconds.
|
|
774
|
+
*/
|
|
775
|
+
post_conviction_lock_seconds?: string;
|
|
776
|
+
/**
|
|
777
|
+
* post_conviction_stream_rate_per_block — see Params.post_conviction_stream_rate_per_block.
|
|
778
|
+
*/
|
|
779
|
+
post_conviction_stream_rate_per_block?: string;
|
|
780
|
+
/**
|
|
781
|
+
* max_forum_rep_per_tag_per_epoch — see Params.max_forum_rep_per_tag_per_epoch.
|
|
782
|
+
*/
|
|
783
|
+
max_forum_rep_per_tag_per_epoch?: string;
|
|
784
|
+
/**
|
|
785
|
+
* post_conviction_staker_slash_bps — see Params.post_conviction_staker_slash_bps.
|
|
786
|
+
*/
|
|
787
|
+
post_conviction_staker_slash_bps?: string;
|
|
543
788
|
}
|
|
544
789
|
export interface ForumOperationalParamsAminoMsg {
|
|
545
790
|
type: "sparkdream/x/forum/ForumOperationalParams";
|
|
546
791
|
value: ForumOperationalParamsAmino;
|
|
547
792
|
}
|
|
548
793
|
/**
|
|
549
|
-
* Params defines the parameters for the module.
|
|
794
|
+
* Params defines the parameters for the module. Fee/cost fields are stored
|
|
795
|
+
* as bare amounts in the chain's bond denom (resolved at runtime from
|
|
796
|
+
* x/identity); the keeper wraps them into sdk.Coin at the point of use.
|
|
550
797
|
* @name Params
|
|
551
798
|
* @package sparkdream.forum.v1
|
|
552
799
|
* @see proto type: sparkdream.forum.v1.Params
|