@sparkdreamnft/sparkdreamjs 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +106 -106
- package/esm/sparkdream/blog/v1/params.js +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 +343 -339
- 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/federation/v1/genesis.js +12 -11
- package/esm/sparkdream/federation/v1/query.js +37 -187
- package/esm/sparkdream/federation/v1/query.lcd.js +6 -16
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +11 -19
- package/esm/sparkdream/federation/v1/tx.amino.js +1 -11
- package/esm/sparkdream/federation/v1/tx.js +0 -270
- package/esm/sparkdream/federation/v1/tx.registry.js +2 -38
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +4 -14
- package/esm/sparkdream/federation/v1/types.js +13 -318
- package/esm/sparkdream/federation/v1/verifier_activity.js +194 -0
- package/esm/sparkdream/forum/v1/params.js +146 -2
- package/esm/sparkdream/futarchy/v1/market.js +13 -1
- package/esm/sparkdream/name/v1/owner_info.js +13 -1
- package/esm/sparkdream/name/v1/query.js +141 -0
- package/esm/sparkdream/name/v1/query.lcd.js +7 -0
- package/esm/sparkdream/name/v1/query.rpc.Query.js +12 -1
- package/esm/sparkdream/name/v1/tx.amino.js +6 -1
- package/esm/sparkdream/name/v1/tx.js +147 -0
- package/esm/sparkdream/name/v1/tx.registry.js +20 -2
- package/esm/sparkdream/name/v1/tx.rpc.msg.js +8 -1
- package/esm/sparkdream/rep/v1/bonded_role.js +446 -0
- package/esm/sparkdream/rep/v1/genesis.js +32 -17
- package/esm/sparkdream/rep/v1/member_report.js +98 -1
- package/esm/sparkdream/rep/v1/query.js +297 -306
- package/esm/sparkdream/rep/v1/query.lcd.js +23 -16
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +36 -35
- package/esm/sparkdream/rep/v1/tx.amino.js +9 -9
- package/esm/sparkdream/rep/v1/tx.js +86 -58
- package/esm/sparkdream/rep/v1/tx.registry.js +18 -18
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +16 -14
- package/esm/sparkdream/season/v1/enums.js +10 -0
- package/esm/tendermint/bundle.js +18 -18
- package/ibc/bundle.d.ts +90 -90
- package/ibc/bundle.js +106 -106
- package/package.json +1 -1
- package/sparkdream/blog/v1/params.d.ts +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 +14445 -14514
- package/sparkdream/bundle.js +343 -339
- package/sparkdream/client.d.ts +11 -26
- 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/federation/v1/genesis.d.ts +4 -3
- package/sparkdream/federation/v1/genesis.js +11 -10
- package/sparkdream/federation/v1/query.d.ts +53 -136
- package/sparkdream/federation/v1/query.js +37 -187
- package/sparkdream/federation/v1/query.lcd.d.ts +2 -3
- package/sparkdream/federation/v1/query.lcd.js +6 -16
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +10 -7
- package/sparkdream/federation/v1/query.rpc.Query.js +10 -18
- package/sparkdream/federation/v1/tx.amino.d.ts +1 -11
- package/sparkdream/federation/v1/tx.amino.js +0 -10
- package/sparkdream/federation/v1/tx.d.ts +0 -164
- package/sparkdream/federation/v1/tx.js +1 -272
- package/sparkdream/federation/v1/tx.registry.d.ts +1 -25
- package/sparkdream/federation/v1/tx.registry.js +1 -37
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +6 -5
- package/sparkdream/federation/v1/tx.rpc.msg.js +3 -13
- package/sparkdream/federation/v1/types.d.ts +10 -106
- package/sparkdream/federation/v1/types.js +14 -321
- package/sparkdream/federation/v1/verifier_activity.d.ts +113 -0
- package/sparkdream/federation/v1/verifier_activity.js +197 -0
- package/sparkdream/forum/v1/params.d.ts +112 -0
- package/sparkdream/forum/v1/params.js +146 -2
- package/sparkdream/futarchy/v1/market.d.ts +14 -0
- package/sparkdream/futarchy/v1/market.js +13 -1
- package/sparkdream/name/v1/owner_info.d.ts +12 -0
- package/sparkdream/name/v1/owner_info.js +13 -1
- package/sparkdream/name/v1/query.d.ts +95 -0
- package/sparkdream/name/v1/query.js +142 -1
- package/sparkdream/name/v1/query.lcd.d.ts +2 -1
- package/sparkdream/name/v1/query.lcd.js +7 -0
- package/sparkdream/name/v1/query.rpc.Query.d.ts +9 -1
- package/sparkdream/name/v1/query.rpc.Query.js +11 -0
- package/sparkdream/name/v1/tx.amino.d.ts +6 -1
- package/sparkdream/name/v1/tx.amino.js +5 -0
- package/sparkdream/name/v1/tx.d.ts +105 -0
- package/sparkdream/name/v1/tx.js +148 -1
- package/sparkdream/name/v1/tx.registry.d.ts +13 -1
- package/sparkdream/name/v1/tx.registry.js +19 -1
- package/sparkdream/name/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/name/v1/tx.rpc.msg.js +7 -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 +11 -9
- package/sparkdream/rep/v1/genesis.js +32 -17
- package/sparkdream/rep/v1/member_report.d.ts +61 -0
- package/sparkdream/rep/v1/member_report.js +99 -2
- package/sparkdream/rep/v1/query.d.ts +259 -261
- package/sparkdream/rep/v1/query.js +299 -308
- package/sparkdream/rep/v1/query.lcd.d.ts +5 -5
- package/sparkdream/rep/v1/query.lcd.js +23 -16
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +20 -17
- package/sparkdream/rep/v1/query.rpc.Query.js +35 -34
- package/sparkdream/rep/v1/tx.amino.d.ts +7 -7
- package/sparkdream/rep/v1/tx.amino.js +9 -9
- package/sparkdream/rep/v1/tx.d.ts +121 -104
- package/sparkdream/rep/v1/tx.js +87 -59
- package/sparkdream/rep/v1/tx.registry.d.ts +11 -11
- package/sparkdream/rep/v1/tx.registry.js +17 -17
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +11 -9
- package/sparkdream/rep/v1/tx.rpc.msg.js +15 -13
- package/sparkdream/rpc.query.d.ts +9 -8
- package/sparkdream/season/v1/enums.d.ts +5 -0
- package/sparkdream/season/v1/enums.js +10 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +18 -18
- package/esm/sparkdream/rep/v1/sentinel_activity.js +0 -214
- package/sparkdream/rep/v1/sentinel_activity.d.ts +0 -79
- package/sparkdream/rep/v1/sentinel_activity.js +0 -219
package/sparkdream/name/v1/tx.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MsgUpdateNameResponse = exports.MsgUpdateName = exports.MsgResolveDisputeResponse = exports.MsgResolveDispute = exports.MsgContestDisputeResponse = exports.MsgContestDispute = exports.MsgFileDisputeResponse = exports.MsgFileDispute = exports.MsgSetPrimaryResponse = exports.MsgSetPrimary = exports.MsgRegisterNameResponse = exports.MsgRegisterName = exports.MsgUpdateOperationalParamsResponse = exports.MsgUpdateOperationalParams = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = void 0;
|
|
3
|
+
exports.MsgSetDisplayNameResponse = exports.MsgSetDisplayName = exports.MsgUpdateNameResponse = exports.MsgUpdateName = exports.MsgResolveDisputeResponse = exports.MsgResolveDispute = exports.MsgContestDisputeResponse = exports.MsgContestDispute = exports.MsgFileDisputeResponse = exports.MsgFileDispute = exports.MsgSetPrimaryResponse = exports.MsgSetPrimary = exports.MsgRegisterNameResponse = exports.MsgRegisterName = exports.MsgUpdateOperationalParamsResponse = exports.MsgUpdateOperationalParams = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
5
|
const params_1 = require("./params");
|
|
6
6
|
const binary_1 = require("../../../binary");
|
|
@@ -1223,3 +1223,150 @@ exports.MsgUpdateNameResponse = {
|
|
|
1223
1223
|
};
|
|
1224
1224
|
}
|
|
1225
1225
|
};
|
|
1226
|
+
function createBaseMsgSetDisplayName() {
|
|
1227
|
+
return {
|
|
1228
|
+
authority: "",
|
|
1229
|
+
displayName: ""
|
|
1230
|
+
};
|
|
1231
|
+
}
|
|
1232
|
+
/**
|
|
1233
|
+
* MsgSetDisplayName sets (or clears) the free-form display name on the
|
|
1234
|
+
* signer's OwnerInfo. Empty display_name clears the field. Aesthetic
|
|
1235
|
+
* policing (impersonation similarity, profanity) is a frontend concern;
|
|
1236
|
+
* chain-level validation is bytes-only.
|
|
1237
|
+
* @name MsgSetDisplayName
|
|
1238
|
+
* @package sparkdream.name.v1
|
|
1239
|
+
* @see proto type: sparkdream.name.v1.MsgSetDisplayName
|
|
1240
|
+
*/
|
|
1241
|
+
exports.MsgSetDisplayName = {
|
|
1242
|
+
typeUrl: "/sparkdream.name.v1.MsgSetDisplayName",
|
|
1243
|
+
aminoType: "sparkdream/x/name/MsgSetDisplayName",
|
|
1244
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1245
|
+
if (message.authority !== "") {
|
|
1246
|
+
writer.uint32(10).string(message.authority);
|
|
1247
|
+
}
|
|
1248
|
+
if (message.displayName !== "") {
|
|
1249
|
+
writer.uint32(18).string(message.displayName);
|
|
1250
|
+
}
|
|
1251
|
+
return writer;
|
|
1252
|
+
},
|
|
1253
|
+
decode(input, length) {
|
|
1254
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1255
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1256
|
+
const message = createBaseMsgSetDisplayName();
|
|
1257
|
+
while (reader.pos < end) {
|
|
1258
|
+
const tag = reader.uint32();
|
|
1259
|
+
switch (tag >>> 3) {
|
|
1260
|
+
case 1:
|
|
1261
|
+
message.authority = reader.string();
|
|
1262
|
+
break;
|
|
1263
|
+
case 2:
|
|
1264
|
+
message.displayName = reader.string();
|
|
1265
|
+
break;
|
|
1266
|
+
default:
|
|
1267
|
+
reader.skipType(tag & 7);
|
|
1268
|
+
break;
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
return message;
|
|
1272
|
+
},
|
|
1273
|
+
fromPartial(object) {
|
|
1274
|
+
const message = createBaseMsgSetDisplayName();
|
|
1275
|
+
message.authority = object.authority ?? "";
|
|
1276
|
+
message.displayName = object.displayName ?? "";
|
|
1277
|
+
return message;
|
|
1278
|
+
},
|
|
1279
|
+
fromAmino(object) {
|
|
1280
|
+
const message = createBaseMsgSetDisplayName();
|
|
1281
|
+
if (object.authority !== undefined && object.authority !== null) {
|
|
1282
|
+
message.authority = object.authority;
|
|
1283
|
+
}
|
|
1284
|
+
if (object.display_name !== undefined && object.display_name !== null) {
|
|
1285
|
+
message.displayName = object.display_name;
|
|
1286
|
+
}
|
|
1287
|
+
return message;
|
|
1288
|
+
},
|
|
1289
|
+
toAmino(message) {
|
|
1290
|
+
const obj = {};
|
|
1291
|
+
obj.authority = message.authority === "" ? undefined : message.authority;
|
|
1292
|
+
obj.display_name = message.displayName === "" ? undefined : message.displayName;
|
|
1293
|
+
return obj;
|
|
1294
|
+
},
|
|
1295
|
+
fromAminoMsg(object) {
|
|
1296
|
+
return exports.MsgSetDisplayName.fromAmino(object.value);
|
|
1297
|
+
},
|
|
1298
|
+
toAminoMsg(message) {
|
|
1299
|
+
return {
|
|
1300
|
+
type: "sparkdream/x/name/MsgSetDisplayName",
|
|
1301
|
+
value: exports.MsgSetDisplayName.toAmino(message)
|
|
1302
|
+
};
|
|
1303
|
+
},
|
|
1304
|
+
fromProtoMsg(message) {
|
|
1305
|
+
return exports.MsgSetDisplayName.decode(message.value);
|
|
1306
|
+
},
|
|
1307
|
+
toProto(message) {
|
|
1308
|
+
return exports.MsgSetDisplayName.encode(message).finish();
|
|
1309
|
+
},
|
|
1310
|
+
toProtoMsg(message) {
|
|
1311
|
+
return {
|
|
1312
|
+
typeUrl: "/sparkdream.name.v1.MsgSetDisplayName",
|
|
1313
|
+
value: exports.MsgSetDisplayName.encode(message).finish()
|
|
1314
|
+
};
|
|
1315
|
+
}
|
|
1316
|
+
};
|
|
1317
|
+
function createBaseMsgSetDisplayNameResponse() {
|
|
1318
|
+
return {};
|
|
1319
|
+
}
|
|
1320
|
+
/**
|
|
1321
|
+
* MsgSetDisplayNameResponse defines the response for MsgSetDisplayName.
|
|
1322
|
+
* @name MsgSetDisplayNameResponse
|
|
1323
|
+
* @package sparkdream.name.v1
|
|
1324
|
+
* @see proto type: sparkdream.name.v1.MsgSetDisplayNameResponse
|
|
1325
|
+
*/
|
|
1326
|
+
exports.MsgSetDisplayNameResponse = {
|
|
1327
|
+
typeUrl: "/sparkdream.name.v1.MsgSetDisplayNameResponse",
|
|
1328
|
+
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
1329
|
+
return writer;
|
|
1330
|
+
},
|
|
1331
|
+
decode(input, length) {
|
|
1332
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1333
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1334
|
+
const message = createBaseMsgSetDisplayNameResponse();
|
|
1335
|
+
while (reader.pos < end) {
|
|
1336
|
+
const tag = reader.uint32();
|
|
1337
|
+
switch (tag >>> 3) {
|
|
1338
|
+
default:
|
|
1339
|
+
reader.skipType(tag & 7);
|
|
1340
|
+
break;
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
return message;
|
|
1344
|
+
},
|
|
1345
|
+
fromPartial(_) {
|
|
1346
|
+
const message = createBaseMsgSetDisplayNameResponse();
|
|
1347
|
+
return message;
|
|
1348
|
+
},
|
|
1349
|
+
fromAmino(_) {
|
|
1350
|
+
const message = createBaseMsgSetDisplayNameResponse();
|
|
1351
|
+
return message;
|
|
1352
|
+
},
|
|
1353
|
+
toAmino(_) {
|
|
1354
|
+
const obj = {};
|
|
1355
|
+
return obj;
|
|
1356
|
+
},
|
|
1357
|
+
fromAminoMsg(object) {
|
|
1358
|
+
return exports.MsgSetDisplayNameResponse.fromAmino(object.value);
|
|
1359
|
+
},
|
|
1360
|
+
fromProtoMsg(message) {
|
|
1361
|
+
return exports.MsgSetDisplayNameResponse.decode(message.value);
|
|
1362
|
+
},
|
|
1363
|
+
toProto(message) {
|
|
1364
|
+
return exports.MsgSetDisplayNameResponse.encode(message).finish();
|
|
1365
|
+
},
|
|
1366
|
+
toProtoMsg(message) {
|
|
1367
|
+
return {
|
|
1368
|
+
typeUrl: "/sparkdream.name.v1.MsgSetDisplayNameResponse",
|
|
1369
|
+
value: exports.MsgSetDisplayNameResponse.encode(message).finish()
|
|
1370
|
+
};
|
|
1371
|
+
}
|
|
1372
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
2
|
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
-
import { MsgUpdateParams, MsgUpdateOperationalParams, MsgRegisterName, MsgSetPrimary, MsgFileDispute, MsgContestDispute, MsgResolveDispute, MsgUpdateName } from "./tx";
|
|
3
|
+
import { MsgUpdateParams, MsgUpdateOperationalParams, MsgRegisterName, MsgSetPrimary, MsgFileDispute, MsgContestDispute, MsgResolveDispute, MsgUpdateName, MsgSetDisplayName } from "./tx";
|
|
4
4
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
5
|
export declare const load: (protoRegistry: Registry) => void;
|
|
6
6
|
export declare const MessageComposer: {
|
|
@@ -37,6 +37,10 @@ export declare const MessageComposer: {
|
|
|
37
37
|
typeUrl: string;
|
|
38
38
|
value: Uint8Array<ArrayBufferLike>;
|
|
39
39
|
};
|
|
40
|
+
setDisplayName(value: MsgSetDisplayName): {
|
|
41
|
+
typeUrl: string;
|
|
42
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
43
|
+
};
|
|
40
44
|
};
|
|
41
45
|
withTypeUrl: {
|
|
42
46
|
updateParams(value: MsgUpdateParams): {
|
|
@@ -71,6 +75,10 @@ export declare const MessageComposer: {
|
|
|
71
75
|
typeUrl: string;
|
|
72
76
|
value: MsgUpdateName;
|
|
73
77
|
};
|
|
78
|
+
setDisplayName(value: MsgSetDisplayName): {
|
|
79
|
+
typeUrl: string;
|
|
80
|
+
value: MsgSetDisplayName;
|
|
81
|
+
};
|
|
74
82
|
};
|
|
75
83
|
fromPartial: {
|
|
76
84
|
updateParams(value: MsgUpdateParams): {
|
|
@@ -105,5 +113,9 @@ export declare const MessageComposer: {
|
|
|
105
113
|
typeUrl: string;
|
|
106
114
|
value: MsgUpdateName;
|
|
107
115
|
};
|
|
116
|
+
setDisplayName(value: MsgSetDisplayName): {
|
|
117
|
+
typeUrl: string;
|
|
118
|
+
value: MsgSetDisplayName;
|
|
119
|
+
};
|
|
108
120
|
};
|
|
109
121
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
|
-
exports.registry = [["/sparkdream.name.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/sparkdream.name.v1.MsgUpdateOperationalParams", tx_1.MsgUpdateOperationalParams], ["/sparkdream.name.v1.MsgRegisterName", tx_1.MsgRegisterName], ["/sparkdream.name.v1.MsgSetPrimary", tx_1.MsgSetPrimary], ["/sparkdream.name.v1.MsgFileDispute", tx_1.MsgFileDispute], ["/sparkdream.name.v1.MsgContestDispute", tx_1.MsgContestDispute], ["/sparkdream.name.v1.MsgResolveDispute", tx_1.MsgResolveDispute], ["/sparkdream.name.v1.MsgUpdateName", tx_1.MsgUpdateName]];
|
|
5
|
+
exports.registry = [["/sparkdream.name.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/sparkdream.name.v1.MsgUpdateOperationalParams", tx_1.MsgUpdateOperationalParams], ["/sparkdream.name.v1.MsgRegisterName", tx_1.MsgRegisterName], ["/sparkdream.name.v1.MsgSetPrimary", tx_1.MsgSetPrimary], ["/sparkdream.name.v1.MsgFileDispute", tx_1.MsgFileDispute], ["/sparkdream.name.v1.MsgContestDispute", tx_1.MsgContestDispute], ["/sparkdream.name.v1.MsgResolveDispute", tx_1.MsgResolveDispute], ["/sparkdream.name.v1.MsgUpdateName", tx_1.MsgUpdateName], ["/sparkdream.name.v1.MsgSetDisplayName", tx_1.MsgSetDisplayName]];
|
|
6
6
|
const load = (protoRegistry) => {
|
|
7
7
|
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
8
|
protoRegistry.register(typeUrl, mod);
|
|
@@ -58,6 +58,12 @@ exports.MessageComposer = {
|
|
|
58
58
|
typeUrl: "/sparkdream.name.v1.MsgUpdateName",
|
|
59
59
|
value: tx_1.MsgUpdateName.encode(value).finish()
|
|
60
60
|
};
|
|
61
|
+
},
|
|
62
|
+
setDisplayName(value) {
|
|
63
|
+
return {
|
|
64
|
+
typeUrl: "/sparkdream.name.v1.MsgSetDisplayName",
|
|
65
|
+
value: tx_1.MsgSetDisplayName.encode(value).finish()
|
|
66
|
+
};
|
|
61
67
|
}
|
|
62
68
|
},
|
|
63
69
|
withTypeUrl: {
|
|
@@ -108,6 +114,12 @@ exports.MessageComposer = {
|
|
|
108
114
|
typeUrl: "/sparkdream.name.v1.MsgUpdateName",
|
|
109
115
|
value
|
|
110
116
|
};
|
|
117
|
+
},
|
|
118
|
+
setDisplayName(value) {
|
|
119
|
+
return {
|
|
120
|
+
typeUrl: "/sparkdream.name.v1.MsgSetDisplayName",
|
|
121
|
+
value
|
|
122
|
+
};
|
|
111
123
|
}
|
|
112
124
|
},
|
|
113
125
|
fromPartial: {
|
|
@@ -158,6 +170,12 @@ exports.MessageComposer = {
|
|
|
158
170
|
typeUrl: "/sparkdream.name.v1.MsgUpdateName",
|
|
159
171
|
value: tx_1.MsgUpdateName.fromPartial(value)
|
|
160
172
|
};
|
|
173
|
+
},
|
|
174
|
+
setDisplayName(value) {
|
|
175
|
+
return {
|
|
176
|
+
typeUrl: "/sparkdream.name.v1.MsgSetDisplayName",
|
|
177
|
+
value: tx_1.MsgSetDisplayName.fromPartial(value)
|
|
178
|
+
};
|
|
161
179
|
}
|
|
162
180
|
}
|
|
163
181
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TxRpc } from "../../../types";
|
|
2
|
-
import { MsgUpdateParams, MsgUpdateParamsResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse, MsgRegisterName, MsgRegisterNameResponse, MsgSetPrimary, MsgSetPrimaryResponse, MsgFileDispute, MsgFileDisputeResponse, MsgContestDispute, MsgContestDisputeResponse, MsgResolveDispute, MsgResolveDisputeResponse, MsgUpdateName, MsgUpdateNameResponse } from "./tx";
|
|
2
|
+
import { MsgUpdateParams, MsgUpdateParamsResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse, MsgRegisterName, MsgRegisterNameResponse, MsgSetPrimary, MsgSetPrimaryResponse, MsgFileDispute, MsgFileDisputeResponse, MsgContestDispute, MsgContestDisputeResponse, MsgResolveDispute, MsgResolveDisputeResponse, MsgUpdateName, MsgUpdateNameResponse, MsgSetDisplayName, MsgSetDisplayNameResponse } from "./tx";
|
|
3
3
|
/** Msg defines the Msg service. */
|
|
4
4
|
export interface Msg {
|
|
5
5
|
/**
|
|
@@ -27,6 +27,11 @@ export interface Msg {
|
|
|
27
27
|
resolveDispute(request: MsgResolveDispute): Promise<MsgResolveDisputeResponse>;
|
|
28
28
|
/** UpdateName defines the UpdateName RPC. */
|
|
29
29
|
updateName(request: MsgUpdateName): Promise<MsgUpdateNameResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* SetDisplayName sets (or clears) the free-form display name on the
|
|
32
|
+
* signer's OwnerInfo. Empty display_name clears the field.
|
|
33
|
+
*/
|
|
34
|
+
setDisplayName(request: MsgSetDisplayName): Promise<MsgSetDisplayNameResponse>;
|
|
30
35
|
}
|
|
31
36
|
export declare class MsgClientImpl implements Msg {
|
|
32
37
|
private readonly rpc;
|
|
@@ -39,5 +44,6 @@ export declare class MsgClientImpl implements Msg {
|
|
|
39
44
|
contestDispute: (request: MsgContestDispute) => Promise<MsgContestDisputeResponse>;
|
|
40
45
|
resolveDispute: (request: MsgResolveDispute) => Promise<MsgResolveDisputeResponse>;
|
|
41
46
|
updateName: (request: MsgUpdateName) => Promise<MsgUpdateNameResponse>;
|
|
47
|
+
setDisplayName: (request: MsgSetDisplayName) => Promise<MsgSetDisplayNameResponse>;
|
|
42
48
|
}
|
|
43
49
|
export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
|
|
@@ -59,6 +59,13 @@ class MsgClientImpl {
|
|
|
59
59
|
const promise = this.rpc.request("sparkdream.name.v1.Msg", "UpdateName", data);
|
|
60
60
|
return promise.then(data => tx_1.MsgUpdateNameResponse.decode(new binary_1.BinaryReader(data)));
|
|
61
61
|
};
|
|
62
|
+
/* SetDisplayName sets (or clears) the free-form display name on the
|
|
63
|
+
signer's OwnerInfo. Empty display_name clears the field. */
|
|
64
|
+
setDisplayName = async (request) => {
|
|
65
|
+
const data = tx_1.MsgSetDisplayName.encode(request).finish();
|
|
66
|
+
const promise = this.rpc.request("sparkdream.name.v1.Msg", "SetDisplayName", data);
|
|
67
|
+
return promise.then(data => tx_1.MsgSetDisplayNameResponse.decode(new binary_1.BinaryReader(data)));
|
|
68
|
+
};
|
|
62
69
|
}
|
|
63
70
|
exports.MsgClientImpl = MsgClientImpl;
|
|
64
71
|
const createClientImpl = (rpc) => {
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
|
+
/**
|
|
4
|
+
* RoleType identifies a kind of bonded role across the chain. Values are
|
|
5
|
+
* module-scoped: naming convention is ROLE_TYPE_<OWNING_MODULE>_<ROLE>. A role
|
|
6
|
+
* is owned by exactly one module, which is the sole writer of its
|
|
7
|
+
* BondedRoleConfig. Independent bond pools, configs, and slashing surfaces per
|
|
8
|
+
* role; cross-role coupling (if ever needed) belongs in the gaining module, not
|
|
9
|
+
* in this primitive.
|
|
10
|
+
*/
|
|
11
|
+
export declare enum RoleType {
|
|
12
|
+
ROLE_TYPE_UNSPECIFIED = 0,
|
|
13
|
+
ROLE_TYPE_FORUM_SENTINEL = 1,
|
|
14
|
+
ROLE_TYPE_COLLECT_CURATOR = 2,
|
|
15
|
+
ROLE_TYPE_FEDERATION_VERIFIER = 3,
|
|
16
|
+
UNRECOGNIZED = -1
|
|
17
|
+
}
|
|
18
|
+
export declare const RoleTypeAmino: typeof RoleType;
|
|
19
|
+
export declare function roleTypeFromJSON(object: any): RoleType;
|
|
20
|
+
export declare function roleTypeToJSON(object: RoleType): string;
|
|
21
|
+
/**
|
|
22
|
+
* BondedRoleStatus represents the lifecycle status of a bonded role record.
|
|
23
|
+
* NORMAL: full privileges; bond at or above min_bond.
|
|
24
|
+
* RECOVERY: bond dropped below min_bond but at or above demotion_threshold;
|
|
25
|
+
* reduced privileges depending on role, rewards may auto-bond.
|
|
26
|
+
* DEMOTED: bond below demotion_threshold; privileges revoked; cooldown
|
|
27
|
+
* enforced before re-bonding.
|
|
28
|
+
*/
|
|
29
|
+
export declare enum BondedRoleStatus {
|
|
30
|
+
BONDED_ROLE_STATUS_UNSPECIFIED = 0,
|
|
31
|
+
BONDED_ROLE_STATUS_NORMAL = 1,
|
|
32
|
+
BONDED_ROLE_STATUS_RECOVERY = 2,
|
|
33
|
+
BONDED_ROLE_STATUS_DEMOTED = 3,
|
|
34
|
+
UNRECOGNIZED = -1
|
|
35
|
+
}
|
|
36
|
+
export declare const BondedRoleStatusAmino: typeof BondedRoleStatus;
|
|
37
|
+
export declare function bondedRoleStatusFromJSON(object: any): BondedRoleStatus;
|
|
38
|
+
export declare function bondedRoleStatusToJSON(object: BondedRoleStatus): string;
|
|
39
|
+
/**
|
|
40
|
+
* BondedRole is the generic accountability record for a role-playing member:
|
|
41
|
+
* identity, bond, bond status, and activity stamps. Module-specific action
|
|
42
|
+
* counters (hides, reviews, verifications, etc.) live in per-module activity
|
|
43
|
+
* protos owned by the role's module.
|
|
44
|
+
* @name BondedRole
|
|
45
|
+
* @package sparkdream.rep.v1
|
|
46
|
+
* @see proto type: sparkdream.rep.v1.BondedRole
|
|
47
|
+
*/
|
|
48
|
+
export interface BondedRole {
|
|
49
|
+
/**
|
|
50
|
+
* address is the bech32 address of the member holding this role.
|
|
51
|
+
*/
|
|
52
|
+
address: string;
|
|
53
|
+
/**
|
|
54
|
+
* role_type identifies which role this record represents. The composite key
|
|
55
|
+
* (role_type, address) allows a single address to hold multiple roles.
|
|
56
|
+
*/
|
|
57
|
+
roleType: RoleType;
|
|
58
|
+
/**
|
|
59
|
+
* bond_status is the current lifecycle status (NORMAL / RECOVERY / DEMOTED).
|
|
60
|
+
*/
|
|
61
|
+
bondStatus: BondedRoleStatus;
|
|
62
|
+
/**
|
|
63
|
+
* current_bond is the total DREAM locked as this role's bond (math.Int string).
|
|
64
|
+
*/
|
|
65
|
+
currentBond: string;
|
|
66
|
+
/**
|
|
67
|
+
* total_committed_bond is the portion of current_bond reserved against
|
|
68
|
+
* pending actions (math.Int string). Available bond = current_bond -
|
|
69
|
+
* total_committed_bond.
|
|
70
|
+
*/
|
|
71
|
+
totalCommittedBond: string;
|
|
72
|
+
/**
|
|
73
|
+
* registered_at is the block height at which this role was first bonded.
|
|
74
|
+
*/
|
|
75
|
+
registeredAt: bigint;
|
|
76
|
+
/**
|
|
77
|
+
* last_active_epoch is the most recent epoch in which the role performed a
|
|
78
|
+
* tracked action. Used for inactivity cleanup.
|
|
79
|
+
*/
|
|
80
|
+
lastActiveEpoch: bigint;
|
|
81
|
+
/**
|
|
82
|
+
* consecutive_inactive_epochs counts epochs since last activity, reset to 0
|
|
83
|
+
* when RecordActivity fires.
|
|
84
|
+
*/
|
|
85
|
+
consecutiveInactiveEpochs: bigint;
|
|
86
|
+
/**
|
|
87
|
+
* demotion_cooldown_until is the unix timestamp until which a demoted role
|
|
88
|
+
* cannot re-bond.
|
|
89
|
+
*/
|
|
90
|
+
demotionCooldownUntil: bigint;
|
|
91
|
+
/**
|
|
92
|
+
* cumulative_rewards tracks DREAM rewards earned in this role (math.Int
|
|
93
|
+
* string). Module-specific reward distributors write here.
|
|
94
|
+
*/
|
|
95
|
+
cumulativeRewards: string;
|
|
96
|
+
/**
|
|
97
|
+
* last_reward_epoch is the most recent epoch in which rewards were paid for
|
|
98
|
+
* this role.
|
|
99
|
+
*/
|
|
100
|
+
lastRewardEpoch: bigint;
|
|
101
|
+
}
|
|
102
|
+
export interface BondedRoleProtoMsg {
|
|
103
|
+
typeUrl: "/sparkdream.rep.v1.BondedRole";
|
|
104
|
+
value: Uint8Array;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* BondedRole is the generic accountability record for a role-playing member:
|
|
108
|
+
* identity, bond, bond status, and activity stamps. Module-specific action
|
|
109
|
+
* counters (hides, reviews, verifications, etc.) live in per-module activity
|
|
110
|
+
* protos owned by the role's module.
|
|
111
|
+
* @name BondedRoleAmino
|
|
112
|
+
* @package sparkdream.rep.v1
|
|
113
|
+
* @see proto type: sparkdream.rep.v1.BondedRole
|
|
114
|
+
*/
|
|
115
|
+
export interface BondedRoleAmino {
|
|
116
|
+
/**
|
|
117
|
+
* address is the bech32 address of the member holding this role.
|
|
118
|
+
*/
|
|
119
|
+
address?: string;
|
|
120
|
+
/**
|
|
121
|
+
* role_type identifies which role this record represents. The composite key
|
|
122
|
+
* (role_type, address) allows a single address to hold multiple roles.
|
|
123
|
+
*/
|
|
124
|
+
role_type?: RoleType;
|
|
125
|
+
/**
|
|
126
|
+
* bond_status is the current lifecycle status (NORMAL / RECOVERY / DEMOTED).
|
|
127
|
+
*/
|
|
128
|
+
bond_status?: BondedRoleStatus;
|
|
129
|
+
/**
|
|
130
|
+
* current_bond is the total DREAM locked as this role's bond (math.Int string).
|
|
131
|
+
*/
|
|
132
|
+
current_bond?: string;
|
|
133
|
+
/**
|
|
134
|
+
* total_committed_bond is the portion of current_bond reserved against
|
|
135
|
+
* pending actions (math.Int string). Available bond = current_bond -
|
|
136
|
+
* total_committed_bond.
|
|
137
|
+
*/
|
|
138
|
+
total_committed_bond?: string;
|
|
139
|
+
/**
|
|
140
|
+
* registered_at is the block height at which this role was first bonded.
|
|
141
|
+
*/
|
|
142
|
+
registered_at?: string;
|
|
143
|
+
/**
|
|
144
|
+
* last_active_epoch is the most recent epoch in which the role performed a
|
|
145
|
+
* tracked action. Used for inactivity cleanup.
|
|
146
|
+
*/
|
|
147
|
+
last_active_epoch?: string;
|
|
148
|
+
/**
|
|
149
|
+
* consecutive_inactive_epochs counts epochs since last activity, reset to 0
|
|
150
|
+
* when RecordActivity fires.
|
|
151
|
+
*/
|
|
152
|
+
consecutive_inactive_epochs?: string;
|
|
153
|
+
/**
|
|
154
|
+
* demotion_cooldown_until is the unix timestamp until which a demoted role
|
|
155
|
+
* cannot re-bond.
|
|
156
|
+
*/
|
|
157
|
+
demotion_cooldown_until?: string;
|
|
158
|
+
/**
|
|
159
|
+
* cumulative_rewards tracks DREAM rewards earned in this role (math.Int
|
|
160
|
+
* string). Module-specific reward distributors write here.
|
|
161
|
+
*/
|
|
162
|
+
cumulative_rewards?: string;
|
|
163
|
+
/**
|
|
164
|
+
* last_reward_epoch is the most recent epoch in which rewards were paid for
|
|
165
|
+
* this role.
|
|
166
|
+
*/
|
|
167
|
+
last_reward_epoch?: string;
|
|
168
|
+
}
|
|
169
|
+
export interface BondedRoleAminoMsg {
|
|
170
|
+
type: "/sparkdream.rep.v1.BondedRole";
|
|
171
|
+
value: BondedRoleAmino;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* BondedRoleConfig holds the per-role policy knobs enforced by x/rep at
|
|
175
|
+
* MsgBondRole time. The source-of-truth field values live on the owning
|
|
176
|
+
* module's operational params (flattened); the owning module write-throughs
|
|
177
|
+
* the full config via SetBondedRoleConfig on change and at InitGenesis.
|
|
178
|
+
*
|
|
179
|
+
* Every field is mutable via the owning module's operational-params flow. No
|
|
180
|
+
* chain-upgrade gates — these are operational accountability knobs, not
|
|
181
|
+
* monetary policy.
|
|
182
|
+
* @name BondedRoleConfig
|
|
183
|
+
* @package sparkdream.rep.v1
|
|
184
|
+
* @see proto type: sparkdream.rep.v1.BondedRoleConfig
|
|
185
|
+
*/
|
|
186
|
+
export interface BondedRoleConfig {
|
|
187
|
+
/**
|
|
188
|
+
* role_type is the key this config applies to.
|
|
189
|
+
*/
|
|
190
|
+
roleType: RoleType;
|
|
191
|
+
/**
|
|
192
|
+
* min_bond is the minimum DREAM required to bond this role (math.Int
|
|
193
|
+
* string). Bonds at or above this amount are NORMAL.
|
|
194
|
+
*/
|
|
195
|
+
minBond: string;
|
|
196
|
+
/**
|
|
197
|
+
* min_rep_tier is the minimum reputation tier required to bond the role.
|
|
198
|
+
* Zero = no rep-tier gate.
|
|
199
|
+
*/
|
|
200
|
+
minRepTier: bigint;
|
|
201
|
+
/**
|
|
202
|
+
* min_trust_level is the minimum trust level required to bond the role, as
|
|
203
|
+
* a string enum name (e.g. "TRUST_LEVEL_ESTABLISHED"). Empty = no
|
|
204
|
+
* trust-level gate.
|
|
205
|
+
*/
|
|
206
|
+
minTrustLevel: string;
|
|
207
|
+
/**
|
|
208
|
+
* min_age_blocks is a shared policy knob: the minimum block-age the role
|
|
209
|
+
* must have been bonded before the owning module will let the role take
|
|
210
|
+
* action. Enforced by the role's owning module at action time (read via
|
|
211
|
+
* GetBondedRoleConfig), NOT by x/rep at bond time. Zero = no age gate.
|
|
212
|
+
*/
|
|
213
|
+
minAgeBlocks: bigint;
|
|
214
|
+
/**
|
|
215
|
+
* demotion_cooldown is the number of seconds a DEMOTED role must wait
|
|
216
|
+
* before re-bonding.
|
|
217
|
+
*/
|
|
218
|
+
demotionCooldown: bigint;
|
|
219
|
+
/**
|
|
220
|
+
* demotion_threshold is the bond floor below which the role transitions
|
|
221
|
+
* from RECOVERY to DEMOTED (math.Int string).
|
|
222
|
+
*/
|
|
223
|
+
demotionThreshold: string;
|
|
224
|
+
}
|
|
225
|
+
export interface BondedRoleConfigProtoMsg {
|
|
226
|
+
typeUrl: "/sparkdream.rep.v1.BondedRoleConfig";
|
|
227
|
+
value: Uint8Array;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* BondedRoleConfig holds the per-role policy knobs enforced by x/rep at
|
|
231
|
+
* MsgBondRole time. The source-of-truth field values live on the owning
|
|
232
|
+
* module's operational params (flattened); the owning module write-throughs
|
|
233
|
+
* the full config via SetBondedRoleConfig on change and at InitGenesis.
|
|
234
|
+
*
|
|
235
|
+
* Every field is mutable via the owning module's operational-params flow. No
|
|
236
|
+
* chain-upgrade gates — these are operational accountability knobs, not
|
|
237
|
+
* monetary policy.
|
|
238
|
+
* @name BondedRoleConfigAmino
|
|
239
|
+
* @package sparkdream.rep.v1
|
|
240
|
+
* @see proto type: sparkdream.rep.v1.BondedRoleConfig
|
|
241
|
+
*/
|
|
242
|
+
export interface BondedRoleConfigAmino {
|
|
243
|
+
/**
|
|
244
|
+
* role_type is the key this config applies to.
|
|
245
|
+
*/
|
|
246
|
+
role_type?: RoleType;
|
|
247
|
+
/**
|
|
248
|
+
* min_bond is the minimum DREAM required to bond this role (math.Int
|
|
249
|
+
* string). Bonds at or above this amount are NORMAL.
|
|
250
|
+
*/
|
|
251
|
+
min_bond?: string;
|
|
252
|
+
/**
|
|
253
|
+
* min_rep_tier is the minimum reputation tier required to bond the role.
|
|
254
|
+
* Zero = no rep-tier gate.
|
|
255
|
+
*/
|
|
256
|
+
min_rep_tier?: string;
|
|
257
|
+
/**
|
|
258
|
+
* min_trust_level is the minimum trust level required to bond the role, as
|
|
259
|
+
* a string enum name (e.g. "TRUST_LEVEL_ESTABLISHED"). Empty = no
|
|
260
|
+
* trust-level gate.
|
|
261
|
+
*/
|
|
262
|
+
min_trust_level?: string;
|
|
263
|
+
/**
|
|
264
|
+
* min_age_blocks is a shared policy knob: the minimum block-age the role
|
|
265
|
+
* must have been bonded before the owning module will let the role take
|
|
266
|
+
* action. Enforced by the role's owning module at action time (read via
|
|
267
|
+
* GetBondedRoleConfig), NOT by x/rep at bond time. Zero = no age gate.
|
|
268
|
+
*/
|
|
269
|
+
min_age_blocks?: string;
|
|
270
|
+
/**
|
|
271
|
+
* demotion_cooldown is the number of seconds a DEMOTED role must wait
|
|
272
|
+
* before re-bonding.
|
|
273
|
+
*/
|
|
274
|
+
demotion_cooldown?: string;
|
|
275
|
+
/**
|
|
276
|
+
* demotion_threshold is the bond floor below which the role transitions
|
|
277
|
+
* from RECOVERY to DEMOTED (math.Int string).
|
|
278
|
+
*/
|
|
279
|
+
demotion_threshold?: string;
|
|
280
|
+
}
|
|
281
|
+
export interface BondedRoleConfigAminoMsg {
|
|
282
|
+
type: "/sparkdream.rep.v1.BondedRoleConfig";
|
|
283
|
+
value: BondedRoleConfigAmino;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* BondedRole is the generic accountability record for a role-playing member:
|
|
287
|
+
* identity, bond, bond status, and activity stamps. Module-specific action
|
|
288
|
+
* counters (hides, reviews, verifications, etc.) live in per-module activity
|
|
289
|
+
* protos owned by the role's module.
|
|
290
|
+
* @name BondedRole
|
|
291
|
+
* @package sparkdream.rep.v1
|
|
292
|
+
* @see proto type: sparkdream.rep.v1.BondedRole
|
|
293
|
+
*/
|
|
294
|
+
export declare const BondedRole: {
|
|
295
|
+
typeUrl: string;
|
|
296
|
+
encode(message: BondedRole, writer?: BinaryWriter): BinaryWriter;
|
|
297
|
+
decode(input: BinaryReader | Uint8Array, length?: number): BondedRole;
|
|
298
|
+
fromPartial(object: DeepPartial<BondedRole>): BondedRole;
|
|
299
|
+
fromAmino(object: BondedRoleAmino): BondedRole;
|
|
300
|
+
toAmino(message: BondedRole): BondedRoleAmino;
|
|
301
|
+
fromAminoMsg(object: BondedRoleAminoMsg): BondedRole;
|
|
302
|
+
fromProtoMsg(message: BondedRoleProtoMsg): BondedRole;
|
|
303
|
+
toProto(message: BondedRole): Uint8Array;
|
|
304
|
+
toProtoMsg(message: BondedRole): BondedRoleProtoMsg;
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* BondedRoleConfig holds the per-role policy knobs enforced by x/rep at
|
|
308
|
+
* MsgBondRole time. The source-of-truth field values live on the owning
|
|
309
|
+
* module's operational params (flattened); the owning module write-throughs
|
|
310
|
+
* the full config via SetBondedRoleConfig on change and at InitGenesis.
|
|
311
|
+
*
|
|
312
|
+
* Every field is mutable via the owning module's operational-params flow. No
|
|
313
|
+
* chain-upgrade gates — these are operational accountability knobs, not
|
|
314
|
+
* monetary policy.
|
|
315
|
+
* @name BondedRoleConfig
|
|
316
|
+
* @package sparkdream.rep.v1
|
|
317
|
+
* @see proto type: sparkdream.rep.v1.BondedRoleConfig
|
|
318
|
+
*/
|
|
319
|
+
export declare const BondedRoleConfig: {
|
|
320
|
+
typeUrl: string;
|
|
321
|
+
encode(message: BondedRoleConfig, writer?: BinaryWriter): BinaryWriter;
|
|
322
|
+
decode(input: BinaryReader | Uint8Array, length?: number): BondedRoleConfig;
|
|
323
|
+
fromPartial(object: DeepPartial<BondedRoleConfig>): BondedRoleConfig;
|
|
324
|
+
fromAmino(object: BondedRoleConfigAmino): BondedRoleConfig;
|
|
325
|
+
toAmino(message: BondedRoleConfig): BondedRoleConfigAmino;
|
|
326
|
+
fromAminoMsg(object: BondedRoleConfigAminoMsg): BondedRoleConfig;
|
|
327
|
+
fromProtoMsg(message: BondedRoleConfigProtoMsg): BondedRoleConfig;
|
|
328
|
+
toProto(message: BondedRoleConfig): Uint8Array;
|
|
329
|
+
toProtoMsg(message: BondedRoleConfig): BondedRoleConfigProtoMsg;
|
|
330
|
+
};
|