@ocap/types 1.17.6 → 1.17.7
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/lib/rpc_pb.d.ts +484 -598
- package/lib/state_pb.d.ts +260 -284
- package/lib/trace-type_pb.d.ts +341 -401
- package/lib/tx_pb.d.ts +521 -595
- package/lib/type_pb.d.ts +461 -557
- package/lib/vendor_pb.d.ts +128 -162
- package/package.json +2 -2
package/lib/type_pb.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ export class BigUint extends jspb.Message {
|
|
|
14
14
|
setValue(value: Uint8Array | string): void;
|
|
15
15
|
|
|
16
16
|
serializeBinary(): Uint8Array;
|
|
17
|
-
toObject(includeInstance?: boolean):
|
|
18
|
-
static toObject(includeInstance: boolean, msg: BigUint):
|
|
17
|
+
toObject(includeInstance?: boolean): TBigUint;
|
|
18
|
+
static toObject(includeInstance: boolean, msg: BigUint): TBigUint;
|
|
19
19
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
20
20
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
21
21
|
static serializeBinaryToWriter(message: BigUint, writer: jspb.BinaryWriter): void;
|
|
@@ -23,10 +23,8 @@ export class BigUint extends jspb.Message {
|
|
|
23
23
|
static deserializeBinaryFromReader(message: BigUint, reader: jspb.BinaryReader): BigUint;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export
|
|
27
|
-
|
|
28
|
-
value: Uint8Array | string,
|
|
29
|
-
}
|
|
26
|
+
export type TBigUint = {
|
|
27
|
+
value: Uint8Array | string,
|
|
30
28
|
}
|
|
31
29
|
|
|
32
30
|
export class BigSint extends jspb.Message {
|
|
@@ -39,8 +37,8 @@ export class BigSint extends jspb.Message {
|
|
|
39
37
|
setMinus(value: boolean): void;
|
|
40
38
|
|
|
41
39
|
serializeBinary(): Uint8Array;
|
|
42
|
-
toObject(includeInstance?: boolean):
|
|
43
|
-
static toObject(includeInstance: boolean, msg: BigSint):
|
|
40
|
+
toObject(includeInstance?: boolean): TBigSint;
|
|
41
|
+
static toObject(includeInstance: boolean, msg: BigSint): TBigSint;
|
|
44
42
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
45
43
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
46
44
|
static serializeBinaryToWriter(message: BigSint, writer: jspb.BinaryWriter): void;
|
|
@@ -48,11 +46,9 @@ export class BigSint extends jspb.Message {
|
|
|
48
46
|
static deserializeBinaryFromReader(message: BigSint, reader: jspb.BinaryReader): BigSint;
|
|
49
47
|
}
|
|
50
48
|
|
|
51
|
-
export
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
minus: boolean,
|
|
55
|
-
}
|
|
49
|
+
export type TBigSint = {
|
|
50
|
+
value: Uint8Array | string,
|
|
51
|
+
minus: boolean,
|
|
56
52
|
}
|
|
57
53
|
|
|
58
54
|
export class TokenSymbol extends jspb.Message {
|
|
@@ -69,8 +65,8 @@ export class TokenSymbol extends jspb.Message {
|
|
|
69
65
|
setUnit(value: string): void;
|
|
70
66
|
|
|
71
67
|
serializeBinary(): Uint8Array;
|
|
72
|
-
toObject(includeInstance?: boolean):
|
|
73
|
-
static toObject(includeInstance: boolean, msg: TokenSymbol):
|
|
68
|
+
toObject(includeInstance?: boolean): TTokenSymbol;
|
|
69
|
+
static toObject(includeInstance: boolean, msg: TokenSymbol): TTokenSymbol;
|
|
74
70
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
75
71
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
76
72
|
static serializeBinaryToWriter(message: TokenSymbol, writer: jspb.BinaryWriter): void;
|
|
@@ -78,13 +74,11 @@ export class TokenSymbol extends jspb.Message {
|
|
|
78
74
|
static deserializeBinaryFromReader(message: TokenSymbol, reader: jspb.BinaryReader): TokenSymbol;
|
|
79
75
|
}
|
|
80
76
|
|
|
81
|
-
export
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
unit: string,
|
|
87
|
-
}
|
|
77
|
+
export type TTokenSymbol = {
|
|
78
|
+
address: string,
|
|
79
|
+
symbol: string,
|
|
80
|
+
decimal: number,
|
|
81
|
+
unit: string,
|
|
88
82
|
}
|
|
89
83
|
|
|
90
84
|
export class WalletType extends jspb.Message {
|
|
@@ -101,8 +95,8 @@ export class WalletType extends jspb.Message {
|
|
|
101
95
|
setRole(value: enum_pb.RoleTypeMap[keyof enum_pb.RoleTypeMap]): void;
|
|
102
96
|
|
|
103
97
|
serializeBinary(): Uint8Array;
|
|
104
|
-
toObject(includeInstance?: boolean):
|
|
105
|
-
static toObject(includeInstance: boolean, msg: WalletType):
|
|
98
|
+
toObject(includeInstance?: boolean): TWalletType;
|
|
99
|
+
static toObject(includeInstance: boolean, msg: WalletType): TWalletType;
|
|
106
100
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
107
101
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
108
102
|
static serializeBinaryToWriter(message: WalletType, writer: jspb.BinaryWriter): void;
|
|
@@ -110,20 +104,18 @@ export class WalletType extends jspb.Message {
|
|
|
110
104
|
static deserializeBinaryFromReader(message: WalletType, reader: jspb.BinaryReader): WalletType;
|
|
111
105
|
}
|
|
112
106
|
|
|
113
|
-
export
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
role: enum_pb.RoleTypeMap[keyof enum_pb.RoleTypeMap],
|
|
119
|
-
}
|
|
107
|
+
export type TWalletType = {
|
|
108
|
+
pk: enum_pb.KeyTypeMap[keyof enum_pb.KeyTypeMap],
|
|
109
|
+
hash: enum_pb.HashTypeMap[keyof enum_pb.HashTypeMap],
|
|
110
|
+
address: enum_pb.EncodingTypeMap[keyof enum_pb.EncodingTypeMap],
|
|
111
|
+
role: enum_pb.RoleTypeMap[keyof enum_pb.RoleTypeMap],
|
|
120
112
|
}
|
|
121
113
|
|
|
122
114
|
export class WalletInfo extends jspb.Message {
|
|
123
115
|
hasType(): boolean;
|
|
124
116
|
clearType(): void;
|
|
125
|
-
getType():
|
|
126
|
-
setType(value?:
|
|
117
|
+
getType(): TWalletType | undefined;
|
|
118
|
+
setType(value?: TWalletType): void;
|
|
127
119
|
|
|
128
120
|
getSk(): Uint8Array | string;
|
|
129
121
|
getSk_asU8(): Uint8Array;
|
|
@@ -139,8 +131,8 @@ export class WalletInfo extends jspb.Message {
|
|
|
139
131
|
setAddress(value: string): void;
|
|
140
132
|
|
|
141
133
|
serializeBinary(): Uint8Array;
|
|
142
|
-
toObject(includeInstance?: boolean):
|
|
143
|
-
static toObject(includeInstance: boolean, msg: WalletInfo):
|
|
134
|
+
toObject(includeInstance?: boolean): TWalletInfo;
|
|
135
|
+
static toObject(includeInstance: boolean, msg: WalletInfo): TWalletInfo;
|
|
144
136
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
145
137
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
146
138
|
static serializeBinaryToWriter(message: WalletInfo, writer: jspb.BinaryWriter): void;
|
|
@@ -148,13 +140,11 @@ export class WalletInfo extends jspb.Message {
|
|
|
148
140
|
static deserializeBinaryFromReader(message: WalletInfo, reader: jspb.BinaryReader): WalletInfo;
|
|
149
141
|
}
|
|
150
142
|
|
|
151
|
-
export
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
address: string,
|
|
157
|
-
}
|
|
143
|
+
export type TWalletInfo = {
|
|
144
|
+
type?: TWalletType,
|
|
145
|
+
sk: Uint8Array | string,
|
|
146
|
+
pk: Uint8Array | string,
|
|
147
|
+
address: string,
|
|
158
148
|
}
|
|
159
149
|
|
|
160
150
|
export class ChainInfo extends jspb.Message {
|
|
@@ -211,8 +201,8 @@ export class ChainInfo extends jspb.Message {
|
|
|
211
201
|
addSupportedTxs(value: string, index?: number): string;
|
|
212
202
|
|
|
213
203
|
serializeBinary(): Uint8Array;
|
|
214
|
-
toObject(includeInstance?: boolean):
|
|
215
|
-
static toObject(includeInstance: boolean, msg: ChainInfo):
|
|
204
|
+
toObject(includeInstance?: boolean): TChainInfo;
|
|
205
|
+
static toObject(includeInstance: boolean, msg: ChainInfo): TChainInfo;
|
|
216
206
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
217
207
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
218
208
|
static serializeBinaryToWriter(message: ChainInfo, writer: jspb.BinaryWriter): void;
|
|
@@ -220,24 +210,22 @@ export class ChainInfo extends jspb.Message {
|
|
|
220
210
|
static deserializeBinaryFromReader(message: ChainInfo, reader: jspb.BinaryReader): ChainInfo;
|
|
221
211
|
}
|
|
222
212
|
|
|
223
|
-
export
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
supportedTxsList: Array<string>,
|
|
240
|
-
}
|
|
213
|
+
export type TChainInfo = {
|
|
214
|
+
id: string,
|
|
215
|
+
network: string,
|
|
216
|
+
moniker: string,
|
|
217
|
+
consensusVersion: string,
|
|
218
|
+
synced: boolean,
|
|
219
|
+
appHash: Uint8Array | string,
|
|
220
|
+
blockHash: Uint8Array | string,
|
|
221
|
+
blockHeight: string,
|
|
222
|
+
blockTime?: google_protobuf_timestamp_pb.Timestamp,
|
|
223
|
+
address: string,
|
|
224
|
+
votingPower: string,
|
|
225
|
+
totalTxs: string,
|
|
226
|
+
version: string,
|
|
227
|
+
forgeAppsVersionMap: Array<[string, string]>,
|
|
228
|
+
supportedTxs: Array<string>,
|
|
241
229
|
}
|
|
242
230
|
|
|
243
231
|
export class NodeInfo extends jspb.Message {
|
|
@@ -298,15 +286,15 @@ export class NodeInfo extends jspb.Message {
|
|
|
298
286
|
|
|
299
287
|
hasGeoInfo(): boolean;
|
|
300
288
|
clearGeoInfo(): void;
|
|
301
|
-
getGeoInfo():
|
|
302
|
-
setGeoInfo(value?:
|
|
289
|
+
getGeoInfo(): TGeoInfo | undefined;
|
|
290
|
+
setGeoInfo(value?: TGeoInfo): void;
|
|
303
291
|
|
|
304
292
|
getP2pAddress(): string;
|
|
305
293
|
setP2pAddress(value: string): void;
|
|
306
294
|
|
|
307
295
|
serializeBinary(): Uint8Array;
|
|
308
|
-
toObject(includeInstance?: boolean):
|
|
309
|
-
static toObject(includeInstance: boolean, msg: NodeInfo):
|
|
296
|
+
toObject(includeInstance?: boolean): TNodeInfo;
|
|
297
|
+
static toObject(includeInstance: boolean, msg: NodeInfo): TNodeInfo;
|
|
310
298
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
311
299
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
312
300
|
static serializeBinaryToWriter(message: NodeInfo, writer: jspb.BinaryWriter): void;
|
|
@@ -314,27 +302,25 @@ export class NodeInfo extends jspb.Message {
|
|
|
314
302
|
static deserializeBinaryFromReader(message: NodeInfo, reader: jspb.BinaryReader): NodeInfo;
|
|
315
303
|
}
|
|
316
304
|
|
|
317
|
-
export
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
p2pAddress: string,
|
|
337
|
-
}
|
|
305
|
+
export type TNodeInfo = {
|
|
306
|
+
id: string,
|
|
307
|
+
network: string,
|
|
308
|
+
moniker: string,
|
|
309
|
+
consensusVersion: string,
|
|
310
|
+
synced: boolean,
|
|
311
|
+
appHash: Uint8Array | string,
|
|
312
|
+
blockHash: Uint8Array | string,
|
|
313
|
+
blockHeight: string,
|
|
314
|
+
blockTime?: google_protobuf_timestamp_pb.Timestamp,
|
|
315
|
+
address: string,
|
|
316
|
+
votingPower: string,
|
|
317
|
+
totalTxs: string,
|
|
318
|
+
version: string,
|
|
319
|
+
forgeAppsVersionMap: Array<[string, string]>,
|
|
320
|
+
supportedTxs: Array<string>,
|
|
321
|
+
ip: string,
|
|
322
|
+
geoInfo?: TGeoInfo,
|
|
323
|
+
p2pAddress: string,
|
|
338
324
|
}
|
|
339
325
|
|
|
340
326
|
export class Validator extends jspb.Message {
|
|
@@ -345,8 +331,8 @@ export class Validator extends jspb.Message {
|
|
|
345
331
|
setPower(value: string): void;
|
|
346
332
|
|
|
347
333
|
serializeBinary(): Uint8Array;
|
|
348
|
-
toObject(includeInstance?: boolean):
|
|
349
|
-
static toObject(includeInstance: boolean, msg: Validator):
|
|
334
|
+
toObject(includeInstance?: boolean): TValidator;
|
|
335
|
+
static toObject(includeInstance: boolean, msg: Validator): TValidator;
|
|
350
336
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
351
337
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
352
338
|
static serializeBinaryToWriter(message: Validator, writer: jspb.BinaryWriter): void;
|
|
@@ -354,11 +340,9 @@ export class Validator extends jspb.Message {
|
|
|
354
340
|
static deserializeBinaryFromReader(message: Validator, reader: jspb.BinaryReader): Validator;
|
|
355
341
|
}
|
|
356
342
|
|
|
357
|
-
export
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
power: string,
|
|
361
|
-
}
|
|
343
|
+
export type TValidator = {
|
|
344
|
+
address: string,
|
|
345
|
+
power: string,
|
|
362
346
|
}
|
|
363
347
|
|
|
364
348
|
export class ConsensusParams extends jspb.Message {
|
|
@@ -380,8 +364,8 @@ export class ConsensusParams extends jspb.Message {
|
|
|
380
364
|
addPubKeyTypes(value: string, index?: number): string;
|
|
381
365
|
|
|
382
366
|
clearValidatorsList(): void;
|
|
383
|
-
getValidatorsList(): Array<
|
|
384
|
-
setValidatorsList(value: Array<
|
|
367
|
+
getValidatorsList(): Array<TValidator>;
|
|
368
|
+
setValidatorsList(value: Array<TValidator>): void;
|
|
385
369
|
addValidators(value?: Validator, index?: number): Validator;
|
|
386
370
|
|
|
387
371
|
getValidatorChanged(): boolean;
|
|
@@ -391,8 +375,8 @@ export class ConsensusParams extends jspb.Message {
|
|
|
391
375
|
setParamChanged(value: boolean): void;
|
|
392
376
|
|
|
393
377
|
serializeBinary(): Uint8Array;
|
|
394
|
-
toObject(includeInstance?: boolean):
|
|
395
|
-
static toObject(includeInstance: boolean, msg: ConsensusParams):
|
|
378
|
+
toObject(includeInstance?: boolean): TConsensusParams;
|
|
379
|
+
static toObject(includeInstance: boolean, msg: ConsensusParams): TConsensusParams;
|
|
396
380
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
397
381
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
398
382
|
static serializeBinaryToWriter(message: ConsensusParams, writer: jspb.BinaryWriter): void;
|
|
@@ -400,17 +384,15 @@ export class ConsensusParams extends jspb.Message {
|
|
|
400
384
|
static deserializeBinaryFromReader(message: ConsensusParams, reader: jspb.BinaryReader): ConsensusParams;
|
|
401
385
|
}
|
|
402
386
|
|
|
403
|
-
export
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
paramChanged: boolean,
|
|
413
|
-
}
|
|
387
|
+
export type TConsensusParams = {
|
|
388
|
+
maxBytes: string,
|
|
389
|
+
maxGas: string,
|
|
390
|
+
maxValidators: number,
|
|
391
|
+
maxCandidates: number,
|
|
392
|
+
pubKeyTypes: Array<string>,
|
|
393
|
+
validators: Array<TValidator>,
|
|
394
|
+
validatorChanged: boolean,
|
|
395
|
+
paramChanged: boolean,
|
|
414
396
|
}
|
|
415
397
|
|
|
416
398
|
export class UpgradeTask extends jspb.Message {
|
|
@@ -426,8 +408,8 @@ export class UpgradeTask extends jspb.Message {
|
|
|
426
408
|
addActions(value: enum_pb.UpgradeActionMap[keyof enum_pb.UpgradeActionMap], index?: number): enum_pb.UpgradeActionMap[keyof enum_pb.UpgradeActionMap];
|
|
427
409
|
|
|
428
410
|
serializeBinary(): Uint8Array;
|
|
429
|
-
toObject(includeInstance?: boolean):
|
|
430
|
-
static toObject(includeInstance: boolean, msg: UpgradeTask):
|
|
411
|
+
toObject(includeInstance?: boolean): TUpgradeTask;
|
|
412
|
+
static toObject(includeInstance: boolean, msg: UpgradeTask): TUpgradeTask;
|
|
431
413
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
432
414
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
433
415
|
static serializeBinaryToWriter(message: UpgradeTask, writer: jspb.BinaryWriter): void;
|
|
@@ -435,23 +417,21 @@ export class UpgradeTask extends jspb.Message {
|
|
|
435
417
|
static deserializeBinaryFromReader(message: UpgradeTask, reader: jspb.BinaryReader): UpgradeTask;
|
|
436
418
|
}
|
|
437
419
|
|
|
438
|
-
export
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
actionsList: Array<enum_pb.UpgradeActionMap[keyof enum_pb.UpgradeActionMap]>,
|
|
443
|
-
}
|
|
420
|
+
export type TUpgradeTask = {
|
|
421
|
+
type: enum_pb.UpgradeTypeMap[keyof enum_pb.UpgradeTypeMap],
|
|
422
|
+
dataHash: string,
|
|
423
|
+
actions: Array<enum_pb.UpgradeActionMap[keyof enum_pb.UpgradeActionMap]>,
|
|
444
424
|
}
|
|
445
425
|
|
|
446
426
|
export class UpgradeTasks extends jspb.Message {
|
|
447
427
|
clearItemList(): void;
|
|
448
|
-
getItemList(): Array<
|
|
449
|
-
setItemList(value: Array<
|
|
428
|
+
getItemList(): Array<TUpgradeTask>;
|
|
429
|
+
setItemList(value: Array<TUpgradeTask>): void;
|
|
450
430
|
addItem(value?: UpgradeTask, index?: number): UpgradeTask;
|
|
451
431
|
|
|
452
432
|
serializeBinary(): Uint8Array;
|
|
453
|
-
toObject(includeInstance?: boolean):
|
|
454
|
-
static toObject(includeInstance: boolean, msg: UpgradeTasks):
|
|
433
|
+
toObject(includeInstance?: boolean): TUpgradeTasks;
|
|
434
|
+
static toObject(includeInstance: boolean, msg: UpgradeTasks): TUpgradeTasks;
|
|
455
435
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
456
436
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
457
437
|
static serializeBinaryToWriter(message: UpgradeTasks, writer: jspb.BinaryWriter): void;
|
|
@@ -459,10 +439,8 @@ export class UpgradeTasks extends jspb.Message {
|
|
|
459
439
|
static deserializeBinaryFromReader(message: UpgradeTasks, reader: jspb.BinaryReader): UpgradeTasks;
|
|
460
440
|
}
|
|
461
441
|
|
|
462
|
-
export
|
|
463
|
-
|
|
464
|
-
itemList: Array<UpgradeTask.AsObject>,
|
|
465
|
-
}
|
|
442
|
+
export type TUpgradeTasks = {
|
|
443
|
+
item: Array<TUpgradeTask>,
|
|
466
444
|
}
|
|
467
445
|
|
|
468
446
|
export class Multisig extends jspb.Message {
|
|
@@ -488,8 +466,8 @@ export class Multisig extends jspb.Message {
|
|
|
488
466
|
setData(value?: google_protobuf_any_pb.Any): void;
|
|
489
467
|
|
|
490
468
|
serializeBinary(): Uint8Array;
|
|
491
|
-
toObject(includeInstance?: boolean):
|
|
492
|
-
static toObject(includeInstance: boolean, msg: Multisig):
|
|
469
|
+
toObject(includeInstance?: boolean): TMultisig;
|
|
470
|
+
static toObject(includeInstance: boolean, msg: Multisig): TMultisig;
|
|
493
471
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
494
472
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
495
473
|
static serializeBinaryToWriter(message: Multisig, writer: jspb.BinaryWriter): void;
|
|
@@ -497,14 +475,12 @@ export class Multisig extends jspb.Message {
|
|
|
497
475
|
static deserializeBinaryFromReader(message: Multisig, reader: jspb.BinaryReader): Multisig;
|
|
498
476
|
}
|
|
499
477
|
|
|
500
|
-
export
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
data?: google_protobuf_any_pb.Any.AsObject,
|
|
507
|
-
}
|
|
478
|
+
export type TMultisig = {
|
|
479
|
+
signer: string,
|
|
480
|
+
pk: Uint8Array | string,
|
|
481
|
+
signature: Uint8Array | string,
|
|
482
|
+
delegator: string,
|
|
483
|
+
data?: google_protobuf_any_pb.Any,
|
|
508
484
|
}
|
|
509
485
|
|
|
510
486
|
export class Transaction extends jspb.Message {
|
|
@@ -534,8 +510,8 @@ export class Transaction extends jspb.Message {
|
|
|
534
510
|
setSignature(value: Uint8Array | string): void;
|
|
535
511
|
|
|
536
512
|
clearSignaturesList(): void;
|
|
537
|
-
getSignaturesList(): Array<
|
|
538
|
-
setSignaturesList(value: Array<
|
|
513
|
+
getSignaturesList(): Array<TMultisig>;
|
|
514
|
+
setSignaturesList(value: Array<TMultisig>): void;
|
|
539
515
|
addSignatures(value?: Multisig, index?: number): Multisig;
|
|
540
516
|
|
|
541
517
|
hasItx(): boolean;
|
|
@@ -544,16 +520,16 @@ export class Transaction extends jspb.Message {
|
|
|
544
520
|
setItx(value?: google_protobuf_any_pb.Any): void;
|
|
545
521
|
|
|
546
522
|
clearReceiptsList(): void;
|
|
547
|
-
getReceiptsList(): Array<
|
|
548
|
-
setReceiptsList(value: Array<
|
|
523
|
+
getReceiptsList(): Array<TTransactionReceipt>;
|
|
524
|
+
setReceiptsList(value: Array<TTransactionReceipt>): void;
|
|
549
525
|
addReceipts(value?: TransactionReceipt, index?: number): TransactionReceipt;
|
|
550
526
|
|
|
551
527
|
getServiceFee(): string;
|
|
552
528
|
setServiceFee(value: string): void;
|
|
553
529
|
|
|
554
530
|
serializeBinary(): Uint8Array;
|
|
555
|
-
toObject(includeInstance?: boolean):
|
|
556
|
-
static toObject(includeInstance: boolean, msg: Transaction):
|
|
531
|
+
toObject(includeInstance?: boolean): TTransaction;
|
|
532
|
+
static toObject(includeInstance: boolean, msg: Transaction): TTransaction;
|
|
557
533
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
558
534
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
559
535
|
static serializeBinaryToWriter(message: Transaction, writer: jspb.BinaryWriter): void;
|
|
@@ -561,27 +537,25 @@ export class Transaction extends jspb.Message {
|
|
|
561
537
|
static deserializeBinaryFromReader(message: Transaction, reader: jspb.BinaryReader): Transaction;
|
|
562
538
|
}
|
|
563
539
|
|
|
564
|
-
export
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
serviceFee: string,
|
|
577
|
-
}
|
|
540
|
+
export type TTransaction = {
|
|
541
|
+
from: string,
|
|
542
|
+
nonce: number,
|
|
543
|
+
chainId: string,
|
|
544
|
+
pk: Uint8Array | string,
|
|
545
|
+
gas: number,
|
|
546
|
+
delegator: string,
|
|
547
|
+
signature: Uint8Array | string,
|
|
548
|
+
signatures: Array<TMultisig>,
|
|
549
|
+
itx?: google_protobuf_any_pb.Any,
|
|
550
|
+
receipts: Array<TTransactionReceipt>,
|
|
551
|
+
serviceFee: string,
|
|
578
552
|
}
|
|
579
553
|
|
|
580
554
|
export class TransactionInfo extends jspb.Message {
|
|
581
555
|
hasTx(): boolean;
|
|
582
556
|
clearTx(): void;
|
|
583
|
-
getTx():
|
|
584
|
-
setTx(value?:
|
|
557
|
+
getTx(): TTransaction | undefined;
|
|
558
|
+
setTx(value?: TTransaction): void;
|
|
585
559
|
|
|
586
560
|
getHeight(): string;
|
|
587
561
|
setHeight(value: string): void;
|
|
@@ -593,8 +567,8 @@ export class TransactionInfo extends jspb.Message {
|
|
|
593
567
|
setHash(value: string): void;
|
|
594
568
|
|
|
595
569
|
clearTagsList(): void;
|
|
596
|
-
getTagsList(): Array<vendor_pb.
|
|
597
|
-
setTagsList(value: Array<vendor_pb.
|
|
570
|
+
getTagsList(): Array<vendor_pb.TKVPair>;
|
|
571
|
+
setTagsList(value: Array<vendor_pb.TKVPair>): void;
|
|
598
572
|
addTags(value?: vendor_pb.KVPair, index?: number): vendor_pb.KVPair;
|
|
599
573
|
|
|
600
574
|
getCode(): enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
|
@@ -606,8 +580,8 @@ export class TransactionInfo extends jspb.Message {
|
|
|
606
580
|
setTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
607
581
|
|
|
608
582
|
clearReceiptsList(): void;
|
|
609
|
-
getReceiptsList(): Array<
|
|
610
|
-
setReceiptsList(value: Array<
|
|
583
|
+
getReceiptsList(): Array<TTransactionReceipt>;
|
|
584
|
+
setReceiptsList(value: Array<TTransactionReceipt>): void;
|
|
611
585
|
addReceipts(value?: TransactionReceipt, index?: number): TransactionReceipt;
|
|
612
586
|
|
|
613
587
|
getSender(): string;
|
|
@@ -617,13 +591,13 @@ export class TransactionInfo extends jspb.Message {
|
|
|
617
591
|
setReceiver(value: string): void;
|
|
618
592
|
|
|
619
593
|
clearTokenSymbolsList(): void;
|
|
620
|
-
getTokenSymbolsList(): Array<
|
|
621
|
-
setTokenSymbolsList(value: Array<
|
|
594
|
+
getTokenSymbolsList(): Array<TTokenSymbol>;
|
|
595
|
+
setTokenSymbolsList(value: Array<TTokenSymbol>): void;
|
|
622
596
|
addTokenSymbols(value?: TokenSymbol, index?: number): TokenSymbol;
|
|
623
597
|
|
|
624
598
|
serializeBinary(): Uint8Array;
|
|
625
|
-
toObject(includeInstance?: boolean):
|
|
626
|
-
static toObject(includeInstance: boolean, msg: TransactionInfo):
|
|
599
|
+
toObject(includeInstance?: boolean): TTransactionInfo;
|
|
600
|
+
static toObject(includeInstance: boolean, msg: TransactionInfo): TTransactionInfo;
|
|
627
601
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
628
602
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
629
603
|
static serializeBinaryToWriter(message: TransactionInfo, writer: jspb.BinaryWriter): void;
|
|
@@ -631,20 +605,18 @@ export class TransactionInfo extends jspb.Message {
|
|
|
631
605
|
static deserializeBinaryFromReader(message: TransactionInfo, reader: jspb.BinaryReader): TransactionInfo;
|
|
632
606
|
}
|
|
633
607
|
|
|
634
|
-
export
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
tokenSymbolsList: Array<TokenSymbol.AsObject>,
|
|
647
|
-
}
|
|
608
|
+
export type TTransactionInfo = {
|
|
609
|
+
tx?: TTransaction,
|
|
610
|
+
height: string,
|
|
611
|
+
index: number,
|
|
612
|
+
hash: string,
|
|
613
|
+
tags: Array<vendor_pb.TKVPair>,
|
|
614
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
|
615
|
+
time?: google_protobuf_timestamp_pb.Timestamp,
|
|
616
|
+
receipts: Array<TTransactionReceipt>,
|
|
617
|
+
sender: string,
|
|
618
|
+
receiver: string,
|
|
619
|
+
tokenSymbols: Array<TTokenSymbol>,
|
|
648
620
|
}
|
|
649
621
|
|
|
650
622
|
export class TransactionReceipt extends jspb.Message {
|
|
@@ -652,13 +624,13 @@ export class TransactionReceipt extends jspb.Message {
|
|
|
652
624
|
setAddress(value: string): void;
|
|
653
625
|
|
|
654
626
|
clearChangesList(): void;
|
|
655
|
-
getChangesList(): Array<
|
|
656
|
-
setChangesList(value: Array<
|
|
627
|
+
getChangesList(): Array<TReceiptChange>;
|
|
628
|
+
setChangesList(value: Array<TReceiptChange>): void;
|
|
657
629
|
addChanges(value?: ReceiptChange, index?: number): ReceiptChange;
|
|
658
630
|
|
|
659
631
|
serializeBinary(): Uint8Array;
|
|
660
|
-
toObject(includeInstance?: boolean):
|
|
661
|
-
static toObject(includeInstance: boolean, msg: TransactionReceipt):
|
|
632
|
+
toObject(includeInstance?: boolean): TTransactionReceipt;
|
|
633
|
+
static toObject(includeInstance: boolean, msg: TransactionReceipt): TTransactionReceipt;
|
|
662
634
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
663
635
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
664
636
|
static serializeBinaryToWriter(message: TransactionReceipt, writer: jspb.BinaryWriter): void;
|
|
@@ -666,11 +638,9 @@ export class TransactionReceipt extends jspb.Message {
|
|
|
666
638
|
static deserializeBinaryFromReader(message: TransactionReceipt, reader: jspb.BinaryReader): TransactionReceipt;
|
|
667
639
|
}
|
|
668
640
|
|
|
669
|
-
export
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
changesList: Array<ReceiptChange.AsObject>,
|
|
673
|
-
}
|
|
641
|
+
export type TTransactionReceipt = {
|
|
642
|
+
address: string,
|
|
643
|
+
changes: Array<TReceiptChange>,
|
|
674
644
|
}
|
|
675
645
|
|
|
676
646
|
export class ReceiptChange extends jspb.Message {
|
|
@@ -684,8 +654,8 @@ export class ReceiptChange extends jspb.Message {
|
|
|
684
654
|
setValue(value: string): void;
|
|
685
655
|
|
|
686
656
|
serializeBinary(): Uint8Array;
|
|
687
|
-
toObject(includeInstance?: boolean):
|
|
688
|
-
static toObject(includeInstance: boolean, msg: ReceiptChange):
|
|
657
|
+
toObject(includeInstance?: boolean): TReceiptChange;
|
|
658
|
+
static toObject(includeInstance: boolean, msg: ReceiptChange): TReceiptChange;
|
|
689
659
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
690
660
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
691
661
|
static serializeBinaryToWriter(message: ReceiptChange, writer: jspb.BinaryWriter): void;
|
|
@@ -693,12 +663,10 @@ export class ReceiptChange extends jspb.Message {
|
|
|
693
663
|
static deserializeBinaryFromReader(message: ReceiptChange, reader: jspb.BinaryReader): ReceiptChange;
|
|
694
664
|
}
|
|
695
665
|
|
|
696
|
-
export
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
value: string,
|
|
701
|
-
}
|
|
666
|
+
export type TReceiptChange = {
|
|
667
|
+
target: string,
|
|
668
|
+
action: string,
|
|
669
|
+
value: string,
|
|
702
670
|
}
|
|
703
671
|
|
|
704
672
|
export class TokenInput extends jspb.Message {
|
|
@@ -709,8 +677,8 @@ export class TokenInput extends jspb.Message {
|
|
|
709
677
|
setValue(value: string): void;
|
|
710
678
|
|
|
711
679
|
serializeBinary(): Uint8Array;
|
|
712
|
-
toObject(includeInstance?: boolean):
|
|
713
|
-
static toObject(includeInstance: boolean, msg: TokenInput):
|
|
680
|
+
toObject(includeInstance?: boolean): TTokenInput;
|
|
681
|
+
static toObject(includeInstance: boolean, msg: TokenInput): TTokenInput;
|
|
714
682
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
715
683
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
716
684
|
static serializeBinaryToWriter(message: TokenInput, writer: jspb.BinaryWriter): void;
|
|
@@ -718,11 +686,9 @@ export class TokenInput extends jspb.Message {
|
|
|
718
686
|
static deserializeBinaryFromReader(message: TokenInput, reader: jspb.BinaryReader): TokenInput;
|
|
719
687
|
}
|
|
720
688
|
|
|
721
|
-
export
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
value: string,
|
|
725
|
-
}
|
|
689
|
+
export type TTokenInput = {
|
|
690
|
+
address: string,
|
|
691
|
+
value: string,
|
|
726
692
|
}
|
|
727
693
|
|
|
728
694
|
export class TransactionInput extends jspb.Message {
|
|
@@ -730,8 +696,8 @@ export class TransactionInput extends jspb.Message {
|
|
|
730
696
|
setOwner(value: string): void;
|
|
731
697
|
|
|
732
698
|
clearTokensList(): void;
|
|
733
|
-
getTokensList(): Array<
|
|
734
|
-
setTokensList(value: Array<
|
|
699
|
+
getTokensList(): Array<TTokenInput>;
|
|
700
|
+
setTokensList(value: Array<TTokenInput>): void;
|
|
735
701
|
addTokens(value?: TokenInput, index?: number): TokenInput;
|
|
736
702
|
|
|
737
703
|
clearAssetsList(): void;
|
|
@@ -740,8 +706,8 @@ export class TransactionInput extends jspb.Message {
|
|
|
740
706
|
addAssets(value: string, index?: number): string;
|
|
741
707
|
|
|
742
708
|
serializeBinary(): Uint8Array;
|
|
743
|
-
toObject(includeInstance?: boolean):
|
|
744
|
-
static toObject(includeInstance: boolean, msg: TransactionInput):
|
|
709
|
+
toObject(includeInstance?: boolean): TTransactionInput;
|
|
710
|
+
static toObject(includeInstance: boolean, msg: TransactionInput): TTransactionInput;
|
|
745
711
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
746
712
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
747
713
|
static serializeBinaryToWriter(message: TransactionInput, writer: jspb.BinaryWriter): void;
|
|
@@ -749,12 +715,10 @@ export class TransactionInput extends jspb.Message {
|
|
|
749
715
|
static deserializeBinaryFromReader(message: TransactionInput, reader: jspb.BinaryReader): TransactionInput;
|
|
750
716
|
}
|
|
751
717
|
|
|
752
|
-
export
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
assetsList: Array<string>,
|
|
757
|
-
}
|
|
718
|
+
export type TTransactionInput = {
|
|
719
|
+
owner: string,
|
|
720
|
+
tokens: Array<TTokenInput>,
|
|
721
|
+
assets: Array<string>,
|
|
758
722
|
}
|
|
759
723
|
|
|
760
724
|
export class VariableInput extends jspb.Message {
|
|
@@ -771,8 +735,8 @@ export class VariableInput extends jspb.Message {
|
|
|
771
735
|
setRequired(value: boolean): void;
|
|
772
736
|
|
|
773
737
|
serializeBinary(): Uint8Array;
|
|
774
|
-
toObject(includeInstance?: boolean):
|
|
775
|
-
static toObject(includeInstance: boolean, msg: VariableInput):
|
|
738
|
+
toObject(includeInstance?: boolean): TVariableInput;
|
|
739
|
+
static toObject(includeInstance: boolean, msg: VariableInput): TVariableInput;
|
|
776
740
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
777
741
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
778
742
|
static serializeBinaryToWriter(message: VariableInput, writer: jspb.BinaryWriter): void;
|
|
@@ -780,13 +744,11 @@ export class VariableInput extends jspb.Message {
|
|
|
780
744
|
static deserializeBinaryFromReader(message: VariableInput, reader: jspb.BinaryReader): VariableInput;
|
|
781
745
|
}
|
|
782
746
|
|
|
783
|
-
export
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
required: boolean,
|
|
789
|
-
}
|
|
747
|
+
export type TVariableInput = {
|
|
748
|
+
name: string,
|
|
749
|
+
value: string,
|
|
750
|
+
description: string,
|
|
751
|
+
required: boolean,
|
|
790
752
|
}
|
|
791
753
|
|
|
792
754
|
export class DelegateConfig extends jspb.Message {
|
|
@@ -799,8 +761,8 @@ export class DelegateConfig extends jspb.Message {
|
|
|
799
761
|
addTypeUrls(value: string, index?: number): string;
|
|
800
762
|
|
|
801
763
|
serializeBinary(): Uint8Array;
|
|
802
|
-
toObject(includeInstance?: boolean):
|
|
803
|
-
static toObject(includeInstance: boolean, msg: DelegateConfig):
|
|
764
|
+
toObject(includeInstance?: boolean): TDelegateConfig;
|
|
765
|
+
static toObject(includeInstance: boolean, msg: DelegateConfig): TDelegateConfig;
|
|
804
766
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
805
767
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
806
768
|
static serializeBinaryToWriter(message: DelegateConfig, writer: jspb.BinaryWriter): void;
|
|
@@ -808,11 +770,9 @@ export class DelegateConfig extends jspb.Message {
|
|
|
808
770
|
static deserializeBinaryFromReader(message: DelegateConfig, reader: jspb.BinaryReader): DelegateConfig;
|
|
809
771
|
}
|
|
810
772
|
|
|
811
|
-
export
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
typeUrlsList: Array<string>,
|
|
815
|
-
}
|
|
773
|
+
export type TDelegateConfig = {
|
|
774
|
+
deltaInterval: number,
|
|
775
|
+
typeUrls: Array<string>,
|
|
816
776
|
}
|
|
817
777
|
|
|
818
778
|
export class TxFeeConfig extends jspb.Message {
|
|
@@ -823,8 +783,8 @@ export class TxFeeConfig extends jspb.Message {
|
|
|
823
783
|
setFee(value: string): void;
|
|
824
784
|
|
|
825
785
|
serializeBinary(): Uint8Array;
|
|
826
|
-
toObject(includeInstance?: boolean):
|
|
827
|
-
static toObject(includeInstance: boolean, msg: TxFeeConfig):
|
|
786
|
+
toObject(includeInstance?: boolean): TTxFeeConfig;
|
|
787
|
+
static toObject(includeInstance: boolean, msg: TxFeeConfig): TTxFeeConfig;
|
|
828
788
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
829
789
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
830
790
|
static serializeBinaryToWriter(message: TxFeeConfig, writer: jspb.BinaryWriter): void;
|
|
@@ -832,11 +792,9 @@ export class TxFeeConfig extends jspb.Message {
|
|
|
832
792
|
static deserializeBinaryFromReader(message: TxFeeConfig, reader: jspb.BinaryReader): TxFeeConfig;
|
|
833
793
|
}
|
|
834
794
|
|
|
835
|
-
export
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
fee: string,
|
|
839
|
-
}
|
|
795
|
+
export type TTxFeeConfig = {
|
|
796
|
+
typeUrl: string,
|
|
797
|
+
fee: string,
|
|
840
798
|
}
|
|
841
799
|
|
|
842
800
|
export class TransactionConfig extends jspb.Message {
|
|
@@ -851,17 +809,17 @@ export class TransactionConfig extends jspb.Message {
|
|
|
851
809
|
|
|
852
810
|
hasDelegate(): boolean;
|
|
853
811
|
clearDelegate(): void;
|
|
854
|
-
getDelegate():
|
|
855
|
-
setDelegate(value?:
|
|
812
|
+
getDelegate(): TDelegateConfig | undefined;
|
|
813
|
+
setDelegate(value?: TDelegateConfig): void;
|
|
856
814
|
|
|
857
815
|
clearTxFeeList(): void;
|
|
858
|
-
getTxFeeList(): Array<
|
|
859
|
-
setTxFeeList(value: Array<
|
|
816
|
+
getTxFeeList(): Array<TTxFeeConfig>;
|
|
817
|
+
setTxFeeList(value: Array<TTxFeeConfig>): void;
|
|
860
818
|
addTxFee(value?: TxFeeConfig, index?: number): TxFeeConfig;
|
|
861
819
|
|
|
862
820
|
serializeBinary(): Uint8Array;
|
|
863
|
-
toObject(includeInstance?: boolean):
|
|
864
|
-
static toObject(includeInstance: boolean, msg: TransactionConfig):
|
|
821
|
+
toObject(includeInstance?: boolean): TTransactionConfig;
|
|
822
|
+
static toObject(includeInstance: boolean, msg: TransactionConfig): TTransactionConfig;
|
|
865
823
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
866
824
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
867
825
|
static serializeBinaryToWriter(message: TransactionConfig, writer: jspb.BinaryWriter): void;
|
|
@@ -869,14 +827,12 @@ export class TransactionConfig extends jspb.Message {
|
|
|
869
827
|
static deserializeBinaryFromReader(message: TransactionConfig, reader: jspb.BinaryReader): TransactionConfig;
|
|
870
828
|
}
|
|
871
829
|
|
|
872
|
-
export
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
txFeeList: Array<TxFeeConfig.AsObject>,
|
|
879
|
-
}
|
|
830
|
+
export type TTransactionConfig = {
|
|
831
|
+
maxAssetSize: number,
|
|
832
|
+
maxListSize: number,
|
|
833
|
+
maxMultisig: number,
|
|
834
|
+
delegate?: TDelegateConfig,
|
|
835
|
+
txFee: Array<TTxFeeConfig>,
|
|
880
836
|
}
|
|
881
837
|
|
|
882
838
|
export class BlockInfo extends jspb.Message {
|
|
@@ -902,16 +858,16 @@ export class BlockInfo extends jspb.Message {
|
|
|
902
858
|
setProposer(value: Uint8Array | string): void;
|
|
903
859
|
|
|
904
860
|
clearTxsList(): void;
|
|
905
|
-
getTxsList(): Array<
|
|
906
|
-
setTxsList(value: Array<
|
|
861
|
+
getTxsList(): Array<TTransactionInfo>;
|
|
862
|
+
setTxsList(value: Array<TTransactionInfo>): void;
|
|
907
863
|
addTxs(value?: TransactionInfo, index?: number): TransactionInfo;
|
|
908
864
|
|
|
909
865
|
getTotalTxs(): string;
|
|
910
866
|
setTotalTxs(value: string): void;
|
|
911
867
|
|
|
912
868
|
clearInvalidTxsList(): void;
|
|
913
|
-
getInvalidTxsList(): Array<
|
|
914
|
-
setInvalidTxsList(value: Array<
|
|
869
|
+
getInvalidTxsList(): Array<TTransactionInfo>;
|
|
870
|
+
setInvalidTxsList(value: Array<TTransactionInfo>): void;
|
|
915
871
|
addInvalidTxs(value?: TransactionInfo, index?: number): TransactionInfo;
|
|
916
872
|
|
|
917
873
|
clearTxsHashesList(): void;
|
|
@@ -961,17 +917,17 @@ export class BlockInfo extends jspb.Message {
|
|
|
961
917
|
|
|
962
918
|
hasVersion(): boolean;
|
|
963
919
|
clearVersion(): void;
|
|
964
|
-
getVersion(): vendor_pb.
|
|
965
|
-
setVersion(value?: vendor_pb.
|
|
920
|
+
getVersion(): vendor_pb.TVersion | undefined;
|
|
921
|
+
setVersion(value?: vendor_pb.TVersion): void;
|
|
966
922
|
|
|
967
923
|
hasLastBlockId(): boolean;
|
|
968
924
|
clearLastBlockId(): void;
|
|
969
|
-
getLastBlockId(): vendor_pb.
|
|
970
|
-
setLastBlockId(value?: vendor_pb.
|
|
925
|
+
getLastBlockId(): vendor_pb.TBlockID | undefined;
|
|
926
|
+
setLastBlockId(value?: vendor_pb.TBlockID): void;
|
|
971
927
|
|
|
972
928
|
serializeBinary(): Uint8Array;
|
|
973
|
-
toObject(includeInstance?: boolean):
|
|
974
|
-
static toObject(includeInstance: boolean, msg: BlockInfo):
|
|
929
|
+
toObject(includeInstance?: boolean): TBlockInfo;
|
|
930
|
+
static toObject(includeInstance: boolean, msg: BlockInfo): TBlockInfo;
|
|
975
931
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
976
932
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
977
933
|
static serializeBinaryToWriter(message: BlockInfo, writer: jspb.BinaryWriter): void;
|
|
@@ -979,28 +935,26 @@ export class BlockInfo extends jspb.Message {
|
|
|
979
935
|
static deserializeBinaryFromReader(message: BlockInfo, reader: jspb.BinaryReader): BlockInfo;
|
|
980
936
|
}
|
|
981
937
|
|
|
982
|
-
export
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
lastBlockId?: vendor_pb.BlockID.AsObject,
|
|
1003
|
-
}
|
|
938
|
+
export type TBlockInfo = {
|
|
939
|
+
height: string,
|
|
940
|
+
numTxs: number,
|
|
941
|
+
time?: google_protobuf_timestamp_pb.Timestamp,
|
|
942
|
+
appHash: Uint8Array | string,
|
|
943
|
+
proposer: Uint8Array | string,
|
|
944
|
+
txs: Array<TTransactionInfo>,
|
|
945
|
+
totalTxs: string,
|
|
946
|
+
invalidTxs: Array<TTransactionInfo>,
|
|
947
|
+
txsHashes: Array<string>,
|
|
948
|
+
invalidTxsHashes: Array<string>,
|
|
949
|
+
consensusHash: Uint8Array | string,
|
|
950
|
+
dataHash: Uint8Array | string,
|
|
951
|
+
evidenceHash: Uint8Array | string,
|
|
952
|
+
lastCommitHash: Uint8Array | string,
|
|
953
|
+
lastResultsHash: Uint8Array | string,
|
|
954
|
+
nextValidatorsHash: Uint8Array | string,
|
|
955
|
+
validatorsHash: Uint8Array | string,
|
|
956
|
+
version?: vendor_pb.TVersion,
|
|
957
|
+
lastBlockId?: vendor_pb.TBlockID,
|
|
1004
958
|
}
|
|
1005
959
|
|
|
1006
960
|
export class BlockInfoSimple extends jspb.Message {
|
|
@@ -1075,17 +1029,17 @@ export class BlockInfoSimple extends jspb.Message {
|
|
|
1075
1029
|
|
|
1076
1030
|
hasVersion(): boolean;
|
|
1077
1031
|
clearVersion(): void;
|
|
1078
|
-
getVersion(): vendor_pb.
|
|
1079
|
-
setVersion(value?: vendor_pb.
|
|
1032
|
+
getVersion(): vendor_pb.TVersion | undefined;
|
|
1033
|
+
setVersion(value?: vendor_pb.TVersion): void;
|
|
1080
1034
|
|
|
1081
1035
|
hasLastBlockId(): boolean;
|
|
1082
1036
|
clearLastBlockId(): void;
|
|
1083
|
-
getLastBlockId(): vendor_pb.
|
|
1084
|
-
setLastBlockId(value?: vendor_pb.
|
|
1037
|
+
getLastBlockId(): vendor_pb.TBlockID | undefined;
|
|
1038
|
+
setLastBlockId(value?: vendor_pb.TBlockID): void;
|
|
1085
1039
|
|
|
1086
1040
|
serializeBinary(): Uint8Array;
|
|
1087
|
-
toObject(includeInstance?: boolean):
|
|
1088
|
-
static toObject(includeInstance: boolean, msg: BlockInfoSimple):
|
|
1041
|
+
toObject(includeInstance?: boolean): TBlockInfoSimple;
|
|
1042
|
+
static toObject(includeInstance: boolean, msg: BlockInfoSimple): TBlockInfoSimple;
|
|
1089
1043
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1090
1044
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1091
1045
|
static serializeBinaryToWriter(message: BlockInfoSimple, writer: jspb.BinaryWriter): void;
|
|
@@ -1093,26 +1047,24 @@ export class BlockInfoSimple extends jspb.Message {
|
|
|
1093
1047
|
static deserializeBinaryFromReader(message: BlockInfoSimple, reader: jspb.BinaryReader): BlockInfoSimple;
|
|
1094
1048
|
}
|
|
1095
1049
|
|
|
1096
|
-
export
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
lastBlockId?: vendor_pb.BlockID.AsObject,
|
|
1115
|
-
}
|
|
1050
|
+
export type TBlockInfoSimple = {
|
|
1051
|
+
height: string,
|
|
1052
|
+
numTxs: number,
|
|
1053
|
+
time?: google_protobuf_timestamp_pb.Timestamp,
|
|
1054
|
+
appHash: Uint8Array | string,
|
|
1055
|
+
proposer: Uint8Array | string,
|
|
1056
|
+
totalTxs: string,
|
|
1057
|
+
txsHashes: Array<string>,
|
|
1058
|
+
invalidTxsHashes: Array<string>,
|
|
1059
|
+
consensusHash: Uint8Array | string,
|
|
1060
|
+
dataHash: Uint8Array | string,
|
|
1061
|
+
evidenceHash: Uint8Array | string,
|
|
1062
|
+
lastCommitHash: Uint8Array | string,
|
|
1063
|
+
lastResultsHash: Uint8Array | string,
|
|
1064
|
+
nextValidatorsHash: Uint8Array | string,
|
|
1065
|
+
validatorsHash: Uint8Array | string,
|
|
1066
|
+
version?: vendor_pb.TVersion,
|
|
1067
|
+
lastBlockId?: vendor_pb.TBlockID,
|
|
1116
1068
|
}
|
|
1117
1069
|
|
|
1118
1070
|
export class StateContext extends jspb.Message {
|
|
@@ -1133,8 +1085,8 @@ export class StateContext extends jspb.Message {
|
|
|
1133
1085
|
setRenaissanceTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
1134
1086
|
|
|
1135
1087
|
serializeBinary(): Uint8Array;
|
|
1136
|
-
toObject(includeInstance?: boolean):
|
|
1137
|
-
static toObject(includeInstance: boolean, msg: StateContext):
|
|
1088
|
+
toObject(includeInstance?: boolean): TStateContext;
|
|
1089
|
+
static toObject(includeInstance: boolean, msg: StateContext): TStateContext;
|
|
1138
1090
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1139
1091
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1140
1092
|
static serializeBinaryToWriter(message: StateContext, writer: jspb.BinaryWriter): void;
|
|
@@ -1142,34 +1094,32 @@ export class StateContext extends jspb.Message {
|
|
|
1142
1094
|
static deserializeBinaryFromReader(message: StateContext, reader: jspb.BinaryReader): StateContext;
|
|
1143
1095
|
}
|
|
1144
1096
|
|
|
1145
|
-
export
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
renaissanceTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
1151
|
-
}
|
|
1097
|
+
export type TStateContext = {
|
|
1098
|
+
genesisTx: string,
|
|
1099
|
+
renaissanceTx: string,
|
|
1100
|
+
genesisTime?: google_protobuf_timestamp_pb.Timestamp,
|
|
1101
|
+
renaissanceTime?: google_protobuf_timestamp_pb.Timestamp,
|
|
1152
1102
|
}
|
|
1153
1103
|
|
|
1154
1104
|
export class StakeSummary extends jspb.Message {
|
|
1155
1105
|
hasTotalStakes(): boolean;
|
|
1156
1106
|
clearTotalStakes(): void;
|
|
1157
|
-
getTotalStakes():
|
|
1158
|
-
setTotalStakes(value?:
|
|
1107
|
+
getTotalStakes(): TBigUint | undefined;
|
|
1108
|
+
setTotalStakes(value?: TBigUint): void;
|
|
1159
1109
|
|
|
1160
1110
|
hasTotalUnstakes(): boolean;
|
|
1161
1111
|
clearTotalUnstakes(): void;
|
|
1162
|
-
getTotalUnstakes():
|
|
1163
|
-
setTotalUnstakes(value?:
|
|
1112
|
+
getTotalUnstakes(): TBigUint | undefined;
|
|
1113
|
+
setTotalUnstakes(value?: TBigUint): void;
|
|
1164
1114
|
|
|
1165
1115
|
hasContext(): boolean;
|
|
1166
1116
|
clearContext(): void;
|
|
1167
|
-
getContext():
|
|
1168
|
-
setContext(value?:
|
|
1117
|
+
getContext(): TStateContext | undefined;
|
|
1118
|
+
setContext(value?: TStateContext): void;
|
|
1169
1119
|
|
|
1170
1120
|
serializeBinary(): Uint8Array;
|
|
1171
|
-
toObject(includeInstance?: boolean):
|
|
1172
|
-
static toObject(includeInstance: boolean, msg: StakeSummary):
|
|
1121
|
+
toObject(includeInstance?: boolean): TStakeSummary;
|
|
1122
|
+
static toObject(includeInstance: boolean, msg: StakeSummary): TStakeSummary;
|
|
1173
1123
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1174
1124
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1175
1125
|
static serializeBinaryToWriter(message: StakeSummary, writer: jspb.BinaryWriter): void;
|
|
@@ -1177,12 +1127,10 @@ export class StakeSummary extends jspb.Message {
|
|
|
1177
1127
|
static deserializeBinaryFromReader(message: StakeSummary, reader: jspb.BinaryReader): StakeSummary;
|
|
1178
1128
|
}
|
|
1179
1129
|
|
|
1180
|
-
export
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
context?: StateContext.AsObject,
|
|
1185
|
-
}
|
|
1130
|
+
export type TStakeSummary = {
|
|
1131
|
+
totalStakes?: TBigUint,
|
|
1132
|
+
totalUnstakes?: TBigUint,
|
|
1133
|
+
context?: TStateContext,
|
|
1186
1134
|
}
|
|
1187
1135
|
|
|
1188
1136
|
export class UnconfirmedTxs extends jspb.Message {
|
|
@@ -1190,13 +1138,13 @@ export class UnconfirmedTxs extends jspb.Message {
|
|
|
1190
1138
|
setNTxs(value: number): void;
|
|
1191
1139
|
|
|
1192
1140
|
clearTxsList(): void;
|
|
1193
|
-
getTxsList(): Array<
|
|
1194
|
-
setTxsList(value: Array<
|
|
1141
|
+
getTxsList(): Array<TTransaction>;
|
|
1142
|
+
setTxsList(value: Array<TTransaction>): void;
|
|
1195
1143
|
addTxs(value?: Transaction, index?: number): Transaction;
|
|
1196
1144
|
|
|
1197
1145
|
serializeBinary(): Uint8Array;
|
|
1198
|
-
toObject(includeInstance?: boolean):
|
|
1199
|
-
static toObject(includeInstance: boolean, msg: UnconfirmedTxs):
|
|
1146
|
+
toObject(includeInstance?: boolean): TUnconfirmedTxs;
|
|
1147
|
+
static toObject(includeInstance: boolean, msg: UnconfirmedTxs): TUnconfirmedTxs;
|
|
1200
1148
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1201
1149
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1202
1150
|
static serializeBinaryToWriter(message: UnconfirmedTxs, writer: jspb.BinaryWriter): void;
|
|
@@ -1204,11 +1152,9 @@ export class UnconfirmedTxs extends jspb.Message {
|
|
|
1204
1152
|
static deserializeBinaryFromReader(message: UnconfirmedTxs, reader: jspb.BinaryReader): UnconfirmedTxs;
|
|
1205
1153
|
}
|
|
1206
1154
|
|
|
1207
|
-
export
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
txsList: Array<Transaction.AsObject>,
|
|
1211
|
-
}
|
|
1155
|
+
export type TUnconfirmedTxs = {
|
|
1156
|
+
nTxs: number,
|
|
1157
|
+
txs: Array<TTransaction>,
|
|
1212
1158
|
}
|
|
1213
1159
|
|
|
1214
1160
|
export class NetInfo extends jspb.Message {
|
|
@@ -1224,13 +1170,13 @@ export class NetInfo extends jspb.Message {
|
|
|
1224
1170
|
setNPeers(value: number): void;
|
|
1225
1171
|
|
|
1226
1172
|
clearPeersList(): void;
|
|
1227
|
-
getPeersList(): Array<
|
|
1228
|
-
setPeersList(value: Array<
|
|
1173
|
+
getPeersList(): Array<TPeerInfo>;
|
|
1174
|
+
setPeersList(value: Array<TPeerInfo>): void;
|
|
1229
1175
|
addPeers(value?: PeerInfo, index?: number): PeerInfo;
|
|
1230
1176
|
|
|
1231
1177
|
serializeBinary(): Uint8Array;
|
|
1232
|
-
toObject(includeInstance?: boolean):
|
|
1233
|
-
static toObject(includeInstance: boolean, msg: NetInfo):
|
|
1178
|
+
toObject(includeInstance?: boolean): TNetInfo;
|
|
1179
|
+
static toObject(includeInstance: boolean, msg: NetInfo): TNetInfo;
|
|
1234
1180
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1235
1181
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1236
1182
|
static serializeBinaryToWriter(message: NetInfo, writer: jspb.BinaryWriter): void;
|
|
@@ -1238,13 +1184,11 @@ export class NetInfo extends jspb.Message {
|
|
|
1238
1184
|
static deserializeBinaryFromReader(message: NetInfo, reader: jspb.BinaryReader): NetInfo;
|
|
1239
1185
|
}
|
|
1240
1186
|
|
|
1241
|
-
export
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
peersList: Array<PeerInfo.AsObject>,
|
|
1247
|
-
}
|
|
1187
|
+
export type TNetInfo = {
|
|
1188
|
+
listening: boolean,
|
|
1189
|
+
listeners: Array<string>,
|
|
1190
|
+
nPeers: number,
|
|
1191
|
+
peers: Array<TPeerInfo>,
|
|
1248
1192
|
}
|
|
1249
1193
|
|
|
1250
1194
|
export class GeoInfo extends jspb.Message {
|
|
@@ -1261,8 +1205,8 @@ export class GeoInfo extends jspb.Message {
|
|
|
1261
1205
|
setLongitude(value: number): void;
|
|
1262
1206
|
|
|
1263
1207
|
serializeBinary(): Uint8Array;
|
|
1264
|
-
toObject(includeInstance?: boolean):
|
|
1265
|
-
static toObject(includeInstance: boolean, msg: GeoInfo):
|
|
1208
|
+
toObject(includeInstance?: boolean): TGeoInfo;
|
|
1209
|
+
static toObject(includeInstance: boolean, msg: GeoInfo): TGeoInfo;
|
|
1266
1210
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1267
1211
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1268
1212
|
static serializeBinaryToWriter(message: GeoInfo, writer: jspb.BinaryWriter): void;
|
|
@@ -1270,13 +1214,11 @@ export class GeoInfo extends jspb.Message {
|
|
|
1270
1214
|
static deserializeBinaryFromReader(message: GeoInfo, reader: jspb.BinaryReader): GeoInfo;
|
|
1271
1215
|
}
|
|
1272
1216
|
|
|
1273
|
-
export
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
longitude: number,
|
|
1279
|
-
}
|
|
1217
|
+
export type TGeoInfo = {
|
|
1218
|
+
city: string,
|
|
1219
|
+
country: string,
|
|
1220
|
+
latitude: number,
|
|
1221
|
+
longitude: number,
|
|
1280
1222
|
}
|
|
1281
1223
|
|
|
1282
1224
|
export class PeerInfo extends jspb.Message {
|
|
@@ -1297,12 +1239,12 @@ export class PeerInfo extends jspb.Message {
|
|
|
1297
1239
|
|
|
1298
1240
|
hasGeoInfo(): boolean;
|
|
1299
1241
|
clearGeoInfo(): void;
|
|
1300
|
-
getGeoInfo():
|
|
1301
|
-
setGeoInfo(value?:
|
|
1242
|
+
getGeoInfo(): TGeoInfo | undefined;
|
|
1243
|
+
setGeoInfo(value?: TGeoInfo): void;
|
|
1302
1244
|
|
|
1303
1245
|
serializeBinary(): Uint8Array;
|
|
1304
|
-
toObject(includeInstance?: boolean):
|
|
1305
|
-
static toObject(includeInstance: boolean, msg: PeerInfo):
|
|
1246
|
+
toObject(includeInstance?: boolean): TPeerInfo;
|
|
1247
|
+
static toObject(includeInstance: boolean, msg: PeerInfo): TPeerInfo;
|
|
1306
1248
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1307
1249
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1308
1250
|
static serializeBinaryToWriter(message: PeerInfo, writer: jspb.BinaryWriter): void;
|
|
@@ -1310,15 +1252,13 @@ export class PeerInfo extends jspb.Message {
|
|
|
1310
1252
|
static deserializeBinaryFromReader(message: PeerInfo, reader: jspb.BinaryReader): PeerInfo;
|
|
1311
1253
|
}
|
|
1312
1254
|
|
|
1313
|
-
export
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
geoInfo?: GeoInfo.AsObject,
|
|
1321
|
-
}
|
|
1255
|
+
export type TPeerInfo = {
|
|
1256
|
+
id: string,
|
|
1257
|
+
network: string,
|
|
1258
|
+
consensusVersion: string,
|
|
1259
|
+
moniker: string,
|
|
1260
|
+
ip: string,
|
|
1261
|
+
geoInfo?: TGeoInfo,
|
|
1322
1262
|
}
|
|
1323
1263
|
|
|
1324
1264
|
export class ValidatorsInfo extends jspb.Message {
|
|
@@ -1326,13 +1266,13 @@ export class ValidatorsInfo extends jspb.Message {
|
|
|
1326
1266
|
setBlockHeight(value: string): void;
|
|
1327
1267
|
|
|
1328
1268
|
clearValidatorsList(): void;
|
|
1329
|
-
getValidatorsList(): Array<
|
|
1330
|
-
setValidatorsList(value: Array<
|
|
1269
|
+
getValidatorsList(): Array<TValidatorInfo>;
|
|
1270
|
+
setValidatorsList(value: Array<TValidatorInfo>): void;
|
|
1331
1271
|
addValidators(value?: ValidatorInfo, index?: number): ValidatorInfo;
|
|
1332
1272
|
|
|
1333
1273
|
serializeBinary(): Uint8Array;
|
|
1334
|
-
toObject(includeInstance?: boolean):
|
|
1335
|
-
static toObject(includeInstance: boolean, msg: ValidatorsInfo):
|
|
1274
|
+
toObject(includeInstance?: boolean): TValidatorsInfo;
|
|
1275
|
+
static toObject(includeInstance: boolean, msg: ValidatorsInfo): TValidatorsInfo;
|
|
1336
1276
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1337
1277
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1338
1278
|
static serializeBinaryToWriter(message: ValidatorsInfo, writer: jspb.BinaryWriter): void;
|
|
@@ -1340,11 +1280,9 @@ export class ValidatorsInfo extends jspb.Message {
|
|
|
1340
1280
|
static deserializeBinaryFromReader(message: ValidatorsInfo, reader: jspb.BinaryReader): ValidatorsInfo;
|
|
1341
1281
|
}
|
|
1342
1282
|
|
|
1343
|
-
export
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
validatorsList: Array<ValidatorInfo.AsObject>,
|
|
1347
|
-
}
|
|
1283
|
+
export type TValidatorsInfo = {
|
|
1284
|
+
blockHeight: string,
|
|
1285
|
+
validators: Array<TValidatorInfo>,
|
|
1348
1286
|
}
|
|
1349
1287
|
|
|
1350
1288
|
export class ValidatorInfo extends jspb.Message {
|
|
@@ -1353,8 +1291,8 @@ export class ValidatorInfo extends jspb.Message {
|
|
|
1353
1291
|
|
|
1354
1292
|
hasPubKey(): boolean;
|
|
1355
1293
|
clearPubKey(): void;
|
|
1356
|
-
getPubKey(): vendor_pb.
|
|
1357
|
-
setPubKey(value?: vendor_pb.
|
|
1294
|
+
getPubKey(): vendor_pb.TPubKey | undefined;
|
|
1295
|
+
setPubKey(value?: vendor_pb.TPubKey): void;
|
|
1358
1296
|
|
|
1359
1297
|
getVotingPower(): string;
|
|
1360
1298
|
setVotingPower(value: string): void;
|
|
@@ -1367,12 +1305,12 @@ export class ValidatorInfo extends jspb.Message {
|
|
|
1367
1305
|
|
|
1368
1306
|
hasGeoInfo(): boolean;
|
|
1369
1307
|
clearGeoInfo(): void;
|
|
1370
|
-
getGeoInfo():
|
|
1371
|
-
setGeoInfo(value?:
|
|
1308
|
+
getGeoInfo(): TGeoInfo | undefined;
|
|
1309
|
+
setGeoInfo(value?: TGeoInfo): void;
|
|
1372
1310
|
|
|
1373
1311
|
serializeBinary(): Uint8Array;
|
|
1374
|
-
toObject(includeInstance?: boolean):
|
|
1375
|
-
static toObject(includeInstance: boolean, msg: ValidatorInfo):
|
|
1312
|
+
toObject(includeInstance?: boolean): TValidatorInfo;
|
|
1313
|
+
static toObject(includeInstance: boolean, msg: ValidatorInfo): TValidatorInfo;
|
|
1376
1314
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1377
1315
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1378
1316
|
static serializeBinaryToWriter(message: ValidatorInfo, writer: jspb.BinaryWriter): void;
|
|
@@ -1380,15 +1318,13 @@ export class ValidatorInfo extends jspb.Message {
|
|
|
1380
1318
|
static deserializeBinaryFromReader(message: ValidatorInfo, reader: jspb.BinaryReader): ValidatorInfo;
|
|
1381
1319
|
}
|
|
1382
1320
|
|
|
1383
|
-
export
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
geoInfo?: GeoInfo.AsObject,
|
|
1391
|
-
}
|
|
1321
|
+
export type TValidatorInfo = {
|
|
1322
|
+
address: string,
|
|
1323
|
+
pubKey?: vendor_pb.TPubKey,
|
|
1324
|
+
votingPower: string,
|
|
1325
|
+
proposerPriority: string,
|
|
1326
|
+
name: string,
|
|
1327
|
+
geoInfo?: TGeoInfo,
|
|
1392
1328
|
}
|
|
1393
1329
|
|
|
1394
1330
|
export class ForgeToken extends jspb.Message {
|
|
@@ -1425,8 +1361,8 @@ export class ForgeToken extends jspb.Message {
|
|
|
1425
1361
|
setAddress(value: string): void;
|
|
1426
1362
|
|
|
1427
1363
|
serializeBinary(): Uint8Array;
|
|
1428
|
-
toObject(includeInstance?: boolean):
|
|
1429
|
-
static toObject(includeInstance: boolean, msg: ForgeToken):
|
|
1364
|
+
toObject(includeInstance?: boolean): TForgeToken;
|
|
1365
|
+
static toObject(includeInstance: boolean, msg: ForgeToken): TForgeToken;
|
|
1430
1366
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1431
1367
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1432
1368
|
static serializeBinaryToWriter(message: ForgeToken, writer: jspb.BinaryWriter): void;
|
|
@@ -1434,19 +1370,17 @@ export class ForgeToken extends jspb.Message {
|
|
|
1434
1370
|
static deserializeBinaryFromReader(message: ForgeToken, reader: jspb.BinaryReader): ForgeToken;
|
|
1435
1371
|
}
|
|
1436
1372
|
|
|
1437
|
-
export
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
address: string,
|
|
1449
|
-
}
|
|
1373
|
+
export type TForgeToken = {
|
|
1374
|
+
name: string,
|
|
1375
|
+
symbol: string,
|
|
1376
|
+
unit: string,
|
|
1377
|
+
description: string,
|
|
1378
|
+
icon: Uint8Array | string,
|
|
1379
|
+
decimal: number,
|
|
1380
|
+
initialSupply: string,
|
|
1381
|
+
totalSupply: string,
|
|
1382
|
+
inflationRate: number,
|
|
1383
|
+
address: string,
|
|
1450
1384
|
}
|
|
1451
1385
|
|
|
1452
1386
|
export class UpgradeInfo extends jspb.Message {
|
|
@@ -1457,8 +1391,8 @@ export class UpgradeInfo extends jspb.Message {
|
|
|
1457
1391
|
setVersion(value: string): void;
|
|
1458
1392
|
|
|
1459
1393
|
serializeBinary(): Uint8Array;
|
|
1460
|
-
toObject(includeInstance?: boolean):
|
|
1461
|
-
static toObject(includeInstance: boolean, msg: UpgradeInfo):
|
|
1394
|
+
toObject(includeInstance?: boolean): TUpgradeInfo;
|
|
1395
|
+
static toObject(includeInstance: boolean, msg: UpgradeInfo): TUpgradeInfo;
|
|
1462
1396
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1463
1397
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1464
1398
|
static serializeBinaryToWriter(message: UpgradeInfo, writer: jspb.BinaryWriter): void;
|
|
@@ -1466,11 +1400,9 @@ export class UpgradeInfo extends jspb.Message {
|
|
|
1466
1400
|
static deserializeBinaryFromReader(message: UpgradeInfo, reader: jspb.BinaryReader): UpgradeInfo;
|
|
1467
1401
|
}
|
|
1468
1402
|
|
|
1469
|
-
export
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
version: string,
|
|
1473
|
-
}
|
|
1403
|
+
export type TUpgradeInfo = {
|
|
1404
|
+
height: string,
|
|
1405
|
+
version: string,
|
|
1474
1406
|
}
|
|
1475
1407
|
|
|
1476
1408
|
export class WithdrawItem extends jspb.Message {
|
|
@@ -1479,12 +1411,12 @@ export class WithdrawItem extends jspb.Message {
|
|
|
1479
1411
|
|
|
1480
1412
|
hasValue(): boolean;
|
|
1481
1413
|
clearValue(): void;
|
|
1482
|
-
getValue():
|
|
1483
|
-
setValue(value?:
|
|
1414
|
+
getValue(): TBigUint | undefined;
|
|
1415
|
+
setValue(value?: TBigUint): void;
|
|
1484
1416
|
|
|
1485
1417
|
serializeBinary(): Uint8Array;
|
|
1486
|
-
toObject(includeInstance?: boolean):
|
|
1487
|
-
static toObject(includeInstance: boolean, msg: WithdrawItem):
|
|
1418
|
+
toObject(includeInstance?: boolean): TWithdrawItem;
|
|
1419
|
+
static toObject(includeInstance: boolean, msg: WithdrawItem): TWithdrawItem;
|
|
1488
1420
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1489
1421
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1490
1422
|
static serializeBinaryToWriter(message: WithdrawItem, writer: jspb.BinaryWriter): void;
|
|
@@ -1492,11 +1424,9 @@ export class WithdrawItem extends jspb.Message {
|
|
|
1492
1424
|
static deserializeBinaryFromReader(message: WithdrawItem, reader: jspb.BinaryReader): WithdrawItem;
|
|
1493
1425
|
}
|
|
1494
1426
|
|
|
1495
|
-
export
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
value?: BigUint.AsObject,
|
|
1499
|
-
}
|
|
1427
|
+
export type TWithdrawItem = {
|
|
1428
|
+
hash: string,
|
|
1429
|
+
value?: TBigUint,
|
|
1500
1430
|
}
|
|
1501
1431
|
|
|
1502
1432
|
export class AccountConfig extends jspb.Message {
|
|
@@ -1510,12 +1440,12 @@ export class AccountConfig extends jspb.Message {
|
|
|
1510
1440
|
|
|
1511
1441
|
hasBalance(): boolean;
|
|
1512
1442
|
clearBalance(): void;
|
|
1513
|
-
getBalance():
|
|
1514
|
-
setBalance(value?:
|
|
1443
|
+
getBalance(): TBigUint | undefined;
|
|
1444
|
+
setBalance(value?: TBigUint): void;
|
|
1515
1445
|
|
|
1516
1446
|
serializeBinary(): Uint8Array;
|
|
1517
|
-
toObject(includeInstance?: boolean):
|
|
1518
|
-
static toObject(includeInstance: boolean, msg: AccountConfig):
|
|
1447
|
+
toObject(includeInstance?: boolean): TAccountConfig;
|
|
1448
|
+
static toObject(includeInstance: boolean, msg: AccountConfig): TAccountConfig;
|
|
1519
1449
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1520
1450
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1521
1451
|
static serializeBinaryToWriter(message: AccountConfig, writer: jspb.BinaryWriter): void;
|
|
@@ -1523,12 +1453,10 @@ export class AccountConfig extends jspb.Message {
|
|
|
1523
1453
|
static deserializeBinaryFromReader(message: AccountConfig, reader: jspb.BinaryReader): AccountConfig;
|
|
1524
1454
|
}
|
|
1525
1455
|
|
|
1526
|
-
export
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
balance?: BigUint.AsObject,
|
|
1531
|
-
}
|
|
1456
|
+
export type TAccountConfig = {
|
|
1457
|
+
address: string,
|
|
1458
|
+
pk: Uint8Array | string,
|
|
1459
|
+
balance?: TBigUint,
|
|
1532
1460
|
}
|
|
1533
1461
|
|
|
1534
1462
|
export class Evidence extends jspb.Message {
|
|
@@ -1536,8 +1464,8 @@ export class Evidence extends jspb.Message {
|
|
|
1536
1464
|
setHash(value: string): void;
|
|
1537
1465
|
|
|
1538
1466
|
serializeBinary(): Uint8Array;
|
|
1539
|
-
toObject(includeInstance?: boolean):
|
|
1540
|
-
static toObject(includeInstance: boolean, msg: Evidence):
|
|
1467
|
+
toObject(includeInstance?: boolean): TEvidence;
|
|
1468
|
+
static toObject(includeInstance: boolean, msg: Evidence): TEvidence;
|
|
1541
1469
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1542
1470
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1543
1471
|
static serializeBinaryToWriter(message: Evidence, writer: jspb.BinaryWriter): void;
|
|
@@ -1545,10 +1473,8 @@ export class Evidence extends jspb.Message {
|
|
|
1545
1473
|
static deserializeBinaryFromReader(message: Evidence, reader: jspb.BinaryReader): Evidence;
|
|
1546
1474
|
}
|
|
1547
1475
|
|
|
1548
|
-
export
|
|
1549
|
-
|
|
1550
|
-
hash: string,
|
|
1551
|
-
}
|
|
1476
|
+
export type TEvidence = {
|
|
1477
|
+
hash: string,
|
|
1552
1478
|
}
|
|
1553
1479
|
|
|
1554
1480
|
export class NFTEndpoint extends jspb.Message {
|
|
@@ -1559,8 +1485,8 @@ export class NFTEndpoint extends jspb.Message {
|
|
|
1559
1485
|
setScope(value: string): void;
|
|
1560
1486
|
|
|
1561
1487
|
serializeBinary(): Uint8Array;
|
|
1562
|
-
toObject(includeInstance?: boolean):
|
|
1563
|
-
static toObject(includeInstance: boolean, msg: NFTEndpoint):
|
|
1488
|
+
toObject(includeInstance?: boolean): TNFTEndpoint;
|
|
1489
|
+
static toObject(includeInstance: boolean, msg: NFTEndpoint): TNFTEndpoint;
|
|
1564
1490
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1565
1491
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1566
1492
|
static serializeBinaryToWriter(message: NFTEndpoint, writer: jspb.BinaryWriter): void;
|
|
@@ -1568,11 +1494,9 @@ export class NFTEndpoint extends jspb.Message {
|
|
|
1568
1494
|
static deserializeBinaryFromReader(message: NFTEndpoint, reader: jspb.BinaryReader): NFTEndpoint;
|
|
1569
1495
|
}
|
|
1570
1496
|
|
|
1571
|
-
export
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
scope: string,
|
|
1575
|
-
}
|
|
1497
|
+
export type TNFTEndpoint = {
|
|
1498
|
+
id: string,
|
|
1499
|
+
scope: string,
|
|
1576
1500
|
}
|
|
1577
1501
|
|
|
1578
1502
|
export class NFTDisplay extends jspb.Message {
|
|
@@ -1583,8 +1507,8 @@ export class NFTDisplay extends jspb.Message {
|
|
|
1583
1507
|
setContent(value: string): void;
|
|
1584
1508
|
|
|
1585
1509
|
serializeBinary(): Uint8Array;
|
|
1586
|
-
toObject(includeInstance?: boolean):
|
|
1587
|
-
static toObject(includeInstance: boolean, msg: NFTDisplay):
|
|
1510
|
+
toObject(includeInstance?: boolean): TNFTDisplay;
|
|
1511
|
+
static toObject(includeInstance: boolean, msg: NFTDisplay): TNFTDisplay;
|
|
1588
1512
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1589
1513
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1590
1514
|
static serializeBinaryToWriter(message: NFTDisplay, writer: jspb.BinaryWriter): void;
|
|
@@ -1592,11 +1516,9 @@ export class NFTDisplay extends jspb.Message {
|
|
|
1592
1516
|
static deserializeBinaryFromReader(message: NFTDisplay, reader: jspb.BinaryReader): NFTDisplay;
|
|
1593
1517
|
}
|
|
1594
1518
|
|
|
1595
|
-
export
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
content: string,
|
|
1599
|
-
}
|
|
1519
|
+
export type TNFTDisplay = {
|
|
1520
|
+
type: string,
|
|
1521
|
+
content: string,
|
|
1600
1522
|
}
|
|
1601
1523
|
|
|
1602
1524
|
export class NFTIssuer extends jspb.Message {
|
|
@@ -1610,8 +1532,8 @@ export class NFTIssuer extends jspb.Message {
|
|
|
1610
1532
|
setName(value: string): void;
|
|
1611
1533
|
|
|
1612
1534
|
serializeBinary(): Uint8Array;
|
|
1613
|
-
toObject(includeInstance?: boolean):
|
|
1614
|
-
static toObject(includeInstance: boolean, msg: NFTIssuer):
|
|
1535
|
+
toObject(includeInstance?: boolean): TNFTIssuer;
|
|
1536
|
+
static toObject(includeInstance: boolean, msg: NFTIssuer): TNFTIssuer;
|
|
1615
1537
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1616
1538
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1617
1539
|
static serializeBinaryToWriter(message: NFTIssuer, writer: jspb.BinaryWriter): void;
|
|
@@ -1619,12 +1541,10 @@ export class NFTIssuer extends jspb.Message {
|
|
|
1619
1541
|
static deserializeBinaryFromReader(message: NFTIssuer, reader: jspb.BinaryReader): NFTIssuer;
|
|
1620
1542
|
}
|
|
1621
1543
|
|
|
1622
|
-
export
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
name: string,
|
|
1627
|
-
}
|
|
1544
|
+
export type TNFTIssuer = {
|
|
1545
|
+
id: string,
|
|
1546
|
+
pk: string,
|
|
1547
|
+
name: string,
|
|
1628
1548
|
}
|
|
1629
1549
|
|
|
1630
1550
|
export class AssetFactoryHook extends jspb.Message {
|
|
@@ -1638,8 +1558,8 @@ export class AssetFactoryHook extends jspb.Message {
|
|
|
1638
1558
|
setHook(value: string): void;
|
|
1639
1559
|
|
|
1640
1560
|
serializeBinary(): Uint8Array;
|
|
1641
|
-
toObject(includeInstance?: boolean):
|
|
1642
|
-
static toObject(includeInstance: boolean, msg: AssetFactoryHook):
|
|
1561
|
+
toObject(includeInstance?: boolean): TAssetFactoryHook;
|
|
1562
|
+
static toObject(includeInstance: boolean, msg: AssetFactoryHook): TAssetFactoryHook;
|
|
1643
1563
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1644
1564
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1645
1565
|
static serializeBinaryToWriter(message: AssetFactoryHook, writer: jspb.BinaryWriter): void;
|
|
@@ -1647,12 +1567,10 @@ export class AssetFactoryHook extends jspb.Message {
|
|
|
1647
1567
|
static deserializeBinaryFromReader(message: AssetFactoryHook, reader: jspb.BinaryReader): AssetFactoryHook;
|
|
1648
1568
|
}
|
|
1649
1569
|
|
|
1650
|
-
export
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
hook: string,
|
|
1655
|
-
}
|
|
1570
|
+
export type TAssetFactoryHook = {
|
|
1571
|
+
name: string,
|
|
1572
|
+
type: string,
|
|
1573
|
+
hook: string,
|
|
1656
1574
|
}
|
|
1657
1575
|
|
|
1658
1576
|
export class IndexedTokenInput extends jspb.Message {
|
|
@@ -1672,8 +1590,8 @@ export class IndexedTokenInput extends jspb.Message {
|
|
|
1672
1590
|
setSymbol(value: string): void;
|
|
1673
1591
|
|
|
1674
1592
|
serializeBinary(): Uint8Array;
|
|
1675
|
-
toObject(includeInstance?: boolean):
|
|
1676
|
-
static toObject(includeInstance: boolean, msg: IndexedTokenInput):
|
|
1593
|
+
toObject(includeInstance?: boolean): TIndexedTokenInput;
|
|
1594
|
+
static toObject(includeInstance: boolean, msg: IndexedTokenInput): TIndexedTokenInput;
|
|
1677
1595
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1678
1596
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1679
1597
|
static serializeBinaryToWriter(message: IndexedTokenInput, writer: jspb.BinaryWriter): void;
|
|
@@ -1681,14 +1599,12 @@ export class IndexedTokenInput extends jspb.Message {
|
|
|
1681
1599
|
static deserializeBinaryFromReader(message: IndexedTokenInput, reader: jspb.BinaryReader): IndexedTokenInput;
|
|
1682
1600
|
}
|
|
1683
1601
|
|
|
1684
|
-
export
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
symbol: string,
|
|
1691
|
-
}
|
|
1602
|
+
export type TIndexedTokenInput = {
|
|
1603
|
+
address: string,
|
|
1604
|
+
value: string,
|
|
1605
|
+
decimal: number,
|
|
1606
|
+
unit: string,
|
|
1607
|
+
symbol: string,
|
|
1692
1608
|
}
|
|
1693
1609
|
|
|
1694
1610
|
export class IndexedFactoryInput extends jspb.Message {
|
|
@@ -1696,8 +1612,8 @@ export class IndexedFactoryInput extends jspb.Message {
|
|
|
1696
1612
|
setValue(value: string): void;
|
|
1697
1613
|
|
|
1698
1614
|
clearTokensList(): void;
|
|
1699
|
-
getTokensList(): Array<
|
|
1700
|
-
setTokensList(value: Array<
|
|
1615
|
+
getTokensList(): Array<TIndexedTokenInput>;
|
|
1616
|
+
setTokensList(value: Array<TIndexedTokenInput>): void;
|
|
1701
1617
|
addTokens(value?: IndexedTokenInput, index?: number): IndexedTokenInput;
|
|
1702
1618
|
|
|
1703
1619
|
clearAssetsList(): void;
|
|
@@ -1706,13 +1622,13 @@ export class IndexedFactoryInput extends jspb.Message {
|
|
|
1706
1622
|
addAssets(value: string, index?: number): string;
|
|
1707
1623
|
|
|
1708
1624
|
clearVariablesList(): void;
|
|
1709
|
-
getVariablesList(): Array<
|
|
1710
|
-
setVariablesList(value: Array<
|
|
1625
|
+
getVariablesList(): Array<TVariableInput>;
|
|
1626
|
+
setVariablesList(value: Array<TVariableInput>): void;
|
|
1711
1627
|
addVariables(value?: VariableInput, index?: number): VariableInput;
|
|
1712
1628
|
|
|
1713
1629
|
serializeBinary(): Uint8Array;
|
|
1714
|
-
toObject(includeInstance?: boolean):
|
|
1715
|
-
static toObject(includeInstance: boolean, msg: IndexedFactoryInput):
|
|
1630
|
+
toObject(includeInstance?: boolean): TIndexedFactoryInput;
|
|
1631
|
+
static toObject(includeInstance: boolean, msg: IndexedFactoryInput): TIndexedFactoryInput;
|
|
1716
1632
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1717
1633
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1718
1634
|
static serializeBinaryToWriter(message: IndexedFactoryInput, writer: jspb.BinaryWriter): void;
|
|
@@ -1720,13 +1636,11 @@ export class IndexedFactoryInput extends jspb.Message {
|
|
|
1720
1636
|
static deserializeBinaryFromReader(message: IndexedFactoryInput, reader: jspb.BinaryReader): IndexedFactoryInput;
|
|
1721
1637
|
}
|
|
1722
1638
|
|
|
1723
|
-
export
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
variablesList: Array<VariableInput.AsObject>,
|
|
1729
|
-
}
|
|
1639
|
+
export type TIndexedFactoryInput = {
|
|
1640
|
+
value: string,
|
|
1641
|
+
tokens: Array<TIndexedTokenInput>,
|
|
1642
|
+
assets: Array<string>,
|
|
1643
|
+
variables: Array<TVariableInput>,
|
|
1730
1644
|
}
|
|
1731
1645
|
|
|
1732
1646
|
export class RollupValidator extends jspb.Message {
|
|
@@ -1740,8 +1654,8 @@ export class RollupValidator extends jspb.Message {
|
|
|
1740
1654
|
setEndpoint(value: string): void;
|
|
1741
1655
|
|
|
1742
1656
|
serializeBinary(): Uint8Array;
|
|
1743
|
-
toObject(includeInstance?: boolean):
|
|
1744
|
-
static toObject(includeInstance: boolean, msg: RollupValidator):
|
|
1657
|
+
toObject(includeInstance?: boolean): TRollupValidator;
|
|
1658
|
+
static toObject(includeInstance: boolean, msg: RollupValidator): TRollupValidator;
|
|
1745
1659
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1746
1660
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1747
1661
|
static serializeBinaryToWriter(message: RollupValidator, writer: jspb.BinaryWriter): void;
|
|
@@ -1749,12 +1663,10 @@ export class RollupValidator extends jspb.Message {
|
|
|
1749
1663
|
static deserializeBinaryFromReader(message: RollupValidator, reader: jspb.BinaryReader): RollupValidator;
|
|
1750
1664
|
}
|
|
1751
1665
|
|
|
1752
|
-
export
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
endpoint: string,
|
|
1757
|
-
}
|
|
1666
|
+
export type TRollupValidator = {
|
|
1667
|
+
pk: string,
|
|
1668
|
+
address: string,
|
|
1669
|
+
endpoint: string,
|
|
1758
1670
|
}
|
|
1759
1671
|
|
|
1760
1672
|
export class RollupSignature extends jspb.Message {
|
|
@@ -1765,8 +1677,8 @@ export class RollupSignature extends jspb.Message {
|
|
|
1765
1677
|
setSignature(value: string): void;
|
|
1766
1678
|
|
|
1767
1679
|
serializeBinary(): Uint8Array;
|
|
1768
|
-
toObject(includeInstance?: boolean):
|
|
1769
|
-
static toObject(includeInstance: boolean, msg: RollupSignature):
|
|
1680
|
+
toObject(includeInstance?: boolean): TRollupSignature;
|
|
1681
|
+
static toObject(includeInstance: boolean, msg: RollupSignature): TRollupSignature;
|
|
1770
1682
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1771
1683
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1772
1684
|
static serializeBinaryToWriter(message: RollupSignature, writer: jspb.BinaryWriter): void;
|
|
@@ -1774,11 +1686,9 @@ export class RollupSignature extends jspb.Message {
|
|
|
1774
1686
|
static deserializeBinaryFromReader(message: RollupSignature, reader: jspb.BinaryReader): RollupSignature;
|
|
1775
1687
|
}
|
|
1776
1688
|
|
|
1777
|
-
export
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
signature: string,
|
|
1781
|
-
}
|
|
1689
|
+
export type TRollupSignature = {
|
|
1690
|
+
signer: string,
|
|
1691
|
+
signature: string,
|
|
1782
1692
|
}
|
|
1783
1693
|
|
|
1784
1694
|
export class ForeignToken extends jspb.Message {
|
|
@@ -1798,8 +1708,8 @@ export class ForeignToken extends jspb.Message {
|
|
|
1798
1708
|
setChainId(value: number): void;
|
|
1799
1709
|
|
|
1800
1710
|
serializeBinary(): Uint8Array;
|
|
1801
|
-
toObject(includeInstance?: boolean):
|
|
1802
|
-
static toObject(includeInstance: boolean, msg: ForeignToken):
|
|
1711
|
+
toObject(includeInstance?: boolean): TForeignToken;
|
|
1712
|
+
static toObject(includeInstance: boolean, msg: ForeignToken): TForeignToken;
|
|
1803
1713
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1804
1714
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1805
1715
|
static serializeBinaryToWriter(message: ForeignToken, writer: jspb.BinaryWriter): void;
|
|
@@ -1807,20 +1717,18 @@ export class ForeignToken extends jspb.Message {
|
|
|
1807
1717
|
static deserializeBinaryFromReader(message: ForeignToken, reader: jspb.BinaryReader): ForeignToken;
|
|
1808
1718
|
}
|
|
1809
1719
|
|
|
1810
|
-
export
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
chainId: number,
|
|
1817
|
-
}
|
|
1720
|
+
export type TForeignToken = {
|
|
1721
|
+
type: string,
|
|
1722
|
+
contractAddress: string,
|
|
1723
|
+
chainType: string,
|
|
1724
|
+
chainName: string,
|
|
1725
|
+
chainId: number,
|
|
1818
1726
|
}
|
|
1819
1727
|
|
|
1820
1728
|
export class RevokedStake extends jspb.Message {
|
|
1821
1729
|
clearTokensList(): void;
|
|
1822
|
-
getTokensList(): Array<
|
|
1823
|
-
setTokensList(value: Array<
|
|
1730
|
+
getTokensList(): Array<TTokenInput>;
|
|
1731
|
+
setTokensList(value: Array<TTokenInput>): void;
|
|
1824
1732
|
addTokens(value?: TokenInput, index?: number): TokenInput;
|
|
1825
1733
|
|
|
1826
1734
|
clearAssetsList(): void;
|
|
@@ -1829,8 +1737,8 @@ export class RevokedStake extends jspb.Message {
|
|
|
1829
1737
|
addAssets(value: string, index?: number): string;
|
|
1830
1738
|
|
|
1831
1739
|
serializeBinary(): Uint8Array;
|
|
1832
|
-
toObject(includeInstance?: boolean):
|
|
1833
|
-
static toObject(includeInstance: boolean, msg: RevokedStake):
|
|
1740
|
+
toObject(includeInstance?: boolean): TRevokedStake;
|
|
1741
|
+
static toObject(includeInstance: boolean, msg: RevokedStake): TRevokedStake;
|
|
1834
1742
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1835
1743
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1836
1744
|
static serializeBinaryToWriter(message: RevokedStake, writer: jspb.BinaryWriter): void;
|
|
@@ -1838,11 +1746,9 @@ export class RevokedStake extends jspb.Message {
|
|
|
1838
1746
|
static deserializeBinaryFromReader(message: RevokedStake, reader: jspb.BinaryReader): RevokedStake;
|
|
1839
1747
|
}
|
|
1840
1748
|
|
|
1841
|
-
export
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
assetsList: Array<string>,
|
|
1845
|
-
}
|
|
1749
|
+
export type TRevokedStake = {
|
|
1750
|
+
tokens: Array<TTokenInput>,
|
|
1751
|
+
assets: Array<string>,
|
|
1846
1752
|
}
|
|
1847
1753
|
|
|
1848
1754
|
export class ForgeStats extends jspb.Message {
|
|
@@ -1857,8 +1763,8 @@ export class ForgeStats extends jspb.Message {
|
|
|
1857
1763
|
addNumTxs(value: string, index?: number): string;
|
|
1858
1764
|
|
|
1859
1765
|
clearNumStakesList(): void;
|
|
1860
|
-
getNumStakesList(): Array<
|
|
1861
|
-
setNumStakesList(value: Array<
|
|
1766
|
+
getNumStakesList(): Array<TBigUint>;
|
|
1767
|
+
setNumStakesList(value: Array<TBigUint>): void;
|
|
1862
1768
|
addNumStakes(value?: BigUint, index?: number): BigUint;
|
|
1863
1769
|
|
|
1864
1770
|
clearNumValidatorsList(): void;
|
|
@@ -1936,8 +1842,8 @@ export class ForgeStats extends jspb.Message {
|
|
|
1936
1842
|
setAvgBlockTime(value: number): void;
|
|
1937
1843
|
|
|
1938
1844
|
serializeBinary(): Uint8Array;
|
|
1939
|
-
toObject(includeInstance?: boolean):
|
|
1940
|
-
static toObject(includeInstance: boolean, msg: ForgeStats):
|
|
1845
|
+
toObject(includeInstance?: boolean): TForgeStats;
|
|
1846
|
+
static toObject(includeInstance: boolean, msg: ForgeStats): TForgeStats;
|
|
1941
1847
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1942
1848
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1943
1849
|
static serializeBinaryToWriter(message: ForgeStats, writer: jspb.BinaryWriter): void;
|
|
@@ -1945,27 +1851,25 @@ export class ForgeStats extends jspb.Message {
|
|
|
1945
1851
|
static deserializeBinaryFromReader(message: ForgeStats, reader: jspb.BinaryReader): ForgeStats;
|
|
1946
1852
|
}
|
|
1947
1853
|
|
|
1948
|
-
export
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
avgBlockTime: number,
|
|
1969
|
-
}
|
|
1854
|
+
export type TForgeStats = {
|
|
1855
|
+
numBlocks: Array<string>,
|
|
1856
|
+
numTxs: Array<string>,
|
|
1857
|
+
numStakes: Array<TBigUint>,
|
|
1858
|
+
numValidators: Array<number>,
|
|
1859
|
+
numAccountMigrateTxs: Array<string>,
|
|
1860
|
+
numCreateAssetTxs: Array<string>,
|
|
1861
|
+
numConsensusUpgradeTxs: Array<number>,
|
|
1862
|
+
numDeclareTxs: Array<string>,
|
|
1863
|
+
numDeclareFileTxs: Array<string>,
|
|
1864
|
+
numExchangeTxs: Array<string>,
|
|
1865
|
+
numStakeTxs: Array<string>,
|
|
1866
|
+
numSysUpgradeTxs: Array<number>,
|
|
1867
|
+
numTransferTxs: Array<string>,
|
|
1868
|
+
numUpdateAssetTxs: Array<string>,
|
|
1869
|
+
numConsumeAssetTxs: Array<string>,
|
|
1870
|
+
tps: Array<number>,
|
|
1871
|
+
maxTps: number,
|
|
1872
|
+
avgTps: number,
|
|
1873
|
+
avgBlockTime: number,
|
|
1970
1874
|
}
|
|
1971
1875
|
|