@sparkdreamnft/sparkdreamjs 0.0.13 → 0.0.15
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/esm/sparkdream/commons/v1/tx.js +147 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +20 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +7 -1
- package/esm/sparkdream/forum/v1/hide_record.js +19 -1
- package/esm/sparkdream/forum/v1/params.js +26 -2
- package/esm/sparkdream/forum/v1/tx.amino.js +6 -1
- package/esm/sparkdream/forum/v1/tx.js +144 -0
- package/esm/sparkdream/forum/v1/tx.registry.js +20 -2
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +12 -1
- package/esm/sparkdream/rep/v1/params.js +74 -2
- package/esm/sparkdream/rep/v1/project.js +24 -1
- package/esm/sparkdream/session/v1/params.js +26 -2
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +81 -0
- package/sparkdream/client.d.ts +5 -0
- package/sparkdream/commons/v1/tx.d.ts +99 -0
- package/sparkdream/commons/v1/tx.js +148 -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 +3 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +6 -0
- package/sparkdream/forum/v1/hide_record.d.ts +50 -0
- package/sparkdream/forum/v1/hide_record.js +19 -1
- package/sparkdream/forum/v1/params.d.ts +28 -0
- package/sparkdream/forum/v1/params.js +26 -2
- package/sparkdream/forum/v1/tx.amino.d.ts +6 -1
- package/sparkdream/forum/v1/tx.amino.js +5 -0
- package/sparkdream/forum/v1/tx.d.ts +90 -0
- package/sparkdream/forum/v1/tx.js +146 -2
- package/sparkdream/forum/v1/tx.registry.d.ts +13 -1
- package/sparkdream/forum/v1/tx.registry.js +19 -1
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +11 -1
- package/sparkdream/forum/v1/tx.rpc.msg.js +11 -0
- package/sparkdream/rep/v1/params.d.ts +52 -0
- package/sparkdream/rep/v1/params.js +74 -2
- package/sparkdream/rep/v1/project.d.ts +22 -0
- package/sparkdream/rep/v1/project.js +24 -1
- package/sparkdream/session/v1/params.d.ts +12 -0
- package/sparkdream/session/v1/params.js +26 -2
|
@@ -407,7 +407,10 @@ function createBaseParams() {
|
|
|
407
407
|
minAppealRate: "",
|
|
408
408
|
maxActiveInitiativesPerMember: 0,
|
|
409
409
|
maxActiveInterimsPerMember: 0,
|
|
410
|
-
maxDreamMintPerEpoch: ""
|
|
410
|
+
maxDreamMintPerEpoch: "",
|
|
411
|
+
maxProjectRequestedBudget: "",
|
|
412
|
+
maxProjectRequestedSpark: "",
|
|
413
|
+
proposedProjectExpiryBlocks: BigInt(0)
|
|
411
414
|
};
|
|
412
415
|
}
|
|
413
416
|
/**
|
|
@@ -681,6 +684,15 @@ export const Params = {
|
|
|
681
684
|
if (message.maxDreamMintPerEpoch !== "") {
|
|
682
685
|
writer.uint32(698).string(message.maxDreamMintPerEpoch);
|
|
683
686
|
}
|
|
687
|
+
if (message.maxProjectRequestedBudget !== "") {
|
|
688
|
+
writer.uint32(706).string(message.maxProjectRequestedBudget);
|
|
689
|
+
}
|
|
690
|
+
if (message.maxProjectRequestedSpark !== "") {
|
|
691
|
+
writer.uint32(714).string(message.maxProjectRequestedSpark);
|
|
692
|
+
}
|
|
693
|
+
if (message.proposedProjectExpiryBlocks !== BigInt(0)) {
|
|
694
|
+
writer.uint32(720).int64(message.proposedProjectExpiryBlocks);
|
|
695
|
+
}
|
|
684
696
|
return writer;
|
|
685
697
|
},
|
|
686
698
|
decode(input, length) {
|
|
@@ -951,6 +963,15 @@ export const Params = {
|
|
|
951
963
|
case 87:
|
|
952
964
|
message.maxDreamMintPerEpoch = reader.string();
|
|
953
965
|
break;
|
|
966
|
+
case 88:
|
|
967
|
+
message.maxProjectRequestedBudget = reader.string();
|
|
968
|
+
break;
|
|
969
|
+
case 89:
|
|
970
|
+
message.maxProjectRequestedSpark = reader.string();
|
|
971
|
+
break;
|
|
972
|
+
case 90:
|
|
973
|
+
message.proposedProjectExpiryBlocks = reader.int64();
|
|
974
|
+
break;
|
|
954
975
|
default:
|
|
955
976
|
reader.skipType(tag & 7);
|
|
956
977
|
break;
|
|
@@ -1047,6 +1068,9 @@ export const Params = {
|
|
|
1047
1068
|
message.maxActiveInitiativesPerMember = object.maxActiveInitiativesPerMember ?? 0;
|
|
1048
1069
|
message.maxActiveInterimsPerMember = object.maxActiveInterimsPerMember ?? 0;
|
|
1049
1070
|
message.maxDreamMintPerEpoch = object.maxDreamMintPerEpoch ?? "";
|
|
1071
|
+
message.maxProjectRequestedBudget = object.maxProjectRequestedBudget ?? "";
|
|
1072
|
+
message.maxProjectRequestedSpark = object.maxProjectRequestedSpark ?? "";
|
|
1073
|
+
message.proposedProjectExpiryBlocks = object.proposedProjectExpiryBlocks !== undefined && object.proposedProjectExpiryBlocks !== null ? BigInt(object.proposedProjectExpiryBlocks.toString()) : BigInt(0);
|
|
1050
1074
|
return message;
|
|
1051
1075
|
},
|
|
1052
1076
|
fromAmino(object) {
|
|
@@ -1312,6 +1336,15 @@ export const Params = {
|
|
|
1312
1336
|
if (object.max_dream_mint_per_epoch !== undefined && object.max_dream_mint_per_epoch !== null) {
|
|
1313
1337
|
message.maxDreamMintPerEpoch = object.max_dream_mint_per_epoch;
|
|
1314
1338
|
}
|
|
1339
|
+
if (object.max_project_requested_budget !== undefined && object.max_project_requested_budget !== null) {
|
|
1340
|
+
message.maxProjectRequestedBudget = object.max_project_requested_budget;
|
|
1341
|
+
}
|
|
1342
|
+
if (object.max_project_requested_spark !== undefined && object.max_project_requested_spark !== null) {
|
|
1343
|
+
message.maxProjectRequestedSpark = object.max_project_requested_spark;
|
|
1344
|
+
}
|
|
1345
|
+
if (object.proposed_project_expiry_blocks !== undefined && object.proposed_project_expiry_blocks !== null) {
|
|
1346
|
+
message.proposedProjectExpiryBlocks = BigInt(object.proposed_project_expiry_blocks);
|
|
1347
|
+
}
|
|
1315
1348
|
return message;
|
|
1316
1349
|
},
|
|
1317
1350
|
toAmino(message) {
|
|
@@ -1403,6 +1436,9 @@ export const Params = {
|
|
|
1403
1436
|
obj.max_active_initiatives_per_member = message.maxActiveInitiativesPerMember === 0 ? undefined : message.maxActiveInitiativesPerMember;
|
|
1404
1437
|
obj.max_active_interims_per_member = message.maxActiveInterimsPerMember === 0 ? undefined : message.maxActiveInterimsPerMember;
|
|
1405
1438
|
obj.max_dream_mint_per_epoch = message.maxDreamMintPerEpoch === "" ? undefined : message.maxDreamMintPerEpoch;
|
|
1439
|
+
obj.max_project_requested_budget = message.maxProjectRequestedBudget === "" ? undefined : message.maxProjectRequestedBudget;
|
|
1440
|
+
obj.max_project_requested_spark = message.maxProjectRequestedSpark === "" ? undefined : message.maxProjectRequestedSpark;
|
|
1441
|
+
obj.proposed_project_expiry_blocks = message.proposedProjectExpiryBlocks !== BigInt(0) ? message.proposedProjectExpiryBlocks?.toString() : undefined;
|
|
1406
1442
|
return obj;
|
|
1407
1443
|
},
|
|
1408
1444
|
fromAminoMsg(object) {
|
|
@@ -1499,7 +1535,10 @@ function createBaseRepOperationalParams() {
|
|
|
1499
1535
|
minAppealRate: "",
|
|
1500
1536
|
maxActiveInitiativesPerMember: 0,
|
|
1501
1537
|
maxActiveInterimsPerMember: 0,
|
|
1502
|
-
maxDreamMintPerEpoch: ""
|
|
1538
|
+
maxDreamMintPerEpoch: "",
|
|
1539
|
+
maxProjectRequestedBudget: "",
|
|
1540
|
+
maxProjectRequestedSpark: "",
|
|
1541
|
+
proposedProjectExpiryBlocks: BigInt(0)
|
|
1503
1542
|
};
|
|
1504
1543
|
}
|
|
1505
1544
|
/**
|
|
@@ -1727,6 +1766,15 @@ export const RepOperationalParams = {
|
|
|
1727
1766
|
if (message.maxDreamMintPerEpoch !== "") {
|
|
1728
1767
|
writer.uint32(570).string(message.maxDreamMintPerEpoch);
|
|
1729
1768
|
}
|
|
1769
|
+
if (message.maxProjectRequestedBudget !== "") {
|
|
1770
|
+
writer.uint32(578).string(message.maxProjectRequestedBudget);
|
|
1771
|
+
}
|
|
1772
|
+
if (message.maxProjectRequestedSpark !== "") {
|
|
1773
|
+
writer.uint32(586).string(message.maxProjectRequestedSpark);
|
|
1774
|
+
}
|
|
1775
|
+
if (message.proposedProjectExpiryBlocks !== BigInt(0)) {
|
|
1776
|
+
writer.uint32(592).int64(message.proposedProjectExpiryBlocks);
|
|
1777
|
+
}
|
|
1730
1778
|
return writer;
|
|
1731
1779
|
},
|
|
1732
1780
|
decode(input, length) {
|
|
@@ -1949,6 +1997,15 @@ export const RepOperationalParams = {
|
|
|
1949
1997
|
case 71:
|
|
1950
1998
|
message.maxDreamMintPerEpoch = reader.string();
|
|
1951
1999
|
break;
|
|
2000
|
+
case 72:
|
|
2001
|
+
message.maxProjectRequestedBudget = reader.string();
|
|
2002
|
+
break;
|
|
2003
|
+
case 73:
|
|
2004
|
+
message.maxProjectRequestedSpark = reader.string();
|
|
2005
|
+
break;
|
|
2006
|
+
case 74:
|
|
2007
|
+
message.proposedProjectExpiryBlocks = reader.int64();
|
|
2008
|
+
break;
|
|
1952
2009
|
default:
|
|
1953
2010
|
reader.skipType(tag & 7);
|
|
1954
2011
|
break;
|
|
@@ -2029,6 +2086,9 @@ export const RepOperationalParams = {
|
|
|
2029
2086
|
message.maxActiveInitiativesPerMember = object.maxActiveInitiativesPerMember ?? 0;
|
|
2030
2087
|
message.maxActiveInterimsPerMember = object.maxActiveInterimsPerMember ?? 0;
|
|
2031
2088
|
message.maxDreamMintPerEpoch = object.maxDreamMintPerEpoch ?? "";
|
|
2089
|
+
message.maxProjectRequestedBudget = object.maxProjectRequestedBudget ?? "";
|
|
2090
|
+
message.maxProjectRequestedSpark = object.maxProjectRequestedSpark ?? "";
|
|
2091
|
+
message.proposedProjectExpiryBlocks = object.proposedProjectExpiryBlocks !== undefined && object.proposedProjectExpiryBlocks !== null ? BigInt(object.proposedProjectExpiryBlocks.toString()) : BigInt(0);
|
|
2032
2092
|
return message;
|
|
2033
2093
|
},
|
|
2034
2094
|
fromAmino(object) {
|
|
@@ -2246,6 +2306,15 @@ export const RepOperationalParams = {
|
|
|
2246
2306
|
if (object.max_dream_mint_per_epoch !== undefined && object.max_dream_mint_per_epoch !== null) {
|
|
2247
2307
|
message.maxDreamMintPerEpoch = object.max_dream_mint_per_epoch;
|
|
2248
2308
|
}
|
|
2309
|
+
if (object.max_project_requested_budget !== undefined && object.max_project_requested_budget !== null) {
|
|
2310
|
+
message.maxProjectRequestedBudget = object.max_project_requested_budget;
|
|
2311
|
+
}
|
|
2312
|
+
if (object.max_project_requested_spark !== undefined && object.max_project_requested_spark !== null) {
|
|
2313
|
+
message.maxProjectRequestedSpark = object.max_project_requested_spark;
|
|
2314
|
+
}
|
|
2315
|
+
if (object.proposed_project_expiry_blocks !== undefined && object.proposed_project_expiry_blocks !== null) {
|
|
2316
|
+
message.proposedProjectExpiryBlocks = BigInt(object.proposed_project_expiry_blocks);
|
|
2317
|
+
}
|
|
2249
2318
|
return message;
|
|
2250
2319
|
},
|
|
2251
2320
|
toAmino(message) {
|
|
@@ -2321,6 +2390,9 @@ export const RepOperationalParams = {
|
|
|
2321
2390
|
obj.max_active_initiatives_per_member = message.maxActiveInitiativesPerMember === 0 ? undefined : message.maxActiveInitiativesPerMember;
|
|
2322
2391
|
obj.max_active_interims_per_member = message.maxActiveInterimsPerMember === 0 ? undefined : message.maxActiveInterimsPerMember;
|
|
2323
2392
|
obj.max_dream_mint_per_epoch = message.maxDreamMintPerEpoch === "" ? undefined : message.maxDreamMintPerEpoch;
|
|
2393
|
+
obj.max_project_requested_budget = message.maxProjectRequestedBudget === "" ? undefined : message.maxProjectRequestedBudget;
|
|
2394
|
+
obj.max_project_requested_spark = message.maxProjectRequestedSpark === "" ? undefined : message.maxProjectRequestedSpark;
|
|
2395
|
+
obj.proposed_project_expiry_blocks = message.proposedProjectExpiryBlocks !== BigInt(0) ? message.proposedProjectExpiryBlocks?.toString() : undefined;
|
|
2324
2396
|
return obj;
|
|
2325
2397
|
},
|
|
2326
2398
|
fromAminoMsg(object) {
|
|
@@ -57,6 +57,12 @@ export var ProjectStatus;
|
|
|
57
57
|
ProjectStatus[ProjectStatus["PROJECT_STATUS_ACTIVE"] = 1] = "PROJECT_STATUS_ACTIVE";
|
|
58
58
|
ProjectStatus[ProjectStatus["PROJECT_STATUS_COMPLETED"] = 2] = "PROJECT_STATUS_COMPLETED";
|
|
59
59
|
ProjectStatus[ProjectStatus["PROJECT_STATUS_CANCELLED"] = 3] = "PROJECT_STATUS_CANCELLED";
|
|
60
|
+
/**
|
|
61
|
+
* PROJECT_STATUS_EXPIRED - EXPIRED is set by the EndBlocker when a PROPOSED project has not been
|
|
62
|
+
* approved before its expiry_block_height. Terminal state — kept (not
|
|
63
|
+
* deleted) so the audit trail of stale proposals survives.
|
|
64
|
+
*/
|
|
65
|
+
ProjectStatus[ProjectStatus["PROJECT_STATUS_EXPIRED"] = 4] = "PROJECT_STATUS_EXPIRED";
|
|
60
66
|
ProjectStatus[ProjectStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
61
67
|
})(ProjectStatus || (ProjectStatus = {}));
|
|
62
68
|
export const ProjectStatusAmino = ProjectStatus;
|
|
@@ -74,6 +80,9 @@ export function projectStatusFromJSON(object) {
|
|
|
74
80
|
case 3:
|
|
75
81
|
case "PROJECT_STATUS_CANCELLED":
|
|
76
82
|
return ProjectStatus.PROJECT_STATUS_CANCELLED;
|
|
83
|
+
case 4:
|
|
84
|
+
case "PROJECT_STATUS_EXPIRED":
|
|
85
|
+
return ProjectStatus.PROJECT_STATUS_EXPIRED;
|
|
77
86
|
case -1:
|
|
78
87
|
case "UNRECOGNIZED":
|
|
79
88
|
default:
|
|
@@ -90,6 +99,8 @@ export function projectStatusToJSON(object) {
|
|
|
90
99
|
return "PROJECT_STATUS_COMPLETED";
|
|
91
100
|
case ProjectStatus.PROJECT_STATUS_CANCELLED:
|
|
92
101
|
return "PROJECT_STATUS_CANCELLED";
|
|
102
|
+
case ProjectStatus.PROJECT_STATUS_EXPIRED:
|
|
103
|
+
return "PROJECT_STATUS_EXPIRED";
|
|
93
104
|
case ProjectStatus.UNRECOGNIZED:
|
|
94
105
|
default:
|
|
95
106
|
return "UNRECOGNIZED";
|
|
@@ -158,7 +169,8 @@ function createBaseProject() {
|
|
|
158
169
|
approvedBy: "",
|
|
159
170
|
approvedAt: BigInt(0),
|
|
160
171
|
completedAt: BigInt(0),
|
|
161
|
-
permissionless: false
|
|
172
|
+
permissionless: false,
|
|
173
|
+
expiryBlockHeight: BigInt(0)
|
|
162
174
|
};
|
|
163
175
|
}
|
|
164
176
|
/**
|
|
@@ -224,6 +236,9 @@ export const Project = {
|
|
|
224
236
|
if (message.permissionless === true) {
|
|
225
237
|
writer.uint32(144).bool(message.permissionless);
|
|
226
238
|
}
|
|
239
|
+
if (message.expiryBlockHeight !== BigInt(0)) {
|
|
240
|
+
writer.uint32(152).int64(message.expiryBlockHeight);
|
|
241
|
+
}
|
|
227
242
|
return writer;
|
|
228
243
|
},
|
|
229
244
|
decode(input, length) {
|
|
@@ -287,6 +302,9 @@ export const Project = {
|
|
|
287
302
|
case 18:
|
|
288
303
|
message.permissionless = reader.bool();
|
|
289
304
|
break;
|
|
305
|
+
case 19:
|
|
306
|
+
message.expiryBlockHeight = reader.int64();
|
|
307
|
+
break;
|
|
290
308
|
default:
|
|
291
309
|
reader.skipType(tag & 7);
|
|
292
310
|
break;
|
|
@@ -314,6 +332,7 @@ export const Project = {
|
|
|
314
332
|
message.approvedAt = object.approvedAt !== undefined && object.approvedAt !== null ? BigInt(object.approvedAt.toString()) : BigInt(0);
|
|
315
333
|
message.completedAt = object.completedAt !== undefined && object.completedAt !== null ? BigInt(object.completedAt.toString()) : BigInt(0);
|
|
316
334
|
message.permissionless = object.permissionless ?? false;
|
|
335
|
+
message.expiryBlockHeight = object.expiryBlockHeight !== undefined && object.expiryBlockHeight !== null ? BigInt(object.expiryBlockHeight.toString()) : BigInt(0);
|
|
317
336
|
return message;
|
|
318
337
|
},
|
|
319
338
|
fromAmino(object) {
|
|
@@ -370,6 +389,9 @@ export const Project = {
|
|
|
370
389
|
if (object.permissionless !== undefined && object.permissionless !== null) {
|
|
371
390
|
message.permissionless = object.permissionless;
|
|
372
391
|
}
|
|
392
|
+
if (object.expiry_block_height !== undefined && object.expiry_block_height !== null) {
|
|
393
|
+
message.expiryBlockHeight = BigInt(object.expiry_block_height);
|
|
394
|
+
}
|
|
373
395
|
return message;
|
|
374
396
|
},
|
|
375
397
|
toAmino(message) {
|
|
@@ -397,6 +419,7 @@ export const Project = {
|
|
|
397
419
|
obj.approved_at = message.approvedAt !== BigInt(0) ? message.approvedAt?.toString() : undefined;
|
|
398
420
|
obj.completed_at = message.completedAt !== BigInt(0) ? message.completedAt?.toString() : undefined;
|
|
399
421
|
obj.permissionless = message.permissionless === false ? undefined : message.permissionless;
|
|
422
|
+
obj.expiry_block_height = message.expiryBlockHeight !== BigInt(0) ? message.expiryBlockHeight?.toString() : undefined;
|
|
400
423
|
return obj;
|
|
401
424
|
},
|
|
402
425
|
fromAminoMsg(object) {
|
|
@@ -9,7 +9,8 @@ function createBaseParams() {
|
|
|
9
9
|
maxSessionsPerGranter: BigInt(0),
|
|
10
10
|
maxMsgTypesPerSession: BigInt(0),
|
|
11
11
|
maxExpiration: Duration.fromPartial({}),
|
|
12
|
-
maxSpendLimit: Coin.fromPartial({})
|
|
12
|
+
maxSpendLimit: Coin.fromPartial({}),
|
|
13
|
+
maxExecCount: BigInt(0)
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
@@ -40,6 +41,9 @@ export const Params = {
|
|
|
40
41
|
if (message.maxSpendLimit !== undefined) {
|
|
41
42
|
Coin.encode(message.maxSpendLimit, writer.uint32(50).fork()).ldelim();
|
|
42
43
|
}
|
|
44
|
+
if (message.maxExecCount !== BigInt(0)) {
|
|
45
|
+
writer.uint32(56).uint64(message.maxExecCount);
|
|
46
|
+
}
|
|
43
47
|
return writer;
|
|
44
48
|
},
|
|
45
49
|
decode(input, length) {
|
|
@@ -67,6 +71,9 @@ export const Params = {
|
|
|
67
71
|
case 6:
|
|
68
72
|
message.maxSpendLimit = Coin.decode(reader, reader.uint32());
|
|
69
73
|
break;
|
|
74
|
+
case 7:
|
|
75
|
+
message.maxExecCount = reader.uint64();
|
|
76
|
+
break;
|
|
70
77
|
default:
|
|
71
78
|
reader.skipType(tag & 7);
|
|
72
79
|
break;
|
|
@@ -82,6 +89,7 @@ export const Params = {
|
|
|
82
89
|
message.maxMsgTypesPerSession = object.maxMsgTypesPerSession !== undefined && object.maxMsgTypesPerSession !== null ? BigInt(object.maxMsgTypesPerSession.toString()) : BigInt(0);
|
|
83
90
|
message.maxExpiration = object.maxExpiration !== undefined && object.maxExpiration !== null ? Duration.fromPartial(object.maxExpiration) : undefined;
|
|
84
91
|
message.maxSpendLimit = object.maxSpendLimit !== undefined && object.maxSpendLimit !== null ? Coin.fromPartial(object.maxSpendLimit) : undefined;
|
|
92
|
+
message.maxExecCount = object.maxExecCount !== undefined && object.maxExecCount !== null ? BigInt(object.maxExecCount.toString()) : BigInt(0);
|
|
85
93
|
return message;
|
|
86
94
|
},
|
|
87
95
|
fromAmino(object) {
|
|
@@ -100,6 +108,9 @@ export const Params = {
|
|
|
100
108
|
if (object.max_spend_limit !== undefined && object.max_spend_limit !== null) {
|
|
101
109
|
message.maxSpendLimit = Coin.fromAmino(object.max_spend_limit);
|
|
102
110
|
}
|
|
111
|
+
if (object.max_exec_count !== undefined && object.max_exec_count !== null) {
|
|
112
|
+
message.maxExecCount = BigInt(object.max_exec_count);
|
|
113
|
+
}
|
|
103
114
|
return message;
|
|
104
115
|
},
|
|
105
116
|
toAmino(message) {
|
|
@@ -120,6 +131,7 @@ export const Params = {
|
|
|
120
131
|
obj.max_msg_types_per_session = message.maxMsgTypesPerSession !== BigInt(0) ? message.maxMsgTypesPerSession?.toString() : undefined;
|
|
121
132
|
obj.max_expiration = message.maxExpiration ? Duration.toAmino(message.maxExpiration) : undefined;
|
|
122
133
|
obj.max_spend_limit = message.maxSpendLimit ? Coin.toAmino(message.maxSpendLimit) : Coin.toAmino(Coin.fromPartial({}));
|
|
134
|
+
obj.max_exec_count = message.maxExecCount !== BigInt(0) ? message.maxExecCount?.toString() : undefined;
|
|
123
135
|
return obj;
|
|
124
136
|
},
|
|
125
137
|
fromAminoMsg(object) {
|
|
@@ -150,7 +162,8 @@ function createBaseSessionOperationalParams() {
|
|
|
150
162
|
maxSessionsPerGranter: BigInt(0),
|
|
151
163
|
maxMsgTypesPerSession: BigInt(0),
|
|
152
164
|
maxExpiration: Duration.fromPartial({}),
|
|
153
|
-
maxSpendLimit: Coin.fromPartial({})
|
|
165
|
+
maxSpendLimit: Coin.fromPartial({}),
|
|
166
|
+
maxExecCount: BigInt(0)
|
|
154
167
|
};
|
|
155
168
|
}
|
|
156
169
|
/**
|
|
@@ -180,6 +193,9 @@ export const SessionOperationalParams = {
|
|
|
180
193
|
if (message.maxSpendLimit !== undefined) {
|
|
181
194
|
Coin.encode(message.maxSpendLimit, writer.uint32(42).fork()).ldelim();
|
|
182
195
|
}
|
|
196
|
+
if (message.maxExecCount !== BigInt(0)) {
|
|
197
|
+
writer.uint32(48).uint64(message.maxExecCount);
|
|
198
|
+
}
|
|
183
199
|
return writer;
|
|
184
200
|
},
|
|
185
201
|
decode(input, length) {
|
|
@@ -204,6 +220,9 @@ export const SessionOperationalParams = {
|
|
|
204
220
|
case 5:
|
|
205
221
|
message.maxSpendLimit = Coin.decode(reader, reader.uint32());
|
|
206
222
|
break;
|
|
223
|
+
case 6:
|
|
224
|
+
message.maxExecCount = reader.uint64();
|
|
225
|
+
break;
|
|
207
226
|
default:
|
|
208
227
|
reader.skipType(tag & 7);
|
|
209
228
|
break;
|
|
@@ -218,6 +237,7 @@ export const SessionOperationalParams = {
|
|
|
218
237
|
message.maxMsgTypesPerSession = object.maxMsgTypesPerSession !== undefined && object.maxMsgTypesPerSession !== null ? BigInt(object.maxMsgTypesPerSession.toString()) : BigInt(0);
|
|
219
238
|
message.maxExpiration = object.maxExpiration !== undefined && object.maxExpiration !== null ? Duration.fromPartial(object.maxExpiration) : undefined;
|
|
220
239
|
message.maxSpendLimit = object.maxSpendLimit !== undefined && object.maxSpendLimit !== null ? Coin.fromPartial(object.maxSpendLimit) : undefined;
|
|
240
|
+
message.maxExecCount = object.maxExecCount !== undefined && object.maxExecCount !== null ? BigInt(object.maxExecCount.toString()) : BigInt(0);
|
|
221
241
|
return message;
|
|
222
242
|
},
|
|
223
243
|
fromAmino(object) {
|
|
@@ -235,6 +255,9 @@ export const SessionOperationalParams = {
|
|
|
235
255
|
if (object.max_spend_limit !== undefined && object.max_spend_limit !== null) {
|
|
236
256
|
message.maxSpendLimit = Coin.fromAmino(object.max_spend_limit);
|
|
237
257
|
}
|
|
258
|
+
if (object.max_exec_count !== undefined && object.max_exec_count !== null) {
|
|
259
|
+
message.maxExecCount = BigInt(object.max_exec_count);
|
|
260
|
+
}
|
|
238
261
|
return message;
|
|
239
262
|
},
|
|
240
263
|
toAmino(message) {
|
|
@@ -249,6 +272,7 @@ export const SessionOperationalParams = {
|
|
|
249
272
|
obj.max_msg_types_per_session = message.maxMsgTypesPerSession !== BigInt(0) ? message.maxMsgTypesPerSession?.toString() : undefined;
|
|
250
273
|
obj.max_expiration = message.maxExpiration ? Duration.toAmino(message.maxExpiration) : undefined;
|
|
251
274
|
obj.max_spend_limit = message.maxSpendLimit ? Coin.toAmino(message.maxSpendLimit) : Coin.toAmino(Coin.fromPartial({}));
|
|
275
|
+
obj.max_exec_count = message.maxExecCount !== BigInt(0) ? message.maxExecCount?.toString() : undefined;
|
|
252
276
|
return obj;
|
|
253
277
|
},
|
|
254
278
|
fromAminoMsg(object) {
|
package/package.json
CHANGED
package/sparkdream/bundle.d.ts
CHANGED
|
@@ -3589,6 +3589,10 @@ export declare namespace sparkdream {
|
|
|
3589
3589
|
typeUrl: string;
|
|
3590
3590
|
value: Uint8Array<ArrayBufferLike>;
|
|
3591
3591
|
};
|
|
3592
|
+
deleteCategory(value: _199.MsgDeleteCategory): {
|
|
3593
|
+
typeUrl: string;
|
|
3594
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
3595
|
+
};
|
|
3592
3596
|
};
|
|
3593
3597
|
withTypeUrl: {
|
|
3594
3598
|
updateParams(value: _199.MsgUpdateParams): {
|
|
@@ -3667,6 +3671,10 @@ export declare namespace sparkdream {
|
|
|
3667
3671
|
typeUrl: string;
|
|
3668
3672
|
value: _199.MsgCreateCategory;
|
|
3669
3673
|
};
|
|
3674
|
+
deleteCategory(value: _199.MsgDeleteCategory): {
|
|
3675
|
+
typeUrl: string;
|
|
3676
|
+
value: _199.MsgDeleteCategory;
|
|
3677
|
+
};
|
|
3670
3678
|
};
|
|
3671
3679
|
fromPartial: {
|
|
3672
3680
|
updateParams(value: _199.MsgUpdateParams): {
|
|
@@ -3745,6 +3753,10 @@ export declare namespace sparkdream {
|
|
|
3745
3753
|
typeUrl: string;
|
|
3746
3754
|
value: _199.MsgCreateCategory;
|
|
3747
3755
|
};
|
|
3756
|
+
deleteCategory(value: _199.MsgDeleteCategory): {
|
|
3757
|
+
typeUrl: string;
|
|
3758
|
+
value: _199.MsgDeleteCategory;
|
|
3759
|
+
};
|
|
3748
3760
|
};
|
|
3749
3761
|
};
|
|
3750
3762
|
configureNestedAminoConverter: typeof _480.configureNestedAminoConverter;
|
|
@@ -4363,6 +4375,32 @@ export declare namespace sparkdream {
|
|
|
4363
4375
|
toProto(message: _199.MsgCreateCategoryResponse): Uint8Array;
|
|
4364
4376
|
toProtoMsg(message: _199.MsgCreateCategoryResponse): _199.MsgCreateCategoryResponseProtoMsg;
|
|
4365
4377
|
};
|
|
4378
|
+
MsgDeleteCategory: {
|
|
4379
|
+
typeUrl: string;
|
|
4380
|
+
aminoType: string;
|
|
4381
|
+
encode(message: _199.MsgDeleteCategory, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
4382
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _199.MsgDeleteCategory;
|
|
4383
|
+
fromPartial(object: import("../helpers").DeepPartial<_199.MsgDeleteCategory>): _199.MsgDeleteCategory;
|
|
4384
|
+
fromAmino(object: _199.MsgDeleteCategoryAmino): _199.MsgDeleteCategory;
|
|
4385
|
+
toAmino(message: _199.MsgDeleteCategory): _199.MsgDeleteCategoryAmino;
|
|
4386
|
+
fromAminoMsg(object: _199.MsgDeleteCategoryAminoMsg): _199.MsgDeleteCategory;
|
|
4387
|
+
toAminoMsg(message: _199.MsgDeleteCategory): _199.MsgDeleteCategoryAminoMsg;
|
|
4388
|
+
fromProtoMsg(message: _199.MsgDeleteCategoryProtoMsg): _199.MsgDeleteCategory;
|
|
4389
|
+
toProto(message: _199.MsgDeleteCategory): Uint8Array;
|
|
4390
|
+
toProtoMsg(message: _199.MsgDeleteCategory): _199.MsgDeleteCategoryProtoMsg;
|
|
4391
|
+
};
|
|
4392
|
+
MsgDeleteCategoryResponse: {
|
|
4393
|
+
typeUrl: string;
|
|
4394
|
+
encode(_: _199.MsgDeleteCategoryResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
4395
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _199.MsgDeleteCategoryResponse;
|
|
4396
|
+
fromPartial(_: import("../helpers").DeepPartial<_199.MsgDeleteCategoryResponse>): _199.MsgDeleteCategoryResponse;
|
|
4397
|
+
fromAmino(_: _199.MsgDeleteCategoryResponseAmino): _199.MsgDeleteCategoryResponse;
|
|
4398
|
+
toAmino(_: _199.MsgDeleteCategoryResponse): _199.MsgDeleteCategoryResponseAmino;
|
|
4399
|
+
fromAminoMsg(object: _199.MsgDeleteCategoryResponseAminoMsg): _199.MsgDeleteCategoryResponse;
|
|
4400
|
+
fromProtoMsg(message: _199.MsgDeleteCategoryResponseProtoMsg): _199.MsgDeleteCategoryResponse;
|
|
4401
|
+
toProto(message: _199.MsgDeleteCategoryResponse): Uint8Array;
|
|
4402
|
+
toProtoMsg(message: _199.MsgDeleteCategoryResponse): _199.MsgDeleteCategoryResponseProtoMsg;
|
|
4403
|
+
};
|
|
4366
4404
|
QueryParamsRequest: {
|
|
4367
4405
|
typeUrl: string;
|
|
4368
4406
|
encode(_: _198.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
@@ -7056,6 +7094,10 @@ export declare namespace sparkdream {
|
|
|
7056
7094
|
typeUrl: string;
|
|
7057
7095
|
value: Uint8Array<ArrayBufferLike>;
|
|
7058
7096
|
};
|
|
7097
|
+
unhidePost(value: _228.MsgUnhidePost): {
|
|
7098
|
+
typeUrl: string;
|
|
7099
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
7100
|
+
};
|
|
7059
7101
|
appealPost(value: _228.MsgAppealPost): {
|
|
7060
7102
|
typeUrl: string;
|
|
7061
7103
|
value: Uint8Array<ArrayBufferLike>;
|
|
@@ -7198,6 +7240,10 @@ export declare namespace sparkdream {
|
|
|
7198
7240
|
typeUrl: string;
|
|
7199
7241
|
value: _228.MsgHidePost;
|
|
7200
7242
|
};
|
|
7243
|
+
unhidePost(value: _228.MsgUnhidePost): {
|
|
7244
|
+
typeUrl: string;
|
|
7245
|
+
value: _228.MsgUnhidePost;
|
|
7246
|
+
};
|
|
7201
7247
|
appealPost(value: _228.MsgAppealPost): {
|
|
7202
7248
|
typeUrl: string;
|
|
7203
7249
|
value: _228.MsgAppealPost;
|
|
@@ -7340,6 +7386,10 @@ export declare namespace sparkdream {
|
|
|
7340
7386
|
typeUrl: string;
|
|
7341
7387
|
value: _228.MsgHidePost;
|
|
7342
7388
|
};
|
|
7389
|
+
unhidePost(value: _228.MsgUnhidePost): {
|
|
7390
|
+
typeUrl: string;
|
|
7391
|
+
value: _228.MsgUnhidePost;
|
|
7392
|
+
};
|
|
7343
7393
|
appealPost(value: _228.MsgAppealPost): {
|
|
7344
7394
|
typeUrl: string;
|
|
7345
7395
|
value: _228.MsgAppealPost;
|
|
@@ -7502,6 +7552,11 @@ export declare namespace sparkdream {
|
|
|
7502
7552
|
toAmino: (message: _228.MsgHidePost) => _228.MsgHidePostAmino;
|
|
7503
7553
|
fromAmino: (object: _228.MsgHidePostAmino) => _228.MsgHidePost;
|
|
7504
7554
|
};
|
|
7555
|
+
"/sparkdream.forum.v1.MsgUnhidePost": {
|
|
7556
|
+
aminoType: string;
|
|
7557
|
+
toAmino: (message: _228.MsgUnhidePost) => _228.MsgUnhidePostAmino;
|
|
7558
|
+
fromAmino: (object: _228.MsgUnhidePostAmino) => _228.MsgUnhidePost;
|
|
7559
|
+
};
|
|
7505
7560
|
"/sparkdream.forum.v1.MsgAppealPost": {
|
|
7506
7561
|
aminoType: string;
|
|
7507
7562
|
toAmino: (message: _228.MsgAppealPost) => _228.MsgAppealPostAmino;
|
|
@@ -8141,6 +8196,32 @@ export declare namespace sparkdream {
|
|
|
8141
8196
|
toProto(message: _228.MsgHidePostResponse): Uint8Array;
|
|
8142
8197
|
toProtoMsg(message: _228.MsgHidePostResponse): _228.MsgHidePostResponseProtoMsg;
|
|
8143
8198
|
};
|
|
8199
|
+
MsgUnhidePost: {
|
|
8200
|
+
typeUrl: string;
|
|
8201
|
+
aminoType: string;
|
|
8202
|
+
encode(message: _228.MsgUnhidePost, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
8203
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _228.MsgUnhidePost;
|
|
8204
|
+
fromPartial(object: import("../helpers").DeepPartial<_228.MsgUnhidePost>): _228.MsgUnhidePost;
|
|
8205
|
+
fromAmino(object: _228.MsgUnhidePostAmino): _228.MsgUnhidePost;
|
|
8206
|
+
toAmino(message: _228.MsgUnhidePost): _228.MsgUnhidePostAmino;
|
|
8207
|
+
fromAminoMsg(object: _228.MsgUnhidePostAminoMsg): _228.MsgUnhidePost;
|
|
8208
|
+
toAminoMsg(message: _228.MsgUnhidePost): _228.MsgUnhidePostAminoMsg;
|
|
8209
|
+
fromProtoMsg(message: _228.MsgUnhidePostProtoMsg): _228.MsgUnhidePost;
|
|
8210
|
+
toProto(message: _228.MsgUnhidePost): Uint8Array;
|
|
8211
|
+
toProtoMsg(message: _228.MsgUnhidePost): _228.MsgUnhidePostProtoMsg;
|
|
8212
|
+
};
|
|
8213
|
+
MsgUnhidePostResponse: {
|
|
8214
|
+
typeUrl: string;
|
|
8215
|
+
encode(_: _228.MsgUnhidePostResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
8216
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _228.MsgUnhidePostResponse;
|
|
8217
|
+
fromPartial(_: import("../helpers").DeepPartial<_228.MsgUnhidePostResponse>): _228.MsgUnhidePostResponse;
|
|
8218
|
+
fromAmino(_: _228.MsgUnhidePostResponseAmino): _228.MsgUnhidePostResponse;
|
|
8219
|
+
toAmino(_: _228.MsgUnhidePostResponse): _228.MsgUnhidePostResponseAmino;
|
|
8220
|
+
fromAminoMsg(object: _228.MsgUnhidePostResponseAminoMsg): _228.MsgUnhidePostResponse;
|
|
8221
|
+
fromProtoMsg(message: _228.MsgUnhidePostResponseProtoMsg): _228.MsgUnhidePostResponse;
|
|
8222
|
+
toProto(message: _228.MsgUnhidePostResponse): Uint8Array;
|
|
8223
|
+
toProtoMsg(message: _228.MsgUnhidePostResponse): _228.MsgUnhidePostResponseProtoMsg;
|
|
8224
|
+
};
|
|
8144
8225
|
MsgAppealPost: {
|
|
8145
8226
|
typeUrl: string;
|
|
8146
8227
|
aminoType: string;
|
package/sparkdream/client.d.ts
CHANGED
|
@@ -752,6 +752,11 @@ export declare const sparkdreamAminoConverters: {
|
|
|
752
752
|
toAmino: (message: import("./forum/v1/tx").MsgHidePost) => import("./forum/v1/tx").MsgHidePostAmino;
|
|
753
753
|
fromAmino: (object: import("./forum/v1/tx").MsgHidePostAmino) => import("./forum/v1/tx").MsgHidePost;
|
|
754
754
|
};
|
|
755
|
+
"/sparkdream.forum.v1.MsgUnhidePost": {
|
|
756
|
+
aminoType: string;
|
|
757
|
+
toAmino: (message: import("./forum/v1/tx").MsgUnhidePost) => import("./forum/v1/tx").MsgUnhidePostAmino;
|
|
758
|
+
fromAmino: (object: import("./forum/v1/tx").MsgUnhidePostAmino) => import("./forum/v1/tx").MsgUnhidePost;
|
|
759
|
+
};
|
|
755
760
|
"/sparkdream.forum.v1.MsgAppealPost": {
|
|
756
761
|
aminoType: string;
|
|
757
762
|
toAmino: (message: import("./forum/v1/tx").MsgAppealPost) => import("./forum/v1/tx").MsgAppealPostAmino;
|
|
@@ -1286,6 +1286,64 @@ export interface MsgCreateCategoryResponseAminoMsg {
|
|
|
1286
1286
|
type: "/sparkdream.commons.v1.MsgCreateCategoryResponse";
|
|
1287
1287
|
value: MsgCreateCategoryResponseAmino;
|
|
1288
1288
|
}
|
|
1289
|
+
/**
|
|
1290
|
+
* MsgDeleteCategory removes a shared content category. Restricted to
|
|
1291
|
+
* governance or the Commons Council Operations Committee. Refuses to
|
|
1292
|
+
* delete a category that still has forum posts attached — admins must
|
|
1293
|
+
* move/archive those first.
|
|
1294
|
+
* @name MsgDeleteCategory
|
|
1295
|
+
* @package sparkdream.commons.v1
|
|
1296
|
+
* @see proto type: sparkdream.commons.v1.MsgDeleteCategory
|
|
1297
|
+
*/
|
|
1298
|
+
export interface MsgDeleteCategory {
|
|
1299
|
+
creator: string;
|
|
1300
|
+
categoryId: bigint;
|
|
1301
|
+
}
|
|
1302
|
+
export interface MsgDeleteCategoryProtoMsg {
|
|
1303
|
+
typeUrl: "/sparkdream.commons.v1.MsgDeleteCategory";
|
|
1304
|
+
value: Uint8Array;
|
|
1305
|
+
}
|
|
1306
|
+
/**
|
|
1307
|
+
* MsgDeleteCategory removes a shared content category. Restricted to
|
|
1308
|
+
* governance or the Commons Council Operations Committee. Refuses to
|
|
1309
|
+
* delete a category that still has forum posts attached — admins must
|
|
1310
|
+
* move/archive those first.
|
|
1311
|
+
* @name MsgDeleteCategoryAmino
|
|
1312
|
+
* @package sparkdream.commons.v1
|
|
1313
|
+
* @see proto type: sparkdream.commons.v1.MsgDeleteCategory
|
|
1314
|
+
*/
|
|
1315
|
+
export interface MsgDeleteCategoryAmino {
|
|
1316
|
+
creator?: string;
|
|
1317
|
+
category_id?: string;
|
|
1318
|
+
}
|
|
1319
|
+
export interface MsgDeleteCategoryAminoMsg {
|
|
1320
|
+
type: "sparkdream/x/commons/MsgDeleteCategory";
|
|
1321
|
+
value: MsgDeleteCategoryAmino;
|
|
1322
|
+
}
|
|
1323
|
+
/**
|
|
1324
|
+
* MsgDeleteCategoryResponse defines the MsgDeleteCategoryResponse message.
|
|
1325
|
+
* @name MsgDeleteCategoryResponse
|
|
1326
|
+
* @package sparkdream.commons.v1
|
|
1327
|
+
* @see proto type: sparkdream.commons.v1.MsgDeleteCategoryResponse
|
|
1328
|
+
*/
|
|
1329
|
+
export interface MsgDeleteCategoryResponse {
|
|
1330
|
+
}
|
|
1331
|
+
export interface MsgDeleteCategoryResponseProtoMsg {
|
|
1332
|
+
typeUrl: "/sparkdream.commons.v1.MsgDeleteCategoryResponse";
|
|
1333
|
+
value: Uint8Array;
|
|
1334
|
+
}
|
|
1335
|
+
/**
|
|
1336
|
+
* MsgDeleteCategoryResponse defines the MsgDeleteCategoryResponse message.
|
|
1337
|
+
* @name MsgDeleteCategoryResponseAmino
|
|
1338
|
+
* @package sparkdream.commons.v1
|
|
1339
|
+
* @see proto type: sparkdream.commons.v1.MsgDeleteCategoryResponse
|
|
1340
|
+
*/
|
|
1341
|
+
export interface MsgDeleteCategoryResponseAmino {
|
|
1342
|
+
}
|
|
1343
|
+
export interface MsgDeleteCategoryResponseAminoMsg {
|
|
1344
|
+
type: "/sparkdream.commons.v1.MsgDeleteCategoryResponse";
|
|
1345
|
+
value: MsgDeleteCategoryResponseAmino;
|
|
1346
|
+
}
|
|
1289
1347
|
/**
|
|
1290
1348
|
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
1291
1349
|
* @name MsgUpdateParams
|
|
@@ -2052,3 +2110,44 @@ export declare const MsgCreateCategoryResponse: {
|
|
|
2052
2110
|
toProto(message: MsgCreateCategoryResponse): Uint8Array;
|
|
2053
2111
|
toProtoMsg(message: MsgCreateCategoryResponse): MsgCreateCategoryResponseProtoMsg;
|
|
2054
2112
|
};
|
|
2113
|
+
/**
|
|
2114
|
+
* MsgDeleteCategory removes a shared content category. Restricted to
|
|
2115
|
+
* governance or the Commons Council Operations Committee. Refuses to
|
|
2116
|
+
* delete a category that still has forum posts attached — admins must
|
|
2117
|
+
* move/archive those first.
|
|
2118
|
+
* @name MsgDeleteCategory
|
|
2119
|
+
* @package sparkdream.commons.v1
|
|
2120
|
+
* @see proto type: sparkdream.commons.v1.MsgDeleteCategory
|
|
2121
|
+
*/
|
|
2122
|
+
export declare const MsgDeleteCategory: {
|
|
2123
|
+
typeUrl: string;
|
|
2124
|
+
aminoType: string;
|
|
2125
|
+
encode(message: MsgDeleteCategory, writer?: BinaryWriter): BinaryWriter;
|
|
2126
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgDeleteCategory;
|
|
2127
|
+
fromPartial(object: DeepPartial<MsgDeleteCategory>): MsgDeleteCategory;
|
|
2128
|
+
fromAmino(object: MsgDeleteCategoryAmino): MsgDeleteCategory;
|
|
2129
|
+
toAmino(message: MsgDeleteCategory): MsgDeleteCategoryAmino;
|
|
2130
|
+
fromAminoMsg(object: MsgDeleteCategoryAminoMsg): MsgDeleteCategory;
|
|
2131
|
+
toAminoMsg(message: MsgDeleteCategory): MsgDeleteCategoryAminoMsg;
|
|
2132
|
+
fromProtoMsg(message: MsgDeleteCategoryProtoMsg): MsgDeleteCategory;
|
|
2133
|
+
toProto(message: MsgDeleteCategory): Uint8Array;
|
|
2134
|
+
toProtoMsg(message: MsgDeleteCategory): MsgDeleteCategoryProtoMsg;
|
|
2135
|
+
};
|
|
2136
|
+
/**
|
|
2137
|
+
* MsgDeleteCategoryResponse defines the MsgDeleteCategoryResponse message.
|
|
2138
|
+
* @name MsgDeleteCategoryResponse
|
|
2139
|
+
* @package sparkdream.commons.v1
|
|
2140
|
+
* @see proto type: sparkdream.commons.v1.MsgDeleteCategoryResponse
|
|
2141
|
+
*/
|
|
2142
|
+
export declare const MsgDeleteCategoryResponse: {
|
|
2143
|
+
typeUrl: string;
|
|
2144
|
+
encode(_: MsgDeleteCategoryResponse, writer?: BinaryWriter): BinaryWriter;
|
|
2145
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgDeleteCategoryResponse;
|
|
2146
|
+
fromPartial(_: DeepPartial<MsgDeleteCategoryResponse>): MsgDeleteCategoryResponse;
|
|
2147
|
+
fromAmino(_: MsgDeleteCategoryResponseAmino): MsgDeleteCategoryResponse;
|
|
2148
|
+
toAmino(_: MsgDeleteCategoryResponse): MsgDeleteCategoryResponseAmino;
|
|
2149
|
+
fromAminoMsg(object: MsgDeleteCategoryResponseAminoMsg): MsgDeleteCategoryResponse;
|
|
2150
|
+
fromProtoMsg(message: MsgDeleteCategoryResponseProtoMsg): MsgDeleteCategoryResponse;
|
|
2151
|
+
toProto(message: MsgDeleteCategoryResponse): Uint8Array;
|
|
2152
|
+
toProtoMsg(message: MsgDeleteCategoryResponse): MsgDeleteCategoryResponseProtoMsg;
|
|
2153
|
+
};
|