@sparkdreamnft/sparkdreamjs 0.0.8 → 0.0.10
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 +76 -76
- package/esm/sparkdream/blog/v1/params.js +25 -1
- package/esm/sparkdream/blog/v1/post.js +16 -1
- package/esm/sparkdream/blog/v1/query.js +165 -0
- package/esm/sparkdream/blog/v1/query.lcd.js +11 -0
- package/esm/sparkdream/blog/v1/query.rpc.Query.js +10 -1
- package/esm/sparkdream/blog/v1/tx.js +32 -2
- package/esm/sparkdream/bundle.js +367 -327
- package/esm/sparkdream/client.js +4 -1
- package/esm/sparkdream/collect/v1/curator_activity.js +158 -0
- package/esm/sparkdream/collect/v1/genesis.js +12 -11
- package/esm/sparkdream/collect/v1/params.js +37 -1
- package/esm/sparkdream/collect/v1/query.js +201 -186
- package/esm/sparkdream/collect/v1/query.lcd.js +16 -16
- package/esm/sparkdream/collect/v1/query.rpc.Query.js +19 -19
- package/esm/sparkdream/collect/v1/tx.amino.js +1 -11
- package/esm/sparkdream/collect/v1/tx.js +0 -258
- package/esm/sparkdream/collect/v1/tx.registry.js +2 -38
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +3 -14
- package/esm/sparkdream/collect/v1/types.js +50 -143
- package/esm/sparkdream/{forum → commons}/v1/category.js +7 -5
- package/esm/sparkdream/commons/v1/genesis.js +29 -1
- package/esm/sparkdream/commons/v1/query.js +292 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +18 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +21 -1
- package/esm/sparkdream/commons/v1/tx.amino.js +6 -1
- package/esm/sparkdream/commons/v1/tx.js +193 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +20 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +8 -1
- package/esm/sparkdream/federation/module/v1/module.js +71 -0
- package/esm/sparkdream/federation/v1/genesis.js +245 -0
- package/esm/sparkdream/federation/v1/packet.js +810 -0
- package/esm/sparkdream/federation/v1/params.js +789 -0
- package/esm/sparkdream/federation/v1/query.js +2479 -0
- package/esm/sparkdream/federation/v1/query.lcd.js +142 -0
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +181 -0
- package/esm/sparkdream/federation/v1/tx.amino.js +129 -0
- package/esm/sparkdream/federation/v1/tx.js +3929 -0
- package/esm/sparkdream/federation/v1/tx.registry.js +465 -0
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +163 -0
- package/esm/sparkdream/federation/v1/types.js +2266 -0
- package/esm/sparkdream/federation/v1/verifier_activity.js +194 -0
- package/esm/sparkdream/forum/v1/genesis.js +26 -250
- package/esm/sparkdream/forum/v1/params.js +146 -2
- package/esm/sparkdream/forum/v1/query.js +2084 -7387
- package/esm/sparkdream/forum/v1/query.lcd.js +0 -310
- package/esm/sparkdream/forum/v1/query.rpc.Query.js +1 -339
- package/esm/sparkdream/forum/v1/sentinel_activity.js +46 -139
- package/esm/sparkdream/forum/v1/tx.amino.js +1 -76
- package/esm/sparkdream/forum/v1/tx.js +333 -2628
- package/esm/sparkdream/forum/v1/tx.registry.js +2 -272
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +1 -91
- package/esm/sparkdream/forum/v1/types.js +0 -216
- package/esm/sparkdream/futarchy/v1/market.js +13 -1
- package/esm/sparkdream/lcd.js +5 -0
- package/esm/sparkdream/rep/v1/accountability.js +172 -0
- package/esm/sparkdream/rep/v1/bonded_role.js +446 -0
- package/esm/sparkdream/rep/v1/genesis.js +224 -1
- package/esm/sparkdream/{forum → rep}/v1/gov_action_appeal.js +4 -4
- package/esm/sparkdream/{forum → rep}/v1/jury_participation.js +4 -4
- package/esm/sparkdream/rep/v1/member.js +25 -1
- package/esm/sparkdream/{forum → rep}/v1/member_report.js +102 -5
- package/esm/sparkdream/{forum → rep}/v1/member_warning.js +4 -4
- package/esm/sparkdream/rep/v1/params.js +782 -254
- package/esm/sparkdream/rep/v1/project.js +13 -1
- package/esm/sparkdream/rep/v1/query.js +5251 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +293 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +334 -1
- package/esm/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
- package/esm/sparkdream/{common → rep}/v1/tag.js +6 -6
- package/esm/sparkdream/{forum → rep}/v1/tag_budget.js +4 -4
- package/esm/sparkdream/{forum → rep}/v1/tag_budget_award.js +4 -4
- package/esm/sparkdream/{forum → rep}/v1/tag_report.js +4 -4
- package/esm/sparkdream/rep/v1/tx.amino.js +81 -1
- package/esm/sparkdream/rep/v1/tx.js +2467 -0
- package/esm/sparkdream/rep/v1/tx.registry.js +290 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +104 -1
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -0
- package/esm/sparkdream/season/v1/enums.js +10 -0
- package/esm/sparkdream/season/v1/params.js +94 -46
- package/esm/sparkdream/shield/v1/types.js +47 -5
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +90 -90
- package/ibc/bundle.js +76 -76
- package/package.json +1 -1
- package/sparkdream/blog/v1/params.d.ts +16 -0
- package/sparkdream/blog/v1/params.js +25 -1
- package/sparkdream/blog/v1/post.d.ts +8 -0
- package/sparkdream/blog/v1/post.js +16 -1
- package/sparkdream/blog/v1/query.d.ts +92 -0
- package/sparkdream/blog/v1/query.js +166 -1
- package/sparkdream/blog/v1/query.lcd.d.ts +2 -1
- package/sparkdream/blog/v1/query.lcd.js +11 -0
- package/sparkdream/blog/v1/query.rpc.Query.d.ts +5 -1
- package/sparkdream/blog/v1/query.rpc.Query.js +9 -0
- package/sparkdream/blog/v1/tx.d.ts +16 -0
- package/sparkdream/blog/v1/tx.js +32 -2
- package/sparkdream/bundle.d.ts +14529 -12577
- package/sparkdream/bundle.js +367 -327
- package/sparkdream/client.d.ts +192 -67
- package/sparkdream/client.js +4 -1
- package/sparkdream/collect/v1/curator_activity.d.ts +123 -0
- package/sparkdream/collect/v1/curator_activity.js +161 -0
- package/sparkdream/collect/v1/genesis.d.ts +4 -3
- package/sparkdream/collect/v1/genesis.js +11 -10
- package/sparkdream/collect/v1/params.d.ts +32 -0
- package/sparkdream/collect/v1/params.js +37 -1
- package/sparkdream/collect/v1/query.d.ts +142 -133
- package/sparkdream/collect/v1/query.js +201 -186
- package/sparkdream/collect/v1/query.lcd.d.ts +3 -3
- package/sparkdream/collect/v1/query.lcd.js +16 -16
- package/sparkdream/collect/v1/query.rpc.Query.d.ts +13 -7
- package/sparkdream/collect/v1/query.rpc.Query.js +18 -18
- package/sparkdream/collect/v1/tx.amino.d.ts +1 -11
- package/sparkdream/collect/v1/tx.amino.js +0 -10
- package/sparkdream/collect/v1/tx.d.ts +0 -162
- package/sparkdream/collect/v1/tx.js +2 -260
- package/sparkdream/collect/v1/tx.registry.d.ts +1 -25
- package/sparkdream/collect/v1/tx.registry.js +1 -37
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +5 -5
- package/sparkdream/collect/v1/tx.rpc.msg.js +2 -13
- package/sparkdream/collect/v1/types.d.ts +26 -56
- package/sparkdream/collect/v1/types.js +51 -144
- package/sparkdream/{forum → commons}/v1/category.d.ts +17 -11
- package/sparkdream/{forum → commons}/v1/category.js +7 -5
- package/sparkdream/commons/v1/genesis.d.ts +17 -0
- package/sparkdream/commons/v1/genesis.js +29 -1
- package/sparkdream/commons/v1/query.d.ts +179 -0
- package/sparkdream/commons/v1/query.js +293 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
- package/sparkdream/commons/v1/query.lcd.js +18 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +9 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +20 -0
- package/sparkdream/commons/v1/tx.amino.d.ts +6 -1
- package/sparkdream/commons/v1/tx.amino.js +5 -0
- package/sparkdream/commons/v1/tx.d.ts +98 -0
- package/sparkdream/commons/v1/tx.js +194 -1
- package/sparkdream/commons/v1/tx.registry.d.ts +13 -1
- package/sparkdream/commons/v1/tx.registry.js +19 -1
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +7 -0
- package/sparkdream/federation/module/v1/module.d.ts +54 -0
- package/sparkdream/federation/module/v1/module.js +74 -0
- package/sparkdream/federation/v1/genesis.d.ts +79 -0
- package/sparkdream/federation/v1/genesis.js +248 -0
- package/sparkdream/federation/v1/packet.d.ts +397 -0
- package/sparkdream/federation/v1/packet.js +813 -0
- package/sparkdream/federation/v1/params.d.ts +272 -0
- package/sparkdream/federation/v1/params.js +792 -0
- package/sparkdream/federation/v1/query.d.ts +1458 -0
- package/sparkdream/federation/v1/query.js +2482 -0
- package/sparkdream/federation/v1/query.lcd.d.ts +25 -0
- package/sparkdream/federation/v1/query.lcd.js +146 -0
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +69 -0
- package/sparkdream/federation/v1/query.rpc.Query.js +186 -0
- package/sparkdream/federation/v1/tx.amino.d.ts +128 -0
- package/sparkdream/federation/v1/tx.amino.js +132 -0
- package/sparkdream/federation/v1/tx.d.ts +2147 -0
- package/sparkdream/federation/v1/tx.js +3932 -0
- package/sparkdream/federation/v1/tx.registry.d.ts +313 -0
- package/sparkdream/federation/v1/tx.registry.js +469 -0
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +65 -0
- package/sparkdream/federation/v1/tx.rpc.msg.js +168 -0
- package/sparkdream/federation/v1/types.d.ts +810 -0
- package/sparkdream/federation/v1/types.js +2281 -0
- package/sparkdream/federation/v1/verifier_activity.d.ts +113 -0
- package/sparkdream/federation/v1/verifier_activity.js +197 -0
- package/sparkdream/forum/v1/genesis.d.ts +0 -41
- package/sparkdream/forum/v1/genesis.js +26 -250
- package/sparkdream/forum/v1/params.d.ts +112 -0
- package/sparkdream/forum/v1/params.js +146 -2
- package/sparkdream/forum/v1/query.d.ts +65 -3164
- package/sparkdream/forum/v1/query.js +2086 -7391
- package/sparkdream/forum/v1/query.lcd.d.ts +1 -35
- package/sparkdream/forum/v1/query.lcd.js +0 -310
- package/sparkdream/forum/v1/query.rpc.Query.d.ts +1 -137
- package/sparkdream/forum/v1/query.rpc.Query.js +0 -338
- package/sparkdream/forum/v1/sentinel_activity.d.ts +9 -20
- package/sparkdream/forum/v1/sentinel_activity.js +46 -139
- package/sparkdream/forum/v1/tx.amino.d.ts +1 -76
- package/sparkdream/forum/v1/tx.amino.js +0 -75
- package/sparkdream/forum/v1/tx.d.ts +85 -1445
- package/sparkdream/forum/v1/tx.js +335 -2630
- package/sparkdream/forum/v1/tx.registry.d.ts +1 -181
- package/sparkdream/forum/v1/tx.registry.js +1 -271
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +1 -46
- package/sparkdream/forum/v1/tx.rpc.msg.js +0 -90
- package/sparkdream/forum/v1/types.d.ts +0 -50
- package/sparkdream/forum/v1/types.js +1 -225
- package/sparkdream/futarchy/v1/market.d.ts +14 -0
- package/sparkdream/futarchy/v1/market.js +13 -1
- package/sparkdream/lcd.d.ts +3 -0
- package/sparkdream/lcd.js +5 -0
- package/sparkdream/rep/v1/accountability.d.ts +39 -0
- package/sparkdream/rep/v1/accountability.js +181 -0
- package/sparkdream/rep/v1/bonded_role.d.ts +330 -0
- package/sparkdream/rep/v1/bonded_role.js +453 -0
- package/sparkdream/rep/v1/genesis.d.ts +70 -0
- package/sparkdream/rep/v1/genesis.js +224 -1
- package/sparkdream/{forum → rep}/v1/gov_action_appeal.d.ts +9 -9
- package/sparkdream/{forum → rep}/v1/gov_action_appeal.js +4 -4
- package/sparkdream/{forum → rep}/v1/jury_participation.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/jury_participation.js +4 -4
- package/sparkdream/rep/v1/member.d.ts +16 -0
- package/sparkdream/rep/v1/member.js +25 -1
- package/sparkdream/rep/v1/member_report.d.ts +128 -0
- package/sparkdream/{forum → rep}/v1/member_report.js +103 -6
- package/sparkdream/{forum → rep}/v1/member_warning.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/member_warning.js +4 -4
- package/sparkdream/rep/v1/params.d.ts +352 -8
- package/sparkdream/rep/v1/params.js +782 -254
- package/sparkdream/rep/v1/project.d.ts +10 -0
- package/sparkdream/rep/v1/project.js +13 -1
- package/sparkdream/rep/v1/query.d.ts +4222 -1156
- package/sparkdream/rep/v1/query.js +5254 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +35 -1
- package/sparkdream/rep/v1/query.lcd.js +293 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +140 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +333 -0
- package/sparkdream/{common → rep}/v1/reserved_tag.d.ts +11 -11
- package/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
- package/sparkdream/{common → rep}/v1/tag.d.ts +14 -14
- package/sparkdream/{common → rep}/v1/tag.js +6 -6
- package/sparkdream/{forum → rep}/v1/tag_budget.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/tag_budget.js +4 -4
- package/sparkdream/{forum → rep}/v1/tag_budget_award.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/tag_budget_award.js +4 -4
- package/sparkdream/{forum → rep}/v1/tag_report.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/tag_report.js +4 -4
- package/sparkdream/rep/v1/tx.amino.d.ts +81 -1
- package/sparkdream/rep/v1/tx.amino.js +80 -0
- package/sparkdream/rep/v1/tx.d.ts +1484 -0
- package/sparkdream/rep/v1/tx.js +2468 -1
- package/sparkdream/rep/v1/tx.registry.d.ts +193 -1
- package/sparkdream/rep/v1/tx.registry.js +289 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +64 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +103 -0
- package/sparkdream/rpc.query.d.ts +60 -36
- package/sparkdream/rpc.query.js +3 -0
- package/sparkdream/rpc.tx.d.ts +3 -0
- package/sparkdream/rpc.tx.js +3 -0
- package/sparkdream/season/v1/enums.d.ts +5 -0
- package/sparkdream/season/v1/enums.js +10 -0
- package/sparkdream/season/v1/params.d.ts +36 -4
- package/sparkdream/season/v1/params.js +94 -46
- package/sparkdream/shield/v1/types.d.ts +28 -0
- package/sparkdream/shield/v1/types.js +47 -5
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/esm/sparkdream/forum/v1/member_salvation_status.js +0 -119
- package/sparkdream/forum/v1/member_report.d.ts +0 -67
- package/sparkdream/forum/v1/member_salvation_status.d.ts +0 -54
- package/sparkdream/forum/v1/member_salvation_status.js +0 -122
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MemberReport = void 0;
|
|
3
|
+
exports.ReporterBondEntry = exports.MemberReport = void 0;
|
|
4
4
|
const binary_1 = require("../../../binary");
|
|
5
5
|
function createBaseMemberReport() {
|
|
6
6
|
return {
|
|
@@ -14,17 +14,18 @@ function createBaseMemberReport() {
|
|
|
14
14
|
defenseSubmittedAt: BigInt(0),
|
|
15
15
|
reporters: [],
|
|
16
16
|
evidencePostIds: [],
|
|
17
|
-
defensePostIds: []
|
|
17
|
+
defensePostIds: [],
|
|
18
|
+
reporterBonds: []
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
/**
|
|
21
22
|
* MemberReport defines the MemberReport message.
|
|
22
23
|
* @name MemberReport
|
|
23
|
-
* @package sparkdream.
|
|
24
|
-
* @see proto type: sparkdream.
|
|
24
|
+
* @package sparkdream.rep.v1
|
|
25
|
+
* @see proto type: sparkdream.rep.v1.MemberReport
|
|
25
26
|
*/
|
|
26
27
|
exports.MemberReport = {
|
|
27
|
-
typeUrl: "/sparkdream.
|
|
28
|
+
typeUrl: "/sparkdream.rep.v1.MemberReport",
|
|
28
29
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
29
30
|
if (message.member !== "") {
|
|
30
31
|
writer.uint32(10).string(message.member);
|
|
@@ -63,6 +64,9 @@ exports.MemberReport = {
|
|
|
63
64
|
writer.uint64(v);
|
|
64
65
|
}
|
|
65
66
|
writer.ldelim();
|
|
67
|
+
for (const v of message.reporterBonds) {
|
|
68
|
+
exports.ReporterBondEntry.encode(v, writer.uint32(106).fork()).ldelim();
|
|
69
|
+
}
|
|
66
70
|
return writer;
|
|
67
71
|
},
|
|
68
72
|
decode(input, length) {
|
|
@@ -121,6 +125,9 @@ exports.MemberReport = {
|
|
|
121
125
|
message.defensePostIds.push(reader.uint64());
|
|
122
126
|
}
|
|
123
127
|
break;
|
|
128
|
+
case 13:
|
|
129
|
+
message.reporterBonds.push(exports.ReporterBondEntry.decode(reader, reader.uint32()));
|
|
130
|
+
break;
|
|
124
131
|
default:
|
|
125
132
|
reader.skipType(tag & 7);
|
|
126
133
|
break;
|
|
@@ -141,6 +148,7 @@ exports.MemberReport = {
|
|
|
141
148
|
message.reporters = object.reporters?.map(e => e) || [];
|
|
142
149
|
message.evidencePostIds = object.evidencePostIds?.map(e => BigInt(e.toString())) || [];
|
|
143
150
|
message.defensePostIds = object.defensePostIds?.map(e => BigInt(e.toString())) || [];
|
|
151
|
+
message.reporterBonds = object.reporterBonds?.map(e => exports.ReporterBondEntry.fromPartial(e)) || [];
|
|
144
152
|
return message;
|
|
145
153
|
},
|
|
146
154
|
fromAmino(object) {
|
|
@@ -172,6 +180,7 @@ exports.MemberReport = {
|
|
|
172
180
|
message.reporters = object.reporters?.map(e => e) || [];
|
|
173
181
|
message.evidencePostIds = object.evidence_post_ids?.map(e => BigInt(e)) || [];
|
|
174
182
|
message.defensePostIds = object.defense_post_ids?.map(e => BigInt(e)) || [];
|
|
183
|
+
message.reporterBonds = object.reporter_bonds?.map(e => exports.ReporterBondEntry.fromAmino(e)) || [];
|
|
175
184
|
return message;
|
|
176
185
|
},
|
|
177
186
|
toAmino(message) {
|
|
@@ -202,6 +211,12 @@ exports.MemberReport = {
|
|
|
202
211
|
else {
|
|
203
212
|
obj.defense_post_ids = message.defensePostIds;
|
|
204
213
|
}
|
|
214
|
+
if (message.reporterBonds) {
|
|
215
|
+
obj.reporter_bonds = message.reporterBonds.map(e => e ? exports.ReporterBondEntry.toAmino(e) : undefined);
|
|
216
|
+
}
|
|
217
|
+
else {
|
|
218
|
+
obj.reporter_bonds = message.reporterBonds;
|
|
219
|
+
}
|
|
205
220
|
return obj;
|
|
206
221
|
},
|
|
207
222
|
fromAminoMsg(object) {
|
|
@@ -215,8 +230,90 @@ exports.MemberReport = {
|
|
|
215
230
|
},
|
|
216
231
|
toProtoMsg(message) {
|
|
217
232
|
return {
|
|
218
|
-
typeUrl: "/sparkdream.
|
|
233
|
+
typeUrl: "/sparkdream.rep.v1.MemberReport",
|
|
219
234
|
value: exports.MemberReport.encode(message).finish()
|
|
220
235
|
};
|
|
221
236
|
}
|
|
222
237
|
};
|
|
238
|
+
function createBaseReporterBondEntry() {
|
|
239
|
+
return {
|
|
240
|
+
address: "",
|
|
241
|
+
amount: ""
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* ReporterBondEntry tracks the DREAM amount locked by a specific reporter
|
|
246
|
+
* or cosigner against a member report.
|
|
247
|
+
* @name ReporterBondEntry
|
|
248
|
+
* @package sparkdream.rep.v1
|
|
249
|
+
* @see proto type: sparkdream.rep.v1.ReporterBondEntry
|
|
250
|
+
*/
|
|
251
|
+
exports.ReporterBondEntry = {
|
|
252
|
+
typeUrl: "/sparkdream.rep.v1.ReporterBondEntry",
|
|
253
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
254
|
+
if (message.address !== "") {
|
|
255
|
+
writer.uint32(10).string(message.address);
|
|
256
|
+
}
|
|
257
|
+
if (message.amount !== "") {
|
|
258
|
+
writer.uint32(18).string(message.amount);
|
|
259
|
+
}
|
|
260
|
+
return writer;
|
|
261
|
+
},
|
|
262
|
+
decode(input, length) {
|
|
263
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
264
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
265
|
+
const message = createBaseReporterBondEntry();
|
|
266
|
+
while (reader.pos < end) {
|
|
267
|
+
const tag = reader.uint32();
|
|
268
|
+
switch (tag >>> 3) {
|
|
269
|
+
case 1:
|
|
270
|
+
message.address = reader.string();
|
|
271
|
+
break;
|
|
272
|
+
case 2:
|
|
273
|
+
message.amount = reader.string();
|
|
274
|
+
break;
|
|
275
|
+
default:
|
|
276
|
+
reader.skipType(tag & 7);
|
|
277
|
+
break;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
return message;
|
|
281
|
+
},
|
|
282
|
+
fromPartial(object) {
|
|
283
|
+
const message = createBaseReporterBondEntry();
|
|
284
|
+
message.address = object.address ?? "";
|
|
285
|
+
message.amount = object.amount ?? "";
|
|
286
|
+
return message;
|
|
287
|
+
},
|
|
288
|
+
fromAmino(object) {
|
|
289
|
+
const message = createBaseReporterBondEntry();
|
|
290
|
+
if (object.address !== undefined && object.address !== null) {
|
|
291
|
+
message.address = object.address;
|
|
292
|
+
}
|
|
293
|
+
if (object.amount !== undefined && object.amount !== null) {
|
|
294
|
+
message.amount = object.amount;
|
|
295
|
+
}
|
|
296
|
+
return message;
|
|
297
|
+
},
|
|
298
|
+
toAmino(message) {
|
|
299
|
+
const obj = {};
|
|
300
|
+
obj.address = message.address === "" ? undefined : message.address;
|
|
301
|
+
obj.amount = message.amount === "" ? undefined : message.amount;
|
|
302
|
+
return obj;
|
|
303
|
+
},
|
|
304
|
+
fromAminoMsg(object) {
|
|
305
|
+
return exports.ReporterBondEntry.fromAmino(object.value);
|
|
306
|
+
},
|
|
307
|
+
fromProtoMsg(message) {
|
|
308
|
+
return exports.ReporterBondEntry.decode(message.value);
|
|
309
|
+
},
|
|
310
|
+
toProto(message) {
|
|
311
|
+
return exports.ReporterBondEntry.encode(message).finish();
|
|
312
|
+
},
|
|
313
|
+
toProtoMsg(message) {
|
|
314
|
+
return {
|
|
315
|
+
typeUrl: "/sparkdream.rep.v1.ReporterBondEntry",
|
|
316
|
+
value: exports.ReporterBondEntry.encode(message).finish()
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
};
|
|
@@ -3,8 +3,8 @@ import { DeepPartial } from "../../../helpers";
|
|
|
3
3
|
/**
|
|
4
4
|
* MemberWarning defines the MemberWarning message.
|
|
5
5
|
* @name MemberWarning
|
|
6
|
-
* @package sparkdream.
|
|
7
|
-
* @see proto type: sparkdream.
|
|
6
|
+
* @package sparkdream.rep.v1
|
|
7
|
+
* @see proto type: sparkdream.rep.v1.MemberWarning
|
|
8
8
|
*/
|
|
9
9
|
export interface MemberWarning {
|
|
10
10
|
id: bigint;
|
|
@@ -16,14 +16,14 @@ export interface MemberWarning {
|
|
|
16
16
|
evidencePostIds: bigint[];
|
|
17
17
|
}
|
|
18
18
|
export interface MemberWarningProtoMsg {
|
|
19
|
-
typeUrl: "/sparkdream.
|
|
19
|
+
typeUrl: "/sparkdream.rep.v1.MemberWarning";
|
|
20
20
|
value: Uint8Array;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* MemberWarning defines the MemberWarning message.
|
|
24
24
|
* @name MemberWarningAmino
|
|
25
|
-
* @package sparkdream.
|
|
26
|
-
* @see proto type: sparkdream.
|
|
25
|
+
* @package sparkdream.rep.v1
|
|
26
|
+
* @see proto type: sparkdream.rep.v1.MemberWarning
|
|
27
27
|
*/
|
|
28
28
|
export interface MemberWarningAmino {
|
|
29
29
|
id?: string;
|
|
@@ -35,14 +35,14 @@ export interface MemberWarningAmino {
|
|
|
35
35
|
evidence_post_ids?: string[];
|
|
36
36
|
}
|
|
37
37
|
export interface MemberWarningAminoMsg {
|
|
38
|
-
type: "/sparkdream.
|
|
38
|
+
type: "/sparkdream.rep.v1.MemberWarning";
|
|
39
39
|
value: MemberWarningAmino;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* MemberWarning defines the MemberWarning message.
|
|
43
43
|
* @name MemberWarning
|
|
44
|
-
* @package sparkdream.
|
|
45
|
-
* @see proto type: sparkdream.
|
|
44
|
+
* @package sparkdream.rep.v1
|
|
45
|
+
* @see proto type: sparkdream.rep.v1.MemberWarning
|
|
46
46
|
*/
|
|
47
47
|
export declare const MemberWarning: {
|
|
48
48
|
typeUrl: string;
|
|
@@ -17,11 +17,11 @@ function createBaseMemberWarning() {
|
|
|
17
17
|
/**
|
|
18
18
|
* MemberWarning defines the MemberWarning message.
|
|
19
19
|
* @name MemberWarning
|
|
20
|
-
* @package sparkdream.
|
|
21
|
-
* @see proto type: sparkdream.
|
|
20
|
+
* @package sparkdream.rep.v1
|
|
21
|
+
* @see proto type: sparkdream.rep.v1.MemberWarning
|
|
22
22
|
*/
|
|
23
23
|
exports.MemberWarning = {
|
|
24
|
-
typeUrl: "/sparkdream.
|
|
24
|
+
typeUrl: "/sparkdream.rep.v1.MemberWarning",
|
|
25
25
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
26
26
|
if (message.id !== BigInt(0)) {
|
|
27
27
|
writer.uint32(8).uint64(message.id);
|
|
@@ -152,7 +152,7 @@ exports.MemberWarning = {
|
|
|
152
152
|
},
|
|
153
153
|
toProtoMsg(message) {
|
|
154
154
|
return {
|
|
155
|
-
typeUrl: "/sparkdream.
|
|
155
|
+
typeUrl: "/sparkdream.rep.v1.MemberWarning",
|
|
156
156
|
value: exports.MemberWarning.encode(message).finish()
|
|
157
157
|
};
|
|
158
158
|
}
|
|
@@ -105,7 +105,6 @@ export interface Params {
|
|
|
105
105
|
/**
|
|
106
106
|
* DREAM economics
|
|
107
107
|
*/
|
|
108
|
-
stakingApy: string;
|
|
109
108
|
unstakedDecayRate: string;
|
|
110
109
|
transferTaxRate: string;
|
|
111
110
|
maxTipAmount: string;
|
|
@@ -180,7 +179,6 @@ export interface Params {
|
|
|
180
179
|
/**
|
|
181
180
|
* Extended staking
|
|
182
181
|
*/
|
|
183
|
-
projectStakingApy: string;
|
|
184
182
|
projectCompletionBonusRate: string;
|
|
185
183
|
memberStakeRevenueShare: string;
|
|
186
184
|
tagStakeRevenueShare: string;
|
|
@@ -244,6 +242,113 @@ export interface Params {
|
|
|
244
242
|
* Max reputation any member can earn per tag per epoch (default 50)
|
|
245
243
|
*/
|
|
246
244
|
maxReputationGainPerEpoch: string;
|
|
245
|
+
/**
|
|
246
|
+
* Seasonal staking reward pool
|
|
247
|
+
*/
|
|
248
|
+
maxStakingRewardsPerSeason: string;
|
|
249
|
+
/**
|
|
250
|
+
* Per-epoch decay on staked DREAM (default 0.05% = 0.0005)
|
|
251
|
+
*/
|
|
252
|
+
stakedDecayRate: string;
|
|
253
|
+
/**
|
|
254
|
+
* Epochs new members are exempt from decay (default 30 ~1 month)
|
|
255
|
+
*/
|
|
256
|
+
newMemberDecayGraceEpochs: bigint;
|
|
257
|
+
/**
|
|
258
|
+
* Treasury management
|
|
259
|
+
*/
|
|
260
|
+
maxTreasuryBalance: string;
|
|
261
|
+
/**
|
|
262
|
+
* Pay interims from treasury first, mint only if empty (default true)
|
|
263
|
+
*/
|
|
264
|
+
treasuryFundsInterims: boolean;
|
|
265
|
+
/**
|
|
266
|
+
* Pay retro PGF from treasury first, mint remainder (default true)
|
|
267
|
+
*/
|
|
268
|
+
treasuryFundsRetroPgf: boolean;
|
|
269
|
+
/**
|
|
270
|
+
* Anti-whale staking cap: max DREAM one member can stake on a single initiative (default 50,000 DREAM)
|
|
271
|
+
* Prevents reward pool extraction — conviction is already capped by max_conviction_share_per_member,
|
|
272
|
+
* but without this cap, a whale can stake disproportionately and extract most seasonal staking rewards.
|
|
273
|
+
*/
|
|
274
|
+
maxInitiativeStakePerMember: string;
|
|
275
|
+
/**
|
|
276
|
+
* Per-season cap on total DREAM minted via initiative completion rewards (default 100,000 DREAM).
|
|
277
|
+
* Bounds total extraction even if colluding members rubber-stamp initiatives.
|
|
278
|
+
*/
|
|
279
|
+
maxInitiativeRewardsPerSeason: string;
|
|
280
|
+
/**
|
|
281
|
+
* Projects with approved budget above this threshold require council proposal approval
|
|
282
|
+
* instead of single Operations Committee member approval (default 10,000 DREAM).
|
|
283
|
+
*/
|
|
284
|
+
largeProjectBudgetThreshold: string;
|
|
285
|
+
/**
|
|
286
|
+
* Permissionless creation fees (burned on creation — anti-spam + deflationary)
|
|
287
|
+
*/
|
|
288
|
+
projectCreationFee: string;
|
|
289
|
+
/**
|
|
290
|
+
* DREAM burned for apprentice initiative under permissionless project (default 1 DREAM)
|
|
291
|
+
*/
|
|
292
|
+
initiativeCreationFeeApprentice: string;
|
|
293
|
+
/**
|
|
294
|
+
* DREAM burned for standard initiative under permissionless project (default 3 DREAM)
|
|
295
|
+
*/
|
|
296
|
+
initiativeCreationFeeStandard: string;
|
|
297
|
+
/**
|
|
298
|
+
* Permissionless access control (governance-only — not in RepOperationalParams)
|
|
299
|
+
*/
|
|
300
|
+
permissionlessMinTrustLevel: number;
|
|
301
|
+
/**
|
|
302
|
+
* Highest initiative tier allowed in permissionless projects (default 1 = STANDARD)
|
|
303
|
+
*/
|
|
304
|
+
permissionlessMaxTier: number;
|
|
305
|
+
/**
|
|
306
|
+
* DREAM burned when creating a member-registered tag (default 100 micro-DREAM)
|
|
307
|
+
*/
|
|
308
|
+
tagCreationFee: string;
|
|
309
|
+
/**
|
|
310
|
+
* Sentinel SPARK reward pool (x/rep holds SPARK fed by spam taxes;
|
|
311
|
+
* drained each epoch to sentinels according to accuracy/activity gates).
|
|
312
|
+
*/
|
|
313
|
+
maxSentinelRewardPool: string;
|
|
314
|
+
/**
|
|
315
|
+
* Fraction of overflow burned per epoch (default 0.5).
|
|
316
|
+
*/
|
|
317
|
+
sentinelRewardPoolOverflowBurnRatio: string;
|
|
318
|
+
/**
|
|
319
|
+
* Cadence of sentinel reward distribution (default 14400 ~= 1 day).
|
|
320
|
+
*/
|
|
321
|
+
sentinelRewardEpochBlocks: bigint;
|
|
322
|
+
/**
|
|
323
|
+
* Minimum accuracy to qualify for a reward (default 0.70).
|
|
324
|
+
*/
|
|
325
|
+
minSentinelAccuracy: string;
|
|
326
|
+
/**
|
|
327
|
+
* Minimum appeal sample size before accuracy is meaningful (default 10).
|
|
328
|
+
*/
|
|
329
|
+
minAppealsForAccuracy: bigint;
|
|
330
|
+
/**
|
|
331
|
+
* Minimum moderation actions in an epoch to qualify for a reward (default 1).
|
|
332
|
+
*/
|
|
333
|
+
minEpochActivityForReward: bigint;
|
|
334
|
+
/**
|
|
335
|
+
* Minimum appeal rate (appeals / actions) to qualify for a reward (default 0.05).
|
|
336
|
+
*/
|
|
337
|
+
minAppealRate: string;
|
|
338
|
+
/**
|
|
339
|
+
* Per-member active work caps (anti-monopolization). 0 = unbounded.
|
|
340
|
+
*/
|
|
341
|
+
maxActiveInitiativesPerMember: number;
|
|
342
|
+
/**
|
|
343
|
+
* Max in-flight interims (PENDING/IN_PROGRESS) where the member is an assignee (default 10)
|
|
344
|
+
*/
|
|
345
|
+
maxActiveInterimsPerMember: number;
|
|
346
|
+
/**
|
|
347
|
+
* Global per-epoch ceiling on DREAM minted across every path (initiative rewards,
|
|
348
|
+
* referral rewards, interim compensation, retro PGF, jury rewards, etc.). Counter
|
|
349
|
+
* resets at the first MintDREAM of each new epoch. 0 = unbounded.
|
|
350
|
+
*/
|
|
351
|
+
maxDreamMintPerEpoch: string;
|
|
247
352
|
}
|
|
248
353
|
export interface ParamsProtoMsg {
|
|
249
354
|
typeUrl: "/sparkdream.rep.v1.Params";
|
|
@@ -264,7 +369,6 @@ export interface ParamsAmino {
|
|
|
264
369
|
/**
|
|
265
370
|
* DREAM economics
|
|
266
371
|
*/
|
|
267
|
-
staking_apy?: string;
|
|
268
372
|
unstaked_decay_rate?: string;
|
|
269
373
|
transfer_tax_rate?: string;
|
|
270
374
|
max_tip_amount?: string;
|
|
@@ -339,7 +443,6 @@ export interface ParamsAmino {
|
|
|
339
443
|
/**
|
|
340
444
|
* Extended staking
|
|
341
445
|
*/
|
|
342
|
-
project_staking_apy?: string;
|
|
343
446
|
project_completion_bonus_rate?: string;
|
|
344
447
|
member_stake_revenue_share?: string;
|
|
345
448
|
tag_stake_revenue_share?: string;
|
|
@@ -403,6 +506,113 @@ export interface ParamsAmino {
|
|
|
403
506
|
* Max reputation any member can earn per tag per epoch (default 50)
|
|
404
507
|
*/
|
|
405
508
|
max_reputation_gain_per_epoch?: string;
|
|
509
|
+
/**
|
|
510
|
+
* Seasonal staking reward pool
|
|
511
|
+
*/
|
|
512
|
+
max_staking_rewards_per_season?: string;
|
|
513
|
+
/**
|
|
514
|
+
* Per-epoch decay on staked DREAM (default 0.05% = 0.0005)
|
|
515
|
+
*/
|
|
516
|
+
staked_decay_rate?: string;
|
|
517
|
+
/**
|
|
518
|
+
* Epochs new members are exempt from decay (default 30 ~1 month)
|
|
519
|
+
*/
|
|
520
|
+
new_member_decay_grace_epochs?: string;
|
|
521
|
+
/**
|
|
522
|
+
* Treasury management
|
|
523
|
+
*/
|
|
524
|
+
max_treasury_balance?: string;
|
|
525
|
+
/**
|
|
526
|
+
* Pay interims from treasury first, mint only if empty (default true)
|
|
527
|
+
*/
|
|
528
|
+
treasury_funds_interims?: boolean;
|
|
529
|
+
/**
|
|
530
|
+
* Pay retro PGF from treasury first, mint remainder (default true)
|
|
531
|
+
*/
|
|
532
|
+
treasury_funds_retro_pgf?: boolean;
|
|
533
|
+
/**
|
|
534
|
+
* Anti-whale staking cap: max DREAM one member can stake on a single initiative (default 50,000 DREAM)
|
|
535
|
+
* Prevents reward pool extraction — conviction is already capped by max_conviction_share_per_member,
|
|
536
|
+
* but without this cap, a whale can stake disproportionately and extract most seasonal staking rewards.
|
|
537
|
+
*/
|
|
538
|
+
max_initiative_stake_per_member?: string;
|
|
539
|
+
/**
|
|
540
|
+
* Per-season cap on total DREAM minted via initiative completion rewards (default 100,000 DREAM).
|
|
541
|
+
* Bounds total extraction even if colluding members rubber-stamp initiatives.
|
|
542
|
+
*/
|
|
543
|
+
max_initiative_rewards_per_season?: string;
|
|
544
|
+
/**
|
|
545
|
+
* Projects with approved budget above this threshold require council proposal approval
|
|
546
|
+
* instead of single Operations Committee member approval (default 10,000 DREAM).
|
|
547
|
+
*/
|
|
548
|
+
large_project_budget_threshold?: string;
|
|
549
|
+
/**
|
|
550
|
+
* Permissionless creation fees (burned on creation — anti-spam + deflationary)
|
|
551
|
+
*/
|
|
552
|
+
project_creation_fee?: string;
|
|
553
|
+
/**
|
|
554
|
+
* DREAM burned for apprentice initiative under permissionless project (default 1 DREAM)
|
|
555
|
+
*/
|
|
556
|
+
initiative_creation_fee_apprentice?: string;
|
|
557
|
+
/**
|
|
558
|
+
* DREAM burned for standard initiative under permissionless project (default 3 DREAM)
|
|
559
|
+
*/
|
|
560
|
+
initiative_creation_fee_standard?: string;
|
|
561
|
+
/**
|
|
562
|
+
* Permissionless access control (governance-only — not in RepOperationalParams)
|
|
563
|
+
*/
|
|
564
|
+
permissionless_min_trust_level?: number;
|
|
565
|
+
/**
|
|
566
|
+
* Highest initiative tier allowed in permissionless projects (default 1 = STANDARD)
|
|
567
|
+
*/
|
|
568
|
+
permissionless_max_tier?: number;
|
|
569
|
+
/**
|
|
570
|
+
* DREAM burned when creating a member-registered tag (default 100 micro-DREAM)
|
|
571
|
+
*/
|
|
572
|
+
tag_creation_fee?: string;
|
|
573
|
+
/**
|
|
574
|
+
* Sentinel SPARK reward pool (x/rep holds SPARK fed by spam taxes;
|
|
575
|
+
* drained each epoch to sentinels according to accuracy/activity gates).
|
|
576
|
+
*/
|
|
577
|
+
max_sentinel_reward_pool?: string;
|
|
578
|
+
/**
|
|
579
|
+
* Fraction of overflow burned per epoch (default 0.5).
|
|
580
|
+
*/
|
|
581
|
+
sentinel_reward_pool_overflow_burn_ratio?: string;
|
|
582
|
+
/**
|
|
583
|
+
* Cadence of sentinel reward distribution (default 14400 ~= 1 day).
|
|
584
|
+
*/
|
|
585
|
+
sentinel_reward_epoch_blocks?: string;
|
|
586
|
+
/**
|
|
587
|
+
* Minimum accuracy to qualify for a reward (default 0.70).
|
|
588
|
+
*/
|
|
589
|
+
min_sentinel_accuracy?: string;
|
|
590
|
+
/**
|
|
591
|
+
* Minimum appeal sample size before accuracy is meaningful (default 10).
|
|
592
|
+
*/
|
|
593
|
+
min_appeals_for_accuracy?: string;
|
|
594
|
+
/**
|
|
595
|
+
* Minimum moderation actions in an epoch to qualify for a reward (default 1).
|
|
596
|
+
*/
|
|
597
|
+
min_epoch_activity_for_reward?: string;
|
|
598
|
+
/**
|
|
599
|
+
* Minimum appeal rate (appeals / actions) to qualify for a reward (default 0.05).
|
|
600
|
+
*/
|
|
601
|
+
min_appeal_rate?: string;
|
|
602
|
+
/**
|
|
603
|
+
* Per-member active work caps (anti-monopolization). 0 = unbounded.
|
|
604
|
+
*/
|
|
605
|
+
max_active_initiatives_per_member?: number;
|
|
606
|
+
/**
|
|
607
|
+
* Max in-flight interims (PENDING/IN_PROGRESS) where the member is an assignee (default 10)
|
|
608
|
+
*/
|
|
609
|
+
max_active_interims_per_member?: number;
|
|
610
|
+
/**
|
|
611
|
+
* Global per-epoch ceiling on DREAM minted across every path (initiative rewards,
|
|
612
|
+
* referral rewards, interim compensation, retro PGF, jury rewards, etc.). Counter
|
|
613
|
+
* resets at the first MintDREAM of each new epoch. 0 = unbounded.
|
|
614
|
+
*/
|
|
615
|
+
max_dream_mint_per_epoch?: string;
|
|
406
616
|
}
|
|
407
617
|
export interface ParamsAminoMsg {
|
|
408
618
|
type: "sparkdream/x/rep/Params";
|
|
@@ -425,7 +635,6 @@ export interface RepOperationalParams {
|
|
|
425
635
|
/**
|
|
426
636
|
* DREAM economics
|
|
427
637
|
*/
|
|
428
|
-
stakingApy: string;
|
|
429
638
|
unstakedDecayRate: string;
|
|
430
639
|
transferTaxRate: string;
|
|
431
640
|
maxTipAmount: string;
|
|
@@ -474,7 +683,6 @@ export interface RepOperationalParams {
|
|
|
474
683
|
/**
|
|
475
684
|
* Extended staking
|
|
476
685
|
*/
|
|
477
|
-
projectStakingApy: string;
|
|
478
686
|
projectCompletionBonusRate: string;
|
|
479
687
|
memberStakeRevenueShare: string;
|
|
480
688
|
tagStakeRevenueShare: string;
|
|
@@ -524,6 +732,75 @@ export interface RepOperationalParams {
|
|
|
524
732
|
* Max reputation any member can earn per tag per epoch (default 50)
|
|
525
733
|
*/
|
|
526
734
|
maxReputationGainPerEpoch: string;
|
|
735
|
+
/**
|
|
736
|
+
* Seasonal staking reward pool
|
|
737
|
+
*/
|
|
738
|
+
maxStakingRewardsPerSeason: string;
|
|
739
|
+
stakedDecayRate: string;
|
|
740
|
+
newMemberDecayGraceEpochs: bigint;
|
|
741
|
+
/**
|
|
742
|
+
* Treasury management
|
|
743
|
+
*/
|
|
744
|
+
maxTreasuryBalance: string;
|
|
745
|
+
treasuryFundsInterims: boolean;
|
|
746
|
+
treasuryFundsRetroPgf: boolean;
|
|
747
|
+
/**
|
|
748
|
+
* Anti-whale staking cap (mirrors Params.max_initiative_stake_per_member)
|
|
749
|
+
*/
|
|
750
|
+
maxInitiativeStakePerMember: string;
|
|
751
|
+
/**
|
|
752
|
+
* Per-season initiative reward minting cap (mirrors Params.max_initiative_rewards_per_season)
|
|
753
|
+
*/
|
|
754
|
+
maxInitiativeRewardsPerSeason: string;
|
|
755
|
+
/**
|
|
756
|
+
* Large project budget threshold for council approval (mirrors Params.large_project_budget_threshold)
|
|
757
|
+
*/
|
|
758
|
+
largeProjectBudgetThreshold: string;
|
|
759
|
+
/**
|
|
760
|
+
* Permissionless creation fees (council-tunable)
|
|
761
|
+
*/
|
|
762
|
+
projectCreationFee: string;
|
|
763
|
+
initiativeCreationFeeApprentice: string;
|
|
764
|
+
initiativeCreationFeeStandard: string;
|
|
765
|
+
tagCreationFee: string;
|
|
766
|
+
/**
|
|
767
|
+
* Sentinel SPARK reward pool (x/rep holds SPARK fed by spam taxes;
|
|
768
|
+
* drained each epoch to sentinels according to accuracy/activity gates).
|
|
769
|
+
*/
|
|
770
|
+
maxSentinelRewardPool: string;
|
|
771
|
+
/**
|
|
772
|
+
* Fraction of overflow burned per epoch (default 0.5).
|
|
773
|
+
*/
|
|
774
|
+
sentinelRewardPoolOverflowBurnRatio: string;
|
|
775
|
+
/**
|
|
776
|
+
* Cadence of sentinel reward distribution (default 14400 ~= 1 day).
|
|
777
|
+
*/
|
|
778
|
+
sentinelRewardEpochBlocks: bigint;
|
|
779
|
+
/**
|
|
780
|
+
* Minimum accuracy to qualify for a reward (default 0.70).
|
|
781
|
+
*/
|
|
782
|
+
minSentinelAccuracy: string;
|
|
783
|
+
/**
|
|
784
|
+
* Minimum appeal sample size before accuracy is meaningful (default 10).
|
|
785
|
+
*/
|
|
786
|
+
minAppealsForAccuracy: bigint;
|
|
787
|
+
/**
|
|
788
|
+
* Minimum moderation actions in an epoch to qualify for a reward (default 1).
|
|
789
|
+
*/
|
|
790
|
+
minEpochActivityForReward: bigint;
|
|
791
|
+
/**
|
|
792
|
+
* Minimum appeal rate (appeals / actions) to qualify for a reward (default 0.05).
|
|
793
|
+
*/
|
|
794
|
+
minAppealRate: string;
|
|
795
|
+
/**
|
|
796
|
+
* Per-member active work caps (mirrors Params.max_active_{initiatives,interims}_per_member). 0 = unbounded.
|
|
797
|
+
*/
|
|
798
|
+
maxActiveInitiativesPerMember: number;
|
|
799
|
+
maxActiveInterimsPerMember: number;
|
|
800
|
+
/**
|
|
801
|
+
* Global per-epoch DREAM minting cap (mirrors Params.max_dream_mint_per_epoch). 0 = unbounded.
|
|
802
|
+
*/
|
|
803
|
+
maxDreamMintPerEpoch: string;
|
|
527
804
|
}
|
|
528
805
|
export interface RepOperationalParamsProtoMsg {
|
|
529
806
|
typeUrl: "/sparkdream.rep.v1.RepOperationalParams";
|
|
@@ -546,7 +823,6 @@ export interface RepOperationalParamsAmino {
|
|
|
546
823
|
/**
|
|
547
824
|
* DREAM economics
|
|
548
825
|
*/
|
|
549
|
-
staking_apy?: string;
|
|
550
826
|
unstaked_decay_rate?: string;
|
|
551
827
|
transfer_tax_rate?: string;
|
|
552
828
|
max_tip_amount?: string;
|
|
@@ -595,7 +871,6 @@ export interface RepOperationalParamsAmino {
|
|
|
595
871
|
/**
|
|
596
872
|
* Extended staking
|
|
597
873
|
*/
|
|
598
|
-
project_staking_apy?: string;
|
|
599
874
|
project_completion_bonus_rate?: string;
|
|
600
875
|
member_stake_revenue_share?: string;
|
|
601
876
|
tag_stake_revenue_share?: string;
|
|
@@ -645,6 +920,75 @@ export interface RepOperationalParamsAmino {
|
|
|
645
920
|
* Max reputation any member can earn per tag per epoch (default 50)
|
|
646
921
|
*/
|
|
647
922
|
max_reputation_gain_per_epoch?: string;
|
|
923
|
+
/**
|
|
924
|
+
* Seasonal staking reward pool
|
|
925
|
+
*/
|
|
926
|
+
max_staking_rewards_per_season?: string;
|
|
927
|
+
staked_decay_rate?: string;
|
|
928
|
+
new_member_decay_grace_epochs?: string;
|
|
929
|
+
/**
|
|
930
|
+
* Treasury management
|
|
931
|
+
*/
|
|
932
|
+
max_treasury_balance?: string;
|
|
933
|
+
treasury_funds_interims?: boolean;
|
|
934
|
+
treasury_funds_retro_pgf?: boolean;
|
|
935
|
+
/**
|
|
936
|
+
* Anti-whale staking cap (mirrors Params.max_initiative_stake_per_member)
|
|
937
|
+
*/
|
|
938
|
+
max_initiative_stake_per_member?: string;
|
|
939
|
+
/**
|
|
940
|
+
* Per-season initiative reward minting cap (mirrors Params.max_initiative_rewards_per_season)
|
|
941
|
+
*/
|
|
942
|
+
max_initiative_rewards_per_season?: string;
|
|
943
|
+
/**
|
|
944
|
+
* Large project budget threshold for council approval (mirrors Params.large_project_budget_threshold)
|
|
945
|
+
*/
|
|
946
|
+
large_project_budget_threshold?: string;
|
|
947
|
+
/**
|
|
948
|
+
* Permissionless creation fees (council-tunable)
|
|
949
|
+
*/
|
|
950
|
+
project_creation_fee?: string;
|
|
951
|
+
initiative_creation_fee_apprentice?: string;
|
|
952
|
+
initiative_creation_fee_standard?: string;
|
|
953
|
+
tag_creation_fee?: string;
|
|
954
|
+
/**
|
|
955
|
+
* Sentinel SPARK reward pool (x/rep holds SPARK fed by spam taxes;
|
|
956
|
+
* drained each epoch to sentinels according to accuracy/activity gates).
|
|
957
|
+
*/
|
|
958
|
+
max_sentinel_reward_pool?: string;
|
|
959
|
+
/**
|
|
960
|
+
* Fraction of overflow burned per epoch (default 0.5).
|
|
961
|
+
*/
|
|
962
|
+
sentinel_reward_pool_overflow_burn_ratio?: string;
|
|
963
|
+
/**
|
|
964
|
+
* Cadence of sentinel reward distribution (default 14400 ~= 1 day).
|
|
965
|
+
*/
|
|
966
|
+
sentinel_reward_epoch_blocks?: string;
|
|
967
|
+
/**
|
|
968
|
+
* Minimum accuracy to qualify for a reward (default 0.70).
|
|
969
|
+
*/
|
|
970
|
+
min_sentinel_accuracy?: string;
|
|
971
|
+
/**
|
|
972
|
+
* Minimum appeal sample size before accuracy is meaningful (default 10).
|
|
973
|
+
*/
|
|
974
|
+
min_appeals_for_accuracy?: string;
|
|
975
|
+
/**
|
|
976
|
+
* Minimum moderation actions in an epoch to qualify for a reward (default 1).
|
|
977
|
+
*/
|
|
978
|
+
min_epoch_activity_for_reward?: string;
|
|
979
|
+
/**
|
|
980
|
+
* Minimum appeal rate (appeals / actions) to qualify for a reward (default 0.05).
|
|
981
|
+
*/
|
|
982
|
+
min_appeal_rate?: string;
|
|
983
|
+
/**
|
|
984
|
+
* Per-member active work caps (mirrors Params.max_active_{initiatives,interims}_per_member). 0 = unbounded.
|
|
985
|
+
*/
|
|
986
|
+
max_active_initiatives_per_member?: number;
|
|
987
|
+
max_active_interims_per_member?: number;
|
|
988
|
+
/**
|
|
989
|
+
* Global per-epoch DREAM minting cap (mirrors Params.max_dream_mint_per_epoch). 0 = unbounded.
|
|
990
|
+
*/
|
|
991
|
+
max_dream_mint_per_epoch?: string;
|
|
648
992
|
}
|
|
649
993
|
export interface RepOperationalParamsAminoMsg {
|
|
650
994
|
type: "sparkdream/x/rep/RepOperationalParams";
|