@sparkdreamnft/sparkdreamjs 0.0.8 → 0.0.9
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/bundle.js +368 -332
- package/esm/sparkdream/client.js +4 -1
- 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 +244 -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 +2629 -0
- package/esm/sparkdream/federation/v1/query.lcd.js +152 -0
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +189 -0
- package/esm/sparkdream/federation/v1/tx.amino.js +139 -0
- package/esm/sparkdream/federation/v1/tx.js +4199 -0
- package/esm/sparkdream/federation/v1/tx.registry.js +501 -0
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +173 -0
- package/esm/sparkdream/federation/v1/types.js +2571 -0
- package/esm/sparkdream/forum/v1/genesis.js +26 -250
- 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/lcd.js +5 -0
- package/esm/sparkdream/rep/v1/accountability.js +172 -0
- package/esm/sparkdream/rep/v1/genesis.js +209 -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 +4 -4
- 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 +5260 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +286 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +333 -1
- package/esm/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
- package/esm/sparkdream/rep/v1/sentinel_activity.js +214 -0
- 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 +2439 -0
- package/esm/sparkdream/rep/v1/tx.registry.js +290 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +102 -1
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -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 +106 -106
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +13210 -11120
- package/sparkdream/bundle.js +368 -332
- package/sparkdream/client.d.ts +202 -57
- package/sparkdream/client.js +4 -1
- 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 +78 -0
- package/sparkdream/federation/v1/genesis.js +247 -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 +1541 -0
- package/sparkdream/federation/v1/query.js +2632 -0
- package/sparkdream/federation/v1/query.lcd.d.ts +26 -0
- package/sparkdream/federation/v1/query.lcd.js +156 -0
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +66 -0
- package/sparkdream/federation/v1/query.rpc.Query.js +194 -0
- package/sparkdream/federation/v1/tx.amino.d.ts +138 -0
- package/sparkdream/federation/v1/tx.amino.js +142 -0
- package/sparkdream/federation/v1/tx.d.ts +2311 -0
- package/sparkdream/federation/v1/tx.js +4203 -0
- package/sparkdream/federation/v1/tx.registry.d.ts +337 -0
- package/sparkdream/federation/v1/tx.registry.js +505 -0
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +64 -0
- package/sparkdream/federation/v1/tx.rpc.msg.js +178 -0
- package/sparkdream/federation/v1/types.d.ts +906 -0
- package/sparkdream/federation/v1/types.js +2588 -0
- package/sparkdream/forum/v1/genesis.d.ts +0 -41
- package/sparkdream/forum/v1/genesis.js +26 -250
- 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/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/genesis.d.ts +68 -0
- package/sparkdream/rep/v1/genesis.js +209 -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/{forum → rep}/v1/member_report.d.ts +9 -9
- package/sparkdream/{forum → rep}/v1/member_report.js +4 -4
- 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 +4197 -1129
- package/sparkdream/rep/v1/query.js +5263 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +35 -1
- package/sparkdream/rep/v1/query.lcd.js +286 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +137 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +332 -0
- package/sparkdream/{common → rep}/v1/reserved_tag.d.ts +11 -11
- package/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
- package/sparkdream/rep/v1/sentinel_activity.d.ts +79 -0
- package/sparkdream/rep/v1/sentinel_activity.js +219 -0
- 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 +1467 -0
- package/sparkdream/rep/v1/tx.js +2440 -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 +62 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +101 -0
- package/sparkdream/rpc.query.d.ts +58 -34
- 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/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_salvation_status.d.ts +0 -54
- package/sparkdream/forum/v1/member_salvation_status.js +0 -122
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GovAppealStatusAmino = exports.GovAppealStatus = exports.MemberReportStatusAmino = exports.MemberReportStatus = exports.GovActionTypeAmino = exports.GovActionType = void 0;
|
|
4
|
+
exports.govActionTypeFromJSON = govActionTypeFromJSON;
|
|
5
|
+
exports.govActionTypeToJSON = govActionTypeToJSON;
|
|
6
|
+
exports.memberReportStatusFromJSON = memberReportStatusFromJSON;
|
|
7
|
+
exports.memberReportStatusToJSON = memberReportStatusToJSON;
|
|
8
|
+
exports.govAppealStatusFromJSON = govAppealStatusFromJSON;
|
|
9
|
+
exports.govAppealStatusToJSON = govAppealStatusToJSON;
|
|
10
|
+
//@ts-nocheck
|
|
11
|
+
/** GovActionType represents the type of governance action. */
|
|
12
|
+
var GovActionType;
|
|
13
|
+
(function (GovActionType) {
|
|
14
|
+
GovActionType[GovActionType["GOV_ACTION_TYPE_UNSPECIFIED"] = 0] = "GOV_ACTION_TYPE_UNSPECIFIED";
|
|
15
|
+
GovActionType[GovActionType["GOV_ACTION_TYPE_WARNING"] = 1] = "GOV_ACTION_TYPE_WARNING";
|
|
16
|
+
GovActionType[GovActionType["GOV_ACTION_TYPE_DEMOTION"] = 2] = "GOV_ACTION_TYPE_DEMOTION";
|
|
17
|
+
GovActionType[GovActionType["GOV_ACTION_TYPE_ZEROING"] = 3] = "GOV_ACTION_TYPE_ZEROING";
|
|
18
|
+
GovActionType[GovActionType["GOV_ACTION_TYPE_TAG_REMOVAL"] = 4] = "GOV_ACTION_TYPE_TAG_REMOVAL";
|
|
19
|
+
GovActionType[GovActionType["GOV_ACTION_TYPE_FORUM_PAUSE"] = 5] = "GOV_ACTION_TYPE_FORUM_PAUSE";
|
|
20
|
+
GovActionType[GovActionType["GOV_ACTION_TYPE_THREAD_LOCK"] = 6] = "GOV_ACTION_TYPE_THREAD_LOCK";
|
|
21
|
+
GovActionType[GovActionType["GOV_ACTION_TYPE_THREAD_MOVE"] = 7] = "GOV_ACTION_TYPE_THREAD_MOVE";
|
|
22
|
+
GovActionType[GovActionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
23
|
+
})(GovActionType || (exports.GovActionType = GovActionType = {}));
|
|
24
|
+
exports.GovActionTypeAmino = GovActionType;
|
|
25
|
+
function govActionTypeFromJSON(object) {
|
|
26
|
+
switch (object) {
|
|
27
|
+
case 0:
|
|
28
|
+
case "GOV_ACTION_TYPE_UNSPECIFIED":
|
|
29
|
+
return GovActionType.GOV_ACTION_TYPE_UNSPECIFIED;
|
|
30
|
+
case 1:
|
|
31
|
+
case "GOV_ACTION_TYPE_WARNING":
|
|
32
|
+
return GovActionType.GOV_ACTION_TYPE_WARNING;
|
|
33
|
+
case 2:
|
|
34
|
+
case "GOV_ACTION_TYPE_DEMOTION":
|
|
35
|
+
return GovActionType.GOV_ACTION_TYPE_DEMOTION;
|
|
36
|
+
case 3:
|
|
37
|
+
case "GOV_ACTION_TYPE_ZEROING":
|
|
38
|
+
return GovActionType.GOV_ACTION_TYPE_ZEROING;
|
|
39
|
+
case 4:
|
|
40
|
+
case "GOV_ACTION_TYPE_TAG_REMOVAL":
|
|
41
|
+
return GovActionType.GOV_ACTION_TYPE_TAG_REMOVAL;
|
|
42
|
+
case 5:
|
|
43
|
+
case "GOV_ACTION_TYPE_FORUM_PAUSE":
|
|
44
|
+
return GovActionType.GOV_ACTION_TYPE_FORUM_PAUSE;
|
|
45
|
+
case 6:
|
|
46
|
+
case "GOV_ACTION_TYPE_THREAD_LOCK":
|
|
47
|
+
return GovActionType.GOV_ACTION_TYPE_THREAD_LOCK;
|
|
48
|
+
case 7:
|
|
49
|
+
case "GOV_ACTION_TYPE_THREAD_MOVE":
|
|
50
|
+
return GovActionType.GOV_ACTION_TYPE_THREAD_MOVE;
|
|
51
|
+
case -1:
|
|
52
|
+
case "UNRECOGNIZED":
|
|
53
|
+
default:
|
|
54
|
+
return GovActionType.UNRECOGNIZED;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
function govActionTypeToJSON(object) {
|
|
58
|
+
switch (object) {
|
|
59
|
+
case GovActionType.GOV_ACTION_TYPE_UNSPECIFIED:
|
|
60
|
+
return "GOV_ACTION_TYPE_UNSPECIFIED";
|
|
61
|
+
case GovActionType.GOV_ACTION_TYPE_WARNING:
|
|
62
|
+
return "GOV_ACTION_TYPE_WARNING";
|
|
63
|
+
case GovActionType.GOV_ACTION_TYPE_DEMOTION:
|
|
64
|
+
return "GOV_ACTION_TYPE_DEMOTION";
|
|
65
|
+
case GovActionType.GOV_ACTION_TYPE_ZEROING:
|
|
66
|
+
return "GOV_ACTION_TYPE_ZEROING";
|
|
67
|
+
case GovActionType.GOV_ACTION_TYPE_TAG_REMOVAL:
|
|
68
|
+
return "GOV_ACTION_TYPE_TAG_REMOVAL";
|
|
69
|
+
case GovActionType.GOV_ACTION_TYPE_FORUM_PAUSE:
|
|
70
|
+
return "GOV_ACTION_TYPE_FORUM_PAUSE";
|
|
71
|
+
case GovActionType.GOV_ACTION_TYPE_THREAD_LOCK:
|
|
72
|
+
return "GOV_ACTION_TYPE_THREAD_LOCK";
|
|
73
|
+
case GovActionType.GOV_ACTION_TYPE_THREAD_MOVE:
|
|
74
|
+
return "GOV_ACTION_TYPE_THREAD_MOVE";
|
|
75
|
+
case GovActionType.UNRECOGNIZED:
|
|
76
|
+
default:
|
|
77
|
+
return "UNRECOGNIZED";
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
/** MemberReportStatus represents the status of a member report. */
|
|
81
|
+
var MemberReportStatus;
|
|
82
|
+
(function (MemberReportStatus) {
|
|
83
|
+
MemberReportStatus[MemberReportStatus["MEMBER_REPORT_STATUS_UNSPECIFIED"] = 0] = "MEMBER_REPORT_STATUS_UNSPECIFIED";
|
|
84
|
+
MemberReportStatus[MemberReportStatus["MEMBER_REPORT_STATUS_PENDING"] = 1] = "MEMBER_REPORT_STATUS_PENDING";
|
|
85
|
+
MemberReportStatus[MemberReportStatus["MEMBER_REPORT_STATUS_ESCALATED"] = 2] = "MEMBER_REPORT_STATUS_ESCALATED";
|
|
86
|
+
MemberReportStatus[MemberReportStatus["MEMBER_REPORT_STATUS_RESOLVED"] = 3] = "MEMBER_REPORT_STATUS_RESOLVED";
|
|
87
|
+
MemberReportStatus[MemberReportStatus["MEMBER_REPORT_STATUS_META_APPEALED"] = 4] = "MEMBER_REPORT_STATUS_META_APPEALED";
|
|
88
|
+
MemberReportStatus[MemberReportStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
89
|
+
})(MemberReportStatus || (exports.MemberReportStatus = MemberReportStatus = {}));
|
|
90
|
+
exports.MemberReportStatusAmino = MemberReportStatus;
|
|
91
|
+
function memberReportStatusFromJSON(object) {
|
|
92
|
+
switch (object) {
|
|
93
|
+
case 0:
|
|
94
|
+
case "MEMBER_REPORT_STATUS_UNSPECIFIED":
|
|
95
|
+
return MemberReportStatus.MEMBER_REPORT_STATUS_UNSPECIFIED;
|
|
96
|
+
case 1:
|
|
97
|
+
case "MEMBER_REPORT_STATUS_PENDING":
|
|
98
|
+
return MemberReportStatus.MEMBER_REPORT_STATUS_PENDING;
|
|
99
|
+
case 2:
|
|
100
|
+
case "MEMBER_REPORT_STATUS_ESCALATED":
|
|
101
|
+
return MemberReportStatus.MEMBER_REPORT_STATUS_ESCALATED;
|
|
102
|
+
case 3:
|
|
103
|
+
case "MEMBER_REPORT_STATUS_RESOLVED":
|
|
104
|
+
return MemberReportStatus.MEMBER_REPORT_STATUS_RESOLVED;
|
|
105
|
+
case 4:
|
|
106
|
+
case "MEMBER_REPORT_STATUS_META_APPEALED":
|
|
107
|
+
return MemberReportStatus.MEMBER_REPORT_STATUS_META_APPEALED;
|
|
108
|
+
case -1:
|
|
109
|
+
case "UNRECOGNIZED":
|
|
110
|
+
default:
|
|
111
|
+
return MemberReportStatus.UNRECOGNIZED;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
function memberReportStatusToJSON(object) {
|
|
115
|
+
switch (object) {
|
|
116
|
+
case MemberReportStatus.MEMBER_REPORT_STATUS_UNSPECIFIED:
|
|
117
|
+
return "MEMBER_REPORT_STATUS_UNSPECIFIED";
|
|
118
|
+
case MemberReportStatus.MEMBER_REPORT_STATUS_PENDING:
|
|
119
|
+
return "MEMBER_REPORT_STATUS_PENDING";
|
|
120
|
+
case MemberReportStatus.MEMBER_REPORT_STATUS_ESCALATED:
|
|
121
|
+
return "MEMBER_REPORT_STATUS_ESCALATED";
|
|
122
|
+
case MemberReportStatus.MEMBER_REPORT_STATUS_RESOLVED:
|
|
123
|
+
return "MEMBER_REPORT_STATUS_RESOLVED";
|
|
124
|
+
case MemberReportStatus.MEMBER_REPORT_STATUS_META_APPEALED:
|
|
125
|
+
return "MEMBER_REPORT_STATUS_META_APPEALED";
|
|
126
|
+
case MemberReportStatus.UNRECOGNIZED:
|
|
127
|
+
default:
|
|
128
|
+
return "UNRECOGNIZED";
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
/** GovAppealStatus represents the status of a governance appeal. */
|
|
132
|
+
var GovAppealStatus;
|
|
133
|
+
(function (GovAppealStatus) {
|
|
134
|
+
GovAppealStatus[GovAppealStatus["GOV_APPEAL_STATUS_UNSPECIFIED"] = 0] = "GOV_APPEAL_STATUS_UNSPECIFIED";
|
|
135
|
+
GovAppealStatus[GovAppealStatus["GOV_APPEAL_STATUS_PENDING"] = 1] = "GOV_APPEAL_STATUS_PENDING";
|
|
136
|
+
GovAppealStatus[GovAppealStatus["GOV_APPEAL_STATUS_UPHELD"] = 2] = "GOV_APPEAL_STATUS_UPHELD";
|
|
137
|
+
GovAppealStatus[GovAppealStatus["GOV_APPEAL_STATUS_OVERTURNED"] = 3] = "GOV_APPEAL_STATUS_OVERTURNED";
|
|
138
|
+
GovAppealStatus[GovAppealStatus["GOV_APPEAL_STATUS_TIMEOUT"] = 4] = "GOV_APPEAL_STATUS_TIMEOUT";
|
|
139
|
+
GovAppealStatus[GovAppealStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
140
|
+
})(GovAppealStatus || (exports.GovAppealStatus = GovAppealStatus = {}));
|
|
141
|
+
exports.GovAppealStatusAmino = GovAppealStatus;
|
|
142
|
+
function govAppealStatusFromJSON(object) {
|
|
143
|
+
switch (object) {
|
|
144
|
+
case 0:
|
|
145
|
+
case "GOV_APPEAL_STATUS_UNSPECIFIED":
|
|
146
|
+
return GovAppealStatus.GOV_APPEAL_STATUS_UNSPECIFIED;
|
|
147
|
+
case 1:
|
|
148
|
+
case "GOV_APPEAL_STATUS_PENDING":
|
|
149
|
+
return GovAppealStatus.GOV_APPEAL_STATUS_PENDING;
|
|
150
|
+
case 2:
|
|
151
|
+
case "GOV_APPEAL_STATUS_UPHELD":
|
|
152
|
+
return GovAppealStatus.GOV_APPEAL_STATUS_UPHELD;
|
|
153
|
+
case 3:
|
|
154
|
+
case "GOV_APPEAL_STATUS_OVERTURNED":
|
|
155
|
+
return GovAppealStatus.GOV_APPEAL_STATUS_OVERTURNED;
|
|
156
|
+
case 4:
|
|
157
|
+
case "GOV_APPEAL_STATUS_TIMEOUT":
|
|
158
|
+
return GovAppealStatus.GOV_APPEAL_STATUS_TIMEOUT;
|
|
159
|
+
case -1:
|
|
160
|
+
case "UNRECOGNIZED":
|
|
161
|
+
default:
|
|
162
|
+
return GovAppealStatus.UNRECOGNIZED;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
function govAppealStatusToJSON(object) {
|
|
166
|
+
switch (object) {
|
|
167
|
+
case GovAppealStatus.GOV_APPEAL_STATUS_UNSPECIFIED:
|
|
168
|
+
return "GOV_APPEAL_STATUS_UNSPECIFIED";
|
|
169
|
+
case GovAppealStatus.GOV_APPEAL_STATUS_PENDING:
|
|
170
|
+
return "GOV_APPEAL_STATUS_PENDING";
|
|
171
|
+
case GovAppealStatus.GOV_APPEAL_STATUS_UPHELD:
|
|
172
|
+
return "GOV_APPEAL_STATUS_UPHELD";
|
|
173
|
+
case GovAppealStatus.GOV_APPEAL_STATUS_OVERTURNED:
|
|
174
|
+
return "GOV_APPEAL_STATUS_OVERTURNED";
|
|
175
|
+
case GovAppealStatus.GOV_APPEAL_STATUS_TIMEOUT:
|
|
176
|
+
return "GOV_APPEAL_STATUS_TIMEOUT";
|
|
177
|
+
case GovAppealStatus.UNRECOGNIZED:
|
|
178
|
+
default:
|
|
179
|
+
return "UNRECOGNIZED";
|
|
180
|
+
}
|
|
181
|
+
}
|
|
@@ -9,6 +9,16 @@ import { JuryReview, JuryReviewAmino } from "./jury_review";
|
|
|
9
9
|
import { Interim, InterimAmino } from "./interim";
|
|
10
10
|
import { InterimTemplate, InterimTemplateAmino } from "./interim_template";
|
|
11
11
|
import { ContentChallenge, ContentChallengeAmino } from "./content_challenge";
|
|
12
|
+
import { Tag, TagAmino } from "./tag";
|
|
13
|
+
import { ReservedTag, ReservedTagAmino } from "./reserved_tag";
|
|
14
|
+
import { TagReport, TagReportAmino } from "./tag_report";
|
|
15
|
+
import { TagBudget, TagBudgetAmino } from "./tag_budget";
|
|
16
|
+
import { TagBudgetAward, TagBudgetAwardAmino } from "./tag_budget_award";
|
|
17
|
+
import { SentinelActivity, SentinelActivityAmino } from "./sentinel_activity";
|
|
18
|
+
import { JuryParticipation, JuryParticipationAmino } from "./jury_participation";
|
|
19
|
+
import { MemberReport, MemberReportAmino } from "./member_report";
|
|
20
|
+
import { MemberWarning, MemberWarningAmino } from "./member_warning";
|
|
21
|
+
import { GovActionAppeal, GovActionAppealAmino } from "./gov_action_appeal";
|
|
12
22
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
13
23
|
import { DeepPartial } from "../../../helpers";
|
|
14
24
|
/**
|
|
@@ -53,6 +63,35 @@ export interface GenesisState {
|
|
|
53
63
|
* Content initiative links for conviction propagation
|
|
54
64
|
*/
|
|
55
65
|
contentInitiativeLinks: ContentInitiativeLink[];
|
|
66
|
+
/**
|
|
67
|
+
* Tag registry
|
|
68
|
+
*/
|
|
69
|
+
tagMap: Tag[];
|
|
70
|
+
reservedTagMap: ReservedTag[];
|
|
71
|
+
/**
|
|
72
|
+
* Tag moderation
|
|
73
|
+
*/
|
|
74
|
+
tagReportMap: TagReport[];
|
|
75
|
+
/**
|
|
76
|
+
* Tag budgets
|
|
77
|
+
*/
|
|
78
|
+
tagBudgetList: TagBudget[];
|
|
79
|
+
tagBudgetCount: bigint;
|
|
80
|
+
tagBudgetAwardList: TagBudgetAward[];
|
|
81
|
+
tagBudgetAwardCount: bigint;
|
|
82
|
+
/**
|
|
83
|
+
* Sentinel accountability records
|
|
84
|
+
*/
|
|
85
|
+
sentinelActivityMap: SentinelActivity[];
|
|
86
|
+
/**
|
|
87
|
+
* Accountability state
|
|
88
|
+
*/
|
|
89
|
+
juryParticipationMap: JuryParticipation[];
|
|
90
|
+
memberReportMap: MemberReport[];
|
|
91
|
+
memberWarningList: MemberWarning[];
|
|
92
|
+
memberWarningCount: bigint;
|
|
93
|
+
govActionAppealList: GovActionAppeal[];
|
|
94
|
+
govActionAppealCount: bigint;
|
|
56
95
|
}
|
|
57
96
|
export interface GenesisStateProtoMsg {
|
|
58
97
|
typeUrl: "/sparkdream.rep.v1.GenesisState";
|
|
@@ -100,6 +139,35 @@ export interface GenesisStateAmino {
|
|
|
100
139
|
* Content initiative links for conviction propagation
|
|
101
140
|
*/
|
|
102
141
|
content_initiative_links?: ContentInitiativeLinkAmino[];
|
|
142
|
+
/**
|
|
143
|
+
* Tag registry
|
|
144
|
+
*/
|
|
145
|
+
tag_map?: TagAmino[];
|
|
146
|
+
reserved_tag_map?: ReservedTagAmino[];
|
|
147
|
+
/**
|
|
148
|
+
* Tag moderation
|
|
149
|
+
*/
|
|
150
|
+
tag_report_map?: TagReportAmino[];
|
|
151
|
+
/**
|
|
152
|
+
* Tag budgets
|
|
153
|
+
*/
|
|
154
|
+
tag_budget_list?: TagBudgetAmino[];
|
|
155
|
+
tag_budget_count?: string;
|
|
156
|
+
tag_budget_award_list?: TagBudgetAwardAmino[];
|
|
157
|
+
tag_budget_award_count?: string;
|
|
158
|
+
/**
|
|
159
|
+
* Sentinel accountability records
|
|
160
|
+
*/
|
|
161
|
+
sentinel_activity_map?: SentinelActivityAmino[];
|
|
162
|
+
/**
|
|
163
|
+
* Accountability state
|
|
164
|
+
*/
|
|
165
|
+
jury_participation_map?: JuryParticipationAmino[];
|
|
166
|
+
member_report_map?: MemberReportAmino[];
|
|
167
|
+
member_warning_list?: MemberWarningAmino[];
|
|
168
|
+
member_warning_count?: string;
|
|
169
|
+
gov_action_appeal_list?: GovActionAppealAmino[];
|
|
170
|
+
gov_action_appeal_count?: string;
|
|
103
171
|
}
|
|
104
172
|
export interface GenesisStateAminoMsg {
|
|
105
173
|
type: "/sparkdream.rep.v1.GenesisState";
|
|
@@ -13,6 +13,16 @@ const jury_review_1 = require("./jury_review");
|
|
|
13
13
|
const interim_1 = require("./interim");
|
|
14
14
|
const interim_template_1 = require("./interim_template");
|
|
15
15
|
const content_challenge_1 = require("./content_challenge");
|
|
16
|
+
const tag_1 = require("./tag");
|
|
17
|
+
const reserved_tag_1 = require("./reserved_tag");
|
|
18
|
+
const tag_report_1 = require("./tag_report");
|
|
19
|
+
const tag_budget_1 = require("./tag_budget");
|
|
20
|
+
const tag_budget_award_1 = require("./tag_budget_award");
|
|
21
|
+
const sentinel_activity_1 = require("./sentinel_activity");
|
|
22
|
+
const jury_participation_1 = require("./jury_participation");
|
|
23
|
+
const member_report_1 = require("./member_report");
|
|
24
|
+
const member_warning_1 = require("./member_warning");
|
|
25
|
+
const gov_action_appeal_1 = require("./gov_action_appeal");
|
|
16
26
|
const binary_1 = require("../../../binary");
|
|
17
27
|
function createBaseGenesisState() {
|
|
18
28
|
return {
|
|
@@ -38,7 +48,21 @@ function createBaseGenesisState() {
|
|
|
38
48
|
projectStakeInfoList: [],
|
|
39
49
|
contentChallengeList: [],
|
|
40
50
|
contentChallengeCount: BigInt(0),
|
|
41
|
-
contentInitiativeLinks: []
|
|
51
|
+
contentInitiativeLinks: [],
|
|
52
|
+
tagMap: [],
|
|
53
|
+
reservedTagMap: [],
|
|
54
|
+
tagReportMap: [],
|
|
55
|
+
tagBudgetList: [],
|
|
56
|
+
tagBudgetCount: BigInt(0),
|
|
57
|
+
tagBudgetAwardList: [],
|
|
58
|
+
tagBudgetAwardCount: BigInt(0),
|
|
59
|
+
sentinelActivityMap: [],
|
|
60
|
+
juryParticipationMap: [],
|
|
61
|
+
memberReportMap: [],
|
|
62
|
+
memberWarningList: [],
|
|
63
|
+
memberWarningCount: BigInt(0),
|
|
64
|
+
govActionAppealList: [],
|
|
65
|
+
govActionAppealCount: BigInt(0)
|
|
42
66
|
};
|
|
43
67
|
}
|
|
44
68
|
/**
|
|
@@ -119,6 +143,48 @@ exports.GenesisState = {
|
|
|
119
143
|
for (const v of message.contentInitiativeLinks) {
|
|
120
144
|
exports.ContentInitiativeLink.encode(v, writer.uint32(186).fork()).ldelim();
|
|
121
145
|
}
|
|
146
|
+
for (const v of message.tagMap) {
|
|
147
|
+
tag_1.Tag.encode(v, writer.uint32(194).fork()).ldelim();
|
|
148
|
+
}
|
|
149
|
+
for (const v of message.reservedTagMap) {
|
|
150
|
+
reserved_tag_1.ReservedTag.encode(v, writer.uint32(202).fork()).ldelim();
|
|
151
|
+
}
|
|
152
|
+
for (const v of message.tagReportMap) {
|
|
153
|
+
tag_report_1.TagReport.encode(v, writer.uint32(210).fork()).ldelim();
|
|
154
|
+
}
|
|
155
|
+
for (const v of message.tagBudgetList) {
|
|
156
|
+
tag_budget_1.TagBudget.encode(v, writer.uint32(218).fork()).ldelim();
|
|
157
|
+
}
|
|
158
|
+
if (message.tagBudgetCount !== BigInt(0)) {
|
|
159
|
+
writer.uint32(224).uint64(message.tagBudgetCount);
|
|
160
|
+
}
|
|
161
|
+
for (const v of message.tagBudgetAwardList) {
|
|
162
|
+
tag_budget_award_1.TagBudgetAward.encode(v, writer.uint32(234).fork()).ldelim();
|
|
163
|
+
}
|
|
164
|
+
if (message.tagBudgetAwardCount !== BigInt(0)) {
|
|
165
|
+
writer.uint32(240).uint64(message.tagBudgetAwardCount);
|
|
166
|
+
}
|
|
167
|
+
for (const v of message.sentinelActivityMap) {
|
|
168
|
+
sentinel_activity_1.SentinelActivity.encode(v, writer.uint32(250).fork()).ldelim();
|
|
169
|
+
}
|
|
170
|
+
for (const v of message.juryParticipationMap) {
|
|
171
|
+
jury_participation_1.JuryParticipation.encode(v, writer.uint32(258).fork()).ldelim();
|
|
172
|
+
}
|
|
173
|
+
for (const v of message.memberReportMap) {
|
|
174
|
+
member_report_1.MemberReport.encode(v, writer.uint32(266).fork()).ldelim();
|
|
175
|
+
}
|
|
176
|
+
for (const v of message.memberWarningList) {
|
|
177
|
+
member_warning_1.MemberWarning.encode(v, writer.uint32(274).fork()).ldelim();
|
|
178
|
+
}
|
|
179
|
+
if (message.memberWarningCount !== BigInt(0)) {
|
|
180
|
+
writer.uint32(280).uint64(message.memberWarningCount);
|
|
181
|
+
}
|
|
182
|
+
for (const v of message.govActionAppealList) {
|
|
183
|
+
gov_action_appeal_1.GovActionAppeal.encode(v, writer.uint32(290).fork()).ldelim();
|
|
184
|
+
}
|
|
185
|
+
if (message.govActionAppealCount !== BigInt(0)) {
|
|
186
|
+
writer.uint32(296).uint64(message.govActionAppealCount);
|
|
187
|
+
}
|
|
122
188
|
return writer;
|
|
123
189
|
},
|
|
124
190
|
decode(input, length) {
|
|
@@ -197,6 +263,48 @@ exports.GenesisState = {
|
|
|
197
263
|
case 23:
|
|
198
264
|
message.contentInitiativeLinks.push(exports.ContentInitiativeLink.decode(reader, reader.uint32()));
|
|
199
265
|
break;
|
|
266
|
+
case 24:
|
|
267
|
+
message.tagMap.push(tag_1.Tag.decode(reader, reader.uint32()));
|
|
268
|
+
break;
|
|
269
|
+
case 25:
|
|
270
|
+
message.reservedTagMap.push(reserved_tag_1.ReservedTag.decode(reader, reader.uint32()));
|
|
271
|
+
break;
|
|
272
|
+
case 26:
|
|
273
|
+
message.tagReportMap.push(tag_report_1.TagReport.decode(reader, reader.uint32()));
|
|
274
|
+
break;
|
|
275
|
+
case 27:
|
|
276
|
+
message.tagBudgetList.push(tag_budget_1.TagBudget.decode(reader, reader.uint32()));
|
|
277
|
+
break;
|
|
278
|
+
case 28:
|
|
279
|
+
message.tagBudgetCount = reader.uint64();
|
|
280
|
+
break;
|
|
281
|
+
case 29:
|
|
282
|
+
message.tagBudgetAwardList.push(tag_budget_award_1.TagBudgetAward.decode(reader, reader.uint32()));
|
|
283
|
+
break;
|
|
284
|
+
case 30:
|
|
285
|
+
message.tagBudgetAwardCount = reader.uint64();
|
|
286
|
+
break;
|
|
287
|
+
case 31:
|
|
288
|
+
message.sentinelActivityMap.push(sentinel_activity_1.SentinelActivity.decode(reader, reader.uint32()));
|
|
289
|
+
break;
|
|
290
|
+
case 32:
|
|
291
|
+
message.juryParticipationMap.push(jury_participation_1.JuryParticipation.decode(reader, reader.uint32()));
|
|
292
|
+
break;
|
|
293
|
+
case 33:
|
|
294
|
+
message.memberReportMap.push(member_report_1.MemberReport.decode(reader, reader.uint32()));
|
|
295
|
+
break;
|
|
296
|
+
case 34:
|
|
297
|
+
message.memberWarningList.push(member_warning_1.MemberWarning.decode(reader, reader.uint32()));
|
|
298
|
+
break;
|
|
299
|
+
case 35:
|
|
300
|
+
message.memberWarningCount = reader.uint64();
|
|
301
|
+
break;
|
|
302
|
+
case 36:
|
|
303
|
+
message.govActionAppealList.push(gov_action_appeal_1.GovActionAppeal.decode(reader, reader.uint32()));
|
|
304
|
+
break;
|
|
305
|
+
case 37:
|
|
306
|
+
message.govActionAppealCount = reader.uint64();
|
|
307
|
+
break;
|
|
200
308
|
default:
|
|
201
309
|
reader.skipType(tag & 7);
|
|
202
310
|
break;
|
|
@@ -229,6 +337,20 @@ exports.GenesisState = {
|
|
|
229
337
|
message.contentChallengeList = object.contentChallengeList?.map(e => content_challenge_1.ContentChallenge.fromPartial(e)) || [];
|
|
230
338
|
message.contentChallengeCount = object.contentChallengeCount !== undefined && object.contentChallengeCount !== null ? BigInt(object.contentChallengeCount.toString()) : BigInt(0);
|
|
231
339
|
message.contentInitiativeLinks = object.contentInitiativeLinks?.map(e => exports.ContentInitiativeLink.fromPartial(e)) || [];
|
|
340
|
+
message.tagMap = object.tagMap?.map(e => tag_1.Tag.fromPartial(e)) || [];
|
|
341
|
+
message.reservedTagMap = object.reservedTagMap?.map(e => reserved_tag_1.ReservedTag.fromPartial(e)) || [];
|
|
342
|
+
message.tagReportMap = object.tagReportMap?.map(e => tag_report_1.TagReport.fromPartial(e)) || [];
|
|
343
|
+
message.tagBudgetList = object.tagBudgetList?.map(e => tag_budget_1.TagBudget.fromPartial(e)) || [];
|
|
344
|
+
message.tagBudgetCount = object.tagBudgetCount !== undefined && object.tagBudgetCount !== null ? BigInt(object.tagBudgetCount.toString()) : BigInt(0);
|
|
345
|
+
message.tagBudgetAwardList = object.tagBudgetAwardList?.map(e => tag_budget_award_1.TagBudgetAward.fromPartial(e)) || [];
|
|
346
|
+
message.tagBudgetAwardCount = object.tagBudgetAwardCount !== undefined && object.tagBudgetAwardCount !== null ? BigInt(object.tagBudgetAwardCount.toString()) : BigInt(0);
|
|
347
|
+
message.sentinelActivityMap = object.sentinelActivityMap?.map(e => sentinel_activity_1.SentinelActivity.fromPartial(e)) || [];
|
|
348
|
+
message.juryParticipationMap = object.juryParticipationMap?.map(e => jury_participation_1.JuryParticipation.fromPartial(e)) || [];
|
|
349
|
+
message.memberReportMap = object.memberReportMap?.map(e => member_report_1.MemberReport.fromPartial(e)) || [];
|
|
350
|
+
message.memberWarningList = object.memberWarningList?.map(e => member_warning_1.MemberWarning.fromPartial(e)) || [];
|
|
351
|
+
message.memberWarningCount = object.memberWarningCount !== undefined && object.memberWarningCount !== null ? BigInt(object.memberWarningCount.toString()) : BigInt(0);
|
|
352
|
+
message.govActionAppealList = object.govActionAppealList?.map(e => gov_action_appeal_1.GovActionAppeal.fromPartial(e)) || [];
|
|
353
|
+
message.govActionAppealCount = object.govActionAppealCount !== undefined && object.govActionAppealCount !== null ? BigInt(object.govActionAppealCount.toString()) : BigInt(0);
|
|
232
354
|
return message;
|
|
233
355
|
},
|
|
234
356
|
fromAmino(object) {
|
|
@@ -274,6 +396,28 @@ exports.GenesisState = {
|
|
|
274
396
|
message.contentChallengeCount = BigInt(object.content_challenge_count);
|
|
275
397
|
}
|
|
276
398
|
message.contentInitiativeLinks = object.content_initiative_links?.map(e => exports.ContentInitiativeLink.fromAmino(e)) || [];
|
|
399
|
+
message.tagMap = object.tag_map?.map(e => tag_1.Tag.fromAmino(e)) || [];
|
|
400
|
+
message.reservedTagMap = object.reserved_tag_map?.map(e => reserved_tag_1.ReservedTag.fromAmino(e)) || [];
|
|
401
|
+
message.tagReportMap = object.tag_report_map?.map(e => tag_report_1.TagReport.fromAmino(e)) || [];
|
|
402
|
+
message.tagBudgetList = object.tag_budget_list?.map(e => tag_budget_1.TagBudget.fromAmino(e)) || [];
|
|
403
|
+
if (object.tag_budget_count !== undefined && object.tag_budget_count !== null) {
|
|
404
|
+
message.tagBudgetCount = BigInt(object.tag_budget_count);
|
|
405
|
+
}
|
|
406
|
+
message.tagBudgetAwardList = object.tag_budget_award_list?.map(e => tag_budget_award_1.TagBudgetAward.fromAmino(e)) || [];
|
|
407
|
+
if (object.tag_budget_award_count !== undefined && object.tag_budget_award_count !== null) {
|
|
408
|
+
message.tagBudgetAwardCount = BigInt(object.tag_budget_award_count);
|
|
409
|
+
}
|
|
410
|
+
message.sentinelActivityMap = object.sentinel_activity_map?.map(e => sentinel_activity_1.SentinelActivity.fromAmino(e)) || [];
|
|
411
|
+
message.juryParticipationMap = object.jury_participation_map?.map(e => jury_participation_1.JuryParticipation.fromAmino(e)) || [];
|
|
412
|
+
message.memberReportMap = object.member_report_map?.map(e => member_report_1.MemberReport.fromAmino(e)) || [];
|
|
413
|
+
message.memberWarningList = object.member_warning_list?.map(e => member_warning_1.MemberWarning.fromAmino(e)) || [];
|
|
414
|
+
if (object.member_warning_count !== undefined && object.member_warning_count !== null) {
|
|
415
|
+
message.memberWarningCount = BigInt(object.member_warning_count);
|
|
416
|
+
}
|
|
417
|
+
message.govActionAppealList = object.gov_action_appeal_list?.map(e => gov_action_appeal_1.GovActionAppeal.fromAmino(e)) || [];
|
|
418
|
+
if (object.gov_action_appeal_count !== undefined && object.gov_action_appeal_count !== null) {
|
|
419
|
+
message.govActionAppealCount = BigInt(object.gov_action_appeal_count);
|
|
420
|
+
}
|
|
277
421
|
return message;
|
|
278
422
|
},
|
|
279
423
|
toAmino(message) {
|
|
@@ -371,6 +515,70 @@ exports.GenesisState = {
|
|
|
371
515
|
else {
|
|
372
516
|
obj.content_initiative_links = message.contentInitiativeLinks;
|
|
373
517
|
}
|
|
518
|
+
if (message.tagMap) {
|
|
519
|
+
obj.tag_map = message.tagMap.map(e => e ? tag_1.Tag.toAmino(e) : undefined);
|
|
520
|
+
}
|
|
521
|
+
else {
|
|
522
|
+
obj.tag_map = message.tagMap;
|
|
523
|
+
}
|
|
524
|
+
if (message.reservedTagMap) {
|
|
525
|
+
obj.reserved_tag_map = message.reservedTagMap.map(e => e ? reserved_tag_1.ReservedTag.toAmino(e) : undefined);
|
|
526
|
+
}
|
|
527
|
+
else {
|
|
528
|
+
obj.reserved_tag_map = message.reservedTagMap;
|
|
529
|
+
}
|
|
530
|
+
if (message.tagReportMap) {
|
|
531
|
+
obj.tag_report_map = message.tagReportMap.map(e => e ? tag_report_1.TagReport.toAmino(e) : undefined);
|
|
532
|
+
}
|
|
533
|
+
else {
|
|
534
|
+
obj.tag_report_map = message.tagReportMap;
|
|
535
|
+
}
|
|
536
|
+
if (message.tagBudgetList) {
|
|
537
|
+
obj.tag_budget_list = message.tagBudgetList.map(e => e ? tag_budget_1.TagBudget.toAmino(e) : undefined);
|
|
538
|
+
}
|
|
539
|
+
else {
|
|
540
|
+
obj.tag_budget_list = message.tagBudgetList;
|
|
541
|
+
}
|
|
542
|
+
obj.tag_budget_count = message.tagBudgetCount !== BigInt(0) ? message.tagBudgetCount?.toString() : undefined;
|
|
543
|
+
if (message.tagBudgetAwardList) {
|
|
544
|
+
obj.tag_budget_award_list = message.tagBudgetAwardList.map(e => e ? tag_budget_award_1.TagBudgetAward.toAmino(e) : undefined);
|
|
545
|
+
}
|
|
546
|
+
else {
|
|
547
|
+
obj.tag_budget_award_list = message.tagBudgetAwardList;
|
|
548
|
+
}
|
|
549
|
+
obj.tag_budget_award_count = message.tagBudgetAwardCount !== BigInt(0) ? message.tagBudgetAwardCount?.toString() : undefined;
|
|
550
|
+
if (message.sentinelActivityMap) {
|
|
551
|
+
obj.sentinel_activity_map = message.sentinelActivityMap.map(e => e ? sentinel_activity_1.SentinelActivity.toAmino(e) : undefined);
|
|
552
|
+
}
|
|
553
|
+
else {
|
|
554
|
+
obj.sentinel_activity_map = message.sentinelActivityMap;
|
|
555
|
+
}
|
|
556
|
+
if (message.juryParticipationMap) {
|
|
557
|
+
obj.jury_participation_map = message.juryParticipationMap.map(e => e ? jury_participation_1.JuryParticipation.toAmino(e) : undefined);
|
|
558
|
+
}
|
|
559
|
+
else {
|
|
560
|
+
obj.jury_participation_map = message.juryParticipationMap;
|
|
561
|
+
}
|
|
562
|
+
if (message.memberReportMap) {
|
|
563
|
+
obj.member_report_map = message.memberReportMap.map(e => e ? member_report_1.MemberReport.toAmino(e) : undefined);
|
|
564
|
+
}
|
|
565
|
+
else {
|
|
566
|
+
obj.member_report_map = message.memberReportMap;
|
|
567
|
+
}
|
|
568
|
+
if (message.memberWarningList) {
|
|
569
|
+
obj.member_warning_list = message.memberWarningList.map(e => e ? member_warning_1.MemberWarning.toAmino(e) : undefined);
|
|
570
|
+
}
|
|
571
|
+
else {
|
|
572
|
+
obj.member_warning_list = message.memberWarningList;
|
|
573
|
+
}
|
|
574
|
+
obj.member_warning_count = message.memberWarningCount !== BigInt(0) ? message.memberWarningCount?.toString() : undefined;
|
|
575
|
+
if (message.govActionAppealList) {
|
|
576
|
+
obj.gov_action_appeal_list = message.govActionAppealList.map(e => e ? gov_action_appeal_1.GovActionAppeal.toAmino(e) : undefined);
|
|
577
|
+
}
|
|
578
|
+
else {
|
|
579
|
+
obj.gov_action_appeal_list = message.govActionAppealList;
|
|
580
|
+
}
|
|
581
|
+
obj.gov_action_appeal_count = message.govActionAppealCount !== BigInt(0) ? message.govActionAppealCount?.toString() : undefined;
|
|
374
582
|
return obj;
|
|
375
583
|
},
|
|
376
584
|
fromAminoMsg(object) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { GovActionType, GovAppealStatus } from "./
|
|
1
|
+
import { GovActionType, GovAppealStatus } from "./accountability";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
import { DeepPartial } from "../../../helpers";
|
|
4
4
|
/**
|
|
5
5
|
* GovActionAppeal defines the GovActionAppeal message.
|
|
6
6
|
* @name GovActionAppeal
|
|
7
|
-
* @package sparkdream.
|
|
8
|
-
* @see proto type: sparkdream.
|
|
7
|
+
* @package sparkdream.rep.v1
|
|
8
|
+
* @see proto type: sparkdream.rep.v1.GovActionAppeal
|
|
9
9
|
*/
|
|
10
10
|
export interface GovActionAppeal {
|
|
11
11
|
id: bigint;
|
|
@@ -22,14 +22,14 @@ export interface GovActionAppeal {
|
|
|
22
22
|
originalCategoryId: bigint;
|
|
23
23
|
}
|
|
24
24
|
export interface GovActionAppealProtoMsg {
|
|
25
|
-
typeUrl: "/sparkdream.
|
|
25
|
+
typeUrl: "/sparkdream.rep.v1.GovActionAppeal";
|
|
26
26
|
value: Uint8Array;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* GovActionAppeal defines the GovActionAppeal message.
|
|
30
30
|
* @name GovActionAppealAmino
|
|
31
|
-
* @package sparkdream.
|
|
32
|
-
* @see proto type: sparkdream.
|
|
31
|
+
* @package sparkdream.rep.v1
|
|
32
|
+
* @see proto type: sparkdream.rep.v1.GovActionAppeal
|
|
33
33
|
*/
|
|
34
34
|
export interface GovActionAppealAmino {
|
|
35
35
|
id?: string;
|
|
@@ -46,14 +46,14 @@ export interface GovActionAppealAmino {
|
|
|
46
46
|
original_category_id?: string;
|
|
47
47
|
}
|
|
48
48
|
export interface GovActionAppealAminoMsg {
|
|
49
|
-
type: "/sparkdream.
|
|
49
|
+
type: "/sparkdream.rep.v1.GovActionAppeal";
|
|
50
50
|
value: GovActionAppealAmino;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* GovActionAppeal defines the GovActionAppeal message.
|
|
54
54
|
* @name GovActionAppeal
|
|
55
|
-
* @package sparkdream.
|
|
56
|
-
* @see proto type: sparkdream.
|
|
55
|
+
* @package sparkdream.rep.v1
|
|
56
|
+
* @see proto type: sparkdream.rep.v1.GovActionAppeal
|
|
57
57
|
*/
|
|
58
58
|
export declare const GovActionAppeal: {
|
|
59
59
|
typeUrl: string;
|
|
@@ -21,11 +21,11 @@ function createBaseGovActionAppeal() {
|
|
|
21
21
|
/**
|
|
22
22
|
* GovActionAppeal defines the GovActionAppeal message.
|
|
23
23
|
* @name GovActionAppeal
|
|
24
|
-
* @package sparkdream.
|
|
25
|
-
* @see proto type: sparkdream.
|
|
24
|
+
* @package sparkdream.rep.v1
|
|
25
|
+
* @see proto type: sparkdream.rep.v1.GovActionAppeal
|
|
26
26
|
*/
|
|
27
27
|
exports.GovActionAppeal = {
|
|
28
|
-
typeUrl: "/sparkdream.
|
|
28
|
+
typeUrl: "/sparkdream.rep.v1.GovActionAppeal",
|
|
29
29
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
30
30
|
if (message.id !== BigInt(0)) {
|
|
31
31
|
writer.uint32(8).uint64(message.id);
|
|
@@ -198,7 +198,7 @@ exports.GovActionAppeal = {
|
|
|
198
198
|
},
|
|
199
199
|
toProtoMsg(message) {
|
|
200
200
|
return {
|
|
201
|
-
typeUrl: "/sparkdream.
|
|
201
|
+
typeUrl: "/sparkdream.rep.v1.GovActionAppeal",
|
|
202
202
|
value: exports.GovActionAppeal.encode(message).finish()
|
|
203
203
|
};
|
|
204
204
|
}
|
|
@@ -3,8 +3,8 @@ import { DeepPartial } from "../../../helpers";
|
|
|
3
3
|
/**
|
|
4
4
|
* JuryParticipation defines the JuryParticipation message.
|
|
5
5
|
* @name JuryParticipation
|
|
6
|
-
* @package sparkdream.
|
|
7
|
-
* @see proto type: sparkdream.
|
|
6
|
+
* @package sparkdream.rep.v1
|
|
7
|
+
* @see proto type: sparkdream.rep.v1.JuryParticipation
|
|
8
8
|
*/
|
|
9
9
|
export interface JuryParticipation {
|
|
10
10
|
juror: string;
|
|
@@ -15,14 +15,14 @@ export interface JuryParticipation {
|
|
|
15
15
|
excluded: boolean;
|
|
16
16
|
}
|
|
17
17
|
export interface JuryParticipationProtoMsg {
|
|
18
|
-
typeUrl: "/sparkdream.
|
|
18
|
+
typeUrl: "/sparkdream.rep.v1.JuryParticipation";
|
|
19
19
|
value: Uint8Array;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* JuryParticipation defines the JuryParticipation message.
|
|
23
23
|
* @name JuryParticipationAmino
|
|
24
|
-
* @package sparkdream.
|
|
25
|
-
* @see proto type: sparkdream.
|
|
24
|
+
* @package sparkdream.rep.v1
|
|
25
|
+
* @see proto type: sparkdream.rep.v1.JuryParticipation
|
|
26
26
|
*/
|
|
27
27
|
export interface JuryParticipationAmino {
|
|
28
28
|
juror?: string;
|
|
@@ -33,14 +33,14 @@ export interface JuryParticipationAmino {
|
|
|
33
33
|
excluded?: boolean;
|
|
34
34
|
}
|
|
35
35
|
export interface JuryParticipationAminoMsg {
|
|
36
|
-
type: "/sparkdream.
|
|
36
|
+
type: "/sparkdream.rep.v1.JuryParticipation";
|
|
37
37
|
value: JuryParticipationAmino;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* JuryParticipation defines the JuryParticipation message.
|
|
41
41
|
* @name JuryParticipation
|
|
42
|
-
* @package sparkdream.
|
|
43
|
-
* @see proto type: sparkdream.
|
|
42
|
+
* @package sparkdream.rep.v1
|
|
43
|
+
* @see proto type: sparkdream.rep.v1.JuryParticipation
|
|
44
44
|
*/
|
|
45
45
|
export declare const JuryParticipation: {
|
|
46
46
|
typeUrl: string;
|
|
@@ -16,11 +16,11 @@ function createBaseJuryParticipation() {
|
|
|
16
16
|
/**
|
|
17
17
|
* JuryParticipation defines the JuryParticipation message.
|
|
18
18
|
* @name JuryParticipation
|
|
19
|
-
* @package sparkdream.
|
|
20
|
-
* @see proto type: sparkdream.
|
|
19
|
+
* @package sparkdream.rep.v1
|
|
20
|
+
* @see proto type: sparkdream.rep.v1.JuryParticipation
|
|
21
21
|
*/
|
|
22
22
|
exports.JuryParticipation = {
|
|
23
|
-
typeUrl: "/sparkdream.
|
|
23
|
+
typeUrl: "/sparkdream.rep.v1.JuryParticipation",
|
|
24
24
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
25
25
|
if (message.juror !== "") {
|
|
26
26
|
writer.uint32(10).string(message.juror);
|
|
@@ -127,7 +127,7 @@ exports.JuryParticipation = {
|
|
|
127
127
|
},
|
|
128
128
|
toProtoMsg(message) {
|
|
129
129
|
return {
|
|
130
|
-
typeUrl: "/sparkdream.
|
|
130
|
+
typeUrl: "/sparkdream.rep.v1.JuryParticipation",
|
|
131
131
|
value: exports.JuryParticipation.encode(message).finish()
|
|
132
132
|
};
|
|
133
133
|
}
|