@ocap/types 1.28.9 → 1.29.1
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/index.d.ts +23 -1
- package/interfaces/base.ts +38 -0
- package/interfaces/config.ts +166 -0
- package/interfaces/index.ts +254 -0
- package/interfaces/indexdb.ts +444 -0
- package/interfaces/pipeline.ts +525 -0
- package/interfaces/resolver.ts +503 -0
- package/interfaces/state.ts +327 -0
- package/interfaces/statedb.ts +193 -0
- package/interfaces/testing.ts +122 -0
- package/lib/enum_pb.d.ts +0 -3
- package/lib/rpc_pb.d.ts +0 -1591
- package/lib/service_pb.d.ts +0 -2
- package/lib/state_pb.d.ts +0 -840
- package/lib/trace-type_pb.d.ts +0 -1304
- package/lib/tx_pb.d.ts +0 -1687
- package/lib/type_pb.d.ts +0 -1781
- package/lib/vendor_pb.d.ts +0 -406
- package/package.json +10 -4
- package/tests/interfaces-reexport.spec.ts +76 -0
- package/tests/interfaces.spec.ts +265 -0
- package/tests/pipeline.spec.ts +249 -0
package/lib/type_pb.d.ts
CHANGED
|
@@ -1,79 +1,20 @@
|
|
|
1
1
|
// package: ocap
|
|
2
2
|
// file: type.proto
|
|
3
3
|
|
|
4
|
-
import * as jspb from "google-protobuf";
|
|
5
4
|
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
6
5
|
import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb";
|
|
7
6
|
import * as vendor_pb from "./vendor_pb";
|
|
8
7
|
import * as enum_pb from "./enum_pb";
|
|
9
8
|
|
|
10
|
-
export class BigUint extends jspb.Message {
|
|
11
|
-
getValue(): Uint8Array | string;
|
|
12
|
-
getValue_asU8(): Uint8Array;
|
|
13
|
-
getValue_asB64(): string;
|
|
14
|
-
setValue(value: Uint8Array | string): void;
|
|
15
|
-
|
|
16
|
-
serializeBinary(): Uint8Array;
|
|
17
|
-
toObject(includeInstance?: boolean): TBigUint;
|
|
18
|
-
static toObject(includeInstance: boolean, msg: BigUint): TBigUint;
|
|
19
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
20
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
21
|
-
static serializeBinaryToWriter(message: BigUint, writer: jspb.BinaryWriter): void;
|
|
22
|
-
static deserializeBinary(bytes: Uint8Array): BigUint;
|
|
23
|
-
static deserializeBinaryFromReader(message: BigUint, reader: jspb.BinaryReader): BigUint;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
9
|
export type TBigUint = {
|
|
27
10
|
value: Uint8Array | string,
|
|
28
11
|
}
|
|
29
12
|
|
|
30
|
-
export class BigSint extends jspb.Message {
|
|
31
|
-
getValue(): Uint8Array | string;
|
|
32
|
-
getValue_asU8(): Uint8Array;
|
|
33
|
-
getValue_asB64(): string;
|
|
34
|
-
setValue(value: Uint8Array | string): void;
|
|
35
|
-
|
|
36
|
-
getMinus(): boolean;
|
|
37
|
-
setMinus(value: boolean): void;
|
|
38
|
-
|
|
39
|
-
serializeBinary(): Uint8Array;
|
|
40
|
-
toObject(includeInstance?: boolean): TBigSint;
|
|
41
|
-
static toObject(includeInstance: boolean, msg: BigSint): TBigSint;
|
|
42
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
43
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
44
|
-
static serializeBinaryToWriter(message: BigSint, writer: jspb.BinaryWriter): void;
|
|
45
|
-
static deserializeBinary(bytes: Uint8Array): BigSint;
|
|
46
|
-
static deserializeBinaryFromReader(message: BigSint, reader: jspb.BinaryReader): BigSint;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
13
|
export type TBigSint = {
|
|
50
14
|
value: Uint8Array | string,
|
|
51
15
|
minus: boolean,
|
|
52
16
|
}
|
|
53
17
|
|
|
54
|
-
export class TokenSymbol extends jspb.Message {
|
|
55
|
-
getAddress(): string;
|
|
56
|
-
setAddress(value: string): void;
|
|
57
|
-
|
|
58
|
-
getSymbol(): string;
|
|
59
|
-
setSymbol(value: string): void;
|
|
60
|
-
|
|
61
|
-
getDecimal(): number;
|
|
62
|
-
setDecimal(value: number): void;
|
|
63
|
-
|
|
64
|
-
getUnit(): string;
|
|
65
|
-
setUnit(value: string): void;
|
|
66
|
-
|
|
67
|
-
serializeBinary(): Uint8Array;
|
|
68
|
-
toObject(includeInstance?: boolean): TTokenSymbol;
|
|
69
|
-
static toObject(includeInstance: boolean, msg: TokenSymbol): TTokenSymbol;
|
|
70
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
71
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
72
|
-
static serializeBinaryToWriter(message: TokenSymbol, writer: jspb.BinaryWriter): void;
|
|
73
|
-
static deserializeBinary(bytes: Uint8Array): TokenSymbol;
|
|
74
|
-
static deserializeBinaryFromReader(message: TokenSymbol, reader: jspb.BinaryReader): TokenSymbol;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
18
|
export type TTokenSymbol = {
|
|
78
19
|
address: string,
|
|
79
20
|
symbol: string,
|
|
@@ -81,62 +22,6 @@ export type TTokenSymbol = {
|
|
|
81
22
|
unit: string,
|
|
82
23
|
}
|
|
83
24
|
|
|
84
|
-
export class TokenInfo extends jspb.Message {
|
|
85
|
-
getAddress(): string;
|
|
86
|
-
setAddress(value: string): void;
|
|
87
|
-
|
|
88
|
-
getSymbol(): string;
|
|
89
|
-
setSymbol(value: string): void;
|
|
90
|
-
|
|
91
|
-
getDecimal(): number;
|
|
92
|
-
setDecimal(value: number): void;
|
|
93
|
-
|
|
94
|
-
getUnit(): string;
|
|
95
|
-
setUnit(value: string): void;
|
|
96
|
-
|
|
97
|
-
getName(): string;
|
|
98
|
-
setName(value: string): void;
|
|
99
|
-
|
|
100
|
-
getDescription(): string;
|
|
101
|
-
setDescription(value: string): void;
|
|
102
|
-
|
|
103
|
-
getIcon(): string;
|
|
104
|
-
setIcon(value: string): void;
|
|
105
|
-
|
|
106
|
-
getMaxTotalSupply(): string;
|
|
107
|
-
setMaxTotalSupply(value: string): void;
|
|
108
|
-
|
|
109
|
-
hasMetadata(): boolean;
|
|
110
|
-
clearMetadata(): void;
|
|
111
|
-
getMetadata(): google_protobuf_any_pb.Any | undefined;
|
|
112
|
-
setMetadata(value?: google_protobuf_any_pb.Any): void;
|
|
113
|
-
|
|
114
|
-
getWebsite(): string;
|
|
115
|
-
setWebsite(value: string): void;
|
|
116
|
-
|
|
117
|
-
clearSpendersList(): void;
|
|
118
|
-
getSpendersList(): Array<string>;
|
|
119
|
-
setSpendersList(value: Array<string>): void;
|
|
120
|
-
addSpenders(value: string, index?: number): string;
|
|
121
|
-
|
|
122
|
-
clearMintersList(): void;
|
|
123
|
-
getMintersList(): Array<string>;
|
|
124
|
-
setMintersList(value: Array<string>): void;
|
|
125
|
-
addMinters(value: string, index?: number): string;
|
|
126
|
-
|
|
127
|
-
getType(): string;
|
|
128
|
-
setType(value: string): void;
|
|
129
|
-
|
|
130
|
-
serializeBinary(): Uint8Array;
|
|
131
|
-
toObject(includeInstance?: boolean): TTokenInfo;
|
|
132
|
-
static toObject(includeInstance: boolean, msg: TokenInfo): TTokenInfo;
|
|
133
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
134
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
135
|
-
static serializeBinaryToWriter(message: TokenInfo, writer: jspb.BinaryWriter): void;
|
|
136
|
-
static deserializeBinary(bytes: Uint8Array): TokenInfo;
|
|
137
|
-
static deserializeBinaryFromReader(message: TokenInfo, reader: jspb.BinaryReader): TokenInfo;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
25
|
export type TTokenInfo = {
|
|
141
26
|
address: string,
|
|
142
27
|
symbol: string,
|
|
@@ -153,29 +38,6 @@ export type TTokenInfo = {
|
|
|
153
38
|
type: string,
|
|
154
39
|
}
|
|
155
40
|
|
|
156
|
-
export class WalletType extends jspb.Message {
|
|
157
|
-
getPk(): enum_pb.KeyTypeMap[keyof enum_pb.KeyTypeMap];
|
|
158
|
-
setPk(value: enum_pb.KeyTypeMap[keyof enum_pb.KeyTypeMap]): void;
|
|
159
|
-
|
|
160
|
-
getHash(): enum_pb.HashTypeMap[keyof enum_pb.HashTypeMap];
|
|
161
|
-
setHash(value: enum_pb.HashTypeMap[keyof enum_pb.HashTypeMap]): void;
|
|
162
|
-
|
|
163
|
-
getAddress(): enum_pb.EncodingTypeMap[keyof enum_pb.EncodingTypeMap];
|
|
164
|
-
setAddress(value: enum_pb.EncodingTypeMap[keyof enum_pb.EncodingTypeMap]): void;
|
|
165
|
-
|
|
166
|
-
getRole(): enum_pb.RoleTypeMap[keyof enum_pb.RoleTypeMap];
|
|
167
|
-
setRole(value: enum_pb.RoleTypeMap[keyof enum_pb.RoleTypeMap]): void;
|
|
168
|
-
|
|
169
|
-
serializeBinary(): Uint8Array;
|
|
170
|
-
toObject(includeInstance?: boolean): TWalletType;
|
|
171
|
-
static toObject(includeInstance: boolean, msg: WalletType): TWalletType;
|
|
172
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
173
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
174
|
-
static serializeBinaryToWriter(message: WalletType, writer: jspb.BinaryWriter): void;
|
|
175
|
-
static deserializeBinary(bytes: Uint8Array): WalletType;
|
|
176
|
-
static deserializeBinaryFromReader(message: WalletType, reader: jspb.BinaryReader): WalletType;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
41
|
export type TWalletType = {
|
|
180
42
|
pk: enum_pb.KeyTypeMap[keyof enum_pb.KeyTypeMap],
|
|
181
43
|
hash: enum_pb.HashTypeMap[keyof enum_pb.HashTypeMap],
|
|
@@ -183,35 +45,6 @@ export type TWalletType = {
|
|
|
183
45
|
role: enum_pb.RoleTypeMap[keyof enum_pb.RoleTypeMap],
|
|
184
46
|
}
|
|
185
47
|
|
|
186
|
-
export class WalletInfo extends jspb.Message {
|
|
187
|
-
hasType(): boolean;
|
|
188
|
-
clearType(): void;
|
|
189
|
-
getType(): TWalletType | undefined;
|
|
190
|
-
setType(value?: TWalletType): void;
|
|
191
|
-
|
|
192
|
-
getSk(): Uint8Array | string;
|
|
193
|
-
getSk_asU8(): Uint8Array;
|
|
194
|
-
getSk_asB64(): string;
|
|
195
|
-
setSk(value: Uint8Array | string): void;
|
|
196
|
-
|
|
197
|
-
getPk(): Uint8Array | string;
|
|
198
|
-
getPk_asU8(): Uint8Array;
|
|
199
|
-
getPk_asB64(): string;
|
|
200
|
-
setPk(value: Uint8Array | string): void;
|
|
201
|
-
|
|
202
|
-
getAddress(): string;
|
|
203
|
-
setAddress(value: string): void;
|
|
204
|
-
|
|
205
|
-
serializeBinary(): Uint8Array;
|
|
206
|
-
toObject(includeInstance?: boolean): TWalletInfo;
|
|
207
|
-
static toObject(includeInstance: boolean, msg: WalletInfo): TWalletInfo;
|
|
208
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
209
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
210
|
-
static serializeBinaryToWriter(message: WalletInfo, writer: jspb.BinaryWriter): void;
|
|
211
|
-
static deserializeBinary(bytes: Uint8Array): WalletInfo;
|
|
212
|
-
static deserializeBinaryFromReader(message: WalletInfo, reader: jspb.BinaryReader): WalletInfo;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
48
|
export type TWalletInfo = {
|
|
216
49
|
type?: TWalletType,
|
|
217
50
|
sk: Uint8Array | string,
|
|
@@ -219,69 +52,6 @@ export type TWalletInfo = {
|
|
|
219
52
|
address: string,
|
|
220
53
|
}
|
|
221
54
|
|
|
222
|
-
export class ChainInfo extends jspb.Message {
|
|
223
|
-
getId(): string;
|
|
224
|
-
setId(value: string): void;
|
|
225
|
-
|
|
226
|
-
getNetwork(): string;
|
|
227
|
-
setNetwork(value: string): void;
|
|
228
|
-
|
|
229
|
-
getMoniker(): string;
|
|
230
|
-
setMoniker(value: string): void;
|
|
231
|
-
|
|
232
|
-
getConsensusVersion(): string;
|
|
233
|
-
setConsensusVersion(value: string): void;
|
|
234
|
-
|
|
235
|
-
getSynced(): boolean;
|
|
236
|
-
setSynced(value: boolean): void;
|
|
237
|
-
|
|
238
|
-
getAppHash(): Uint8Array | string;
|
|
239
|
-
getAppHash_asU8(): Uint8Array;
|
|
240
|
-
getAppHash_asB64(): string;
|
|
241
|
-
setAppHash(value: Uint8Array | string): void;
|
|
242
|
-
|
|
243
|
-
getBlockHash(): Uint8Array | string;
|
|
244
|
-
getBlockHash_asU8(): Uint8Array;
|
|
245
|
-
getBlockHash_asB64(): string;
|
|
246
|
-
setBlockHash(value: Uint8Array | string): void;
|
|
247
|
-
|
|
248
|
-
getBlockHeight(): string;
|
|
249
|
-
setBlockHeight(value: string): void;
|
|
250
|
-
|
|
251
|
-
hasBlockTime(): boolean;
|
|
252
|
-
clearBlockTime(): void;
|
|
253
|
-
getBlockTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
254
|
-
setBlockTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
255
|
-
|
|
256
|
-
getAddress(): string;
|
|
257
|
-
setAddress(value: string): void;
|
|
258
|
-
|
|
259
|
-
getVotingPower(): string;
|
|
260
|
-
setVotingPower(value: string): void;
|
|
261
|
-
|
|
262
|
-
getTotalTxs(): string;
|
|
263
|
-
setTotalTxs(value: string): void;
|
|
264
|
-
|
|
265
|
-
getVersion(): string;
|
|
266
|
-
setVersion(value: string): void;
|
|
267
|
-
|
|
268
|
-
getForgeAppsVersionMap(): jspb.Map<string, string>;
|
|
269
|
-
clearForgeAppsVersionMap(): void;
|
|
270
|
-
clearSupportedTxsList(): void;
|
|
271
|
-
getSupportedTxsList(): Array<string>;
|
|
272
|
-
setSupportedTxsList(value: Array<string>): void;
|
|
273
|
-
addSupportedTxs(value: string, index?: number): string;
|
|
274
|
-
|
|
275
|
-
serializeBinary(): Uint8Array;
|
|
276
|
-
toObject(includeInstance?: boolean): TChainInfo;
|
|
277
|
-
static toObject(includeInstance: boolean, msg: ChainInfo): TChainInfo;
|
|
278
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
279
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
280
|
-
static serializeBinaryToWriter(message: ChainInfo, writer: jspb.BinaryWriter): void;
|
|
281
|
-
static deserializeBinary(bytes: Uint8Array): ChainInfo;
|
|
282
|
-
static deserializeBinaryFromReader(message: ChainInfo, reader: jspb.BinaryReader): ChainInfo;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
55
|
export type TChainInfo = {
|
|
286
56
|
id: string,
|
|
287
57
|
network: string,
|
|
@@ -300,80 +70,6 @@ export type TChainInfo = {
|
|
|
300
70
|
supportedTxs: Array<string>,
|
|
301
71
|
}
|
|
302
72
|
|
|
303
|
-
export class NodeInfo extends jspb.Message {
|
|
304
|
-
getId(): string;
|
|
305
|
-
setId(value: string): void;
|
|
306
|
-
|
|
307
|
-
getNetwork(): string;
|
|
308
|
-
setNetwork(value: string): void;
|
|
309
|
-
|
|
310
|
-
getMoniker(): string;
|
|
311
|
-
setMoniker(value: string): void;
|
|
312
|
-
|
|
313
|
-
getConsensusVersion(): string;
|
|
314
|
-
setConsensusVersion(value: string): void;
|
|
315
|
-
|
|
316
|
-
getSynced(): boolean;
|
|
317
|
-
setSynced(value: boolean): void;
|
|
318
|
-
|
|
319
|
-
getAppHash(): Uint8Array | string;
|
|
320
|
-
getAppHash_asU8(): Uint8Array;
|
|
321
|
-
getAppHash_asB64(): string;
|
|
322
|
-
setAppHash(value: Uint8Array | string): void;
|
|
323
|
-
|
|
324
|
-
getBlockHash(): Uint8Array | string;
|
|
325
|
-
getBlockHash_asU8(): Uint8Array;
|
|
326
|
-
getBlockHash_asB64(): string;
|
|
327
|
-
setBlockHash(value: Uint8Array | string): void;
|
|
328
|
-
|
|
329
|
-
getBlockHeight(): string;
|
|
330
|
-
setBlockHeight(value: string): void;
|
|
331
|
-
|
|
332
|
-
hasBlockTime(): boolean;
|
|
333
|
-
clearBlockTime(): void;
|
|
334
|
-
getBlockTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
335
|
-
setBlockTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
336
|
-
|
|
337
|
-
getAddress(): string;
|
|
338
|
-
setAddress(value: string): void;
|
|
339
|
-
|
|
340
|
-
getVotingPower(): string;
|
|
341
|
-
setVotingPower(value: string): void;
|
|
342
|
-
|
|
343
|
-
getTotalTxs(): string;
|
|
344
|
-
setTotalTxs(value: string): void;
|
|
345
|
-
|
|
346
|
-
getVersion(): string;
|
|
347
|
-
setVersion(value: string): void;
|
|
348
|
-
|
|
349
|
-
getForgeAppsVersionMap(): jspb.Map<string, string>;
|
|
350
|
-
clearForgeAppsVersionMap(): void;
|
|
351
|
-
clearSupportedTxsList(): void;
|
|
352
|
-
getSupportedTxsList(): Array<string>;
|
|
353
|
-
setSupportedTxsList(value: Array<string>): void;
|
|
354
|
-
addSupportedTxs(value: string, index?: number): string;
|
|
355
|
-
|
|
356
|
-
getIp(): string;
|
|
357
|
-
setIp(value: string): void;
|
|
358
|
-
|
|
359
|
-
hasGeoInfo(): boolean;
|
|
360
|
-
clearGeoInfo(): void;
|
|
361
|
-
getGeoInfo(): TGeoInfo | undefined;
|
|
362
|
-
setGeoInfo(value?: TGeoInfo): void;
|
|
363
|
-
|
|
364
|
-
getP2pAddress(): string;
|
|
365
|
-
setP2pAddress(value: string): void;
|
|
366
|
-
|
|
367
|
-
serializeBinary(): Uint8Array;
|
|
368
|
-
toObject(includeInstance?: boolean): TNodeInfo;
|
|
369
|
-
static toObject(includeInstance: boolean, msg: NodeInfo): TNodeInfo;
|
|
370
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
371
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
372
|
-
static serializeBinaryToWriter(message: NodeInfo, writer: jspb.BinaryWriter): void;
|
|
373
|
-
static deserializeBinary(bytes: Uint8Array): NodeInfo;
|
|
374
|
-
static deserializeBinaryFromReader(message: NodeInfo, reader: jspb.BinaryReader): NodeInfo;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
73
|
export type TNodeInfo = {
|
|
378
74
|
id: string,
|
|
379
75
|
network: string,
|
|
@@ -395,67 +91,11 @@ export type TNodeInfo = {
|
|
|
395
91
|
p2pAddress: string,
|
|
396
92
|
}
|
|
397
93
|
|
|
398
|
-
export class Validator extends jspb.Message {
|
|
399
|
-
getAddress(): string;
|
|
400
|
-
setAddress(value: string): void;
|
|
401
|
-
|
|
402
|
-
getPower(): string;
|
|
403
|
-
setPower(value: string): void;
|
|
404
|
-
|
|
405
|
-
serializeBinary(): Uint8Array;
|
|
406
|
-
toObject(includeInstance?: boolean): TValidator;
|
|
407
|
-
static toObject(includeInstance: boolean, msg: Validator): TValidator;
|
|
408
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
409
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
410
|
-
static serializeBinaryToWriter(message: Validator, writer: jspb.BinaryWriter): void;
|
|
411
|
-
static deserializeBinary(bytes: Uint8Array): Validator;
|
|
412
|
-
static deserializeBinaryFromReader(message: Validator, reader: jspb.BinaryReader): Validator;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
94
|
export type TValidator = {
|
|
416
95
|
address: string,
|
|
417
96
|
power: string,
|
|
418
97
|
}
|
|
419
98
|
|
|
420
|
-
export class ConsensusParams extends jspb.Message {
|
|
421
|
-
getMaxBytes(): string;
|
|
422
|
-
setMaxBytes(value: string): void;
|
|
423
|
-
|
|
424
|
-
getMaxGas(): string;
|
|
425
|
-
setMaxGas(value: string): void;
|
|
426
|
-
|
|
427
|
-
getMaxValidators(): number;
|
|
428
|
-
setMaxValidators(value: number): void;
|
|
429
|
-
|
|
430
|
-
getMaxCandidates(): number;
|
|
431
|
-
setMaxCandidates(value: number): void;
|
|
432
|
-
|
|
433
|
-
clearPubKeyTypesList(): void;
|
|
434
|
-
getPubKeyTypesList(): Array<string>;
|
|
435
|
-
setPubKeyTypesList(value: Array<string>): void;
|
|
436
|
-
addPubKeyTypes(value: string, index?: number): string;
|
|
437
|
-
|
|
438
|
-
clearValidatorsList(): void;
|
|
439
|
-
getValidatorsList(): Array<TValidator>;
|
|
440
|
-
setValidatorsList(value: Array<TValidator>): void;
|
|
441
|
-
addValidators(value?: Validator, index?: number): Validator;
|
|
442
|
-
|
|
443
|
-
getValidatorChanged(): boolean;
|
|
444
|
-
setValidatorChanged(value: boolean): void;
|
|
445
|
-
|
|
446
|
-
getParamChanged(): boolean;
|
|
447
|
-
setParamChanged(value: boolean): void;
|
|
448
|
-
|
|
449
|
-
serializeBinary(): Uint8Array;
|
|
450
|
-
toObject(includeInstance?: boolean): TConsensusParams;
|
|
451
|
-
static toObject(includeInstance: boolean, msg: ConsensusParams): TConsensusParams;
|
|
452
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
453
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
454
|
-
static serializeBinaryToWriter(message: ConsensusParams, writer: jspb.BinaryWriter): void;
|
|
455
|
-
static deserializeBinary(bytes: Uint8Array): ConsensusParams;
|
|
456
|
-
static deserializeBinaryFromReader(message: ConsensusParams, reader: jspb.BinaryReader): ConsensusParams;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
99
|
export type TConsensusParams = {
|
|
460
100
|
maxBytes: string,
|
|
461
101
|
maxGas: string,
|
|
@@ -467,86 +107,16 @@ export type TConsensusParams = {
|
|
|
467
107
|
paramChanged: boolean,
|
|
468
108
|
}
|
|
469
109
|
|
|
470
|
-
export class UpgradeTask extends jspb.Message {
|
|
471
|
-
getType(): enum_pb.UpgradeTypeMap[keyof enum_pb.UpgradeTypeMap];
|
|
472
|
-
setType(value: enum_pb.UpgradeTypeMap[keyof enum_pb.UpgradeTypeMap]): void;
|
|
473
|
-
|
|
474
|
-
getDataHash(): string;
|
|
475
|
-
setDataHash(value: string): void;
|
|
476
|
-
|
|
477
|
-
clearActionsList(): void;
|
|
478
|
-
getActionsList(): Array<enum_pb.UpgradeActionMap[keyof enum_pb.UpgradeActionMap]>;
|
|
479
|
-
setActionsList(value: Array<enum_pb.UpgradeActionMap[keyof enum_pb.UpgradeActionMap]>): void;
|
|
480
|
-
addActions(value: enum_pb.UpgradeActionMap[keyof enum_pb.UpgradeActionMap], index?: number): enum_pb.UpgradeActionMap[keyof enum_pb.UpgradeActionMap];
|
|
481
|
-
|
|
482
|
-
serializeBinary(): Uint8Array;
|
|
483
|
-
toObject(includeInstance?: boolean): TUpgradeTask;
|
|
484
|
-
static toObject(includeInstance: boolean, msg: UpgradeTask): TUpgradeTask;
|
|
485
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
486
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
487
|
-
static serializeBinaryToWriter(message: UpgradeTask, writer: jspb.BinaryWriter): void;
|
|
488
|
-
static deserializeBinary(bytes: Uint8Array): UpgradeTask;
|
|
489
|
-
static deserializeBinaryFromReader(message: UpgradeTask, reader: jspb.BinaryReader): UpgradeTask;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
110
|
export type TUpgradeTask = {
|
|
493
111
|
type: enum_pb.UpgradeTypeMap[keyof enum_pb.UpgradeTypeMap],
|
|
494
112
|
dataHash: string,
|
|
495
113
|
actions: Array<enum_pb.UpgradeActionMap[keyof enum_pb.UpgradeActionMap]>,
|
|
496
114
|
}
|
|
497
115
|
|
|
498
|
-
export class UpgradeTasks extends jspb.Message {
|
|
499
|
-
clearItemList(): void;
|
|
500
|
-
getItemList(): Array<TUpgradeTask>;
|
|
501
|
-
setItemList(value: Array<TUpgradeTask>): void;
|
|
502
|
-
addItem(value?: UpgradeTask, index?: number): UpgradeTask;
|
|
503
|
-
|
|
504
|
-
serializeBinary(): Uint8Array;
|
|
505
|
-
toObject(includeInstance?: boolean): TUpgradeTasks;
|
|
506
|
-
static toObject(includeInstance: boolean, msg: UpgradeTasks): TUpgradeTasks;
|
|
507
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
508
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
509
|
-
static serializeBinaryToWriter(message: UpgradeTasks, writer: jspb.BinaryWriter): void;
|
|
510
|
-
static deserializeBinary(bytes: Uint8Array): UpgradeTasks;
|
|
511
|
-
static deserializeBinaryFromReader(message: UpgradeTasks, reader: jspb.BinaryReader): UpgradeTasks;
|
|
512
|
-
}
|
|
513
|
-
|
|
514
116
|
export type TUpgradeTasks = {
|
|
515
117
|
item: Array<TUpgradeTask>,
|
|
516
118
|
}
|
|
517
119
|
|
|
518
|
-
export class Multisig extends jspb.Message {
|
|
519
|
-
getSigner(): string;
|
|
520
|
-
setSigner(value: string): void;
|
|
521
|
-
|
|
522
|
-
getPk(): Uint8Array | string;
|
|
523
|
-
getPk_asU8(): Uint8Array;
|
|
524
|
-
getPk_asB64(): string;
|
|
525
|
-
setPk(value: Uint8Array | string): void;
|
|
526
|
-
|
|
527
|
-
getSignature(): Uint8Array | string;
|
|
528
|
-
getSignature_asU8(): Uint8Array;
|
|
529
|
-
getSignature_asB64(): string;
|
|
530
|
-
setSignature(value: Uint8Array | string): void;
|
|
531
|
-
|
|
532
|
-
getDelegator(): string;
|
|
533
|
-
setDelegator(value: string): void;
|
|
534
|
-
|
|
535
|
-
hasData(): boolean;
|
|
536
|
-
clearData(): void;
|
|
537
|
-
getData(): google_protobuf_any_pb.Any | undefined;
|
|
538
|
-
setData(value?: google_protobuf_any_pb.Any): void;
|
|
539
|
-
|
|
540
|
-
serializeBinary(): Uint8Array;
|
|
541
|
-
toObject(includeInstance?: boolean): TMultisig;
|
|
542
|
-
static toObject(includeInstance: boolean, msg: Multisig): TMultisig;
|
|
543
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
544
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
545
|
-
static serializeBinaryToWriter(message: Multisig, writer: jspb.BinaryWriter): void;
|
|
546
|
-
static deserializeBinary(bytes: Uint8Array): Multisig;
|
|
547
|
-
static deserializeBinaryFromReader(message: Multisig, reader: jspb.BinaryReader): Multisig;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
120
|
export type TMultisig = {
|
|
551
121
|
signer: string,
|
|
552
122
|
pk: Uint8Array | string,
|
|
@@ -555,60 +125,6 @@ export type TMultisig = {
|
|
|
555
125
|
data?: google_protobuf_any_pb.Any,
|
|
556
126
|
}
|
|
557
127
|
|
|
558
|
-
export class Transaction extends jspb.Message {
|
|
559
|
-
getFrom(): string;
|
|
560
|
-
setFrom(value: string): void;
|
|
561
|
-
|
|
562
|
-
getNonce(): number;
|
|
563
|
-
setNonce(value: number): void;
|
|
564
|
-
|
|
565
|
-
getChainId(): string;
|
|
566
|
-
setChainId(value: string): void;
|
|
567
|
-
|
|
568
|
-
getPk(): Uint8Array | string;
|
|
569
|
-
getPk_asU8(): Uint8Array;
|
|
570
|
-
getPk_asB64(): string;
|
|
571
|
-
setPk(value: Uint8Array | string): void;
|
|
572
|
-
|
|
573
|
-
getGas(): number;
|
|
574
|
-
setGas(value: number): void;
|
|
575
|
-
|
|
576
|
-
getDelegator(): string;
|
|
577
|
-
setDelegator(value: string): void;
|
|
578
|
-
|
|
579
|
-
getSignature(): Uint8Array | string;
|
|
580
|
-
getSignature_asU8(): Uint8Array;
|
|
581
|
-
getSignature_asB64(): string;
|
|
582
|
-
setSignature(value: Uint8Array | string): void;
|
|
583
|
-
|
|
584
|
-
clearSignaturesList(): void;
|
|
585
|
-
getSignaturesList(): Array<TMultisig>;
|
|
586
|
-
setSignaturesList(value: Array<TMultisig>): void;
|
|
587
|
-
addSignatures(value?: Multisig, index?: number): Multisig;
|
|
588
|
-
|
|
589
|
-
hasItx(): boolean;
|
|
590
|
-
clearItx(): void;
|
|
591
|
-
getItx(): google_protobuf_any_pb.Any | undefined;
|
|
592
|
-
setItx(value?: google_protobuf_any_pb.Any): void;
|
|
593
|
-
|
|
594
|
-
clearReceiptsList(): void;
|
|
595
|
-
getReceiptsList(): Array<TTransactionReceipt>;
|
|
596
|
-
setReceiptsList(value: Array<TTransactionReceipt>): void;
|
|
597
|
-
addReceipts(value?: TransactionReceipt, index?: number): TransactionReceipt;
|
|
598
|
-
|
|
599
|
-
getServiceFee(): string;
|
|
600
|
-
setServiceFee(value: string): void;
|
|
601
|
-
|
|
602
|
-
serializeBinary(): Uint8Array;
|
|
603
|
-
toObject(includeInstance?: boolean): TTransaction;
|
|
604
|
-
static toObject(includeInstance: boolean, msg: Transaction): TTransaction;
|
|
605
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
606
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
607
|
-
static serializeBinaryToWriter(message: Transaction, writer: jspb.BinaryWriter): void;
|
|
608
|
-
static deserializeBinary(bytes: Uint8Array): Transaction;
|
|
609
|
-
static deserializeBinaryFromReader(message: Transaction, reader: jspb.BinaryReader): Transaction;
|
|
610
|
-
}
|
|
611
|
-
|
|
612
128
|
export type TTransaction = {
|
|
613
129
|
from: string,
|
|
614
130
|
nonce: number,
|
|
@@ -623,60 +139,6 @@ export type TTransaction = {
|
|
|
623
139
|
serviceFee: string,
|
|
624
140
|
}
|
|
625
141
|
|
|
626
|
-
export class TransactionInfo extends jspb.Message {
|
|
627
|
-
hasTx(): boolean;
|
|
628
|
-
clearTx(): void;
|
|
629
|
-
getTx(): TTransaction | undefined;
|
|
630
|
-
setTx(value?: TTransaction): void;
|
|
631
|
-
|
|
632
|
-
getHeight(): string;
|
|
633
|
-
setHeight(value: string): void;
|
|
634
|
-
|
|
635
|
-
getIndex(): number;
|
|
636
|
-
setIndex(value: number): void;
|
|
637
|
-
|
|
638
|
-
getHash(): string;
|
|
639
|
-
setHash(value: string): void;
|
|
640
|
-
|
|
641
|
-
clearTagsList(): void;
|
|
642
|
-
getTagsList(): Array<vendor_pb.TKVPair>;
|
|
643
|
-
setTagsList(value: Array<vendor_pb.TKVPair>): void;
|
|
644
|
-
addTags(value?: vendor_pb.KVPair, index?: number): vendor_pb.KVPair;
|
|
645
|
-
|
|
646
|
-
getCode(): enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
|
647
|
-
setCode(value: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]): void;
|
|
648
|
-
|
|
649
|
-
hasTime(): boolean;
|
|
650
|
-
clearTime(): void;
|
|
651
|
-
getTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
652
|
-
setTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
653
|
-
|
|
654
|
-
clearReceiptsList(): void;
|
|
655
|
-
getReceiptsList(): Array<TTransactionReceipt>;
|
|
656
|
-
setReceiptsList(value: Array<TTransactionReceipt>): void;
|
|
657
|
-
addReceipts(value?: TransactionReceipt, index?: number): TransactionReceipt;
|
|
658
|
-
|
|
659
|
-
getSender(): string;
|
|
660
|
-
setSender(value: string): void;
|
|
661
|
-
|
|
662
|
-
getReceiver(): string;
|
|
663
|
-
setReceiver(value: string): void;
|
|
664
|
-
|
|
665
|
-
clearTokenSymbolsList(): void;
|
|
666
|
-
getTokenSymbolsList(): Array<TTokenSymbol>;
|
|
667
|
-
setTokenSymbolsList(value: Array<TTokenSymbol>): void;
|
|
668
|
-
addTokenSymbols(value?: TokenSymbol, index?: number): TokenSymbol;
|
|
669
|
-
|
|
670
|
-
serializeBinary(): Uint8Array;
|
|
671
|
-
toObject(includeInstance?: boolean): TTransactionInfo;
|
|
672
|
-
static toObject(includeInstance: boolean, msg: TransactionInfo): TTransactionInfo;
|
|
673
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
674
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
675
|
-
static serializeBinaryToWriter(message: TransactionInfo, writer: jspb.BinaryWriter): void;
|
|
676
|
-
static deserializeBinary(bytes: Uint8Array): TransactionInfo;
|
|
677
|
-
static deserializeBinaryFromReader(message: TransactionInfo, reader: jspb.BinaryReader): TransactionInfo;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
142
|
export type TTransactionInfo = {
|
|
681
143
|
tx?: TTransaction,
|
|
682
144
|
height: string,
|
|
@@ -691,131 +153,28 @@ export type TTransactionInfo = {
|
|
|
691
153
|
tokenSymbols: Array<TTokenSymbol>,
|
|
692
154
|
}
|
|
693
155
|
|
|
694
|
-
export class TransactionReceipt extends jspb.Message {
|
|
695
|
-
getAddress(): string;
|
|
696
|
-
setAddress(value: string): void;
|
|
697
|
-
|
|
698
|
-
clearChangesList(): void;
|
|
699
|
-
getChangesList(): Array<TReceiptChange>;
|
|
700
|
-
setChangesList(value: Array<TReceiptChange>): void;
|
|
701
|
-
addChanges(value?: ReceiptChange, index?: number): ReceiptChange;
|
|
702
|
-
|
|
703
|
-
serializeBinary(): Uint8Array;
|
|
704
|
-
toObject(includeInstance?: boolean): TTransactionReceipt;
|
|
705
|
-
static toObject(includeInstance: boolean, msg: TransactionReceipt): TTransactionReceipt;
|
|
706
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
707
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
708
|
-
static serializeBinaryToWriter(message: TransactionReceipt, writer: jspb.BinaryWriter): void;
|
|
709
|
-
static deserializeBinary(bytes: Uint8Array): TransactionReceipt;
|
|
710
|
-
static deserializeBinaryFromReader(message: TransactionReceipt, reader: jspb.BinaryReader): TransactionReceipt;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
156
|
export type TTransactionReceipt = {
|
|
714
157
|
address: string,
|
|
715
158
|
changes: Array<TReceiptChange>,
|
|
716
159
|
}
|
|
717
160
|
|
|
718
|
-
export class ReceiptChange extends jspb.Message {
|
|
719
|
-
getTarget(): string;
|
|
720
|
-
setTarget(value: string): void;
|
|
721
|
-
|
|
722
|
-
getAction(): string;
|
|
723
|
-
setAction(value: string): void;
|
|
724
|
-
|
|
725
|
-
getValue(): string;
|
|
726
|
-
setValue(value: string): void;
|
|
727
|
-
|
|
728
|
-
serializeBinary(): Uint8Array;
|
|
729
|
-
toObject(includeInstance?: boolean): TReceiptChange;
|
|
730
|
-
static toObject(includeInstance: boolean, msg: ReceiptChange): TReceiptChange;
|
|
731
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
732
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
733
|
-
static serializeBinaryToWriter(message: ReceiptChange, writer: jspb.BinaryWriter): void;
|
|
734
|
-
static deserializeBinary(bytes: Uint8Array): ReceiptChange;
|
|
735
|
-
static deserializeBinaryFromReader(message: ReceiptChange, reader: jspb.BinaryReader): ReceiptChange;
|
|
736
|
-
}
|
|
737
|
-
|
|
738
161
|
export type TReceiptChange = {
|
|
739
162
|
target: string,
|
|
740
163
|
action: string,
|
|
741
164
|
value: string,
|
|
742
165
|
}
|
|
743
166
|
|
|
744
|
-
export class TokenInput extends jspb.Message {
|
|
745
|
-
getAddress(): string;
|
|
746
|
-
setAddress(value: string): void;
|
|
747
|
-
|
|
748
|
-
getValue(): string;
|
|
749
|
-
setValue(value: string): void;
|
|
750
|
-
|
|
751
|
-
serializeBinary(): Uint8Array;
|
|
752
|
-
toObject(includeInstance?: boolean): TTokenInput;
|
|
753
|
-
static toObject(includeInstance: boolean, msg: TokenInput): TTokenInput;
|
|
754
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
755
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
756
|
-
static serializeBinaryToWriter(message: TokenInput, writer: jspb.BinaryWriter): void;
|
|
757
|
-
static deserializeBinary(bytes: Uint8Array): TokenInput;
|
|
758
|
-
static deserializeBinaryFromReader(message: TokenInput, reader: jspb.BinaryReader): TokenInput;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
167
|
export type TTokenInput = {
|
|
762
168
|
address: string,
|
|
763
169
|
value: string,
|
|
764
170
|
}
|
|
765
171
|
|
|
766
|
-
export class TransactionInput extends jspb.Message {
|
|
767
|
-
getOwner(): string;
|
|
768
|
-
setOwner(value: string): void;
|
|
769
|
-
|
|
770
|
-
clearTokensList(): void;
|
|
771
|
-
getTokensList(): Array<TTokenInput>;
|
|
772
|
-
setTokensList(value: Array<TTokenInput>): void;
|
|
773
|
-
addTokens(value?: TokenInput, index?: number): TokenInput;
|
|
774
|
-
|
|
775
|
-
clearAssetsList(): void;
|
|
776
|
-
getAssetsList(): Array<string>;
|
|
777
|
-
setAssetsList(value: Array<string>): void;
|
|
778
|
-
addAssets(value: string, index?: number): string;
|
|
779
|
-
|
|
780
|
-
serializeBinary(): Uint8Array;
|
|
781
|
-
toObject(includeInstance?: boolean): TTransactionInput;
|
|
782
|
-
static toObject(includeInstance: boolean, msg: TransactionInput): TTransactionInput;
|
|
783
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
784
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
785
|
-
static serializeBinaryToWriter(message: TransactionInput, writer: jspb.BinaryWriter): void;
|
|
786
|
-
static deserializeBinary(bytes: Uint8Array): TransactionInput;
|
|
787
|
-
static deserializeBinaryFromReader(message: TransactionInput, reader: jspb.BinaryReader): TransactionInput;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
172
|
export type TTransactionInput = {
|
|
791
173
|
owner: string,
|
|
792
174
|
tokens: Array<TTokenInput>,
|
|
793
175
|
assets: Array<string>,
|
|
794
176
|
}
|
|
795
177
|
|
|
796
|
-
export class VariableInput extends jspb.Message {
|
|
797
|
-
getName(): string;
|
|
798
|
-
setName(value: string): void;
|
|
799
|
-
|
|
800
|
-
getValue(): string;
|
|
801
|
-
setValue(value: string): void;
|
|
802
|
-
|
|
803
|
-
getDescription(): string;
|
|
804
|
-
setDescription(value: string): void;
|
|
805
|
-
|
|
806
|
-
getRequired(): boolean;
|
|
807
|
-
setRequired(value: boolean): void;
|
|
808
|
-
|
|
809
|
-
serializeBinary(): Uint8Array;
|
|
810
|
-
toObject(includeInstance?: boolean): TVariableInput;
|
|
811
|
-
static toObject(includeInstance: boolean, msg: VariableInput): TVariableInput;
|
|
812
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
813
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
814
|
-
static serializeBinaryToWriter(message: VariableInput, writer: jspb.BinaryWriter): void;
|
|
815
|
-
static deserializeBinary(bytes: Uint8Array): VariableInput;
|
|
816
|
-
static deserializeBinaryFromReader(message: VariableInput, reader: jspb.BinaryReader): VariableInput;
|
|
817
|
-
}
|
|
818
|
-
|
|
819
178
|
export type TVariableInput = {
|
|
820
179
|
name: string,
|
|
821
180
|
value: string,
|
|
@@ -823,112 +182,22 @@ export type TVariableInput = {
|
|
|
823
182
|
required: boolean,
|
|
824
183
|
}
|
|
825
184
|
|
|
826
|
-
export class DelegateConfig extends jspb.Message {
|
|
827
|
-
getDeltaInterval(): number;
|
|
828
|
-
setDeltaInterval(value: number): void;
|
|
829
|
-
|
|
830
|
-
clearTypeUrlsList(): void;
|
|
831
|
-
getTypeUrlsList(): Array<string>;
|
|
832
|
-
setTypeUrlsList(value: Array<string>): void;
|
|
833
|
-
addTypeUrls(value: string, index?: number): string;
|
|
834
|
-
|
|
835
|
-
serializeBinary(): Uint8Array;
|
|
836
|
-
toObject(includeInstance?: boolean): TDelegateConfig;
|
|
837
|
-
static toObject(includeInstance: boolean, msg: DelegateConfig): TDelegateConfig;
|
|
838
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
839
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
840
|
-
static serializeBinaryToWriter(message: DelegateConfig, writer: jspb.BinaryWriter): void;
|
|
841
|
-
static deserializeBinary(bytes: Uint8Array): DelegateConfig;
|
|
842
|
-
static deserializeBinaryFromReader(message: DelegateConfig, reader: jspb.BinaryReader): DelegateConfig;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
185
|
export type TDelegateConfig = {
|
|
846
186
|
deltaInterval: number,
|
|
847
187
|
typeUrls: Array<string>,
|
|
848
188
|
}
|
|
849
189
|
|
|
850
|
-
export class VaultConfig extends jspb.Message {
|
|
851
|
-
getSlashedStake(): string;
|
|
852
|
-
setSlashedStake(value: string): void;
|
|
853
|
-
|
|
854
|
-
getTxFee(): string;
|
|
855
|
-
setTxFee(value: string): void;
|
|
856
|
-
|
|
857
|
-
clearTxGasList(): void;
|
|
858
|
-
getTxGasList(): Array<string>;
|
|
859
|
-
setTxGasList(value: Array<string>): void;
|
|
860
|
-
addTxGas(value: string, index?: number): string;
|
|
861
|
-
|
|
862
|
-
serializeBinary(): Uint8Array;
|
|
863
|
-
toObject(includeInstance?: boolean): TVaultConfig;
|
|
864
|
-
static toObject(includeInstance: boolean, msg: VaultConfig): TVaultConfig;
|
|
865
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
866
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
867
|
-
static serializeBinaryToWriter(message: VaultConfig, writer: jspb.BinaryWriter): void;
|
|
868
|
-
static deserializeBinary(bytes: Uint8Array): VaultConfig;
|
|
869
|
-
static deserializeBinaryFromReader(message: VaultConfig, reader: jspb.BinaryReader): VaultConfig;
|
|
870
|
-
}
|
|
871
|
-
|
|
872
190
|
export type TVaultConfig = {
|
|
873
191
|
slashedStake: string,
|
|
874
192
|
txFee: string,
|
|
875
193
|
txGas: Array<string>,
|
|
876
194
|
}
|
|
877
195
|
|
|
878
|
-
export class TxFeeConfig extends jspb.Message {
|
|
879
|
-
getTypeUrl(): string;
|
|
880
|
-
setTypeUrl(value: string): void;
|
|
881
|
-
|
|
882
|
-
getFee(): string;
|
|
883
|
-
setFee(value: string): void;
|
|
884
|
-
|
|
885
|
-
serializeBinary(): Uint8Array;
|
|
886
|
-
toObject(includeInstance?: boolean): TTxFeeConfig;
|
|
887
|
-
static toObject(includeInstance: boolean, msg: TxFeeConfig): TTxFeeConfig;
|
|
888
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
889
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
890
|
-
static serializeBinaryToWriter(message: TxFeeConfig, writer: jspb.BinaryWriter): void;
|
|
891
|
-
static deserializeBinary(bytes: Uint8Array): TxFeeConfig;
|
|
892
|
-
static deserializeBinaryFromReader(message: TxFeeConfig, reader: jspb.BinaryReader): TxFeeConfig;
|
|
893
|
-
}
|
|
894
|
-
|
|
895
196
|
export type TTxFeeConfig = {
|
|
896
197
|
typeUrl: string,
|
|
897
198
|
fee: string,
|
|
898
199
|
}
|
|
899
200
|
|
|
900
|
-
export class TxGasConfig extends jspb.Message {
|
|
901
|
-
getPrice(): number;
|
|
902
|
-
setPrice(value: number): void;
|
|
903
|
-
|
|
904
|
-
getCreateState(): number;
|
|
905
|
-
setCreateState(value: number): void;
|
|
906
|
-
|
|
907
|
-
getUpdateState(): number;
|
|
908
|
-
setUpdateState(value: number): void;
|
|
909
|
-
|
|
910
|
-
getDataStorage(): number;
|
|
911
|
-
setDataStorage(value: number): void;
|
|
912
|
-
|
|
913
|
-
getMinStake(): string;
|
|
914
|
-
setMinStake(value: string): void;
|
|
915
|
-
|
|
916
|
-
getMaxStake(): string;
|
|
917
|
-
setMaxStake(value: string): void;
|
|
918
|
-
|
|
919
|
-
getStakeLockPeriod(): number;
|
|
920
|
-
setStakeLockPeriod(value: number): void;
|
|
921
|
-
|
|
922
|
-
serializeBinary(): Uint8Array;
|
|
923
|
-
toObject(includeInstance?: boolean): TTxGasConfig;
|
|
924
|
-
static toObject(includeInstance: boolean, msg: TxGasConfig): TTxGasConfig;
|
|
925
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
926
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
927
|
-
static serializeBinaryToWriter(message: TxGasConfig, writer: jspb.BinaryWriter): void;
|
|
928
|
-
static deserializeBinary(bytes: Uint8Array): TxGasConfig;
|
|
929
|
-
static deserializeBinaryFromReader(message: TxGasConfig, reader: jspb.BinaryReader): TxGasConfig;
|
|
930
|
-
}
|
|
931
|
-
|
|
932
201
|
export type TTxGasConfig = {
|
|
933
202
|
price: number,
|
|
934
203
|
createState: number,
|
|
@@ -939,68 +208,11 @@ export type TTxGasConfig = {
|
|
|
939
208
|
stakeLockPeriod: number,
|
|
940
209
|
}
|
|
941
210
|
|
|
942
|
-
export class TxStakeConfig extends jspb.Message {
|
|
943
|
-
getCreateToken(): number;
|
|
944
|
-
setCreateToken(value: number): void;
|
|
945
|
-
|
|
946
|
-
getCreateTokenLockPeriod(): number;
|
|
947
|
-
setCreateTokenLockPeriod(value: number): void;
|
|
948
|
-
|
|
949
|
-
serializeBinary(): Uint8Array;
|
|
950
|
-
toObject(includeInstance?: boolean): TTxStakeConfig;
|
|
951
|
-
static toObject(includeInstance: boolean, msg: TxStakeConfig): TTxStakeConfig;
|
|
952
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
953
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
954
|
-
static serializeBinaryToWriter(message: TxStakeConfig, writer: jspb.BinaryWriter): void;
|
|
955
|
-
static deserializeBinary(bytes: Uint8Array): TxStakeConfig;
|
|
956
|
-
static deserializeBinaryFromReader(message: TxStakeConfig, reader: jspb.BinaryReader): TxStakeConfig;
|
|
957
|
-
}
|
|
958
|
-
|
|
959
211
|
export type TTxStakeConfig = {
|
|
960
212
|
createToken: number,
|
|
961
213
|
createTokenLockPeriod: number,
|
|
962
214
|
}
|
|
963
215
|
|
|
964
|
-
export class TransactionConfig extends jspb.Message {
|
|
965
|
-
getMaxAssetSize(): number;
|
|
966
|
-
setMaxAssetSize(value: number): void;
|
|
967
|
-
|
|
968
|
-
getMaxListSize(): number;
|
|
969
|
-
setMaxListSize(value: number): void;
|
|
970
|
-
|
|
971
|
-
getMaxMultisig(): number;
|
|
972
|
-
setMaxMultisig(value: number): void;
|
|
973
|
-
|
|
974
|
-
hasDelegate(): boolean;
|
|
975
|
-
clearDelegate(): void;
|
|
976
|
-
getDelegate(): TDelegateConfig | undefined;
|
|
977
|
-
setDelegate(value?: TDelegateConfig): void;
|
|
978
|
-
|
|
979
|
-
clearTxFeeList(): void;
|
|
980
|
-
getTxFeeList(): Array<TTxFeeConfig>;
|
|
981
|
-
setTxFeeList(value: Array<TTxFeeConfig>): void;
|
|
982
|
-
addTxFee(value?: TxFeeConfig, index?: number): TxFeeConfig;
|
|
983
|
-
|
|
984
|
-
hasTxGas(): boolean;
|
|
985
|
-
clearTxGas(): void;
|
|
986
|
-
getTxGas(): TTxGasConfig | undefined;
|
|
987
|
-
setTxGas(value?: TTxGasConfig): void;
|
|
988
|
-
|
|
989
|
-
hasTxStake(): boolean;
|
|
990
|
-
clearTxStake(): void;
|
|
991
|
-
getTxStake(): TTxStakeConfig | undefined;
|
|
992
|
-
setTxStake(value?: TTxStakeConfig): void;
|
|
993
|
-
|
|
994
|
-
serializeBinary(): Uint8Array;
|
|
995
|
-
toObject(includeInstance?: boolean): TTransactionConfig;
|
|
996
|
-
static toObject(includeInstance: boolean, msg: TransactionConfig): TTransactionConfig;
|
|
997
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
998
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
999
|
-
static serializeBinaryToWriter(message: TransactionConfig, writer: jspb.BinaryWriter): void;
|
|
1000
|
-
static deserializeBinary(bytes: Uint8Array): TransactionConfig;
|
|
1001
|
-
static deserializeBinaryFromReader(message: TransactionConfig, reader: jspb.BinaryReader): TransactionConfig;
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
216
|
export type TTransactionConfig = {
|
|
1005
217
|
maxAssetSize: number,
|
|
1006
218
|
maxListSize: number,
|
|
@@ -1011,106 +223,6 @@ export type TTransactionConfig = {
|
|
|
1011
223
|
txStake?: TTxStakeConfig,
|
|
1012
224
|
}
|
|
1013
225
|
|
|
1014
|
-
export class BlockInfo extends jspb.Message {
|
|
1015
|
-
getHeight(): string;
|
|
1016
|
-
setHeight(value: string): void;
|
|
1017
|
-
|
|
1018
|
-
getNumTxs(): number;
|
|
1019
|
-
setNumTxs(value: number): void;
|
|
1020
|
-
|
|
1021
|
-
hasTime(): boolean;
|
|
1022
|
-
clearTime(): void;
|
|
1023
|
-
getTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1024
|
-
setTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
1025
|
-
|
|
1026
|
-
getAppHash(): Uint8Array | string;
|
|
1027
|
-
getAppHash_asU8(): Uint8Array;
|
|
1028
|
-
getAppHash_asB64(): string;
|
|
1029
|
-
setAppHash(value: Uint8Array | string): void;
|
|
1030
|
-
|
|
1031
|
-
getProposer(): Uint8Array | string;
|
|
1032
|
-
getProposer_asU8(): Uint8Array;
|
|
1033
|
-
getProposer_asB64(): string;
|
|
1034
|
-
setProposer(value: Uint8Array | string): void;
|
|
1035
|
-
|
|
1036
|
-
clearTxsList(): void;
|
|
1037
|
-
getTxsList(): Array<TTransactionInfo>;
|
|
1038
|
-
setTxsList(value: Array<TTransactionInfo>): void;
|
|
1039
|
-
addTxs(value?: TransactionInfo, index?: number): TransactionInfo;
|
|
1040
|
-
|
|
1041
|
-
getTotalTxs(): string;
|
|
1042
|
-
setTotalTxs(value: string): void;
|
|
1043
|
-
|
|
1044
|
-
clearInvalidTxsList(): void;
|
|
1045
|
-
getInvalidTxsList(): Array<TTransactionInfo>;
|
|
1046
|
-
setInvalidTxsList(value: Array<TTransactionInfo>): void;
|
|
1047
|
-
addInvalidTxs(value?: TransactionInfo, index?: number): TransactionInfo;
|
|
1048
|
-
|
|
1049
|
-
clearTxsHashesList(): void;
|
|
1050
|
-
getTxsHashesList(): Array<string>;
|
|
1051
|
-
setTxsHashesList(value: Array<string>): void;
|
|
1052
|
-
addTxsHashes(value: string, index?: number): string;
|
|
1053
|
-
|
|
1054
|
-
clearInvalidTxsHashesList(): void;
|
|
1055
|
-
getInvalidTxsHashesList(): Array<string>;
|
|
1056
|
-
setInvalidTxsHashesList(value: Array<string>): void;
|
|
1057
|
-
addInvalidTxsHashes(value: string, index?: number): string;
|
|
1058
|
-
|
|
1059
|
-
getConsensusHash(): Uint8Array | string;
|
|
1060
|
-
getConsensusHash_asU8(): Uint8Array;
|
|
1061
|
-
getConsensusHash_asB64(): string;
|
|
1062
|
-
setConsensusHash(value: Uint8Array | string): void;
|
|
1063
|
-
|
|
1064
|
-
getDataHash(): Uint8Array | string;
|
|
1065
|
-
getDataHash_asU8(): Uint8Array;
|
|
1066
|
-
getDataHash_asB64(): string;
|
|
1067
|
-
setDataHash(value: Uint8Array | string): void;
|
|
1068
|
-
|
|
1069
|
-
getEvidenceHash(): Uint8Array | string;
|
|
1070
|
-
getEvidenceHash_asU8(): Uint8Array;
|
|
1071
|
-
getEvidenceHash_asB64(): string;
|
|
1072
|
-
setEvidenceHash(value: Uint8Array | string): void;
|
|
1073
|
-
|
|
1074
|
-
getLastCommitHash(): Uint8Array | string;
|
|
1075
|
-
getLastCommitHash_asU8(): Uint8Array;
|
|
1076
|
-
getLastCommitHash_asB64(): string;
|
|
1077
|
-
setLastCommitHash(value: Uint8Array | string): void;
|
|
1078
|
-
|
|
1079
|
-
getLastResultsHash(): Uint8Array | string;
|
|
1080
|
-
getLastResultsHash_asU8(): Uint8Array;
|
|
1081
|
-
getLastResultsHash_asB64(): string;
|
|
1082
|
-
setLastResultsHash(value: Uint8Array | string): void;
|
|
1083
|
-
|
|
1084
|
-
getNextValidatorsHash(): Uint8Array | string;
|
|
1085
|
-
getNextValidatorsHash_asU8(): Uint8Array;
|
|
1086
|
-
getNextValidatorsHash_asB64(): string;
|
|
1087
|
-
setNextValidatorsHash(value: Uint8Array | string): void;
|
|
1088
|
-
|
|
1089
|
-
getValidatorsHash(): Uint8Array | string;
|
|
1090
|
-
getValidatorsHash_asU8(): Uint8Array;
|
|
1091
|
-
getValidatorsHash_asB64(): string;
|
|
1092
|
-
setValidatorsHash(value: Uint8Array | string): void;
|
|
1093
|
-
|
|
1094
|
-
hasVersion(): boolean;
|
|
1095
|
-
clearVersion(): void;
|
|
1096
|
-
getVersion(): vendor_pb.TVersion | undefined;
|
|
1097
|
-
setVersion(value?: vendor_pb.TVersion): void;
|
|
1098
|
-
|
|
1099
|
-
hasLastBlockId(): boolean;
|
|
1100
|
-
clearLastBlockId(): void;
|
|
1101
|
-
getLastBlockId(): vendor_pb.TBlockID | undefined;
|
|
1102
|
-
setLastBlockId(value?: vendor_pb.TBlockID): void;
|
|
1103
|
-
|
|
1104
|
-
serializeBinary(): Uint8Array;
|
|
1105
|
-
toObject(includeInstance?: boolean): TBlockInfo;
|
|
1106
|
-
static toObject(includeInstance: boolean, msg: BlockInfo): TBlockInfo;
|
|
1107
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1108
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1109
|
-
static serializeBinaryToWriter(message: BlockInfo, writer: jspb.BinaryWriter): void;
|
|
1110
|
-
static deserializeBinary(bytes: Uint8Array): BlockInfo;
|
|
1111
|
-
static deserializeBinaryFromReader(message: BlockInfo, reader: jspb.BinaryReader): BlockInfo;
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
226
|
export type TBlockInfo = {
|
|
1115
227
|
height: string,
|
|
1116
228
|
numTxs: number,
|
|
@@ -1133,96 +245,6 @@ export type TBlockInfo = {
|
|
|
1133
245
|
lastBlockId?: vendor_pb.TBlockID,
|
|
1134
246
|
}
|
|
1135
247
|
|
|
1136
|
-
export class BlockInfoSimple extends jspb.Message {
|
|
1137
|
-
getHeight(): string;
|
|
1138
|
-
setHeight(value: string): void;
|
|
1139
|
-
|
|
1140
|
-
getNumTxs(): number;
|
|
1141
|
-
setNumTxs(value: number): void;
|
|
1142
|
-
|
|
1143
|
-
hasTime(): boolean;
|
|
1144
|
-
clearTime(): void;
|
|
1145
|
-
getTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1146
|
-
setTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
1147
|
-
|
|
1148
|
-
getAppHash(): Uint8Array | string;
|
|
1149
|
-
getAppHash_asU8(): Uint8Array;
|
|
1150
|
-
getAppHash_asB64(): string;
|
|
1151
|
-
setAppHash(value: Uint8Array | string): void;
|
|
1152
|
-
|
|
1153
|
-
getProposer(): Uint8Array | string;
|
|
1154
|
-
getProposer_asU8(): Uint8Array;
|
|
1155
|
-
getProposer_asB64(): string;
|
|
1156
|
-
setProposer(value: Uint8Array | string): void;
|
|
1157
|
-
|
|
1158
|
-
getTotalTxs(): string;
|
|
1159
|
-
setTotalTxs(value: string): void;
|
|
1160
|
-
|
|
1161
|
-
clearTxsHashesList(): void;
|
|
1162
|
-
getTxsHashesList(): Array<string>;
|
|
1163
|
-
setTxsHashesList(value: Array<string>): void;
|
|
1164
|
-
addTxsHashes(value: string, index?: number): string;
|
|
1165
|
-
|
|
1166
|
-
clearInvalidTxsHashesList(): void;
|
|
1167
|
-
getInvalidTxsHashesList(): Array<string>;
|
|
1168
|
-
setInvalidTxsHashesList(value: Array<string>): void;
|
|
1169
|
-
addInvalidTxsHashes(value: string, index?: number): string;
|
|
1170
|
-
|
|
1171
|
-
getConsensusHash(): Uint8Array | string;
|
|
1172
|
-
getConsensusHash_asU8(): Uint8Array;
|
|
1173
|
-
getConsensusHash_asB64(): string;
|
|
1174
|
-
setConsensusHash(value: Uint8Array | string): void;
|
|
1175
|
-
|
|
1176
|
-
getDataHash(): Uint8Array | string;
|
|
1177
|
-
getDataHash_asU8(): Uint8Array;
|
|
1178
|
-
getDataHash_asB64(): string;
|
|
1179
|
-
setDataHash(value: Uint8Array | string): void;
|
|
1180
|
-
|
|
1181
|
-
getEvidenceHash(): Uint8Array | string;
|
|
1182
|
-
getEvidenceHash_asU8(): Uint8Array;
|
|
1183
|
-
getEvidenceHash_asB64(): string;
|
|
1184
|
-
setEvidenceHash(value: Uint8Array | string): void;
|
|
1185
|
-
|
|
1186
|
-
getLastCommitHash(): Uint8Array | string;
|
|
1187
|
-
getLastCommitHash_asU8(): Uint8Array;
|
|
1188
|
-
getLastCommitHash_asB64(): string;
|
|
1189
|
-
setLastCommitHash(value: Uint8Array | string): void;
|
|
1190
|
-
|
|
1191
|
-
getLastResultsHash(): Uint8Array | string;
|
|
1192
|
-
getLastResultsHash_asU8(): Uint8Array;
|
|
1193
|
-
getLastResultsHash_asB64(): string;
|
|
1194
|
-
setLastResultsHash(value: Uint8Array | string): void;
|
|
1195
|
-
|
|
1196
|
-
getNextValidatorsHash(): Uint8Array | string;
|
|
1197
|
-
getNextValidatorsHash_asU8(): Uint8Array;
|
|
1198
|
-
getNextValidatorsHash_asB64(): string;
|
|
1199
|
-
setNextValidatorsHash(value: Uint8Array | string): void;
|
|
1200
|
-
|
|
1201
|
-
getValidatorsHash(): Uint8Array | string;
|
|
1202
|
-
getValidatorsHash_asU8(): Uint8Array;
|
|
1203
|
-
getValidatorsHash_asB64(): string;
|
|
1204
|
-
setValidatorsHash(value: Uint8Array | string): void;
|
|
1205
|
-
|
|
1206
|
-
hasVersion(): boolean;
|
|
1207
|
-
clearVersion(): void;
|
|
1208
|
-
getVersion(): vendor_pb.TVersion | undefined;
|
|
1209
|
-
setVersion(value?: vendor_pb.TVersion): void;
|
|
1210
|
-
|
|
1211
|
-
hasLastBlockId(): boolean;
|
|
1212
|
-
clearLastBlockId(): void;
|
|
1213
|
-
getLastBlockId(): vendor_pb.TBlockID | undefined;
|
|
1214
|
-
setLastBlockId(value?: vendor_pb.TBlockID): void;
|
|
1215
|
-
|
|
1216
|
-
serializeBinary(): Uint8Array;
|
|
1217
|
-
toObject(includeInstance?: boolean): TBlockInfoSimple;
|
|
1218
|
-
static toObject(includeInstance: boolean, msg: BlockInfoSimple): TBlockInfoSimple;
|
|
1219
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1220
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1221
|
-
static serializeBinaryToWriter(message: BlockInfoSimple, writer: jspb.BinaryWriter): void;
|
|
1222
|
-
static deserializeBinary(bytes: Uint8Array): BlockInfoSimple;
|
|
1223
|
-
static deserializeBinaryFromReader(message: BlockInfoSimple, reader: jspb.BinaryReader): BlockInfoSimple;
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
248
|
export type TBlockInfoSimple = {
|
|
1227
249
|
height: string,
|
|
1228
250
|
numTxs: number,
|
|
@@ -1243,33 +265,6 @@ export type TBlockInfoSimple = {
|
|
|
1243
265
|
lastBlockId?: vendor_pb.TBlockID,
|
|
1244
266
|
}
|
|
1245
267
|
|
|
1246
|
-
export class StateContext extends jspb.Message {
|
|
1247
|
-
getGenesisTx(): string;
|
|
1248
|
-
setGenesisTx(value: string): void;
|
|
1249
|
-
|
|
1250
|
-
getRenaissanceTx(): string;
|
|
1251
|
-
setRenaissanceTx(value: string): void;
|
|
1252
|
-
|
|
1253
|
-
hasGenesisTime(): boolean;
|
|
1254
|
-
clearGenesisTime(): void;
|
|
1255
|
-
getGenesisTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1256
|
-
setGenesisTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
1257
|
-
|
|
1258
|
-
hasRenaissanceTime(): boolean;
|
|
1259
|
-
clearRenaissanceTime(): void;
|
|
1260
|
-
getRenaissanceTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1261
|
-
setRenaissanceTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
1262
|
-
|
|
1263
|
-
serializeBinary(): Uint8Array;
|
|
1264
|
-
toObject(includeInstance?: boolean): TStateContext;
|
|
1265
|
-
static toObject(includeInstance: boolean, msg: StateContext): TStateContext;
|
|
1266
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1267
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1268
|
-
static serializeBinaryToWriter(message: StateContext, writer: jspb.BinaryWriter): void;
|
|
1269
|
-
static deserializeBinary(bytes: Uint8Array): StateContext;
|
|
1270
|
-
static deserializeBinaryFromReader(message: StateContext, reader: jspb.BinaryReader): StateContext;
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
268
|
export type TStateContext = {
|
|
1274
269
|
genesisTx: string,
|
|
1275
270
|
renaissanceTx: string,
|
|
@@ -1277,89 +272,17 @@ export type TStateContext = {
|
|
|
1277
272
|
renaissanceTime?: google_protobuf_timestamp_pb.Timestamp,
|
|
1278
273
|
}
|
|
1279
274
|
|
|
1280
|
-
export class StakeSummary extends jspb.Message {
|
|
1281
|
-
hasTotalStakes(): boolean;
|
|
1282
|
-
clearTotalStakes(): void;
|
|
1283
|
-
getTotalStakes(): TBigUint | undefined;
|
|
1284
|
-
setTotalStakes(value?: TBigUint): void;
|
|
1285
|
-
|
|
1286
|
-
hasTotalUnstakes(): boolean;
|
|
1287
|
-
clearTotalUnstakes(): void;
|
|
1288
|
-
getTotalUnstakes(): TBigUint | undefined;
|
|
1289
|
-
setTotalUnstakes(value?: TBigUint): void;
|
|
1290
|
-
|
|
1291
|
-
hasContext(): boolean;
|
|
1292
|
-
clearContext(): void;
|
|
1293
|
-
getContext(): TStateContext | undefined;
|
|
1294
|
-
setContext(value?: TStateContext): void;
|
|
1295
|
-
|
|
1296
|
-
serializeBinary(): Uint8Array;
|
|
1297
|
-
toObject(includeInstance?: boolean): TStakeSummary;
|
|
1298
|
-
static toObject(includeInstance: boolean, msg: StakeSummary): TStakeSummary;
|
|
1299
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1300
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1301
|
-
static serializeBinaryToWriter(message: StakeSummary, writer: jspb.BinaryWriter): void;
|
|
1302
|
-
static deserializeBinary(bytes: Uint8Array): StakeSummary;
|
|
1303
|
-
static deserializeBinaryFromReader(message: StakeSummary, reader: jspb.BinaryReader): StakeSummary;
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
275
|
export type TStakeSummary = {
|
|
1307
276
|
totalStakes?: TBigUint,
|
|
1308
277
|
totalUnstakes?: TBigUint,
|
|
1309
278
|
context?: TStateContext,
|
|
1310
279
|
}
|
|
1311
280
|
|
|
1312
|
-
export class UnconfirmedTxs extends jspb.Message {
|
|
1313
|
-
getNTxs(): number;
|
|
1314
|
-
setNTxs(value: number): void;
|
|
1315
|
-
|
|
1316
|
-
clearTxsList(): void;
|
|
1317
|
-
getTxsList(): Array<TTransaction>;
|
|
1318
|
-
setTxsList(value: Array<TTransaction>): void;
|
|
1319
|
-
addTxs(value?: Transaction, index?: number): Transaction;
|
|
1320
|
-
|
|
1321
|
-
serializeBinary(): Uint8Array;
|
|
1322
|
-
toObject(includeInstance?: boolean): TUnconfirmedTxs;
|
|
1323
|
-
static toObject(includeInstance: boolean, msg: UnconfirmedTxs): TUnconfirmedTxs;
|
|
1324
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1325
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1326
|
-
static serializeBinaryToWriter(message: UnconfirmedTxs, writer: jspb.BinaryWriter): void;
|
|
1327
|
-
static deserializeBinary(bytes: Uint8Array): UnconfirmedTxs;
|
|
1328
|
-
static deserializeBinaryFromReader(message: UnconfirmedTxs, reader: jspb.BinaryReader): UnconfirmedTxs;
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
281
|
export type TUnconfirmedTxs = {
|
|
1332
282
|
nTxs: number,
|
|
1333
283
|
txs: Array<TTransaction>,
|
|
1334
284
|
}
|
|
1335
285
|
|
|
1336
|
-
export class NetInfo extends jspb.Message {
|
|
1337
|
-
getListening(): boolean;
|
|
1338
|
-
setListening(value: boolean): void;
|
|
1339
|
-
|
|
1340
|
-
clearListenersList(): void;
|
|
1341
|
-
getListenersList(): Array<string>;
|
|
1342
|
-
setListenersList(value: Array<string>): void;
|
|
1343
|
-
addListeners(value: string, index?: number): string;
|
|
1344
|
-
|
|
1345
|
-
getNPeers(): number;
|
|
1346
|
-
setNPeers(value: number): void;
|
|
1347
|
-
|
|
1348
|
-
clearPeersList(): void;
|
|
1349
|
-
getPeersList(): Array<TPeerInfo>;
|
|
1350
|
-
setPeersList(value: Array<TPeerInfo>): void;
|
|
1351
|
-
addPeers(value?: PeerInfo, index?: number): PeerInfo;
|
|
1352
|
-
|
|
1353
|
-
serializeBinary(): Uint8Array;
|
|
1354
|
-
toObject(includeInstance?: boolean): TNetInfo;
|
|
1355
|
-
static toObject(includeInstance: boolean, msg: NetInfo): TNetInfo;
|
|
1356
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1357
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1358
|
-
static serializeBinaryToWriter(message: NetInfo, writer: jspb.BinaryWriter): void;
|
|
1359
|
-
static deserializeBinary(bytes: Uint8Array): NetInfo;
|
|
1360
|
-
static deserializeBinaryFromReader(message: NetInfo, reader: jspb.BinaryReader): NetInfo;
|
|
1361
|
-
}
|
|
1362
|
-
|
|
1363
286
|
export type TNetInfo = {
|
|
1364
287
|
listening: boolean,
|
|
1365
288
|
listeners: Array<string>,
|
|
@@ -1367,29 +290,6 @@ export type TNetInfo = {
|
|
|
1367
290
|
peers: Array<TPeerInfo>,
|
|
1368
291
|
}
|
|
1369
292
|
|
|
1370
|
-
export class GeoInfo extends jspb.Message {
|
|
1371
|
-
getCity(): string;
|
|
1372
|
-
setCity(value: string): void;
|
|
1373
|
-
|
|
1374
|
-
getCountry(): string;
|
|
1375
|
-
setCountry(value: string): void;
|
|
1376
|
-
|
|
1377
|
-
getLatitude(): number;
|
|
1378
|
-
setLatitude(value: number): void;
|
|
1379
|
-
|
|
1380
|
-
getLongitude(): number;
|
|
1381
|
-
setLongitude(value: number): void;
|
|
1382
|
-
|
|
1383
|
-
serializeBinary(): Uint8Array;
|
|
1384
|
-
toObject(includeInstance?: boolean): TGeoInfo;
|
|
1385
|
-
static toObject(includeInstance: boolean, msg: GeoInfo): TGeoInfo;
|
|
1386
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1387
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1388
|
-
static serializeBinaryToWriter(message: GeoInfo, writer: jspb.BinaryWriter): void;
|
|
1389
|
-
static deserializeBinary(bytes: Uint8Array): GeoInfo;
|
|
1390
|
-
static deserializeBinaryFromReader(message: GeoInfo, reader: jspb.BinaryReader): GeoInfo;
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
293
|
export type TGeoInfo = {
|
|
1394
294
|
city: string,
|
|
1395
295
|
country: string,
|
|
@@ -1397,37 +297,6 @@ export type TGeoInfo = {
|
|
|
1397
297
|
longitude: number,
|
|
1398
298
|
}
|
|
1399
299
|
|
|
1400
|
-
export class PeerInfo extends jspb.Message {
|
|
1401
|
-
getId(): string;
|
|
1402
|
-
setId(value: string): void;
|
|
1403
|
-
|
|
1404
|
-
getNetwork(): string;
|
|
1405
|
-
setNetwork(value: string): void;
|
|
1406
|
-
|
|
1407
|
-
getConsensusVersion(): string;
|
|
1408
|
-
setConsensusVersion(value: string): void;
|
|
1409
|
-
|
|
1410
|
-
getMoniker(): string;
|
|
1411
|
-
setMoniker(value: string): void;
|
|
1412
|
-
|
|
1413
|
-
getIp(): string;
|
|
1414
|
-
setIp(value: string): void;
|
|
1415
|
-
|
|
1416
|
-
hasGeoInfo(): boolean;
|
|
1417
|
-
clearGeoInfo(): void;
|
|
1418
|
-
getGeoInfo(): TGeoInfo | undefined;
|
|
1419
|
-
setGeoInfo(value?: TGeoInfo): void;
|
|
1420
|
-
|
|
1421
|
-
serializeBinary(): Uint8Array;
|
|
1422
|
-
toObject(includeInstance?: boolean): TPeerInfo;
|
|
1423
|
-
static toObject(includeInstance: boolean, msg: PeerInfo): TPeerInfo;
|
|
1424
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1425
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1426
|
-
static serializeBinaryToWriter(message: PeerInfo, writer: jspb.BinaryWriter): void;
|
|
1427
|
-
static deserializeBinary(bytes: Uint8Array): PeerInfo;
|
|
1428
|
-
static deserializeBinaryFromReader(message: PeerInfo, reader: jspb.BinaryReader): PeerInfo;
|
|
1429
|
-
}
|
|
1430
|
-
|
|
1431
300
|
export type TPeerInfo = {
|
|
1432
301
|
id: string,
|
|
1433
302
|
network: string,
|
|
@@ -1437,63 +306,11 @@ export type TPeerInfo = {
|
|
|
1437
306
|
geoInfo?: TGeoInfo,
|
|
1438
307
|
}
|
|
1439
308
|
|
|
1440
|
-
export class ValidatorsInfo extends jspb.Message {
|
|
1441
|
-
getBlockHeight(): string;
|
|
1442
|
-
setBlockHeight(value: string): void;
|
|
1443
|
-
|
|
1444
|
-
clearValidatorsList(): void;
|
|
1445
|
-
getValidatorsList(): Array<TValidatorInfo>;
|
|
1446
|
-
setValidatorsList(value: Array<TValidatorInfo>): void;
|
|
1447
|
-
addValidators(value?: ValidatorInfo, index?: number): ValidatorInfo;
|
|
1448
|
-
|
|
1449
|
-
serializeBinary(): Uint8Array;
|
|
1450
|
-
toObject(includeInstance?: boolean): TValidatorsInfo;
|
|
1451
|
-
static toObject(includeInstance: boolean, msg: ValidatorsInfo): TValidatorsInfo;
|
|
1452
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1453
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1454
|
-
static serializeBinaryToWriter(message: ValidatorsInfo, writer: jspb.BinaryWriter): void;
|
|
1455
|
-
static deserializeBinary(bytes: Uint8Array): ValidatorsInfo;
|
|
1456
|
-
static deserializeBinaryFromReader(message: ValidatorsInfo, reader: jspb.BinaryReader): ValidatorsInfo;
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
309
|
export type TValidatorsInfo = {
|
|
1460
310
|
blockHeight: string,
|
|
1461
311
|
validators: Array<TValidatorInfo>,
|
|
1462
312
|
}
|
|
1463
313
|
|
|
1464
|
-
export class ValidatorInfo extends jspb.Message {
|
|
1465
|
-
getAddress(): string;
|
|
1466
|
-
setAddress(value: string): void;
|
|
1467
|
-
|
|
1468
|
-
hasPubKey(): boolean;
|
|
1469
|
-
clearPubKey(): void;
|
|
1470
|
-
getPubKey(): vendor_pb.TPubKey | undefined;
|
|
1471
|
-
setPubKey(value?: vendor_pb.TPubKey): void;
|
|
1472
|
-
|
|
1473
|
-
getVotingPower(): string;
|
|
1474
|
-
setVotingPower(value: string): void;
|
|
1475
|
-
|
|
1476
|
-
getProposerPriority(): string;
|
|
1477
|
-
setProposerPriority(value: string): void;
|
|
1478
|
-
|
|
1479
|
-
getName(): string;
|
|
1480
|
-
setName(value: string): void;
|
|
1481
|
-
|
|
1482
|
-
hasGeoInfo(): boolean;
|
|
1483
|
-
clearGeoInfo(): void;
|
|
1484
|
-
getGeoInfo(): TGeoInfo | undefined;
|
|
1485
|
-
setGeoInfo(value?: TGeoInfo): void;
|
|
1486
|
-
|
|
1487
|
-
serializeBinary(): Uint8Array;
|
|
1488
|
-
toObject(includeInstance?: boolean): TValidatorInfo;
|
|
1489
|
-
static toObject(includeInstance: boolean, msg: ValidatorInfo): TValidatorInfo;
|
|
1490
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1491
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1492
|
-
static serializeBinaryToWriter(message: ValidatorInfo, writer: jspb.BinaryWriter): void;
|
|
1493
|
-
static deserializeBinary(bytes: Uint8Array): ValidatorInfo;
|
|
1494
|
-
static deserializeBinaryFromReader(message: ValidatorInfo, reader: jspb.BinaryReader): ValidatorInfo;
|
|
1495
|
-
}
|
|
1496
|
-
|
|
1497
314
|
export type TValidatorInfo = {
|
|
1498
315
|
address: string,
|
|
1499
316
|
pubKey?: vendor_pb.TPubKey,
|
|
@@ -1503,49 +320,6 @@ export type TValidatorInfo = {
|
|
|
1503
320
|
geoInfo?: TGeoInfo,
|
|
1504
321
|
}
|
|
1505
322
|
|
|
1506
|
-
export class ForgeToken extends jspb.Message {
|
|
1507
|
-
getName(): string;
|
|
1508
|
-
setName(value: string): void;
|
|
1509
|
-
|
|
1510
|
-
getSymbol(): string;
|
|
1511
|
-
setSymbol(value: string): void;
|
|
1512
|
-
|
|
1513
|
-
getUnit(): string;
|
|
1514
|
-
setUnit(value: string): void;
|
|
1515
|
-
|
|
1516
|
-
getDescription(): string;
|
|
1517
|
-
setDescription(value: string): void;
|
|
1518
|
-
|
|
1519
|
-
getIcon(): Uint8Array | string;
|
|
1520
|
-
getIcon_asU8(): Uint8Array;
|
|
1521
|
-
getIcon_asB64(): string;
|
|
1522
|
-
setIcon(value: Uint8Array | string): void;
|
|
1523
|
-
|
|
1524
|
-
getDecimal(): number;
|
|
1525
|
-
setDecimal(value: number): void;
|
|
1526
|
-
|
|
1527
|
-
getInitialSupply(): string;
|
|
1528
|
-
setInitialSupply(value: string): void;
|
|
1529
|
-
|
|
1530
|
-
getTotalSupply(): string;
|
|
1531
|
-
setTotalSupply(value: string): void;
|
|
1532
|
-
|
|
1533
|
-
getInflationRate(): number;
|
|
1534
|
-
setInflationRate(value: number): void;
|
|
1535
|
-
|
|
1536
|
-
getAddress(): string;
|
|
1537
|
-
setAddress(value: string): void;
|
|
1538
|
-
|
|
1539
|
-
serializeBinary(): Uint8Array;
|
|
1540
|
-
toObject(includeInstance?: boolean): TForgeToken;
|
|
1541
|
-
static toObject(includeInstance: boolean, msg: ForgeToken): TForgeToken;
|
|
1542
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1543
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1544
|
-
static serializeBinaryToWriter(message: ForgeToken, writer: jspb.BinaryWriter): void;
|
|
1545
|
-
static deserializeBinary(bytes: Uint8Array): ForgeToken;
|
|
1546
|
-
static deserializeBinaryFromReader(message: ForgeToken, reader: jspb.BinaryReader): ForgeToken;
|
|
1547
|
-
}
|
|
1548
|
-
|
|
1549
323
|
export type TForgeToken = {
|
|
1550
324
|
name: string,
|
|
1551
325
|
symbol: string,
|
|
@@ -1559,222 +333,48 @@ export type TForgeToken = {
|
|
|
1559
333
|
address: string,
|
|
1560
334
|
}
|
|
1561
335
|
|
|
1562
|
-
export class UpgradeInfo extends jspb.Message {
|
|
1563
|
-
getHeight(): string;
|
|
1564
|
-
setHeight(value: string): void;
|
|
1565
|
-
|
|
1566
|
-
getVersion(): string;
|
|
1567
|
-
setVersion(value: string): void;
|
|
1568
|
-
|
|
1569
|
-
serializeBinary(): Uint8Array;
|
|
1570
|
-
toObject(includeInstance?: boolean): TUpgradeInfo;
|
|
1571
|
-
static toObject(includeInstance: boolean, msg: UpgradeInfo): TUpgradeInfo;
|
|
1572
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1573
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1574
|
-
static serializeBinaryToWriter(message: UpgradeInfo, writer: jspb.BinaryWriter): void;
|
|
1575
|
-
static deserializeBinary(bytes: Uint8Array): UpgradeInfo;
|
|
1576
|
-
static deserializeBinaryFromReader(message: UpgradeInfo, reader: jspb.BinaryReader): UpgradeInfo;
|
|
1577
|
-
}
|
|
1578
|
-
|
|
1579
336
|
export type TUpgradeInfo = {
|
|
1580
337
|
height: string,
|
|
1581
338
|
version: string,
|
|
1582
339
|
}
|
|
1583
340
|
|
|
1584
|
-
export class WithdrawItem extends jspb.Message {
|
|
1585
|
-
getHash(): string;
|
|
1586
|
-
setHash(value: string): void;
|
|
1587
|
-
|
|
1588
|
-
hasValue(): boolean;
|
|
1589
|
-
clearValue(): void;
|
|
1590
|
-
getValue(): TBigUint | undefined;
|
|
1591
|
-
setValue(value?: TBigUint): void;
|
|
1592
|
-
|
|
1593
|
-
serializeBinary(): Uint8Array;
|
|
1594
|
-
toObject(includeInstance?: boolean): TWithdrawItem;
|
|
1595
|
-
static toObject(includeInstance: boolean, msg: WithdrawItem): TWithdrawItem;
|
|
1596
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1597
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1598
|
-
static serializeBinaryToWriter(message: WithdrawItem, writer: jspb.BinaryWriter): void;
|
|
1599
|
-
static deserializeBinary(bytes: Uint8Array): WithdrawItem;
|
|
1600
|
-
static deserializeBinaryFromReader(message: WithdrawItem, reader: jspb.BinaryReader): WithdrawItem;
|
|
1601
|
-
}
|
|
1602
|
-
|
|
1603
341
|
export type TWithdrawItem = {
|
|
1604
342
|
hash: string,
|
|
1605
343
|
value?: TBigUint,
|
|
1606
344
|
}
|
|
1607
345
|
|
|
1608
|
-
export class AccountConfig extends jspb.Message {
|
|
1609
|
-
getAddress(): string;
|
|
1610
|
-
setAddress(value: string): void;
|
|
1611
|
-
|
|
1612
|
-
getPk(): Uint8Array | string;
|
|
1613
|
-
getPk_asU8(): Uint8Array;
|
|
1614
|
-
getPk_asB64(): string;
|
|
1615
|
-
setPk(value: Uint8Array | string): void;
|
|
1616
|
-
|
|
1617
|
-
hasBalance(): boolean;
|
|
1618
|
-
clearBalance(): void;
|
|
1619
|
-
getBalance(): TBigUint | undefined;
|
|
1620
|
-
setBalance(value?: TBigUint): void;
|
|
1621
|
-
|
|
1622
|
-
serializeBinary(): Uint8Array;
|
|
1623
|
-
toObject(includeInstance?: boolean): TAccountConfig;
|
|
1624
|
-
static toObject(includeInstance: boolean, msg: AccountConfig): TAccountConfig;
|
|
1625
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1626
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1627
|
-
static serializeBinaryToWriter(message: AccountConfig, writer: jspb.BinaryWriter): void;
|
|
1628
|
-
static deserializeBinary(bytes: Uint8Array): AccountConfig;
|
|
1629
|
-
static deserializeBinaryFromReader(message: AccountConfig, reader: jspb.BinaryReader): AccountConfig;
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
346
|
export type TAccountConfig = {
|
|
1633
347
|
address: string,
|
|
1634
348
|
pk: Uint8Array | string,
|
|
1635
349
|
balance?: TBigUint,
|
|
1636
350
|
}
|
|
1637
351
|
|
|
1638
|
-
export class Evidence extends jspb.Message {
|
|
1639
|
-
getHash(): string;
|
|
1640
|
-
setHash(value: string): void;
|
|
1641
|
-
|
|
1642
|
-
serializeBinary(): Uint8Array;
|
|
1643
|
-
toObject(includeInstance?: boolean): TEvidence;
|
|
1644
|
-
static toObject(includeInstance: boolean, msg: Evidence): TEvidence;
|
|
1645
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1646
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1647
|
-
static serializeBinaryToWriter(message: Evidence, writer: jspb.BinaryWriter): void;
|
|
1648
|
-
static deserializeBinary(bytes: Uint8Array): Evidence;
|
|
1649
|
-
static deserializeBinaryFromReader(message: Evidence, reader: jspb.BinaryReader): Evidence;
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
352
|
export type TEvidence = {
|
|
1653
353
|
hash: string,
|
|
1654
354
|
}
|
|
1655
355
|
|
|
1656
|
-
export class NFTEndpoint extends jspb.Message {
|
|
1657
|
-
getId(): string;
|
|
1658
|
-
setId(value: string): void;
|
|
1659
|
-
|
|
1660
|
-
getScope(): string;
|
|
1661
|
-
setScope(value: string): void;
|
|
1662
|
-
|
|
1663
|
-
serializeBinary(): Uint8Array;
|
|
1664
|
-
toObject(includeInstance?: boolean): TNFTEndpoint;
|
|
1665
|
-
static toObject(includeInstance: boolean, msg: NFTEndpoint): TNFTEndpoint;
|
|
1666
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1667
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1668
|
-
static serializeBinaryToWriter(message: NFTEndpoint, writer: jspb.BinaryWriter): void;
|
|
1669
|
-
static deserializeBinary(bytes: Uint8Array): NFTEndpoint;
|
|
1670
|
-
static deserializeBinaryFromReader(message: NFTEndpoint, reader: jspb.BinaryReader): NFTEndpoint;
|
|
1671
|
-
}
|
|
1672
|
-
|
|
1673
356
|
export type TNFTEndpoint = {
|
|
1674
357
|
id: string,
|
|
1675
358
|
scope: string,
|
|
1676
359
|
}
|
|
1677
360
|
|
|
1678
|
-
export class NFTDisplay extends jspb.Message {
|
|
1679
|
-
getType(): string;
|
|
1680
|
-
setType(value: string): void;
|
|
1681
|
-
|
|
1682
|
-
getContent(): string;
|
|
1683
|
-
setContent(value: string): void;
|
|
1684
|
-
|
|
1685
|
-
serializeBinary(): Uint8Array;
|
|
1686
|
-
toObject(includeInstance?: boolean): TNFTDisplay;
|
|
1687
|
-
static toObject(includeInstance: boolean, msg: NFTDisplay): TNFTDisplay;
|
|
1688
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1689
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1690
|
-
static serializeBinaryToWriter(message: NFTDisplay, writer: jspb.BinaryWriter): void;
|
|
1691
|
-
static deserializeBinary(bytes: Uint8Array): NFTDisplay;
|
|
1692
|
-
static deserializeBinaryFromReader(message: NFTDisplay, reader: jspb.BinaryReader): NFTDisplay;
|
|
1693
|
-
}
|
|
1694
|
-
|
|
1695
361
|
export type TNFTDisplay = {
|
|
1696
362
|
type: string,
|
|
1697
363
|
content: string,
|
|
1698
364
|
}
|
|
1699
365
|
|
|
1700
|
-
export class NFTIssuer extends jspb.Message {
|
|
1701
|
-
getId(): string;
|
|
1702
|
-
setId(value: string): void;
|
|
1703
|
-
|
|
1704
|
-
getPk(): string;
|
|
1705
|
-
setPk(value: string): void;
|
|
1706
|
-
|
|
1707
|
-
getName(): string;
|
|
1708
|
-
setName(value: string): void;
|
|
1709
|
-
|
|
1710
|
-
serializeBinary(): Uint8Array;
|
|
1711
|
-
toObject(includeInstance?: boolean): TNFTIssuer;
|
|
1712
|
-
static toObject(includeInstance: boolean, msg: NFTIssuer): TNFTIssuer;
|
|
1713
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1714
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1715
|
-
static serializeBinaryToWriter(message: NFTIssuer, writer: jspb.BinaryWriter): void;
|
|
1716
|
-
static deserializeBinary(bytes: Uint8Array): NFTIssuer;
|
|
1717
|
-
static deserializeBinaryFromReader(message: NFTIssuer, reader: jspb.BinaryReader): NFTIssuer;
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
366
|
export type TNFTIssuer = {
|
|
1721
367
|
id: string,
|
|
1722
368
|
pk: string,
|
|
1723
369
|
name: string,
|
|
1724
370
|
}
|
|
1725
371
|
|
|
1726
|
-
export class AssetFactoryHook extends jspb.Message {
|
|
1727
|
-
getName(): string;
|
|
1728
|
-
setName(value: string): void;
|
|
1729
|
-
|
|
1730
|
-
getType(): string;
|
|
1731
|
-
setType(value: string): void;
|
|
1732
|
-
|
|
1733
|
-
getHook(): string;
|
|
1734
|
-
setHook(value: string): void;
|
|
1735
|
-
|
|
1736
|
-
serializeBinary(): Uint8Array;
|
|
1737
|
-
toObject(includeInstance?: boolean): TAssetFactoryHook;
|
|
1738
|
-
static toObject(includeInstance: boolean, msg: AssetFactoryHook): TAssetFactoryHook;
|
|
1739
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1740
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1741
|
-
static serializeBinaryToWriter(message: AssetFactoryHook, writer: jspb.BinaryWriter): void;
|
|
1742
|
-
static deserializeBinary(bytes: Uint8Array): AssetFactoryHook;
|
|
1743
|
-
static deserializeBinaryFromReader(message: AssetFactoryHook, reader: jspb.BinaryReader): AssetFactoryHook;
|
|
1744
|
-
}
|
|
1745
|
-
|
|
1746
372
|
export type TAssetFactoryHook = {
|
|
1747
373
|
name: string,
|
|
1748
374
|
type: string,
|
|
1749
375
|
hook: string,
|
|
1750
376
|
}
|
|
1751
377
|
|
|
1752
|
-
export class IndexedTokenInput extends jspb.Message {
|
|
1753
|
-
getAddress(): string;
|
|
1754
|
-
setAddress(value: string): void;
|
|
1755
|
-
|
|
1756
|
-
getValue(): string;
|
|
1757
|
-
setValue(value: string): void;
|
|
1758
|
-
|
|
1759
|
-
getDecimal(): number;
|
|
1760
|
-
setDecimal(value: number): void;
|
|
1761
|
-
|
|
1762
|
-
getUnit(): string;
|
|
1763
|
-
setUnit(value: string): void;
|
|
1764
|
-
|
|
1765
|
-
getSymbol(): string;
|
|
1766
|
-
setSymbol(value: string): void;
|
|
1767
|
-
|
|
1768
|
-
serializeBinary(): Uint8Array;
|
|
1769
|
-
toObject(includeInstance?: boolean): TIndexedTokenInput;
|
|
1770
|
-
static toObject(includeInstance: boolean, msg: IndexedTokenInput): TIndexedTokenInput;
|
|
1771
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1772
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1773
|
-
static serializeBinaryToWriter(message: IndexedTokenInput, writer: jspb.BinaryWriter): void;
|
|
1774
|
-
static deserializeBinary(bytes: Uint8Array): IndexedTokenInput;
|
|
1775
|
-
static deserializeBinaryFromReader(message: IndexedTokenInput, reader: jspb.BinaryReader): IndexedTokenInput;
|
|
1776
|
-
}
|
|
1777
|
-
|
|
1778
378
|
export type TIndexedTokenInput = {
|
|
1779
379
|
address: string,
|
|
1780
380
|
value: string,
|
|
@@ -1783,35 +383,6 @@ export type TIndexedTokenInput = {
|
|
|
1783
383
|
symbol: string,
|
|
1784
384
|
}
|
|
1785
385
|
|
|
1786
|
-
export class IndexedFactoryInput extends jspb.Message {
|
|
1787
|
-
getValue(): string;
|
|
1788
|
-
setValue(value: string): void;
|
|
1789
|
-
|
|
1790
|
-
clearTokensList(): void;
|
|
1791
|
-
getTokensList(): Array<TIndexedTokenInput>;
|
|
1792
|
-
setTokensList(value: Array<TIndexedTokenInput>): void;
|
|
1793
|
-
addTokens(value?: IndexedTokenInput, index?: number): IndexedTokenInput;
|
|
1794
|
-
|
|
1795
|
-
clearAssetsList(): void;
|
|
1796
|
-
getAssetsList(): Array<string>;
|
|
1797
|
-
setAssetsList(value: Array<string>): void;
|
|
1798
|
-
addAssets(value: string, index?: number): string;
|
|
1799
|
-
|
|
1800
|
-
clearVariablesList(): void;
|
|
1801
|
-
getVariablesList(): Array<TVariableInput>;
|
|
1802
|
-
setVariablesList(value: Array<TVariableInput>): void;
|
|
1803
|
-
addVariables(value?: VariableInput, index?: number): VariableInput;
|
|
1804
|
-
|
|
1805
|
-
serializeBinary(): Uint8Array;
|
|
1806
|
-
toObject(includeInstance?: boolean): TIndexedFactoryInput;
|
|
1807
|
-
static toObject(includeInstance: boolean, msg: IndexedFactoryInput): TIndexedFactoryInput;
|
|
1808
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1809
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1810
|
-
static serializeBinaryToWriter(message: IndexedFactoryInput, writer: jspb.BinaryWriter): void;
|
|
1811
|
-
static deserializeBinary(bytes: Uint8Array): IndexedFactoryInput;
|
|
1812
|
-
static deserializeBinaryFromReader(message: IndexedFactoryInput, reader: jspb.BinaryReader): IndexedFactoryInput;
|
|
1813
|
-
}
|
|
1814
|
-
|
|
1815
386
|
export type TIndexedFactoryInput = {
|
|
1816
387
|
value: string,
|
|
1817
388
|
tokens: Array<TIndexedTokenInput>,
|
|
@@ -1819,80 +390,17 @@ export type TIndexedFactoryInput = {
|
|
|
1819
390
|
variables: Array<TVariableInput>,
|
|
1820
391
|
}
|
|
1821
392
|
|
|
1822
|
-
export class RollupValidator extends jspb.Message {
|
|
1823
|
-
getPk(): string;
|
|
1824
|
-
setPk(value: string): void;
|
|
1825
|
-
|
|
1826
|
-
getAddress(): string;
|
|
1827
|
-
setAddress(value: string): void;
|
|
1828
|
-
|
|
1829
|
-
getEndpoint(): string;
|
|
1830
|
-
setEndpoint(value: string): void;
|
|
1831
|
-
|
|
1832
|
-
serializeBinary(): Uint8Array;
|
|
1833
|
-
toObject(includeInstance?: boolean): TRollupValidator;
|
|
1834
|
-
static toObject(includeInstance: boolean, msg: RollupValidator): TRollupValidator;
|
|
1835
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1836
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1837
|
-
static serializeBinaryToWriter(message: RollupValidator, writer: jspb.BinaryWriter): void;
|
|
1838
|
-
static deserializeBinary(bytes: Uint8Array): RollupValidator;
|
|
1839
|
-
static deserializeBinaryFromReader(message: RollupValidator, reader: jspb.BinaryReader): RollupValidator;
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
393
|
export type TRollupValidator = {
|
|
1843
394
|
pk: string,
|
|
1844
395
|
address: string,
|
|
1845
396
|
endpoint: string,
|
|
1846
397
|
}
|
|
1847
398
|
|
|
1848
|
-
export class RollupSignature extends jspb.Message {
|
|
1849
|
-
getSigner(): string;
|
|
1850
|
-
setSigner(value: string): void;
|
|
1851
|
-
|
|
1852
|
-
getSignature(): string;
|
|
1853
|
-
setSignature(value: string): void;
|
|
1854
|
-
|
|
1855
|
-
serializeBinary(): Uint8Array;
|
|
1856
|
-
toObject(includeInstance?: boolean): TRollupSignature;
|
|
1857
|
-
static toObject(includeInstance: boolean, msg: RollupSignature): TRollupSignature;
|
|
1858
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1859
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1860
|
-
static serializeBinaryToWriter(message: RollupSignature, writer: jspb.BinaryWriter): void;
|
|
1861
|
-
static deserializeBinary(bytes: Uint8Array): RollupSignature;
|
|
1862
|
-
static deserializeBinaryFromReader(message: RollupSignature, reader: jspb.BinaryReader): RollupSignature;
|
|
1863
|
-
}
|
|
1864
|
-
|
|
1865
399
|
export type TRollupSignature = {
|
|
1866
400
|
signer: string,
|
|
1867
401
|
signature: string,
|
|
1868
402
|
}
|
|
1869
403
|
|
|
1870
|
-
export class ForeignToken extends jspb.Message {
|
|
1871
|
-
getType(): string;
|
|
1872
|
-
setType(value: string): void;
|
|
1873
|
-
|
|
1874
|
-
getContractAddress(): string;
|
|
1875
|
-
setContractAddress(value: string): void;
|
|
1876
|
-
|
|
1877
|
-
getChainType(): string;
|
|
1878
|
-
setChainType(value: string): void;
|
|
1879
|
-
|
|
1880
|
-
getChainName(): string;
|
|
1881
|
-
setChainName(value: string): void;
|
|
1882
|
-
|
|
1883
|
-
getChainId(): number;
|
|
1884
|
-
setChainId(value: number): void;
|
|
1885
|
-
|
|
1886
|
-
serializeBinary(): Uint8Array;
|
|
1887
|
-
toObject(includeInstance?: boolean): TForeignToken;
|
|
1888
|
-
static toObject(includeInstance: boolean, msg: ForeignToken): TForeignToken;
|
|
1889
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1890
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1891
|
-
static serializeBinaryToWriter(message: ForeignToken, writer: jspb.BinaryWriter): void;
|
|
1892
|
-
static deserializeBinary(bytes: Uint8Array): ForeignToken;
|
|
1893
|
-
static deserializeBinaryFromReader(message: ForeignToken, reader: jspb.BinaryReader): ForeignToken;
|
|
1894
|
-
}
|
|
1895
|
-
|
|
1896
404
|
export type TForeignToken = {
|
|
1897
405
|
type: string,
|
|
1898
406
|
contractAddress: string,
|
|
@@ -1901,132 +409,11 @@ export type TForeignToken = {
|
|
|
1901
409
|
chainId: number,
|
|
1902
410
|
}
|
|
1903
411
|
|
|
1904
|
-
export class RevokedStake extends jspb.Message {
|
|
1905
|
-
clearTokensList(): void;
|
|
1906
|
-
getTokensList(): Array<TTokenInput>;
|
|
1907
|
-
setTokensList(value: Array<TTokenInput>): void;
|
|
1908
|
-
addTokens(value?: TokenInput, index?: number): TokenInput;
|
|
1909
|
-
|
|
1910
|
-
clearAssetsList(): void;
|
|
1911
|
-
getAssetsList(): Array<string>;
|
|
1912
|
-
setAssetsList(value: Array<string>): void;
|
|
1913
|
-
addAssets(value: string, index?: number): string;
|
|
1914
|
-
|
|
1915
|
-
serializeBinary(): Uint8Array;
|
|
1916
|
-
toObject(includeInstance?: boolean): TRevokedStake;
|
|
1917
|
-
static toObject(includeInstance: boolean, msg: RevokedStake): TRevokedStake;
|
|
1918
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1919
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1920
|
-
static serializeBinaryToWriter(message: RevokedStake, writer: jspb.BinaryWriter): void;
|
|
1921
|
-
static deserializeBinary(bytes: Uint8Array): RevokedStake;
|
|
1922
|
-
static deserializeBinaryFromReader(message: RevokedStake, reader: jspb.BinaryReader): RevokedStake;
|
|
1923
|
-
}
|
|
1924
|
-
|
|
1925
412
|
export type TRevokedStake = {
|
|
1926
413
|
tokens: Array<TTokenInput>,
|
|
1927
414
|
assets: Array<string>,
|
|
1928
415
|
}
|
|
1929
416
|
|
|
1930
|
-
export class ForgeStats extends jspb.Message {
|
|
1931
|
-
clearNumBlocksList(): void;
|
|
1932
|
-
getNumBlocksList(): Array<string>;
|
|
1933
|
-
setNumBlocksList(value: Array<string>): void;
|
|
1934
|
-
addNumBlocks(value: string, index?: number): string;
|
|
1935
|
-
|
|
1936
|
-
clearNumTxsList(): void;
|
|
1937
|
-
getNumTxsList(): Array<string>;
|
|
1938
|
-
setNumTxsList(value: Array<string>): void;
|
|
1939
|
-
addNumTxs(value: string, index?: number): string;
|
|
1940
|
-
|
|
1941
|
-
clearNumStakesList(): void;
|
|
1942
|
-
getNumStakesList(): Array<TBigUint>;
|
|
1943
|
-
setNumStakesList(value: Array<TBigUint>): void;
|
|
1944
|
-
addNumStakes(value?: BigUint, index?: number): BigUint;
|
|
1945
|
-
|
|
1946
|
-
clearNumValidatorsList(): void;
|
|
1947
|
-
getNumValidatorsList(): Array<number>;
|
|
1948
|
-
setNumValidatorsList(value: Array<number>): void;
|
|
1949
|
-
addNumValidators(value: number, index?: number): number;
|
|
1950
|
-
|
|
1951
|
-
clearNumAccountMigrateTxsList(): void;
|
|
1952
|
-
getNumAccountMigrateTxsList(): Array<string>;
|
|
1953
|
-
setNumAccountMigrateTxsList(value: Array<string>): void;
|
|
1954
|
-
addNumAccountMigrateTxs(value: string, index?: number): string;
|
|
1955
|
-
|
|
1956
|
-
clearNumCreateAssetTxsList(): void;
|
|
1957
|
-
getNumCreateAssetTxsList(): Array<string>;
|
|
1958
|
-
setNumCreateAssetTxsList(value: Array<string>): void;
|
|
1959
|
-
addNumCreateAssetTxs(value: string, index?: number): string;
|
|
1960
|
-
|
|
1961
|
-
clearNumConsensusUpgradeTxsList(): void;
|
|
1962
|
-
getNumConsensusUpgradeTxsList(): Array<number>;
|
|
1963
|
-
setNumConsensusUpgradeTxsList(value: Array<number>): void;
|
|
1964
|
-
addNumConsensusUpgradeTxs(value: number, index?: number): number;
|
|
1965
|
-
|
|
1966
|
-
clearNumDeclareTxsList(): void;
|
|
1967
|
-
getNumDeclareTxsList(): Array<string>;
|
|
1968
|
-
setNumDeclareTxsList(value: Array<string>): void;
|
|
1969
|
-
addNumDeclareTxs(value: string, index?: number): string;
|
|
1970
|
-
|
|
1971
|
-
clearNumDeclareFileTxsList(): void;
|
|
1972
|
-
getNumDeclareFileTxsList(): Array<string>;
|
|
1973
|
-
setNumDeclareFileTxsList(value: Array<string>): void;
|
|
1974
|
-
addNumDeclareFileTxs(value: string, index?: number): string;
|
|
1975
|
-
|
|
1976
|
-
clearNumExchangeTxsList(): void;
|
|
1977
|
-
getNumExchangeTxsList(): Array<string>;
|
|
1978
|
-
setNumExchangeTxsList(value: Array<string>): void;
|
|
1979
|
-
addNumExchangeTxs(value: string, index?: number): string;
|
|
1980
|
-
|
|
1981
|
-
clearNumStakeTxsList(): void;
|
|
1982
|
-
getNumStakeTxsList(): Array<string>;
|
|
1983
|
-
setNumStakeTxsList(value: Array<string>): void;
|
|
1984
|
-
addNumStakeTxs(value: string, index?: number): string;
|
|
1985
|
-
|
|
1986
|
-
clearNumSysUpgradeTxsList(): void;
|
|
1987
|
-
getNumSysUpgradeTxsList(): Array<number>;
|
|
1988
|
-
setNumSysUpgradeTxsList(value: Array<number>): void;
|
|
1989
|
-
addNumSysUpgradeTxs(value: number, index?: number): number;
|
|
1990
|
-
|
|
1991
|
-
clearNumTransferTxsList(): void;
|
|
1992
|
-
getNumTransferTxsList(): Array<string>;
|
|
1993
|
-
setNumTransferTxsList(value: Array<string>): void;
|
|
1994
|
-
addNumTransferTxs(value: string, index?: number): string;
|
|
1995
|
-
|
|
1996
|
-
clearNumUpdateAssetTxsList(): void;
|
|
1997
|
-
getNumUpdateAssetTxsList(): Array<string>;
|
|
1998
|
-
setNumUpdateAssetTxsList(value: Array<string>): void;
|
|
1999
|
-
addNumUpdateAssetTxs(value: string, index?: number): string;
|
|
2000
|
-
|
|
2001
|
-
clearNumConsumeAssetTxsList(): void;
|
|
2002
|
-
getNumConsumeAssetTxsList(): Array<string>;
|
|
2003
|
-
setNumConsumeAssetTxsList(value: Array<string>): void;
|
|
2004
|
-
addNumConsumeAssetTxs(value: string, index?: number): string;
|
|
2005
|
-
|
|
2006
|
-
clearTpsList(): void;
|
|
2007
|
-
getTpsList(): Array<number>;
|
|
2008
|
-
setTpsList(value: Array<number>): void;
|
|
2009
|
-
addTps(value: number, index?: number): number;
|
|
2010
|
-
|
|
2011
|
-
getMaxTps(): number;
|
|
2012
|
-
setMaxTps(value: number): void;
|
|
2013
|
-
|
|
2014
|
-
getAvgTps(): number;
|
|
2015
|
-
setAvgTps(value: number): void;
|
|
2016
|
-
|
|
2017
|
-
getAvgBlockTime(): number;
|
|
2018
|
-
setAvgBlockTime(value: number): void;
|
|
2019
|
-
|
|
2020
|
-
serializeBinary(): Uint8Array;
|
|
2021
|
-
toObject(includeInstance?: boolean): TForgeStats;
|
|
2022
|
-
static toObject(includeInstance: boolean, msg: ForgeStats): TForgeStats;
|
|
2023
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2024
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2025
|
-
static serializeBinaryToWriter(message: ForgeStats, writer: jspb.BinaryWriter): void;
|
|
2026
|
-
static deserializeBinary(bytes: Uint8Array): ForgeStats;
|
|
2027
|
-
static deserializeBinaryFromReader(message: ForgeStats, reader: jspb.BinaryReader): ForgeStats;
|
|
2028
|
-
}
|
|
2029
|
-
|
|
2030
417
|
export type TForgeStats = {
|
|
2031
418
|
numBlocks: Array<string>,
|
|
2032
419
|
numTxs: Array<string>,
|
|
@@ -2049,97 +436,15 @@ export type TForgeStats = {
|
|
|
2049
436
|
avgBlockTime: number,
|
|
2050
437
|
}
|
|
2051
438
|
|
|
2052
|
-
export class GasEstimate extends jspb.Message {
|
|
2053
|
-
getMax(): string;
|
|
2054
|
-
setMax(value: string): void;
|
|
2055
|
-
|
|
2056
|
-
serializeBinary(): Uint8Array;
|
|
2057
|
-
toObject(includeInstance?: boolean): TGasEstimate;
|
|
2058
|
-
static toObject(includeInstance: boolean, msg: GasEstimate): TGasEstimate;
|
|
2059
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2060
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2061
|
-
static serializeBinaryToWriter(message: GasEstimate, writer: jspb.BinaryWriter): void;
|
|
2062
|
-
static deserializeBinary(bytes: Uint8Array): GasEstimate;
|
|
2063
|
-
static deserializeBinaryFromReader(message: GasEstimate, reader: jspb.BinaryReader): GasEstimate;
|
|
2064
|
-
}
|
|
2065
|
-
|
|
2066
439
|
export type TGasEstimate = {
|
|
2067
440
|
max: string,
|
|
2068
441
|
}
|
|
2069
442
|
|
|
2070
|
-
export class RateLimit extends jspb.Message {
|
|
2071
|
-
getInterval(): number;
|
|
2072
|
-
setInterval(value: number): void;
|
|
2073
|
-
|
|
2074
|
-
getAnchor(): number;
|
|
2075
|
-
setAnchor(value: number): void;
|
|
2076
|
-
|
|
2077
|
-
serializeBinary(): Uint8Array;
|
|
2078
|
-
toObject(includeInstance?: boolean): TRateLimit;
|
|
2079
|
-
static toObject(includeInstance: boolean, msg: RateLimit): TRateLimit;
|
|
2080
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2081
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2082
|
-
static serializeBinaryToWriter(message: RateLimit, writer: jspb.BinaryWriter): void;
|
|
2083
|
-
static deserializeBinary(bytes: Uint8Array): RateLimit;
|
|
2084
|
-
static deserializeBinaryFromReader(message: RateLimit, reader: jspb.BinaryReader): RateLimit;
|
|
2085
|
-
}
|
|
2086
|
-
|
|
2087
443
|
export type TRateLimit = {
|
|
2088
444
|
interval: number,
|
|
2089
445
|
anchor: number,
|
|
2090
446
|
}
|
|
2091
447
|
|
|
2092
|
-
export class TokenLimit extends jspb.Message {
|
|
2093
|
-
getAddress(): string;
|
|
2094
|
-
setAddress(value: string): void;
|
|
2095
|
-
|
|
2096
|
-
clearToList(): void;
|
|
2097
|
-
getToList(): Array<string>;
|
|
2098
|
-
setToList(value: Array<string>): void;
|
|
2099
|
-
addTo(value: string, index?: number): string;
|
|
2100
|
-
|
|
2101
|
-
getTxCount(): number;
|
|
2102
|
-
setTxCount(value: number): void;
|
|
2103
|
-
|
|
2104
|
-
getTxAllowance(): string;
|
|
2105
|
-
setTxAllowance(value: string): void;
|
|
2106
|
-
|
|
2107
|
-
getTotalAllowance(): string;
|
|
2108
|
-
setTotalAllowance(value: string): void;
|
|
2109
|
-
|
|
2110
|
-
getValidUntil(): number;
|
|
2111
|
-
setValidUntil(value: number): void;
|
|
2112
|
-
|
|
2113
|
-
hasRate(): boolean;
|
|
2114
|
-
clearRate(): void;
|
|
2115
|
-
getRate(): TRateLimit | undefined;
|
|
2116
|
-
setRate(value?: TRateLimit): void;
|
|
2117
|
-
|
|
2118
|
-
getTxSent(): number;
|
|
2119
|
-
setTxSent(value: number): void;
|
|
2120
|
-
|
|
2121
|
-
getSpentAllowance(): string;
|
|
2122
|
-
setSpentAllowance(value: string): void;
|
|
2123
|
-
|
|
2124
|
-
getLastTx(): number;
|
|
2125
|
-
setLastTx(value: number): void;
|
|
2126
|
-
|
|
2127
|
-
getDecimal(): number;
|
|
2128
|
-
setDecimal(value: number): void;
|
|
2129
|
-
|
|
2130
|
-
getSymbol(): string;
|
|
2131
|
-
setSymbol(value: string): void;
|
|
2132
|
-
|
|
2133
|
-
serializeBinary(): Uint8Array;
|
|
2134
|
-
toObject(includeInstance?: boolean): TTokenLimit;
|
|
2135
|
-
static toObject(includeInstance: boolean, msg: TokenLimit): TTokenLimit;
|
|
2136
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2137
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2138
|
-
static serializeBinaryToWriter(message: TokenLimit, writer: jspb.BinaryWriter): void;
|
|
2139
|
-
static deserializeBinary(bytes: Uint8Array): TokenLimit;
|
|
2140
|
-
static deserializeBinaryFromReader(message: TokenLimit, reader: jspb.BinaryReader): TokenLimit;
|
|
2141
|
-
}
|
|
2142
|
-
|
|
2143
448
|
export type TTokenLimit = {
|
|
2144
449
|
address: string,
|
|
2145
450
|
to: Array<string>,
|
|
@@ -2155,44 +460,6 @@ export type TTokenLimit = {
|
|
|
2155
460
|
symbol: string,
|
|
2156
461
|
}
|
|
2157
462
|
|
|
2158
|
-
export class AssetLimit extends jspb.Message {
|
|
2159
|
-
clearAddressList(): void;
|
|
2160
|
-
getAddressList(): Array<string>;
|
|
2161
|
-
setAddressList(value: Array<string>): void;
|
|
2162
|
-
addAddress(value: string, index?: number): string;
|
|
2163
|
-
|
|
2164
|
-
clearToList(): void;
|
|
2165
|
-
getToList(): Array<string>;
|
|
2166
|
-
setToList(value: Array<string>): void;
|
|
2167
|
-
addTo(value: string, index?: number): string;
|
|
2168
|
-
|
|
2169
|
-
getTxCount(): number;
|
|
2170
|
-
setTxCount(value: number): void;
|
|
2171
|
-
|
|
2172
|
-
getValidUntil(): number;
|
|
2173
|
-
setValidUntil(value: number): void;
|
|
2174
|
-
|
|
2175
|
-
hasRate(): boolean;
|
|
2176
|
-
clearRate(): void;
|
|
2177
|
-
getRate(): TRateLimit | undefined;
|
|
2178
|
-
setRate(value?: TRateLimit): void;
|
|
2179
|
-
|
|
2180
|
-
getTxSent(): number;
|
|
2181
|
-
setTxSent(value: number): void;
|
|
2182
|
-
|
|
2183
|
-
getLastTx(): number;
|
|
2184
|
-
setLastTx(value: number): void;
|
|
2185
|
-
|
|
2186
|
-
serializeBinary(): Uint8Array;
|
|
2187
|
-
toObject(includeInstance?: boolean): TAssetLimit;
|
|
2188
|
-
static toObject(includeInstance: boolean, msg: AssetLimit): TAssetLimit;
|
|
2189
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2190
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2191
|
-
static serializeBinaryToWriter(message: AssetLimit, writer: jspb.BinaryWriter): void;
|
|
2192
|
-
static deserializeBinary(bytes: Uint8Array): AssetLimit;
|
|
2193
|
-
static deserializeBinaryFromReader(message: AssetLimit, reader: jspb.BinaryReader): AssetLimit;
|
|
2194
|
-
}
|
|
2195
|
-
|
|
2196
463
|
export type TAssetLimit = {
|
|
2197
464
|
address: Array<string>,
|
|
2198
465
|
to: Array<string>,
|
|
@@ -2203,58 +470,11 @@ export type TAssetLimit = {
|
|
|
2203
470
|
lastTx: number,
|
|
2204
471
|
}
|
|
2205
472
|
|
|
2206
|
-
export class DelegateLimit extends jspb.Message {
|
|
2207
|
-
clearTokensList(): void;
|
|
2208
|
-
getTokensList(): Array<TTokenLimit>;
|
|
2209
|
-
setTokensList(value: Array<TTokenLimit>): void;
|
|
2210
|
-
addTokens(value?: TokenLimit, index?: number): TokenLimit;
|
|
2211
|
-
|
|
2212
|
-
clearAssetsList(): void;
|
|
2213
|
-
getAssetsList(): Array<TAssetLimit>;
|
|
2214
|
-
setAssetsList(value: Array<TAssetLimit>): void;
|
|
2215
|
-
addAssets(value?: AssetLimit, index?: number): AssetLimit;
|
|
2216
|
-
|
|
2217
|
-
serializeBinary(): Uint8Array;
|
|
2218
|
-
toObject(includeInstance?: boolean): TDelegateLimit;
|
|
2219
|
-
static toObject(includeInstance: boolean, msg: DelegateLimit): TDelegateLimit;
|
|
2220
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2221
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2222
|
-
static serializeBinaryToWriter(message: DelegateLimit, writer: jspb.BinaryWriter): void;
|
|
2223
|
-
static deserializeBinary(bytes: Uint8Array): DelegateLimit;
|
|
2224
|
-
static deserializeBinaryFromReader(message: DelegateLimit, reader: jspb.BinaryReader): DelegateLimit;
|
|
2225
|
-
}
|
|
2226
|
-
|
|
2227
473
|
export type TDelegateLimit = {
|
|
2228
474
|
tokens: Array<TTokenLimit>,
|
|
2229
475
|
assets: Array<TAssetLimit>,
|
|
2230
476
|
}
|
|
2231
477
|
|
|
2232
|
-
export class CurveConfig extends jspb.Message {
|
|
2233
|
-
getType(): string;
|
|
2234
|
-
setType(value: string): void;
|
|
2235
|
-
|
|
2236
|
-
getBasePrice(): string;
|
|
2237
|
-
setBasePrice(value: string): void;
|
|
2238
|
-
|
|
2239
|
-
getSlope(): string;
|
|
2240
|
-
setSlope(value: string): void;
|
|
2241
|
-
|
|
2242
|
-
getFixedPrice(): string;
|
|
2243
|
-
setFixedPrice(value: string): void;
|
|
2244
|
-
|
|
2245
|
-
getConstant(): number;
|
|
2246
|
-
setConstant(value: number): void;
|
|
2247
|
-
|
|
2248
|
-
serializeBinary(): Uint8Array;
|
|
2249
|
-
toObject(includeInstance?: boolean): TCurveConfig;
|
|
2250
|
-
static toObject(includeInstance: boolean, msg: CurveConfig): TCurveConfig;
|
|
2251
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2252
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2253
|
-
static serializeBinaryToWriter(message: CurveConfig, writer: jspb.BinaryWriter): void;
|
|
2254
|
-
static deserializeBinary(bytes: Uint8Array): CurveConfig;
|
|
2255
|
-
static deserializeBinaryFromReader(message: CurveConfig, reader: jspb.BinaryReader): CurveConfig;
|
|
2256
|
-
}
|
|
2257
|
-
|
|
2258
478
|
export type TCurveConfig = {
|
|
2259
479
|
type: string,
|
|
2260
480
|
basePrice: string,
|
|
@@ -2262,4 +482,3 @@ export type TCurveConfig = {
|
|
|
2262
482
|
fixedPrice: string,
|
|
2263
483
|
constant: number,
|
|
2264
484
|
}
|
|
2265
|
-
|