@dashevo/dapi-grpc 0.25.22 → 1.0.0-beta.2
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/Cargo.toml +35 -16
- package/build.rs +139 -56
- package/clients/core/v0/nodejs/CorePromiseClient.js +124 -13
- package/clients/core/v0/nodejs/core_pbjs.js +1922 -987
- package/clients/core/v0/nodejs/core_protoc.js +1291 -645
- package/clients/core/v0/rust/core_example.rs +1 -1
- package/clients/core/v0/web/CorePromiseClient.js +49 -5
- package/clients/core/v0/web/core_pb.d.ts +173 -89
- package/clients/core/v0/web/core_pb.js +1291 -645
- package/clients/core/v0/web/core_pb_service.d.ts +59 -10
- package/clients/core/v0/web/core_pb_service.js +134 -6
- package/clients/platform/v0/nodejs/PlatformPromiseClient.js +208 -14
- package/clients/platform/v0/nodejs/platform_pbjs.js +22951 -9938
- package/clients/platform/v0/nodejs/platform_protoc.js +22332 -9091
- package/clients/platform/v0/rust/platform_example.rs +1 -1
- package/clients/platform/v0/web/PlatformPromiseClient.js +64 -8
- package/clients/platform/v0/web/platform_pb.d.ts +2057 -302
- package/clients/platform/v0/web/platform_pb.js +22332 -9091
- package/clients/platform/v0/web/platform_pb_service.d.ts +187 -35
- package/clients/platform/v0/web/platform_pb_service.js +355 -35
- package/package.json +2 -2
- package/protos/core/v0/core.proto +45 -23
- package/protos/platform/v0/platform.proto +429 -50
- package/src/lib.rs +26 -2
- package/src/mock/serde_mockable.rs +105 -0
- package/src/mock.rs +130 -0
- package/test/unit/clients/core/v0/nodejs/CorePromiseClient.spec.js +27 -6
- package/test/unit/clients/platform/v0/nodejs/PlatformPromiseClient.spec.js +55 -1
- package/test/unit/getCoreDefinition.spec.js +5 -2
- package/src/core/proto/org.dash.platform.dapi.v0.rs +0 -666
- package/src/platform/proto/org.dash.platform.dapi.v0.rs +0 -2481
|
@@ -216,6 +216,120 @@ export namespace GetIdentityRequest {
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
+
export class GetIdentityNonceRequest extends jspb.Message {
|
|
220
|
+
hasV0(): boolean;
|
|
221
|
+
clearV0(): void;
|
|
222
|
+
getV0(): GetIdentityNonceRequest.GetIdentityNonceRequestV0 | undefined;
|
|
223
|
+
setV0(value?: GetIdentityNonceRequest.GetIdentityNonceRequestV0): void;
|
|
224
|
+
|
|
225
|
+
getVersionCase(): GetIdentityNonceRequest.VersionCase;
|
|
226
|
+
serializeBinary(): Uint8Array;
|
|
227
|
+
toObject(includeInstance?: boolean): GetIdentityNonceRequest.AsObject;
|
|
228
|
+
static toObject(includeInstance: boolean, msg: GetIdentityNonceRequest): GetIdentityNonceRequest.AsObject;
|
|
229
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
230
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
231
|
+
static serializeBinaryToWriter(message: GetIdentityNonceRequest, writer: jspb.BinaryWriter): void;
|
|
232
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentityNonceRequest;
|
|
233
|
+
static deserializeBinaryFromReader(message: GetIdentityNonceRequest, reader: jspb.BinaryReader): GetIdentityNonceRequest;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export namespace GetIdentityNonceRequest {
|
|
237
|
+
export type AsObject = {
|
|
238
|
+
v0?: GetIdentityNonceRequest.GetIdentityNonceRequestV0.AsObject,
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export class GetIdentityNonceRequestV0 extends jspb.Message {
|
|
242
|
+
getIdentityId(): Uint8Array | string;
|
|
243
|
+
getIdentityId_asU8(): Uint8Array;
|
|
244
|
+
getIdentityId_asB64(): string;
|
|
245
|
+
setIdentityId(value: Uint8Array | string): void;
|
|
246
|
+
|
|
247
|
+
getProve(): boolean;
|
|
248
|
+
setProve(value: boolean): void;
|
|
249
|
+
|
|
250
|
+
serializeBinary(): Uint8Array;
|
|
251
|
+
toObject(includeInstance?: boolean): GetIdentityNonceRequestV0.AsObject;
|
|
252
|
+
static toObject(includeInstance: boolean, msg: GetIdentityNonceRequestV0): GetIdentityNonceRequestV0.AsObject;
|
|
253
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
254
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
255
|
+
static serializeBinaryToWriter(message: GetIdentityNonceRequestV0, writer: jspb.BinaryWriter): void;
|
|
256
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentityNonceRequestV0;
|
|
257
|
+
static deserializeBinaryFromReader(message: GetIdentityNonceRequestV0, reader: jspb.BinaryReader): GetIdentityNonceRequestV0;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export namespace GetIdentityNonceRequestV0 {
|
|
261
|
+
export type AsObject = {
|
|
262
|
+
identityId: Uint8Array | string,
|
|
263
|
+
prove: boolean,
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export enum VersionCase {
|
|
268
|
+
VERSION_NOT_SET = 0,
|
|
269
|
+
V0 = 1,
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export class GetIdentityContractNonceRequest extends jspb.Message {
|
|
274
|
+
hasV0(): boolean;
|
|
275
|
+
clearV0(): void;
|
|
276
|
+
getV0(): GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0 | undefined;
|
|
277
|
+
setV0(value?: GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0): void;
|
|
278
|
+
|
|
279
|
+
getVersionCase(): GetIdentityContractNonceRequest.VersionCase;
|
|
280
|
+
serializeBinary(): Uint8Array;
|
|
281
|
+
toObject(includeInstance?: boolean): GetIdentityContractNonceRequest.AsObject;
|
|
282
|
+
static toObject(includeInstance: boolean, msg: GetIdentityContractNonceRequest): GetIdentityContractNonceRequest.AsObject;
|
|
283
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
284
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
285
|
+
static serializeBinaryToWriter(message: GetIdentityContractNonceRequest, writer: jspb.BinaryWriter): void;
|
|
286
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentityContractNonceRequest;
|
|
287
|
+
static deserializeBinaryFromReader(message: GetIdentityContractNonceRequest, reader: jspb.BinaryReader): GetIdentityContractNonceRequest;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export namespace GetIdentityContractNonceRequest {
|
|
291
|
+
export type AsObject = {
|
|
292
|
+
v0?: GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.AsObject,
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export class GetIdentityContractNonceRequestV0 extends jspb.Message {
|
|
296
|
+
getIdentityId(): Uint8Array | string;
|
|
297
|
+
getIdentityId_asU8(): Uint8Array;
|
|
298
|
+
getIdentityId_asB64(): string;
|
|
299
|
+
setIdentityId(value: Uint8Array | string): void;
|
|
300
|
+
|
|
301
|
+
getContractId(): Uint8Array | string;
|
|
302
|
+
getContractId_asU8(): Uint8Array;
|
|
303
|
+
getContractId_asB64(): string;
|
|
304
|
+
setContractId(value: Uint8Array | string): void;
|
|
305
|
+
|
|
306
|
+
getProve(): boolean;
|
|
307
|
+
setProve(value: boolean): void;
|
|
308
|
+
|
|
309
|
+
serializeBinary(): Uint8Array;
|
|
310
|
+
toObject(includeInstance?: boolean): GetIdentityContractNonceRequestV0.AsObject;
|
|
311
|
+
static toObject(includeInstance: boolean, msg: GetIdentityContractNonceRequestV0): GetIdentityContractNonceRequestV0.AsObject;
|
|
312
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
313
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
314
|
+
static serializeBinaryToWriter(message: GetIdentityContractNonceRequestV0, writer: jspb.BinaryWriter): void;
|
|
315
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentityContractNonceRequestV0;
|
|
316
|
+
static deserializeBinaryFromReader(message: GetIdentityContractNonceRequestV0, reader: jspb.BinaryReader): GetIdentityContractNonceRequestV0;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export namespace GetIdentityContractNonceRequestV0 {
|
|
320
|
+
export type AsObject = {
|
|
321
|
+
identityId: Uint8Array | string,
|
|
322
|
+
contractId: Uint8Array | string,
|
|
323
|
+
prove: boolean,
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export enum VersionCase {
|
|
328
|
+
VERSION_NOT_SET = 0,
|
|
329
|
+
V0 = 1,
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
219
333
|
export class GetIdentityBalanceRequest extends jspb.Message {
|
|
220
334
|
hasV0(): boolean;
|
|
221
335
|
clearV0(): void;
|
|
@@ -395,53 +509,66 @@ export namespace GetIdentityResponse {
|
|
|
395
509
|
}
|
|
396
510
|
}
|
|
397
511
|
|
|
398
|
-
export class
|
|
512
|
+
export class GetIdentityNonceResponse extends jspb.Message {
|
|
399
513
|
hasV0(): boolean;
|
|
400
514
|
clearV0(): void;
|
|
401
|
-
getV0():
|
|
402
|
-
setV0(value?:
|
|
515
|
+
getV0(): GetIdentityNonceResponse.GetIdentityNonceResponseV0 | undefined;
|
|
516
|
+
setV0(value?: GetIdentityNonceResponse.GetIdentityNonceResponseV0): void;
|
|
403
517
|
|
|
404
|
-
getVersionCase():
|
|
518
|
+
getVersionCase(): GetIdentityNonceResponse.VersionCase;
|
|
405
519
|
serializeBinary(): Uint8Array;
|
|
406
|
-
toObject(includeInstance?: boolean):
|
|
407
|
-
static toObject(includeInstance: boolean, msg:
|
|
520
|
+
toObject(includeInstance?: boolean): GetIdentityNonceResponse.AsObject;
|
|
521
|
+
static toObject(includeInstance: boolean, msg: GetIdentityNonceResponse): GetIdentityNonceResponse.AsObject;
|
|
408
522
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
409
523
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
410
|
-
static serializeBinaryToWriter(message:
|
|
411
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
412
|
-
static deserializeBinaryFromReader(message:
|
|
524
|
+
static serializeBinaryToWriter(message: GetIdentityNonceResponse, writer: jspb.BinaryWriter): void;
|
|
525
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentityNonceResponse;
|
|
526
|
+
static deserializeBinaryFromReader(message: GetIdentityNonceResponse, reader: jspb.BinaryReader): GetIdentityNonceResponse;
|
|
413
527
|
}
|
|
414
528
|
|
|
415
|
-
export namespace
|
|
529
|
+
export namespace GetIdentityNonceResponse {
|
|
416
530
|
export type AsObject = {
|
|
417
|
-
v0?:
|
|
531
|
+
v0?: GetIdentityNonceResponse.GetIdentityNonceResponseV0.AsObject,
|
|
418
532
|
}
|
|
419
533
|
|
|
420
|
-
export class
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
setIdsList(value: Array<Uint8Array | string>): void;
|
|
426
|
-
addIds(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
534
|
+
export class GetIdentityNonceResponseV0 extends jspb.Message {
|
|
535
|
+
hasIdentityNonce(): boolean;
|
|
536
|
+
clearIdentityNonce(): void;
|
|
537
|
+
getIdentityNonce(): number;
|
|
538
|
+
setIdentityNonce(value: number): void;
|
|
427
539
|
|
|
428
|
-
|
|
429
|
-
|
|
540
|
+
hasProof(): boolean;
|
|
541
|
+
clearProof(): void;
|
|
542
|
+
getProof(): Proof | undefined;
|
|
543
|
+
setProof(value?: Proof): void;
|
|
544
|
+
|
|
545
|
+
hasMetadata(): boolean;
|
|
546
|
+
clearMetadata(): void;
|
|
547
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
548
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
430
549
|
|
|
550
|
+
getResultCase(): GetIdentityNonceResponseV0.ResultCase;
|
|
431
551
|
serializeBinary(): Uint8Array;
|
|
432
|
-
toObject(includeInstance?: boolean):
|
|
433
|
-
static toObject(includeInstance: boolean, msg:
|
|
552
|
+
toObject(includeInstance?: boolean): GetIdentityNonceResponseV0.AsObject;
|
|
553
|
+
static toObject(includeInstance: boolean, msg: GetIdentityNonceResponseV0): GetIdentityNonceResponseV0.AsObject;
|
|
434
554
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
435
555
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
436
|
-
static serializeBinaryToWriter(message:
|
|
437
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
438
|
-
static deserializeBinaryFromReader(message:
|
|
556
|
+
static serializeBinaryToWriter(message: GetIdentityNonceResponseV0, writer: jspb.BinaryWriter): void;
|
|
557
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentityNonceResponseV0;
|
|
558
|
+
static deserializeBinaryFromReader(message: GetIdentityNonceResponseV0, reader: jspb.BinaryReader): GetIdentityNonceResponseV0;
|
|
439
559
|
}
|
|
440
560
|
|
|
441
|
-
export namespace
|
|
561
|
+
export namespace GetIdentityNonceResponseV0 {
|
|
442
562
|
export type AsObject = {
|
|
443
|
-
|
|
444
|
-
|
|
563
|
+
identityNonce: number,
|
|
564
|
+
proof?: Proof.AsObject,
|
|
565
|
+
metadata?: ResponseMetadata.AsObject,
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export enum ResultCase {
|
|
569
|
+
RESULT_NOT_SET = 0,
|
|
570
|
+
IDENTITY_NONCE = 1,
|
|
571
|
+
PROOF = 2,
|
|
445
572
|
}
|
|
446
573
|
}
|
|
447
574
|
|
|
@@ -451,105 +578,33 @@ export namespace GetIdentitiesRequest {
|
|
|
451
578
|
}
|
|
452
579
|
}
|
|
453
580
|
|
|
454
|
-
export class
|
|
581
|
+
export class GetIdentityContractNonceResponse extends jspb.Message {
|
|
455
582
|
hasV0(): boolean;
|
|
456
583
|
clearV0(): void;
|
|
457
|
-
getV0():
|
|
458
|
-
setV0(value?:
|
|
584
|
+
getV0(): GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0 | undefined;
|
|
585
|
+
setV0(value?: GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0): void;
|
|
459
586
|
|
|
460
|
-
getVersionCase():
|
|
587
|
+
getVersionCase(): GetIdentityContractNonceResponse.VersionCase;
|
|
461
588
|
serializeBinary(): Uint8Array;
|
|
462
|
-
toObject(includeInstance?: boolean):
|
|
463
|
-
static toObject(includeInstance: boolean, msg:
|
|
589
|
+
toObject(includeInstance?: boolean): GetIdentityContractNonceResponse.AsObject;
|
|
590
|
+
static toObject(includeInstance: boolean, msg: GetIdentityContractNonceResponse): GetIdentityContractNonceResponse.AsObject;
|
|
464
591
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
465
592
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
466
|
-
static serializeBinaryToWriter(message:
|
|
467
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
468
|
-
static deserializeBinaryFromReader(message:
|
|
593
|
+
static serializeBinaryToWriter(message: GetIdentityContractNonceResponse, writer: jspb.BinaryWriter): void;
|
|
594
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentityContractNonceResponse;
|
|
595
|
+
static deserializeBinaryFromReader(message: GetIdentityContractNonceResponse, reader: jspb.BinaryReader): GetIdentityContractNonceResponse;
|
|
469
596
|
}
|
|
470
597
|
|
|
471
|
-
export namespace
|
|
598
|
+
export namespace GetIdentityContractNonceResponse {
|
|
472
599
|
export type AsObject = {
|
|
473
|
-
v0?:
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
export class IdentityValue extends jspb.Message {
|
|
477
|
-
getValue(): Uint8Array | string;
|
|
478
|
-
getValue_asU8(): Uint8Array;
|
|
479
|
-
getValue_asB64(): string;
|
|
480
|
-
setValue(value: Uint8Array | string): void;
|
|
481
|
-
|
|
482
|
-
serializeBinary(): Uint8Array;
|
|
483
|
-
toObject(includeInstance?: boolean): IdentityValue.AsObject;
|
|
484
|
-
static toObject(includeInstance: boolean, msg: IdentityValue): IdentityValue.AsObject;
|
|
485
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
486
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
487
|
-
static serializeBinaryToWriter(message: IdentityValue, writer: jspb.BinaryWriter): void;
|
|
488
|
-
static deserializeBinary(bytes: Uint8Array): IdentityValue;
|
|
489
|
-
static deserializeBinaryFromReader(message: IdentityValue, reader: jspb.BinaryReader): IdentityValue;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
export namespace IdentityValue {
|
|
493
|
-
export type AsObject = {
|
|
494
|
-
value: Uint8Array | string,
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
export class IdentityEntry extends jspb.Message {
|
|
499
|
-
getKey(): Uint8Array | string;
|
|
500
|
-
getKey_asU8(): Uint8Array;
|
|
501
|
-
getKey_asB64(): string;
|
|
502
|
-
setKey(value: Uint8Array | string): void;
|
|
503
|
-
|
|
504
|
-
hasValue(): boolean;
|
|
505
|
-
clearValue(): void;
|
|
506
|
-
getValue(): GetIdentitiesResponse.IdentityValue | undefined;
|
|
507
|
-
setValue(value?: GetIdentitiesResponse.IdentityValue): void;
|
|
508
|
-
|
|
509
|
-
serializeBinary(): Uint8Array;
|
|
510
|
-
toObject(includeInstance?: boolean): IdentityEntry.AsObject;
|
|
511
|
-
static toObject(includeInstance: boolean, msg: IdentityEntry): IdentityEntry.AsObject;
|
|
512
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
513
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
514
|
-
static serializeBinaryToWriter(message: IdentityEntry, writer: jspb.BinaryWriter): void;
|
|
515
|
-
static deserializeBinary(bytes: Uint8Array): IdentityEntry;
|
|
516
|
-
static deserializeBinaryFromReader(message: IdentityEntry, reader: jspb.BinaryReader): IdentityEntry;
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
export namespace IdentityEntry {
|
|
520
|
-
export type AsObject = {
|
|
521
|
-
key: Uint8Array | string,
|
|
522
|
-
value?: GetIdentitiesResponse.IdentityValue.AsObject,
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
export class Identities extends jspb.Message {
|
|
527
|
-
clearIdentityEntriesList(): void;
|
|
528
|
-
getIdentityEntriesList(): Array<GetIdentitiesResponse.IdentityEntry>;
|
|
529
|
-
setIdentityEntriesList(value: Array<GetIdentitiesResponse.IdentityEntry>): void;
|
|
530
|
-
addIdentityEntries(value?: GetIdentitiesResponse.IdentityEntry, index?: number): GetIdentitiesResponse.IdentityEntry;
|
|
531
|
-
|
|
532
|
-
serializeBinary(): Uint8Array;
|
|
533
|
-
toObject(includeInstance?: boolean): Identities.AsObject;
|
|
534
|
-
static toObject(includeInstance: boolean, msg: Identities): Identities.AsObject;
|
|
535
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
536
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
537
|
-
static serializeBinaryToWriter(message: Identities, writer: jspb.BinaryWriter): void;
|
|
538
|
-
static deserializeBinary(bytes: Uint8Array): Identities;
|
|
539
|
-
static deserializeBinaryFromReader(message: Identities, reader: jspb.BinaryReader): Identities;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
export namespace Identities {
|
|
543
|
-
export type AsObject = {
|
|
544
|
-
identityEntriesList: Array<GetIdentitiesResponse.IdentityEntry.AsObject>,
|
|
545
|
-
}
|
|
600
|
+
v0?: GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.AsObject,
|
|
546
601
|
}
|
|
547
602
|
|
|
548
|
-
export class
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
603
|
+
export class GetIdentityContractNonceResponseV0 extends jspb.Message {
|
|
604
|
+
hasIdentityContractNonce(): boolean;
|
|
605
|
+
clearIdentityContractNonce(): void;
|
|
606
|
+
getIdentityContractNonce(): number;
|
|
607
|
+
setIdentityContractNonce(value: number): void;
|
|
553
608
|
|
|
554
609
|
hasProof(): boolean;
|
|
555
610
|
clearProof(): void;
|
|
@@ -561,27 +616,27 @@ export namespace GetIdentitiesResponse {
|
|
|
561
616
|
getMetadata(): ResponseMetadata | undefined;
|
|
562
617
|
setMetadata(value?: ResponseMetadata): void;
|
|
563
618
|
|
|
564
|
-
getResultCase():
|
|
619
|
+
getResultCase(): GetIdentityContractNonceResponseV0.ResultCase;
|
|
565
620
|
serializeBinary(): Uint8Array;
|
|
566
|
-
toObject(includeInstance?: boolean):
|
|
567
|
-
static toObject(includeInstance: boolean, msg:
|
|
621
|
+
toObject(includeInstance?: boolean): GetIdentityContractNonceResponseV0.AsObject;
|
|
622
|
+
static toObject(includeInstance: boolean, msg: GetIdentityContractNonceResponseV0): GetIdentityContractNonceResponseV0.AsObject;
|
|
568
623
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
569
624
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
570
|
-
static serializeBinaryToWriter(message:
|
|
571
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
572
|
-
static deserializeBinaryFromReader(message:
|
|
625
|
+
static serializeBinaryToWriter(message: GetIdentityContractNonceResponseV0, writer: jspb.BinaryWriter): void;
|
|
626
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentityContractNonceResponseV0;
|
|
627
|
+
static deserializeBinaryFromReader(message: GetIdentityContractNonceResponseV0, reader: jspb.BinaryReader): GetIdentityContractNonceResponseV0;
|
|
573
628
|
}
|
|
574
629
|
|
|
575
|
-
export namespace
|
|
630
|
+
export namespace GetIdentityContractNonceResponseV0 {
|
|
576
631
|
export type AsObject = {
|
|
577
|
-
|
|
632
|
+
identityContractNonce: number,
|
|
578
633
|
proof?: Proof.AsObject,
|
|
579
634
|
metadata?: ResponseMetadata.AsObject,
|
|
580
635
|
}
|
|
581
636
|
|
|
582
637
|
export enum ResultCase {
|
|
583
638
|
RESULT_NOT_SET = 0,
|
|
584
|
-
|
|
639
|
+
IDENTITY_CONTRACT_NONCE = 1,
|
|
585
640
|
PROOF = 2,
|
|
586
641
|
}
|
|
587
642
|
}
|
|
@@ -1044,6 +1099,227 @@ export namespace GetIdentityKeysResponse {
|
|
|
1044
1099
|
}
|
|
1045
1100
|
}
|
|
1046
1101
|
|
|
1102
|
+
export class GetIdentitiesContractKeysRequest extends jspb.Message {
|
|
1103
|
+
hasV0(): boolean;
|
|
1104
|
+
clearV0(): void;
|
|
1105
|
+
getV0(): GetIdentitiesContractKeysRequest.GetIdentitiesContractKeysRequestV0 | undefined;
|
|
1106
|
+
setV0(value?: GetIdentitiesContractKeysRequest.GetIdentitiesContractKeysRequestV0): void;
|
|
1107
|
+
|
|
1108
|
+
getVersionCase(): GetIdentitiesContractKeysRequest.VersionCase;
|
|
1109
|
+
serializeBinary(): Uint8Array;
|
|
1110
|
+
toObject(includeInstance?: boolean): GetIdentitiesContractKeysRequest.AsObject;
|
|
1111
|
+
static toObject(includeInstance: boolean, msg: GetIdentitiesContractKeysRequest): GetIdentitiesContractKeysRequest.AsObject;
|
|
1112
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1113
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1114
|
+
static serializeBinaryToWriter(message: GetIdentitiesContractKeysRequest, writer: jspb.BinaryWriter): void;
|
|
1115
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentitiesContractKeysRequest;
|
|
1116
|
+
static deserializeBinaryFromReader(message: GetIdentitiesContractKeysRequest, reader: jspb.BinaryReader): GetIdentitiesContractKeysRequest;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
export namespace GetIdentitiesContractKeysRequest {
|
|
1120
|
+
export type AsObject = {
|
|
1121
|
+
v0?: GetIdentitiesContractKeysRequest.GetIdentitiesContractKeysRequestV0.AsObject,
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
export class GetIdentitiesContractKeysRequestV0 extends jspb.Message {
|
|
1125
|
+
clearIdentitiesIdsList(): void;
|
|
1126
|
+
getIdentitiesIdsList(): Array<Uint8Array | string>;
|
|
1127
|
+
getIdentitiesIdsList_asU8(): Array<Uint8Array>;
|
|
1128
|
+
getIdentitiesIdsList_asB64(): Array<string>;
|
|
1129
|
+
setIdentitiesIdsList(value: Array<Uint8Array | string>): void;
|
|
1130
|
+
addIdentitiesIds(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
1131
|
+
|
|
1132
|
+
getContractId(): Uint8Array | string;
|
|
1133
|
+
getContractId_asU8(): Uint8Array;
|
|
1134
|
+
getContractId_asB64(): string;
|
|
1135
|
+
setContractId(value: Uint8Array | string): void;
|
|
1136
|
+
|
|
1137
|
+
hasDocumentTypeName(): boolean;
|
|
1138
|
+
clearDocumentTypeName(): void;
|
|
1139
|
+
getDocumentTypeName(): string;
|
|
1140
|
+
setDocumentTypeName(value: string): void;
|
|
1141
|
+
|
|
1142
|
+
clearPurposesList(): void;
|
|
1143
|
+
getPurposesList(): Array<KeyPurposeMap[keyof KeyPurposeMap]>;
|
|
1144
|
+
setPurposesList(value: Array<KeyPurposeMap[keyof KeyPurposeMap]>): void;
|
|
1145
|
+
addPurposes(value: KeyPurposeMap[keyof KeyPurposeMap], index?: number): KeyPurposeMap[keyof KeyPurposeMap];
|
|
1146
|
+
|
|
1147
|
+
getProve(): boolean;
|
|
1148
|
+
setProve(value: boolean): void;
|
|
1149
|
+
|
|
1150
|
+
serializeBinary(): Uint8Array;
|
|
1151
|
+
toObject(includeInstance?: boolean): GetIdentitiesContractKeysRequestV0.AsObject;
|
|
1152
|
+
static toObject(includeInstance: boolean, msg: GetIdentitiesContractKeysRequestV0): GetIdentitiesContractKeysRequestV0.AsObject;
|
|
1153
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1154
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1155
|
+
static serializeBinaryToWriter(message: GetIdentitiesContractKeysRequestV0, writer: jspb.BinaryWriter): void;
|
|
1156
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentitiesContractKeysRequestV0;
|
|
1157
|
+
static deserializeBinaryFromReader(message: GetIdentitiesContractKeysRequestV0, reader: jspb.BinaryReader): GetIdentitiesContractKeysRequestV0;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
export namespace GetIdentitiesContractKeysRequestV0 {
|
|
1161
|
+
export type AsObject = {
|
|
1162
|
+
identitiesIdsList: Array<Uint8Array | string>,
|
|
1163
|
+
contractId: Uint8Array | string,
|
|
1164
|
+
documentTypeName: string,
|
|
1165
|
+
purposesList: Array<KeyPurposeMap[keyof KeyPurposeMap]>,
|
|
1166
|
+
prove: boolean,
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
export enum VersionCase {
|
|
1171
|
+
VERSION_NOT_SET = 0,
|
|
1172
|
+
V0 = 1,
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
export class GetIdentitiesContractKeysResponse extends jspb.Message {
|
|
1177
|
+
hasV0(): boolean;
|
|
1178
|
+
clearV0(): void;
|
|
1179
|
+
getV0(): GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0 | undefined;
|
|
1180
|
+
setV0(value?: GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0): void;
|
|
1181
|
+
|
|
1182
|
+
getVersionCase(): GetIdentitiesContractKeysResponse.VersionCase;
|
|
1183
|
+
serializeBinary(): Uint8Array;
|
|
1184
|
+
toObject(includeInstance?: boolean): GetIdentitiesContractKeysResponse.AsObject;
|
|
1185
|
+
static toObject(includeInstance: boolean, msg: GetIdentitiesContractKeysResponse): GetIdentitiesContractKeysResponse.AsObject;
|
|
1186
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1187
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1188
|
+
static serializeBinaryToWriter(message: GetIdentitiesContractKeysResponse, writer: jspb.BinaryWriter): void;
|
|
1189
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentitiesContractKeysResponse;
|
|
1190
|
+
static deserializeBinaryFromReader(message: GetIdentitiesContractKeysResponse, reader: jspb.BinaryReader): GetIdentitiesContractKeysResponse;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
export namespace GetIdentitiesContractKeysResponse {
|
|
1194
|
+
export type AsObject = {
|
|
1195
|
+
v0?: GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.AsObject,
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
export class GetIdentitiesContractKeysResponseV0 extends jspb.Message {
|
|
1199
|
+
hasIdentitiesKeys(): boolean;
|
|
1200
|
+
clearIdentitiesKeys(): void;
|
|
1201
|
+
getIdentitiesKeys(): GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentitiesKeys | undefined;
|
|
1202
|
+
setIdentitiesKeys(value?: GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentitiesKeys): void;
|
|
1203
|
+
|
|
1204
|
+
hasProof(): boolean;
|
|
1205
|
+
clearProof(): void;
|
|
1206
|
+
getProof(): Proof | undefined;
|
|
1207
|
+
setProof(value?: Proof): void;
|
|
1208
|
+
|
|
1209
|
+
hasMetadata(): boolean;
|
|
1210
|
+
clearMetadata(): void;
|
|
1211
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
1212
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
1213
|
+
|
|
1214
|
+
getResultCase(): GetIdentitiesContractKeysResponseV0.ResultCase;
|
|
1215
|
+
serializeBinary(): Uint8Array;
|
|
1216
|
+
toObject(includeInstance?: boolean): GetIdentitiesContractKeysResponseV0.AsObject;
|
|
1217
|
+
static toObject(includeInstance: boolean, msg: GetIdentitiesContractKeysResponseV0): GetIdentitiesContractKeysResponseV0.AsObject;
|
|
1218
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1219
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1220
|
+
static serializeBinaryToWriter(message: GetIdentitiesContractKeysResponseV0, writer: jspb.BinaryWriter): void;
|
|
1221
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentitiesContractKeysResponseV0;
|
|
1222
|
+
static deserializeBinaryFromReader(message: GetIdentitiesContractKeysResponseV0, reader: jspb.BinaryReader): GetIdentitiesContractKeysResponseV0;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
export namespace GetIdentitiesContractKeysResponseV0 {
|
|
1226
|
+
export type AsObject = {
|
|
1227
|
+
identitiesKeys?: GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentitiesKeys.AsObject,
|
|
1228
|
+
proof?: Proof.AsObject,
|
|
1229
|
+
metadata?: ResponseMetadata.AsObject,
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
export class PurposeKeys extends jspb.Message {
|
|
1233
|
+
getPurpose(): KeyPurposeMap[keyof KeyPurposeMap];
|
|
1234
|
+
setPurpose(value: KeyPurposeMap[keyof KeyPurposeMap]): void;
|
|
1235
|
+
|
|
1236
|
+
clearKeysBytesList(): void;
|
|
1237
|
+
getKeysBytesList(): Array<Uint8Array | string>;
|
|
1238
|
+
getKeysBytesList_asU8(): Array<Uint8Array>;
|
|
1239
|
+
getKeysBytesList_asB64(): Array<string>;
|
|
1240
|
+
setKeysBytesList(value: Array<Uint8Array | string>): void;
|
|
1241
|
+
addKeysBytes(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
1242
|
+
|
|
1243
|
+
serializeBinary(): Uint8Array;
|
|
1244
|
+
toObject(includeInstance?: boolean): PurposeKeys.AsObject;
|
|
1245
|
+
static toObject(includeInstance: boolean, msg: PurposeKeys): PurposeKeys.AsObject;
|
|
1246
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1247
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1248
|
+
static serializeBinaryToWriter(message: PurposeKeys, writer: jspb.BinaryWriter): void;
|
|
1249
|
+
static deserializeBinary(bytes: Uint8Array): PurposeKeys;
|
|
1250
|
+
static deserializeBinaryFromReader(message: PurposeKeys, reader: jspb.BinaryReader): PurposeKeys;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
export namespace PurposeKeys {
|
|
1254
|
+
export type AsObject = {
|
|
1255
|
+
purpose: KeyPurposeMap[keyof KeyPurposeMap],
|
|
1256
|
+
keysBytesList: Array<Uint8Array | string>,
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
export class IdentityKeys extends jspb.Message {
|
|
1261
|
+
getIdentityId(): Uint8Array | string;
|
|
1262
|
+
getIdentityId_asU8(): Uint8Array;
|
|
1263
|
+
getIdentityId_asB64(): string;
|
|
1264
|
+
setIdentityId(value: Uint8Array | string): void;
|
|
1265
|
+
|
|
1266
|
+
clearKeysList(): void;
|
|
1267
|
+
getKeysList(): Array<GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys>;
|
|
1268
|
+
setKeysList(value: Array<GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys>): void;
|
|
1269
|
+
addKeys(value?: GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys, index?: number): GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys;
|
|
1270
|
+
|
|
1271
|
+
serializeBinary(): Uint8Array;
|
|
1272
|
+
toObject(includeInstance?: boolean): IdentityKeys.AsObject;
|
|
1273
|
+
static toObject(includeInstance: boolean, msg: IdentityKeys): IdentityKeys.AsObject;
|
|
1274
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1275
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1276
|
+
static serializeBinaryToWriter(message: IdentityKeys, writer: jspb.BinaryWriter): void;
|
|
1277
|
+
static deserializeBinary(bytes: Uint8Array): IdentityKeys;
|
|
1278
|
+
static deserializeBinaryFromReader(message: IdentityKeys, reader: jspb.BinaryReader): IdentityKeys;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
export namespace IdentityKeys {
|
|
1282
|
+
export type AsObject = {
|
|
1283
|
+
identityId: Uint8Array | string,
|
|
1284
|
+
keysList: Array<GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys.AsObject>,
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
export class IdentitiesKeys extends jspb.Message {
|
|
1289
|
+
clearEntriesList(): void;
|
|
1290
|
+
getEntriesList(): Array<GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeys>;
|
|
1291
|
+
setEntriesList(value: Array<GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeys>): void;
|
|
1292
|
+
addEntries(value?: GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeys, index?: number): GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeys;
|
|
1293
|
+
|
|
1294
|
+
serializeBinary(): Uint8Array;
|
|
1295
|
+
toObject(includeInstance?: boolean): IdentitiesKeys.AsObject;
|
|
1296
|
+
static toObject(includeInstance: boolean, msg: IdentitiesKeys): IdentitiesKeys.AsObject;
|
|
1297
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1298
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1299
|
+
static serializeBinaryToWriter(message: IdentitiesKeys, writer: jspb.BinaryWriter): void;
|
|
1300
|
+
static deserializeBinary(bytes: Uint8Array): IdentitiesKeys;
|
|
1301
|
+
static deserializeBinaryFromReader(message: IdentitiesKeys, reader: jspb.BinaryReader): IdentitiesKeys;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
export namespace IdentitiesKeys {
|
|
1305
|
+
export type AsObject = {
|
|
1306
|
+
entriesList: Array<GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeys.AsObject>,
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
export enum ResultCase {
|
|
1311
|
+
RESULT_NOT_SET = 0,
|
|
1312
|
+
IDENTITIES_KEYS = 1,
|
|
1313
|
+
PROOF = 2,
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
export enum VersionCase {
|
|
1318
|
+
VERSION_NOT_SET = 0,
|
|
1319
|
+
V0 = 1,
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1047
1323
|
export class GetProofsRequest extends jspb.Message {
|
|
1048
1324
|
hasV0(): boolean;
|
|
1049
1325
|
clearV0(): void;
|
|
@@ -1082,6 +1358,11 @@ export namespace GetProofsRequest {
|
|
|
1082
1358
|
setDocumentsList(value: Array<GetProofsRequest.GetProofsRequestV0.DocumentRequest>): void;
|
|
1083
1359
|
addDocuments(value?: GetProofsRequest.GetProofsRequestV0.DocumentRequest, index?: number): GetProofsRequest.GetProofsRequestV0.DocumentRequest;
|
|
1084
1360
|
|
|
1361
|
+
clearVotesList(): void;
|
|
1362
|
+
getVotesList(): Array<GetProofsRequest.GetProofsRequestV0.VoteStatusRequest>;
|
|
1363
|
+
setVotesList(value: Array<GetProofsRequest.GetProofsRequestV0.VoteStatusRequest>): void;
|
|
1364
|
+
addVotes(value?: GetProofsRequest.GetProofsRequestV0.VoteStatusRequest, index?: number): GetProofsRequest.GetProofsRequestV0.VoteStatusRequest;
|
|
1365
|
+
|
|
1085
1366
|
serializeBinary(): Uint8Array;
|
|
1086
1367
|
toObject(includeInstance?: boolean): GetProofsRequestV0.AsObject;
|
|
1087
1368
|
static toObject(includeInstance: boolean, msg: GetProofsRequestV0): GetProofsRequestV0.AsObject;
|
|
@@ -1097,6 +1378,7 @@ export namespace GetProofsRequest {
|
|
|
1097
1378
|
identitiesList: Array<GetProofsRequest.GetProofsRequestV0.IdentityRequest.AsObject>,
|
|
1098
1379
|
contractsList: Array<GetProofsRequest.GetProofsRequestV0.ContractRequest.AsObject>,
|
|
1099
1380
|
documentsList: Array<GetProofsRequest.GetProofsRequestV0.DocumentRequest.AsObject>,
|
|
1381
|
+
votesList: Array<GetProofsRequest.GetProofsRequestV0.VoteStatusRequest.AsObject>,
|
|
1100
1382
|
}
|
|
1101
1383
|
|
|
1102
1384
|
export class DocumentRequest extends jspb.Message {
|
|
@@ -1116,6 +1398,9 @@ export namespace GetProofsRequest {
|
|
|
1116
1398
|
getDocumentId_asB64(): string;
|
|
1117
1399
|
setDocumentId(value: Uint8Array | string): void;
|
|
1118
1400
|
|
|
1401
|
+
getDocumentContestedStatus(): GetProofsRequest.GetProofsRequestV0.DocumentRequest.DocumentContestedStatusMap[keyof GetProofsRequest.GetProofsRequestV0.DocumentRequest.DocumentContestedStatusMap];
|
|
1402
|
+
setDocumentContestedStatus(value: GetProofsRequest.GetProofsRequestV0.DocumentRequest.DocumentContestedStatusMap[keyof GetProofsRequest.GetProofsRequestV0.DocumentRequest.DocumentContestedStatusMap]): void;
|
|
1403
|
+
|
|
1119
1404
|
serializeBinary(): Uint8Array;
|
|
1120
1405
|
toObject(includeInstance?: boolean): DocumentRequest.AsObject;
|
|
1121
1406
|
static toObject(includeInstance: boolean, msg: DocumentRequest): DocumentRequest.AsObject;
|
|
@@ -1132,10 +1417,19 @@ export namespace GetProofsRequest {
|
|
|
1132
1417
|
documentType: string,
|
|
1133
1418
|
documentTypeKeepsHistory: boolean,
|
|
1134
1419
|
documentId: Uint8Array | string,
|
|
1420
|
+
documentContestedStatus: GetProofsRequest.GetProofsRequestV0.DocumentRequest.DocumentContestedStatusMap[keyof GetProofsRequest.GetProofsRequestV0.DocumentRequest.DocumentContestedStatusMap],
|
|
1135
1421
|
}
|
|
1136
|
-
}
|
|
1137
1422
|
|
|
1138
|
-
|
|
1423
|
+
export interface DocumentContestedStatusMap {
|
|
1424
|
+
NOT_CONTESTED: 0;
|
|
1425
|
+
MAYBE_CONTESTED: 1;
|
|
1426
|
+
CONTESTED: 2;
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
export const DocumentContestedStatus: DocumentContestedStatusMap;
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
export class IdentityRequest extends jspb.Message {
|
|
1139
1433
|
getIdentityId(): Uint8Array | string;
|
|
1140
1434
|
getIdentityId_asU8(): Uint8Array;
|
|
1141
1435
|
getIdentityId_asB64(): string;
|
|
@@ -1164,6 +1458,7 @@ export namespace GetProofsRequest {
|
|
|
1164
1458
|
FULL_IDENTITY: 0;
|
|
1165
1459
|
BALANCE: 1;
|
|
1166
1460
|
KEYS: 2;
|
|
1461
|
+
REVISION: 3;
|
|
1167
1462
|
}
|
|
1168
1463
|
|
|
1169
1464
|
export const Type: TypeMap;
|
|
@@ -1190,6 +1485,78 @@ export namespace GetProofsRequest {
|
|
|
1190
1485
|
contractId: Uint8Array | string,
|
|
1191
1486
|
}
|
|
1192
1487
|
}
|
|
1488
|
+
|
|
1489
|
+
export class VoteStatusRequest extends jspb.Message {
|
|
1490
|
+
hasContestedResourceVoteStatusRequest(): boolean;
|
|
1491
|
+
clearContestedResourceVoteStatusRequest(): void;
|
|
1492
|
+
getContestedResourceVoteStatusRequest(): GetProofsRequest.GetProofsRequestV0.VoteStatusRequest.ContestedResourceVoteStatusRequest | undefined;
|
|
1493
|
+
setContestedResourceVoteStatusRequest(value?: GetProofsRequest.GetProofsRequestV0.VoteStatusRequest.ContestedResourceVoteStatusRequest): void;
|
|
1494
|
+
|
|
1495
|
+
getRequestTypeCase(): VoteStatusRequest.RequestTypeCase;
|
|
1496
|
+
serializeBinary(): Uint8Array;
|
|
1497
|
+
toObject(includeInstance?: boolean): VoteStatusRequest.AsObject;
|
|
1498
|
+
static toObject(includeInstance: boolean, msg: VoteStatusRequest): VoteStatusRequest.AsObject;
|
|
1499
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1500
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1501
|
+
static serializeBinaryToWriter(message: VoteStatusRequest, writer: jspb.BinaryWriter): void;
|
|
1502
|
+
static deserializeBinary(bytes: Uint8Array): VoteStatusRequest;
|
|
1503
|
+
static deserializeBinaryFromReader(message: VoteStatusRequest, reader: jspb.BinaryReader): VoteStatusRequest;
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
export namespace VoteStatusRequest {
|
|
1507
|
+
export type AsObject = {
|
|
1508
|
+
contestedResourceVoteStatusRequest?: GetProofsRequest.GetProofsRequestV0.VoteStatusRequest.ContestedResourceVoteStatusRequest.AsObject,
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
export class ContestedResourceVoteStatusRequest extends jspb.Message {
|
|
1512
|
+
getContractId(): Uint8Array | string;
|
|
1513
|
+
getContractId_asU8(): Uint8Array;
|
|
1514
|
+
getContractId_asB64(): string;
|
|
1515
|
+
setContractId(value: Uint8Array | string): void;
|
|
1516
|
+
|
|
1517
|
+
getDocumentTypeName(): string;
|
|
1518
|
+
setDocumentTypeName(value: string): void;
|
|
1519
|
+
|
|
1520
|
+
getIndexName(): string;
|
|
1521
|
+
setIndexName(value: string): void;
|
|
1522
|
+
|
|
1523
|
+
clearIndexValuesList(): void;
|
|
1524
|
+
getIndexValuesList(): Array<Uint8Array | string>;
|
|
1525
|
+
getIndexValuesList_asU8(): Array<Uint8Array>;
|
|
1526
|
+
getIndexValuesList_asB64(): Array<string>;
|
|
1527
|
+
setIndexValuesList(value: Array<Uint8Array | string>): void;
|
|
1528
|
+
addIndexValues(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
1529
|
+
|
|
1530
|
+
getVoterIdentifier(): Uint8Array | string;
|
|
1531
|
+
getVoterIdentifier_asU8(): Uint8Array;
|
|
1532
|
+
getVoterIdentifier_asB64(): string;
|
|
1533
|
+
setVoterIdentifier(value: Uint8Array | string): void;
|
|
1534
|
+
|
|
1535
|
+
serializeBinary(): Uint8Array;
|
|
1536
|
+
toObject(includeInstance?: boolean): ContestedResourceVoteStatusRequest.AsObject;
|
|
1537
|
+
static toObject(includeInstance: boolean, msg: ContestedResourceVoteStatusRequest): ContestedResourceVoteStatusRequest.AsObject;
|
|
1538
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1539
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1540
|
+
static serializeBinaryToWriter(message: ContestedResourceVoteStatusRequest, writer: jspb.BinaryWriter): void;
|
|
1541
|
+
static deserializeBinary(bytes: Uint8Array): ContestedResourceVoteStatusRequest;
|
|
1542
|
+
static deserializeBinaryFromReader(message: ContestedResourceVoteStatusRequest, reader: jspb.BinaryReader): ContestedResourceVoteStatusRequest;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
export namespace ContestedResourceVoteStatusRequest {
|
|
1546
|
+
export type AsObject = {
|
|
1547
|
+
contractId: Uint8Array | string,
|
|
1548
|
+
documentTypeName: string,
|
|
1549
|
+
indexName: string,
|
|
1550
|
+
indexValuesList: Array<Uint8Array | string>,
|
|
1551
|
+
voterIdentifier: Uint8Array | string,
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
export enum RequestTypeCase {
|
|
1556
|
+
REQUEST_TYPE_NOT_SET = 0,
|
|
1557
|
+
CONTESTED_RESOURCE_VOTE_STATUS_REQUEST = 1,
|
|
1558
|
+
}
|
|
1559
|
+
}
|
|
1193
1560
|
}
|
|
1194
1561
|
|
|
1195
1562
|
export enum VersionCase {
|
|
@@ -1937,181 +2304,6 @@ export namespace GetDocumentsResponse {
|
|
|
1937
2304
|
}
|
|
1938
2305
|
}
|
|
1939
2306
|
|
|
1940
|
-
export class GetIdentitiesByPublicKeyHashesRequest extends jspb.Message {
|
|
1941
|
-
hasV0(): boolean;
|
|
1942
|
-
clearV0(): void;
|
|
1943
|
-
getV0(): GetIdentitiesByPublicKeyHashesRequest.GetIdentitiesByPublicKeyHashesRequestV0 | undefined;
|
|
1944
|
-
setV0(value?: GetIdentitiesByPublicKeyHashesRequest.GetIdentitiesByPublicKeyHashesRequestV0): void;
|
|
1945
|
-
|
|
1946
|
-
getVersionCase(): GetIdentitiesByPublicKeyHashesRequest.VersionCase;
|
|
1947
|
-
serializeBinary(): Uint8Array;
|
|
1948
|
-
toObject(includeInstance?: boolean): GetIdentitiesByPublicKeyHashesRequest.AsObject;
|
|
1949
|
-
static toObject(includeInstance: boolean, msg: GetIdentitiesByPublicKeyHashesRequest): GetIdentitiesByPublicKeyHashesRequest.AsObject;
|
|
1950
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1951
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1952
|
-
static serializeBinaryToWriter(message: GetIdentitiesByPublicKeyHashesRequest, writer: jspb.BinaryWriter): void;
|
|
1953
|
-
static deserializeBinary(bytes: Uint8Array): GetIdentitiesByPublicKeyHashesRequest;
|
|
1954
|
-
static deserializeBinaryFromReader(message: GetIdentitiesByPublicKeyHashesRequest, reader: jspb.BinaryReader): GetIdentitiesByPublicKeyHashesRequest;
|
|
1955
|
-
}
|
|
1956
|
-
|
|
1957
|
-
export namespace GetIdentitiesByPublicKeyHashesRequest {
|
|
1958
|
-
export type AsObject = {
|
|
1959
|
-
v0?: GetIdentitiesByPublicKeyHashesRequest.GetIdentitiesByPublicKeyHashesRequestV0.AsObject,
|
|
1960
|
-
}
|
|
1961
|
-
|
|
1962
|
-
export class GetIdentitiesByPublicKeyHashesRequestV0 extends jspb.Message {
|
|
1963
|
-
clearPublicKeyHashesList(): void;
|
|
1964
|
-
getPublicKeyHashesList(): Array<Uint8Array | string>;
|
|
1965
|
-
getPublicKeyHashesList_asU8(): Array<Uint8Array>;
|
|
1966
|
-
getPublicKeyHashesList_asB64(): Array<string>;
|
|
1967
|
-
setPublicKeyHashesList(value: Array<Uint8Array | string>): void;
|
|
1968
|
-
addPublicKeyHashes(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
1969
|
-
|
|
1970
|
-
getProve(): boolean;
|
|
1971
|
-
setProve(value: boolean): void;
|
|
1972
|
-
|
|
1973
|
-
serializeBinary(): Uint8Array;
|
|
1974
|
-
toObject(includeInstance?: boolean): GetIdentitiesByPublicKeyHashesRequestV0.AsObject;
|
|
1975
|
-
static toObject(includeInstance: boolean, msg: GetIdentitiesByPublicKeyHashesRequestV0): GetIdentitiesByPublicKeyHashesRequestV0.AsObject;
|
|
1976
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1977
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1978
|
-
static serializeBinaryToWriter(message: GetIdentitiesByPublicKeyHashesRequestV0, writer: jspb.BinaryWriter): void;
|
|
1979
|
-
static deserializeBinary(bytes: Uint8Array): GetIdentitiesByPublicKeyHashesRequestV0;
|
|
1980
|
-
static deserializeBinaryFromReader(message: GetIdentitiesByPublicKeyHashesRequestV0, reader: jspb.BinaryReader): GetIdentitiesByPublicKeyHashesRequestV0;
|
|
1981
|
-
}
|
|
1982
|
-
|
|
1983
|
-
export namespace GetIdentitiesByPublicKeyHashesRequestV0 {
|
|
1984
|
-
export type AsObject = {
|
|
1985
|
-
publicKeyHashesList: Array<Uint8Array | string>,
|
|
1986
|
-
prove: boolean,
|
|
1987
|
-
}
|
|
1988
|
-
}
|
|
1989
|
-
|
|
1990
|
-
export enum VersionCase {
|
|
1991
|
-
VERSION_NOT_SET = 0,
|
|
1992
|
-
V0 = 1,
|
|
1993
|
-
}
|
|
1994
|
-
}
|
|
1995
|
-
|
|
1996
|
-
export class GetIdentitiesByPublicKeyHashesResponse extends jspb.Message {
|
|
1997
|
-
hasV0(): boolean;
|
|
1998
|
-
clearV0(): void;
|
|
1999
|
-
getV0(): GetIdentitiesByPublicKeyHashesResponse.GetIdentitiesByPublicKeyHashesResponseV0 | undefined;
|
|
2000
|
-
setV0(value?: GetIdentitiesByPublicKeyHashesResponse.GetIdentitiesByPublicKeyHashesResponseV0): void;
|
|
2001
|
-
|
|
2002
|
-
getVersionCase(): GetIdentitiesByPublicKeyHashesResponse.VersionCase;
|
|
2003
|
-
serializeBinary(): Uint8Array;
|
|
2004
|
-
toObject(includeInstance?: boolean): GetIdentitiesByPublicKeyHashesResponse.AsObject;
|
|
2005
|
-
static toObject(includeInstance: boolean, msg: GetIdentitiesByPublicKeyHashesResponse): GetIdentitiesByPublicKeyHashesResponse.AsObject;
|
|
2006
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2007
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2008
|
-
static serializeBinaryToWriter(message: GetIdentitiesByPublicKeyHashesResponse, writer: jspb.BinaryWriter): void;
|
|
2009
|
-
static deserializeBinary(bytes: Uint8Array): GetIdentitiesByPublicKeyHashesResponse;
|
|
2010
|
-
static deserializeBinaryFromReader(message: GetIdentitiesByPublicKeyHashesResponse, reader: jspb.BinaryReader): GetIdentitiesByPublicKeyHashesResponse;
|
|
2011
|
-
}
|
|
2012
|
-
|
|
2013
|
-
export namespace GetIdentitiesByPublicKeyHashesResponse {
|
|
2014
|
-
export type AsObject = {
|
|
2015
|
-
v0?: GetIdentitiesByPublicKeyHashesResponse.GetIdentitiesByPublicKeyHashesResponseV0.AsObject,
|
|
2016
|
-
}
|
|
2017
|
-
|
|
2018
|
-
export class PublicKeyHashIdentityEntry extends jspb.Message {
|
|
2019
|
-
getPublicKeyHash(): Uint8Array | string;
|
|
2020
|
-
getPublicKeyHash_asU8(): Uint8Array;
|
|
2021
|
-
getPublicKeyHash_asB64(): string;
|
|
2022
|
-
setPublicKeyHash(value: Uint8Array | string): void;
|
|
2023
|
-
|
|
2024
|
-
hasValue(): boolean;
|
|
2025
|
-
clearValue(): void;
|
|
2026
|
-
getValue(): google_protobuf_wrappers_pb.BytesValue | undefined;
|
|
2027
|
-
setValue(value?: google_protobuf_wrappers_pb.BytesValue): void;
|
|
2028
|
-
|
|
2029
|
-
serializeBinary(): Uint8Array;
|
|
2030
|
-
toObject(includeInstance?: boolean): PublicKeyHashIdentityEntry.AsObject;
|
|
2031
|
-
static toObject(includeInstance: boolean, msg: PublicKeyHashIdentityEntry): PublicKeyHashIdentityEntry.AsObject;
|
|
2032
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2033
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2034
|
-
static serializeBinaryToWriter(message: PublicKeyHashIdentityEntry, writer: jspb.BinaryWriter): void;
|
|
2035
|
-
static deserializeBinary(bytes: Uint8Array): PublicKeyHashIdentityEntry;
|
|
2036
|
-
static deserializeBinaryFromReader(message: PublicKeyHashIdentityEntry, reader: jspb.BinaryReader): PublicKeyHashIdentityEntry;
|
|
2037
|
-
}
|
|
2038
|
-
|
|
2039
|
-
export namespace PublicKeyHashIdentityEntry {
|
|
2040
|
-
export type AsObject = {
|
|
2041
|
-
publicKeyHash: Uint8Array | string,
|
|
2042
|
-
value?: google_protobuf_wrappers_pb.BytesValue.AsObject,
|
|
2043
|
-
}
|
|
2044
|
-
}
|
|
2045
|
-
|
|
2046
|
-
export class IdentitiesByPublicKeyHashes extends jspb.Message {
|
|
2047
|
-
clearIdentityEntriesList(): void;
|
|
2048
|
-
getIdentityEntriesList(): Array<GetIdentitiesByPublicKeyHashesResponse.PublicKeyHashIdentityEntry>;
|
|
2049
|
-
setIdentityEntriesList(value: Array<GetIdentitiesByPublicKeyHashesResponse.PublicKeyHashIdentityEntry>): void;
|
|
2050
|
-
addIdentityEntries(value?: GetIdentitiesByPublicKeyHashesResponse.PublicKeyHashIdentityEntry, index?: number): GetIdentitiesByPublicKeyHashesResponse.PublicKeyHashIdentityEntry;
|
|
2051
|
-
|
|
2052
|
-
serializeBinary(): Uint8Array;
|
|
2053
|
-
toObject(includeInstance?: boolean): IdentitiesByPublicKeyHashes.AsObject;
|
|
2054
|
-
static toObject(includeInstance: boolean, msg: IdentitiesByPublicKeyHashes): IdentitiesByPublicKeyHashes.AsObject;
|
|
2055
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2056
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2057
|
-
static serializeBinaryToWriter(message: IdentitiesByPublicKeyHashes, writer: jspb.BinaryWriter): void;
|
|
2058
|
-
static deserializeBinary(bytes: Uint8Array): IdentitiesByPublicKeyHashes;
|
|
2059
|
-
static deserializeBinaryFromReader(message: IdentitiesByPublicKeyHashes, reader: jspb.BinaryReader): IdentitiesByPublicKeyHashes;
|
|
2060
|
-
}
|
|
2061
|
-
|
|
2062
|
-
export namespace IdentitiesByPublicKeyHashes {
|
|
2063
|
-
export type AsObject = {
|
|
2064
|
-
identityEntriesList: Array<GetIdentitiesByPublicKeyHashesResponse.PublicKeyHashIdentityEntry.AsObject>,
|
|
2065
|
-
}
|
|
2066
|
-
}
|
|
2067
|
-
|
|
2068
|
-
export class GetIdentitiesByPublicKeyHashesResponseV0 extends jspb.Message {
|
|
2069
|
-
hasIdentities(): boolean;
|
|
2070
|
-
clearIdentities(): void;
|
|
2071
|
-
getIdentities(): GetIdentitiesByPublicKeyHashesResponse.IdentitiesByPublicKeyHashes | undefined;
|
|
2072
|
-
setIdentities(value?: GetIdentitiesByPublicKeyHashesResponse.IdentitiesByPublicKeyHashes): void;
|
|
2073
|
-
|
|
2074
|
-
hasProof(): boolean;
|
|
2075
|
-
clearProof(): void;
|
|
2076
|
-
getProof(): Proof | undefined;
|
|
2077
|
-
setProof(value?: Proof): void;
|
|
2078
|
-
|
|
2079
|
-
hasMetadata(): boolean;
|
|
2080
|
-
clearMetadata(): void;
|
|
2081
|
-
getMetadata(): ResponseMetadata | undefined;
|
|
2082
|
-
setMetadata(value?: ResponseMetadata): void;
|
|
2083
|
-
|
|
2084
|
-
getResultCase(): GetIdentitiesByPublicKeyHashesResponseV0.ResultCase;
|
|
2085
|
-
serializeBinary(): Uint8Array;
|
|
2086
|
-
toObject(includeInstance?: boolean): GetIdentitiesByPublicKeyHashesResponseV0.AsObject;
|
|
2087
|
-
static toObject(includeInstance: boolean, msg: GetIdentitiesByPublicKeyHashesResponseV0): GetIdentitiesByPublicKeyHashesResponseV0.AsObject;
|
|
2088
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2089
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2090
|
-
static serializeBinaryToWriter(message: GetIdentitiesByPublicKeyHashesResponseV0, writer: jspb.BinaryWriter): void;
|
|
2091
|
-
static deserializeBinary(bytes: Uint8Array): GetIdentitiesByPublicKeyHashesResponseV0;
|
|
2092
|
-
static deserializeBinaryFromReader(message: GetIdentitiesByPublicKeyHashesResponseV0, reader: jspb.BinaryReader): GetIdentitiesByPublicKeyHashesResponseV0;
|
|
2093
|
-
}
|
|
2094
|
-
|
|
2095
|
-
export namespace GetIdentitiesByPublicKeyHashesResponseV0 {
|
|
2096
|
-
export type AsObject = {
|
|
2097
|
-
identities?: GetIdentitiesByPublicKeyHashesResponse.IdentitiesByPublicKeyHashes.AsObject,
|
|
2098
|
-
proof?: Proof.AsObject,
|
|
2099
|
-
metadata?: ResponseMetadata.AsObject,
|
|
2100
|
-
}
|
|
2101
|
-
|
|
2102
|
-
export enum ResultCase {
|
|
2103
|
-
RESULT_NOT_SET = 0,
|
|
2104
|
-
IDENTITIES = 1,
|
|
2105
|
-
PROOF = 2,
|
|
2106
|
-
}
|
|
2107
|
-
}
|
|
2108
|
-
|
|
2109
|
-
export enum VersionCase {
|
|
2110
|
-
VERSION_NOT_SET = 0,
|
|
2111
|
-
V0 = 1,
|
|
2112
|
-
}
|
|
2113
|
-
}
|
|
2114
|
-
|
|
2115
2307
|
export class GetIdentityByPublicKeyHashRequest extends jspb.Message {
|
|
2116
2308
|
hasV0(): boolean;
|
|
2117
2309
|
clearV0(): void;
|
|
@@ -3018,6 +3210,9 @@ export namespace GetEpochsInfoResponse {
|
|
|
3018
3210
|
getFeeMultiplier(): number;
|
|
3019
3211
|
setFeeMultiplier(value: number): void;
|
|
3020
3212
|
|
|
3213
|
+
getProtocolVersion(): number;
|
|
3214
|
+
setProtocolVersion(value: number): void;
|
|
3215
|
+
|
|
3021
3216
|
serializeBinary(): Uint8Array;
|
|
3022
3217
|
toObject(includeInstance?: boolean): EpochInfo.AsObject;
|
|
3023
3218
|
static toObject(includeInstance: boolean, msg: EpochInfo): EpochInfo.AsObject;
|
|
@@ -3035,6 +3230,7 @@ export namespace GetEpochsInfoResponse {
|
|
|
3035
3230
|
firstCoreBlockHeight: number,
|
|
3036
3231
|
startTime: number,
|
|
3037
3232
|
feeMultiplier: number,
|
|
3233
|
+
protocolVersion: number,
|
|
3038
3234
|
}
|
|
3039
3235
|
}
|
|
3040
3236
|
|
|
@@ -3051,3 +3247,1562 @@ export namespace GetEpochsInfoResponse {
|
|
|
3051
3247
|
}
|
|
3052
3248
|
}
|
|
3053
3249
|
|
|
3250
|
+
export class GetContestedResourcesRequest extends jspb.Message {
|
|
3251
|
+
hasV0(): boolean;
|
|
3252
|
+
clearV0(): void;
|
|
3253
|
+
getV0(): GetContestedResourcesRequest.GetContestedResourcesRequestV0 | undefined;
|
|
3254
|
+
setV0(value?: GetContestedResourcesRequest.GetContestedResourcesRequestV0): void;
|
|
3255
|
+
|
|
3256
|
+
getVersionCase(): GetContestedResourcesRequest.VersionCase;
|
|
3257
|
+
serializeBinary(): Uint8Array;
|
|
3258
|
+
toObject(includeInstance?: boolean): GetContestedResourcesRequest.AsObject;
|
|
3259
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourcesRequest): GetContestedResourcesRequest.AsObject;
|
|
3260
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3261
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3262
|
+
static serializeBinaryToWriter(message: GetContestedResourcesRequest, writer: jspb.BinaryWriter): void;
|
|
3263
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourcesRequest;
|
|
3264
|
+
static deserializeBinaryFromReader(message: GetContestedResourcesRequest, reader: jspb.BinaryReader): GetContestedResourcesRequest;
|
|
3265
|
+
}
|
|
3266
|
+
|
|
3267
|
+
export namespace GetContestedResourcesRequest {
|
|
3268
|
+
export type AsObject = {
|
|
3269
|
+
v0?: GetContestedResourcesRequest.GetContestedResourcesRequestV0.AsObject,
|
|
3270
|
+
}
|
|
3271
|
+
|
|
3272
|
+
export class GetContestedResourcesRequestV0 extends jspb.Message {
|
|
3273
|
+
getContractId(): Uint8Array | string;
|
|
3274
|
+
getContractId_asU8(): Uint8Array;
|
|
3275
|
+
getContractId_asB64(): string;
|
|
3276
|
+
setContractId(value: Uint8Array | string): void;
|
|
3277
|
+
|
|
3278
|
+
getDocumentTypeName(): string;
|
|
3279
|
+
setDocumentTypeName(value: string): void;
|
|
3280
|
+
|
|
3281
|
+
getIndexName(): string;
|
|
3282
|
+
setIndexName(value: string): void;
|
|
3283
|
+
|
|
3284
|
+
clearStartIndexValuesList(): void;
|
|
3285
|
+
getStartIndexValuesList(): Array<Uint8Array | string>;
|
|
3286
|
+
getStartIndexValuesList_asU8(): Array<Uint8Array>;
|
|
3287
|
+
getStartIndexValuesList_asB64(): Array<string>;
|
|
3288
|
+
setStartIndexValuesList(value: Array<Uint8Array | string>): void;
|
|
3289
|
+
addStartIndexValues(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
3290
|
+
|
|
3291
|
+
clearEndIndexValuesList(): void;
|
|
3292
|
+
getEndIndexValuesList(): Array<Uint8Array | string>;
|
|
3293
|
+
getEndIndexValuesList_asU8(): Array<Uint8Array>;
|
|
3294
|
+
getEndIndexValuesList_asB64(): Array<string>;
|
|
3295
|
+
setEndIndexValuesList(value: Array<Uint8Array | string>): void;
|
|
3296
|
+
addEndIndexValues(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
3297
|
+
|
|
3298
|
+
hasStartAtValueInfo(): boolean;
|
|
3299
|
+
clearStartAtValueInfo(): void;
|
|
3300
|
+
getStartAtValueInfo(): GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo | undefined;
|
|
3301
|
+
setStartAtValueInfo(value?: GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo): void;
|
|
3302
|
+
|
|
3303
|
+
hasCount(): boolean;
|
|
3304
|
+
clearCount(): void;
|
|
3305
|
+
getCount(): number;
|
|
3306
|
+
setCount(value: number): void;
|
|
3307
|
+
|
|
3308
|
+
getOrderAscending(): boolean;
|
|
3309
|
+
setOrderAscending(value: boolean): void;
|
|
3310
|
+
|
|
3311
|
+
getProve(): boolean;
|
|
3312
|
+
setProve(value: boolean): void;
|
|
3313
|
+
|
|
3314
|
+
serializeBinary(): Uint8Array;
|
|
3315
|
+
toObject(includeInstance?: boolean): GetContestedResourcesRequestV0.AsObject;
|
|
3316
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourcesRequestV0): GetContestedResourcesRequestV0.AsObject;
|
|
3317
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3318
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3319
|
+
static serializeBinaryToWriter(message: GetContestedResourcesRequestV0, writer: jspb.BinaryWriter): void;
|
|
3320
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourcesRequestV0;
|
|
3321
|
+
static deserializeBinaryFromReader(message: GetContestedResourcesRequestV0, reader: jspb.BinaryReader): GetContestedResourcesRequestV0;
|
|
3322
|
+
}
|
|
3323
|
+
|
|
3324
|
+
export namespace GetContestedResourcesRequestV0 {
|
|
3325
|
+
export type AsObject = {
|
|
3326
|
+
contractId: Uint8Array | string,
|
|
3327
|
+
documentTypeName: string,
|
|
3328
|
+
indexName: string,
|
|
3329
|
+
startIndexValuesList: Array<Uint8Array | string>,
|
|
3330
|
+
endIndexValuesList: Array<Uint8Array | string>,
|
|
3331
|
+
startAtValueInfo?: GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo.AsObject,
|
|
3332
|
+
count: number,
|
|
3333
|
+
orderAscending: boolean,
|
|
3334
|
+
prove: boolean,
|
|
3335
|
+
}
|
|
3336
|
+
|
|
3337
|
+
export class StartAtValueInfo extends jspb.Message {
|
|
3338
|
+
getStartValue(): Uint8Array | string;
|
|
3339
|
+
getStartValue_asU8(): Uint8Array;
|
|
3340
|
+
getStartValue_asB64(): string;
|
|
3341
|
+
setStartValue(value: Uint8Array | string): void;
|
|
3342
|
+
|
|
3343
|
+
getStartValueIncluded(): boolean;
|
|
3344
|
+
setStartValueIncluded(value: boolean): void;
|
|
3345
|
+
|
|
3346
|
+
serializeBinary(): Uint8Array;
|
|
3347
|
+
toObject(includeInstance?: boolean): StartAtValueInfo.AsObject;
|
|
3348
|
+
static toObject(includeInstance: boolean, msg: StartAtValueInfo): StartAtValueInfo.AsObject;
|
|
3349
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3350
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3351
|
+
static serializeBinaryToWriter(message: StartAtValueInfo, writer: jspb.BinaryWriter): void;
|
|
3352
|
+
static deserializeBinary(bytes: Uint8Array): StartAtValueInfo;
|
|
3353
|
+
static deserializeBinaryFromReader(message: StartAtValueInfo, reader: jspb.BinaryReader): StartAtValueInfo;
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3356
|
+
export namespace StartAtValueInfo {
|
|
3357
|
+
export type AsObject = {
|
|
3358
|
+
startValue: Uint8Array | string,
|
|
3359
|
+
startValueIncluded: boolean,
|
|
3360
|
+
}
|
|
3361
|
+
}
|
|
3362
|
+
}
|
|
3363
|
+
|
|
3364
|
+
export enum VersionCase {
|
|
3365
|
+
VERSION_NOT_SET = 0,
|
|
3366
|
+
V0 = 1,
|
|
3367
|
+
}
|
|
3368
|
+
}
|
|
3369
|
+
|
|
3370
|
+
export class GetContestedResourcesResponse extends jspb.Message {
|
|
3371
|
+
hasV0(): boolean;
|
|
3372
|
+
clearV0(): void;
|
|
3373
|
+
getV0(): GetContestedResourcesResponse.GetContestedResourcesResponseV0 | undefined;
|
|
3374
|
+
setV0(value?: GetContestedResourcesResponse.GetContestedResourcesResponseV0): void;
|
|
3375
|
+
|
|
3376
|
+
getVersionCase(): GetContestedResourcesResponse.VersionCase;
|
|
3377
|
+
serializeBinary(): Uint8Array;
|
|
3378
|
+
toObject(includeInstance?: boolean): GetContestedResourcesResponse.AsObject;
|
|
3379
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourcesResponse): GetContestedResourcesResponse.AsObject;
|
|
3380
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3381
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3382
|
+
static serializeBinaryToWriter(message: GetContestedResourcesResponse, writer: jspb.BinaryWriter): void;
|
|
3383
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourcesResponse;
|
|
3384
|
+
static deserializeBinaryFromReader(message: GetContestedResourcesResponse, reader: jspb.BinaryReader): GetContestedResourcesResponse;
|
|
3385
|
+
}
|
|
3386
|
+
|
|
3387
|
+
export namespace GetContestedResourcesResponse {
|
|
3388
|
+
export type AsObject = {
|
|
3389
|
+
v0?: GetContestedResourcesResponse.GetContestedResourcesResponseV0.AsObject,
|
|
3390
|
+
}
|
|
3391
|
+
|
|
3392
|
+
export class GetContestedResourcesResponseV0 extends jspb.Message {
|
|
3393
|
+
hasContestedResourceValues(): boolean;
|
|
3394
|
+
clearContestedResourceValues(): void;
|
|
3395
|
+
getContestedResourceValues(): GetContestedResourcesResponse.GetContestedResourcesResponseV0.ContestedResourceValues | undefined;
|
|
3396
|
+
setContestedResourceValues(value?: GetContestedResourcesResponse.GetContestedResourcesResponseV0.ContestedResourceValues): void;
|
|
3397
|
+
|
|
3398
|
+
hasProof(): boolean;
|
|
3399
|
+
clearProof(): void;
|
|
3400
|
+
getProof(): Proof | undefined;
|
|
3401
|
+
setProof(value?: Proof): void;
|
|
3402
|
+
|
|
3403
|
+
hasMetadata(): boolean;
|
|
3404
|
+
clearMetadata(): void;
|
|
3405
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
3406
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
3407
|
+
|
|
3408
|
+
getResultCase(): GetContestedResourcesResponseV0.ResultCase;
|
|
3409
|
+
serializeBinary(): Uint8Array;
|
|
3410
|
+
toObject(includeInstance?: boolean): GetContestedResourcesResponseV0.AsObject;
|
|
3411
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourcesResponseV0): GetContestedResourcesResponseV0.AsObject;
|
|
3412
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3413
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3414
|
+
static serializeBinaryToWriter(message: GetContestedResourcesResponseV0, writer: jspb.BinaryWriter): void;
|
|
3415
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourcesResponseV0;
|
|
3416
|
+
static deserializeBinaryFromReader(message: GetContestedResourcesResponseV0, reader: jspb.BinaryReader): GetContestedResourcesResponseV0;
|
|
3417
|
+
}
|
|
3418
|
+
|
|
3419
|
+
export namespace GetContestedResourcesResponseV0 {
|
|
3420
|
+
export type AsObject = {
|
|
3421
|
+
contestedResourceValues?: GetContestedResourcesResponse.GetContestedResourcesResponseV0.ContestedResourceValues.AsObject,
|
|
3422
|
+
proof?: Proof.AsObject,
|
|
3423
|
+
metadata?: ResponseMetadata.AsObject,
|
|
3424
|
+
}
|
|
3425
|
+
|
|
3426
|
+
export class ContestedResourceValues extends jspb.Message {
|
|
3427
|
+
clearContestedResourceValuesList(): void;
|
|
3428
|
+
getContestedResourceValuesList(): Array<Uint8Array | string>;
|
|
3429
|
+
getContestedResourceValuesList_asU8(): Array<Uint8Array>;
|
|
3430
|
+
getContestedResourceValuesList_asB64(): Array<string>;
|
|
3431
|
+
setContestedResourceValuesList(value: Array<Uint8Array | string>): void;
|
|
3432
|
+
addContestedResourceValues(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
3433
|
+
|
|
3434
|
+
serializeBinary(): Uint8Array;
|
|
3435
|
+
toObject(includeInstance?: boolean): ContestedResourceValues.AsObject;
|
|
3436
|
+
static toObject(includeInstance: boolean, msg: ContestedResourceValues): ContestedResourceValues.AsObject;
|
|
3437
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3438
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3439
|
+
static serializeBinaryToWriter(message: ContestedResourceValues, writer: jspb.BinaryWriter): void;
|
|
3440
|
+
static deserializeBinary(bytes: Uint8Array): ContestedResourceValues;
|
|
3441
|
+
static deserializeBinaryFromReader(message: ContestedResourceValues, reader: jspb.BinaryReader): ContestedResourceValues;
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
export namespace ContestedResourceValues {
|
|
3445
|
+
export type AsObject = {
|
|
3446
|
+
contestedResourceValuesList: Array<Uint8Array | string>,
|
|
3447
|
+
}
|
|
3448
|
+
}
|
|
3449
|
+
|
|
3450
|
+
export enum ResultCase {
|
|
3451
|
+
RESULT_NOT_SET = 0,
|
|
3452
|
+
CONTESTED_RESOURCE_VALUES = 1,
|
|
3453
|
+
PROOF = 2,
|
|
3454
|
+
}
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3457
|
+
export enum VersionCase {
|
|
3458
|
+
VERSION_NOT_SET = 0,
|
|
3459
|
+
V0 = 1,
|
|
3460
|
+
}
|
|
3461
|
+
}
|
|
3462
|
+
|
|
3463
|
+
export class GetVotePollsByEndDateRequest extends jspb.Message {
|
|
3464
|
+
hasV0(): boolean;
|
|
3465
|
+
clearV0(): void;
|
|
3466
|
+
getV0(): GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0 | undefined;
|
|
3467
|
+
setV0(value?: GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0): void;
|
|
3468
|
+
|
|
3469
|
+
getVersionCase(): GetVotePollsByEndDateRequest.VersionCase;
|
|
3470
|
+
serializeBinary(): Uint8Array;
|
|
3471
|
+
toObject(includeInstance?: boolean): GetVotePollsByEndDateRequest.AsObject;
|
|
3472
|
+
static toObject(includeInstance: boolean, msg: GetVotePollsByEndDateRequest): GetVotePollsByEndDateRequest.AsObject;
|
|
3473
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3474
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3475
|
+
static serializeBinaryToWriter(message: GetVotePollsByEndDateRequest, writer: jspb.BinaryWriter): void;
|
|
3476
|
+
static deserializeBinary(bytes: Uint8Array): GetVotePollsByEndDateRequest;
|
|
3477
|
+
static deserializeBinaryFromReader(message: GetVotePollsByEndDateRequest, reader: jspb.BinaryReader): GetVotePollsByEndDateRequest;
|
|
3478
|
+
}
|
|
3479
|
+
|
|
3480
|
+
export namespace GetVotePollsByEndDateRequest {
|
|
3481
|
+
export type AsObject = {
|
|
3482
|
+
v0?: GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.AsObject,
|
|
3483
|
+
}
|
|
3484
|
+
|
|
3485
|
+
export class GetVotePollsByEndDateRequestV0 extends jspb.Message {
|
|
3486
|
+
hasStartTimeInfo(): boolean;
|
|
3487
|
+
clearStartTimeInfo(): void;
|
|
3488
|
+
getStartTimeInfo(): GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.StartAtTimeInfo | undefined;
|
|
3489
|
+
setStartTimeInfo(value?: GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.StartAtTimeInfo): void;
|
|
3490
|
+
|
|
3491
|
+
hasEndTimeInfo(): boolean;
|
|
3492
|
+
clearEndTimeInfo(): void;
|
|
3493
|
+
getEndTimeInfo(): GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.EndAtTimeInfo | undefined;
|
|
3494
|
+
setEndTimeInfo(value?: GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.EndAtTimeInfo): void;
|
|
3495
|
+
|
|
3496
|
+
hasLimit(): boolean;
|
|
3497
|
+
clearLimit(): void;
|
|
3498
|
+
getLimit(): number;
|
|
3499
|
+
setLimit(value: number): void;
|
|
3500
|
+
|
|
3501
|
+
hasOffset(): boolean;
|
|
3502
|
+
clearOffset(): void;
|
|
3503
|
+
getOffset(): number;
|
|
3504
|
+
setOffset(value: number): void;
|
|
3505
|
+
|
|
3506
|
+
getAscending(): boolean;
|
|
3507
|
+
setAscending(value: boolean): void;
|
|
3508
|
+
|
|
3509
|
+
getProve(): boolean;
|
|
3510
|
+
setProve(value: boolean): void;
|
|
3511
|
+
|
|
3512
|
+
serializeBinary(): Uint8Array;
|
|
3513
|
+
toObject(includeInstance?: boolean): GetVotePollsByEndDateRequestV0.AsObject;
|
|
3514
|
+
static toObject(includeInstance: boolean, msg: GetVotePollsByEndDateRequestV0): GetVotePollsByEndDateRequestV0.AsObject;
|
|
3515
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3516
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3517
|
+
static serializeBinaryToWriter(message: GetVotePollsByEndDateRequestV0, writer: jspb.BinaryWriter): void;
|
|
3518
|
+
static deserializeBinary(bytes: Uint8Array): GetVotePollsByEndDateRequestV0;
|
|
3519
|
+
static deserializeBinaryFromReader(message: GetVotePollsByEndDateRequestV0, reader: jspb.BinaryReader): GetVotePollsByEndDateRequestV0;
|
|
3520
|
+
}
|
|
3521
|
+
|
|
3522
|
+
export namespace GetVotePollsByEndDateRequestV0 {
|
|
3523
|
+
export type AsObject = {
|
|
3524
|
+
startTimeInfo?: GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.StartAtTimeInfo.AsObject,
|
|
3525
|
+
endTimeInfo?: GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.EndAtTimeInfo.AsObject,
|
|
3526
|
+
limit: number,
|
|
3527
|
+
offset: number,
|
|
3528
|
+
ascending: boolean,
|
|
3529
|
+
prove: boolean,
|
|
3530
|
+
}
|
|
3531
|
+
|
|
3532
|
+
export class StartAtTimeInfo extends jspb.Message {
|
|
3533
|
+
getStartTimeMs(): number;
|
|
3534
|
+
setStartTimeMs(value: number): void;
|
|
3535
|
+
|
|
3536
|
+
getStartTimeIncluded(): boolean;
|
|
3537
|
+
setStartTimeIncluded(value: boolean): void;
|
|
3538
|
+
|
|
3539
|
+
serializeBinary(): Uint8Array;
|
|
3540
|
+
toObject(includeInstance?: boolean): StartAtTimeInfo.AsObject;
|
|
3541
|
+
static toObject(includeInstance: boolean, msg: StartAtTimeInfo): StartAtTimeInfo.AsObject;
|
|
3542
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3543
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3544
|
+
static serializeBinaryToWriter(message: StartAtTimeInfo, writer: jspb.BinaryWriter): void;
|
|
3545
|
+
static deserializeBinary(bytes: Uint8Array): StartAtTimeInfo;
|
|
3546
|
+
static deserializeBinaryFromReader(message: StartAtTimeInfo, reader: jspb.BinaryReader): StartAtTimeInfo;
|
|
3547
|
+
}
|
|
3548
|
+
|
|
3549
|
+
export namespace StartAtTimeInfo {
|
|
3550
|
+
export type AsObject = {
|
|
3551
|
+
startTimeMs: number,
|
|
3552
|
+
startTimeIncluded: boolean,
|
|
3553
|
+
}
|
|
3554
|
+
}
|
|
3555
|
+
|
|
3556
|
+
export class EndAtTimeInfo extends jspb.Message {
|
|
3557
|
+
getEndTimeMs(): number;
|
|
3558
|
+
setEndTimeMs(value: number): void;
|
|
3559
|
+
|
|
3560
|
+
getEndTimeIncluded(): boolean;
|
|
3561
|
+
setEndTimeIncluded(value: boolean): void;
|
|
3562
|
+
|
|
3563
|
+
serializeBinary(): Uint8Array;
|
|
3564
|
+
toObject(includeInstance?: boolean): EndAtTimeInfo.AsObject;
|
|
3565
|
+
static toObject(includeInstance: boolean, msg: EndAtTimeInfo): EndAtTimeInfo.AsObject;
|
|
3566
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3567
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3568
|
+
static serializeBinaryToWriter(message: EndAtTimeInfo, writer: jspb.BinaryWriter): void;
|
|
3569
|
+
static deserializeBinary(bytes: Uint8Array): EndAtTimeInfo;
|
|
3570
|
+
static deserializeBinaryFromReader(message: EndAtTimeInfo, reader: jspb.BinaryReader): EndAtTimeInfo;
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3573
|
+
export namespace EndAtTimeInfo {
|
|
3574
|
+
export type AsObject = {
|
|
3575
|
+
endTimeMs: number,
|
|
3576
|
+
endTimeIncluded: boolean,
|
|
3577
|
+
}
|
|
3578
|
+
}
|
|
3579
|
+
}
|
|
3580
|
+
|
|
3581
|
+
export enum VersionCase {
|
|
3582
|
+
VERSION_NOT_SET = 0,
|
|
3583
|
+
V0 = 1,
|
|
3584
|
+
}
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3587
|
+
export class GetVotePollsByEndDateResponse extends jspb.Message {
|
|
3588
|
+
hasV0(): boolean;
|
|
3589
|
+
clearV0(): void;
|
|
3590
|
+
getV0(): GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0 | undefined;
|
|
3591
|
+
setV0(value?: GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0): void;
|
|
3592
|
+
|
|
3593
|
+
getVersionCase(): GetVotePollsByEndDateResponse.VersionCase;
|
|
3594
|
+
serializeBinary(): Uint8Array;
|
|
3595
|
+
toObject(includeInstance?: boolean): GetVotePollsByEndDateResponse.AsObject;
|
|
3596
|
+
static toObject(includeInstance: boolean, msg: GetVotePollsByEndDateResponse): GetVotePollsByEndDateResponse.AsObject;
|
|
3597
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3598
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3599
|
+
static serializeBinaryToWriter(message: GetVotePollsByEndDateResponse, writer: jspb.BinaryWriter): void;
|
|
3600
|
+
static deserializeBinary(bytes: Uint8Array): GetVotePollsByEndDateResponse;
|
|
3601
|
+
static deserializeBinaryFromReader(message: GetVotePollsByEndDateResponse, reader: jspb.BinaryReader): GetVotePollsByEndDateResponse;
|
|
3602
|
+
}
|
|
3603
|
+
|
|
3604
|
+
export namespace GetVotePollsByEndDateResponse {
|
|
3605
|
+
export type AsObject = {
|
|
3606
|
+
v0?: GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.AsObject,
|
|
3607
|
+
}
|
|
3608
|
+
|
|
3609
|
+
export class GetVotePollsByEndDateResponseV0 extends jspb.Message {
|
|
3610
|
+
hasVotePollsByTimestamps(): boolean;
|
|
3611
|
+
clearVotePollsByTimestamps(): void;
|
|
3612
|
+
getVotePollsByTimestamps(): GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamps | undefined;
|
|
3613
|
+
setVotePollsByTimestamps(value?: GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamps): void;
|
|
3614
|
+
|
|
3615
|
+
hasProof(): boolean;
|
|
3616
|
+
clearProof(): void;
|
|
3617
|
+
getProof(): Proof | undefined;
|
|
3618
|
+
setProof(value?: Proof): void;
|
|
3619
|
+
|
|
3620
|
+
hasMetadata(): boolean;
|
|
3621
|
+
clearMetadata(): void;
|
|
3622
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
3623
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
3624
|
+
|
|
3625
|
+
getResultCase(): GetVotePollsByEndDateResponseV0.ResultCase;
|
|
3626
|
+
serializeBinary(): Uint8Array;
|
|
3627
|
+
toObject(includeInstance?: boolean): GetVotePollsByEndDateResponseV0.AsObject;
|
|
3628
|
+
static toObject(includeInstance: boolean, msg: GetVotePollsByEndDateResponseV0): GetVotePollsByEndDateResponseV0.AsObject;
|
|
3629
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3630
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3631
|
+
static serializeBinaryToWriter(message: GetVotePollsByEndDateResponseV0, writer: jspb.BinaryWriter): void;
|
|
3632
|
+
static deserializeBinary(bytes: Uint8Array): GetVotePollsByEndDateResponseV0;
|
|
3633
|
+
static deserializeBinaryFromReader(message: GetVotePollsByEndDateResponseV0, reader: jspb.BinaryReader): GetVotePollsByEndDateResponseV0;
|
|
3634
|
+
}
|
|
3635
|
+
|
|
3636
|
+
export namespace GetVotePollsByEndDateResponseV0 {
|
|
3637
|
+
export type AsObject = {
|
|
3638
|
+
votePollsByTimestamps?: GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamps.AsObject,
|
|
3639
|
+
proof?: Proof.AsObject,
|
|
3640
|
+
metadata?: ResponseMetadata.AsObject,
|
|
3641
|
+
}
|
|
3642
|
+
|
|
3643
|
+
export class SerializedVotePollsByTimestamp extends jspb.Message {
|
|
3644
|
+
getTimestamp(): number;
|
|
3645
|
+
setTimestamp(value: number): void;
|
|
3646
|
+
|
|
3647
|
+
clearSerializedVotePollsList(): void;
|
|
3648
|
+
getSerializedVotePollsList(): Array<Uint8Array | string>;
|
|
3649
|
+
getSerializedVotePollsList_asU8(): Array<Uint8Array>;
|
|
3650
|
+
getSerializedVotePollsList_asB64(): Array<string>;
|
|
3651
|
+
setSerializedVotePollsList(value: Array<Uint8Array | string>): void;
|
|
3652
|
+
addSerializedVotePolls(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
3653
|
+
|
|
3654
|
+
serializeBinary(): Uint8Array;
|
|
3655
|
+
toObject(includeInstance?: boolean): SerializedVotePollsByTimestamp.AsObject;
|
|
3656
|
+
static toObject(includeInstance: boolean, msg: SerializedVotePollsByTimestamp): SerializedVotePollsByTimestamp.AsObject;
|
|
3657
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3658
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3659
|
+
static serializeBinaryToWriter(message: SerializedVotePollsByTimestamp, writer: jspb.BinaryWriter): void;
|
|
3660
|
+
static deserializeBinary(bytes: Uint8Array): SerializedVotePollsByTimestamp;
|
|
3661
|
+
static deserializeBinaryFromReader(message: SerializedVotePollsByTimestamp, reader: jspb.BinaryReader): SerializedVotePollsByTimestamp;
|
|
3662
|
+
}
|
|
3663
|
+
|
|
3664
|
+
export namespace SerializedVotePollsByTimestamp {
|
|
3665
|
+
export type AsObject = {
|
|
3666
|
+
timestamp: number,
|
|
3667
|
+
serializedVotePollsList: Array<Uint8Array | string>,
|
|
3668
|
+
}
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3671
|
+
export class SerializedVotePollsByTimestamps extends jspb.Message {
|
|
3672
|
+
clearVotePollsByTimestampsList(): void;
|
|
3673
|
+
getVotePollsByTimestampsList(): Array<GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamp>;
|
|
3674
|
+
setVotePollsByTimestampsList(value: Array<GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamp>): void;
|
|
3675
|
+
addVotePollsByTimestamps(value?: GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamp, index?: number): GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamp;
|
|
3676
|
+
|
|
3677
|
+
getFinishedResults(): boolean;
|
|
3678
|
+
setFinishedResults(value: boolean): void;
|
|
3679
|
+
|
|
3680
|
+
serializeBinary(): Uint8Array;
|
|
3681
|
+
toObject(includeInstance?: boolean): SerializedVotePollsByTimestamps.AsObject;
|
|
3682
|
+
static toObject(includeInstance: boolean, msg: SerializedVotePollsByTimestamps): SerializedVotePollsByTimestamps.AsObject;
|
|
3683
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3684
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3685
|
+
static serializeBinaryToWriter(message: SerializedVotePollsByTimestamps, writer: jspb.BinaryWriter): void;
|
|
3686
|
+
static deserializeBinary(bytes: Uint8Array): SerializedVotePollsByTimestamps;
|
|
3687
|
+
static deserializeBinaryFromReader(message: SerializedVotePollsByTimestamps, reader: jspb.BinaryReader): SerializedVotePollsByTimestamps;
|
|
3688
|
+
}
|
|
3689
|
+
|
|
3690
|
+
export namespace SerializedVotePollsByTimestamps {
|
|
3691
|
+
export type AsObject = {
|
|
3692
|
+
votePollsByTimestampsList: Array<GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamp.AsObject>,
|
|
3693
|
+
finishedResults: boolean,
|
|
3694
|
+
}
|
|
3695
|
+
}
|
|
3696
|
+
|
|
3697
|
+
export enum ResultCase {
|
|
3698
|
+
RESULT_NOT_SET = 0,
|
|
3699
|
+
VOTE_POLLS_BY_TIMESTAMPS = 1,
|
|
3700
|
+
PROOF = 2,
|
|
3701
|
+
}
|
|
3702
|
+
}
|
|
3703
|
+
|
|
3704
|
+
export enum VersionCase {
|
|
3705
|
+
VERSION_NOT_SET = 0,
|
|
3706
|
+
V0 = 1,
|
|
3707
|
+
}
|
|
3708
|
+
}
|
|
3709
|
+
|
|
3710
|
+
export class GetContestedResourceVoteStateRequest extends jspb.Message {
|
|
3711
|
+
hasV0(): boolean;
|
|
3712
|
+
clearV0(): void;
|
|
3713
|
+
getV0(): GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0 | undefined;
|
|
3714
|
+
setV0(value?: GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0): void;
|
|
3715
|
+
|
|
3716
|
+
getVersionCase(): GetContestedResourceVoteStateRequest.VersionCase;
|
|
3717
|
+
serializeBinary(): Uint8Array;
|
|
3718
|
+
toObject(includeInstance?: boolean): GetContestedResourceVoteStateRequest.AsObject;
|
|
3719
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourceVoteStateRequest): GetContestedResourceVoteStateRequest.AsObject;
|
|
3720
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3721
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3722
|
+
static serializeBinaryToWriter(message: GetContestedResourceVoteStateRequest, writer: jspb.BinaryWriter): void;
|
|
3723
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourceVoteStateRequest;
|
|
3724
|
+
static deserializeBinaryFromReader(message: GetContestedResourceVoteStateRequest, reader: jspb.BinaryReader): GetContestedResourceVoteStateRequest;
|
|
3725
|
+
}
|
|
3726
|
+
|
|
3727
|
+
export namespace GetContestedResourceVoteStateRequest {
|
|
3728
|
+
export type AsObject = {
|
|
3729
|
+
v0?: GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.AsObject,
|
|
3730
|
+
}
|
|
3731
|
+
|
|
3732
|
+
export class GetContestedResourceVoteStateRequestV0 extends jspb.Message {
|
|
3733
|
+
getContractId(): Uint8Array | string;
|
|
3734
|
+
getContractId_asU8(): Uint8Array;
|
|
3735
|
+
getContractId_asB64(): string;
|
|
3736
|
+
setContractId(value: Uint8Array | string): void;
|
|
3737
|
+
|
|
3738
|
+
getDocumentTypeName(): string;
|
|
3739
|
+
setDocumentTypeName(value: string): void;
|
|
3740
|
+
|
|
3741
|
+
getIndexName(): string;
|
|
3742
|
+
setIndexName(value: string): void;
|
|
3743
|
+
|
|
3744
|
+
clearIndexValuesList(): void;
|
|
3745
|
+
getIndexValuesList(): Array<Uint8Array | string>;
|
|
3746
|
+
getIndexValuesList_asU8(): Array<Uint8Array>;
|
|
3747
|
+
getIndexValuesList_asB64(): Array<string>;
|
|
3748
|
+
setIndexValuesList(value: Array<Uint8Array | string>): void;
|
|
3749
|
+
addIndexValues(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
3750
|
+
|
|
3751
|
+
getResultType(): GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.ResultTypeMap[keyof GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.ResultTypeMap];
|
|
3752
|
+
setResultType(value: GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.ResultTypeMap[keyof GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.ResultTypeMap]): void;
|
|
3753
|
+
|
|
3754
|
+
getAllowIncludeLockedAndAbstainingVoteTally(): boolean;
|
|
3755
|
+
setAllowIncludeLockedAndAbstainingVoteTally(value: boolean): void;
|
|
3756
|
+
|
|
3757
|
+
hasStartAtIdentifierInfo(): boolean;
|
|
3758
|
+
clearStartAtIdentifierInfo(): void;
|
|
3759
|
+
getStartAtIdentifierInfo(): GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.StartAtIdentifierInfo | undefined;
|
|
3760
|
+
setStartAtIdentifierInfo(value?: GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.StartAtIdentifierInfo): void;
|
|
3761
|
+
|
|
3762
|
+
hasCount(): boolean;
|
|
3763
|
+
clearCount(): void;
|
|
3764
|
+
getCount(): number;
|
|
3765
|
+
setCount(value: number): void;
|
|
3766
|
+
|
|
3767
|
+
getProve(): boolean;
|
|
3768
|
+
setProve(value: boolean): void;
|
|
3769
|
+
|
|
3770
|
+
serializeBinary(): Uint8Array;
|
|
3771
|
+
toObject(includeInstance?: boolean): GetContestedResourceVoteStateRequestV0.AsObject;
|
|
3772
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourceVoteStateRequestV0): GetContestedResourceVoteStateRequestV0.AsObject;
|
|
3773
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3774
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3775
|
+
static serializeBinaryToWriter(message: GetContestedResourceVoteStateRequestV0, writer: jspb.BinaryWriter): void;
|
|
3776
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourceVoteStateRequestV0;
|
|
3777
|
+
static deserializeBinaryFromReader(message: GetContestedResourceVoteStateRequestV0, reader: jspb.BinaryReader): GetContestedResourceVoteStateRequestV0;
|
|
3778
|
+
}
|
|
3779
|
+
|
|
3780
|
+
export namespace GetContestedResourceVoteStateRequestV0 {
|
|
3781
|
+
export type AsObject = {
|
|
3782
|
+
contractId: Uint8Array | string,
|
|
3783
|
+
documentTypeName: string,
|
|
3784
|
+
indexName: string,
|
|
3785
|
+
indexValuesList: Array<Uint8Array | string>,
|
|
3786
|
+
resultType: GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.ResultTypeMap[keyof GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.ResultTypeMap],
|
|
3787
|
+
allowIncludeLockedAndAbstainingVoteTally: boolean,
|
|
3788
|
+
startAtIdentifierInfo?: GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.StartAtIdentifierInfo.AsObject,
|
|
3789
|
+
count: number,
|
|
3790
|
+
prove: boolean,
|
|
3791
|
+
}
|
|
3792
|
+
|
|
3793
|
+
export class StartAtIdentifierInfo extends jspb.Message {
|
|
3794
|
+
getStartIdentifier(): Uint8Array | string;
|
|
3795
|
+
getStartIdentifier_asU8(): Uint8Array;
|
|
3796
|
+
getStartIdentifier_asB64(): string;
|
|
3797
|
+
setStartIdentifier(value: Uint8Array | string): void;
|
|
3798
|
+
|
|
3799
|
+
getStartIdentifierIncluded(): boolean;
|
|
3800
|
+
setStartIdentifierIncluded(value: boolean): void;
|
|
3801
|
+
|
|
3802
|
+
serializeBinary(): Uint8Array;
|
|
3803
|
+
toObject(includeInstance?: boolean): StartAtIdentifierInfo.AsObject;
|
|
3804
|
+
static toObject(includeInstance: boolean, msg: StartAtIdentifierInfo): StartAtIdentifierInfo.AsObject;
|
|
3805
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3806
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3807
|
+
static serializeBinaryToWriter(message: StartAtIdentifierInfo, writer: jspb.BinaryWriter): void;
|
|
3808
|
+
static deserializeBinary(bytes: Uint8Array): StartAtIdentifierInfo;
|
|
3809
|
+
static deserializeBinaryFromReader(message: StartAtIdentifierInfo, reader: jspb.BinaryReader): StartAtIdentifierInfo;
|
|
3810
|
+
}
|
|
3811
|
+
|
|
3812
|
+
export namespace StartAtIdentifierInfo {
|
|
3813
|
+
export type AsObject = {
|
|
3814
|
+
startIdentifier: Uint8Array | string,
|
|
3815
|
+
startIdentifierIncluded: boolean,
|
|
3816
|
+
}
|
|
3817
|
+
}
|
|
3818
|
+
|
|
3819
|
+
export interface ResultTypeMap {
|
|
3820
|
+
DOCUMENTS: 0;
|
|
3821
|
+
VOTE_TALLY: 1;
|
|
3822
|
+
DOCUMENTS_AND_VOTE_TALLY: 2;
|
|
3823
|
+
}
|
|
3824
|
+
|
|
3825
|
+
export const ResultType: ResultTypeMap;
|
|
3826
|
+
}
|
|
3827
|
+
|
|
3828
|
+
export enum VersionCase {
|
|
3829
|
+
VERSION_NOT_SET = 0,
|
|
3830
|
+
V0 = 1,
|
|
3831
|
+
}
|
|
3832
|
+
}
|
|
3833
|
+
|
|
3834
|
+
export class GetContestedResourceVoteStateResponse extends jspb.Message {
|
|
3835
|
+
hasV0(): boolean;
|
|
3836
|
+
clearV0(): void;
|
|
3837
|
+
getV0(): GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0 | undefined;
|
|
3838
|
+
setV0(value?: GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0): void;
|
|
3839
|
+
|
|
3840
|
+
getVersionCase(): GetContestedResourceVoteStateResponse.VersionCase;
|
|
3841
|
+
serializeBinary(): Uint8Array;
|
|
3842
|
+
toObject(includeInstance?: boolean): GetContestedResourceVoteStateResponse.AsObject;
|
|
3843
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourceVoteStateResponse): GetContestedResourceVoteStateResponse.AsObject;
|
|
3844
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3845
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3846
|
+
static serializeBinaryToWriter(message: GetContestedResourceVoteStateResponse, writer: jspb.BinaryWriter): void;
|
|
3847
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourceVoteStateResponse;
|
|
3848
|
+
static deserializeBinaryFromReader(message: GetContestedResourceVoteStateResponse, reader: jspb.BinaryReader): GetContestedResourceVoteStateResponse;
|
|
3849
|
+
}
|
|
3850
|
+
|
|
3851
|
+
export namespace GetContestedResourceVoteStateResponse {
|
|
3852
|
+
export type AsObject = {
|
|
3853
|
+
v0?: GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.AsObject,
|
|
3854
|
+
}
|
|
3855
|
+
|
|
3856
|
+
export class GetContestedResourceVoteStateResponseV0 extends jspb.Message {
|
|
3857
|
+
hasContestedResourceContenders(): boolean;
|
|
3858
|
+
clearContestedResourceContenders(): void;
|
|
3859
|
+
getContestedResourceContenders(): GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.ContestedResourceContenders | undefined;
|
|
3860
|
+
setContestedResourceContenders(value?: GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.ContestedResourceContenders): void;
|
|
3861
|
+
|
|
3862
|
+
hasProof(): boolean;
|
|
3863
|
+
clearProof(): void;
|
|
3864
|
+
getProof(): Proof | undefined;
|
|
3865
|
+
setProof(value?: Proof): void;
|
|
3866
|
+
|
|
3867
|
+
hasMetadata(): boolean;
|
|
3868
|
+
clearMetadata(): void;
|
|
3869
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
3870
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
3871
|
+
|
|
3872
|
+
getResultCase(): GetContestedResourceVoteStateResponseV0.ResultCase;
|
|
3873
|
+
serializeBinary(): Uint8Array;
|
|
3874
|
+
toObject(includeInstance?: boolean): GetContestedResourceVoteStateResponseV0.AsObject;
|
|
3875
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourceVoteStateResponseV0): GetContestedResourceVoteStateResponseV0.AsObject;
|
|
3876
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3877
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3878
|
+
static serializeBinaryToWriter(message: GetContestedResourceVoteStateResponseV0, writer: jspb.BinaryWriter): void;
|
|
3879
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourceVoteStateResponseV0;
|
|
3880
|
+
static deserializeBinaryFromReader(message: GetContestedResourceVoteStateResponseV0, reader: jspb.BinaryReader): GetContestedResourceVoteStateResponseV0;
|
|
3881
|
+
}
|
|
3882
|
+
|
|
3883
|
+
export namespace GetContestedResourceVoteStateResponseV0 {
|
|
3884
|
+
export type AsObject = {
|
|
3885
|
+
contestedResourceContenders?: GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.ContestedResourceContenders.AsObject,
|
|
3886
|
+
proof?: Proof.AsObject,
|
|
3887
|
+
metadata?: ResponseMetadata.AsObject,
|
|
3888
|
+
}
|
|
3889
|
+
|
|
3890
|
+
export class FinishedVoteInfo extends jspb.Message {
|
|
3891
|
+
getFinishedVoteOutcome(): GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo.FinishedVoteOutcomeMap[keyof GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo.FinishedVoteOutcomeMap];
|
|
3892
|
+
setFinishedVoteOutcome(value: GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo.FinishedVoteOutcomeMap[keyof GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo.FinishedVoteOutcomeMap]): void;
|
|
3893
|
+
|
|
3894
|
+
hasWonByIdentityId(): boolean;
|
|
3895
|
+
clearWonByIdentityId(): void;
|
|
3896
|
+
getWonByIdentityId(): Uint8Array | string;
|
|
3897
|
+
getWonByIdentityId_asU8(): Uint8Array;
|
|
3898
|
+
getWonByIdentityId_asB64(): string;
|
|
3899
|
+
setWonByIdentityId(value: Uint8Array | string): void;
|
|
3900
|
+
|
|
3901
|
+
getFinishedAtBlockHeight(): number;
|
|
3902
|
+
setFinishedAtBlockHeight(value: number): void;
|
|
3903
|
+
|
|
3904
|
+
getFinishedAtCoreBlockHeight(): number;
|
|
3905
|
+
setFinishedAtCoreBlockHeight(value: number): void;
|
|
3906
|
+
|
|
3907
|
+
getFinishedAtBlockTimeMs(): number;
|
|
3908
|
+
setFinishedAtBlockTimeMs(value: number): void;
|
|
3909
|
+
|
|
3910
|
+
getFinishedAtEpoch(): number;
|
|
3911
|
+
setFinishedAtEpoch(value: number): void;
|
|
3912
|
+
|
|
3913
|
+
serializeBinary(): Uint8Array;
|
|
3914
|
+
toObject(includeInstance?: boolean): FinishedVoteInfo.AsObject;
|
|
3915
|
+
static toObject(includeInstance: boolean, msg: FinishedVoteInfo): FinishedVoteInfo.AsObject;
|
|
3916
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3917
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3918
|
+
static serializeBinaryToWriter(message: FinishedVoteInfo, writer: jspb.BinaryWriter): void;
|
|
3919
|
+
static deserializeBinary(bytes: Uint8Array): FinishedVoteInfo;
|
|
3920
|
+
static deserializeBinaryFromReader(message: FinishedVoteInfo, reader: jspb.BinaryReader): FinishedVoteInfo;
|
|
3921
|
+
}
|
|
3922
|
+
|
|
3923
|
+
export namespace FinishedVoteInfo {
|
|
3924
|
+
export type AsObject = {
|
|
3925
|
+
finishedVoteOutcome: GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo.FinishedVoteOutcomeMap[keyof GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo.FinishedVoteOutcomeMap],
|
|
3926
|
+
wonByIdentityId: Uint8Array | string,
|
|
3927
|
+
finishedAtBlockHeight: number,
|
|
3928
|
+
finishedAtCoreBlockHeight: number,
|
|
3929
|
+
finishedAtBlockTimeMs: number,
|
|
3930
|
+
finishedAtEpoch: number,
|
|
3931
|
+
}
|
|
3932
|
+
|
|
3933
|
+
export interface FinishedVoteOutcomeMap {
|
|
3934
|
+
TOWARDS_IDENTITY: 0;
|
|
3935
|
+
LOCKED: 1;
|
|
3936
|
+
NO_PREVIOUS_WINNER: 2;
|
|
3937
|
+
}
|
|
3938
|
+
|
|
3939
|
+
export const FinishedVoteOutcome: FinishedVoteOutcomeMap;
|
|
3940
|
+
}
|
|
3941
|
+
|
|
3942
|
+
export class ContestedResourceContenders extends jspb.Message {
|
|
3943
|
+
clearContendersList(): void;
|
|
3944
|
+
getContendersList(): Array<GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.Contender>;
|
|
3945
|
+
setContendersList(value: Array<GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.Contender>): void;
|
|
3946
|
+
addContenders(value?: GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.Contender, index?: number): GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.Contender;
|
|
3947
|
+
|
|
3948
|
+
hasAbstainVoteTally(): boolean;
|
|
3949
|
+
clearAbstainVoteTally(): void;
|
|
3950
|
+
getAbstainVoteTally(): number;
|
|
3951
|
+
setAbstainVoteTally(value: number): void;
|
|
3952
|
+
|
|
3953
|
+
hasLockVoteTally(): boolean;
|
|
3954
|
+
clearLockVoteTally(): void;
|
|
3955
|
+
getLockVoteTally(): number;
|
|
3956
|
+
setLockVoteTally(value: number): void;
|
|
3957
|
+
|
|
3958
|
+
hasFinishedVoteInfo(): boolean;
|
|
3959
|
+
clearFinishedVoteInfo(): void;
|
|
3960
|
+
getFinishedVoteInfo(): GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo | undefined;
|
|
3961
|
+
setFinishedVoteInfo(value?: GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo): void;
|
|
3962
|
+
|
|
3963
|
+
serializeBinary(): Uint8Array;
|
|
3964
|
+
toObject(includeInstance?: boolean): ContestedResourceContenders.AsObject;
|
|
3965
|
+
static toObject(includeInstance: boolean, msg: ContestedResourceContenders): ContestedResourceContenders.AsObject;
|
|
3966
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3967
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3968
|
+
static serializeBinaryToWriter(message: ContestedResourceContenders, writer: jspb.BinaryWriter): void;
|
|
3969
|
+
static deserializeBinary(bytes: Uint8Array): ContestedResourceContenders;
|
|
3970
|
+
static deserializeBinaryFromReader(message: ContestedResourceContenders, reader: jspb.BinaryReader): ContestedResourceContenders;
|
|
3971
|
+
}
|
|
3972
|
+
|
|
3973
|
+
export namespace ContestedResourceContenders {
|
|
3974
|
+
export type AsObject = {
|
|
3975
|
+
contendersList: Array<GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.Contender.AsObject>,
|
|
3976
|
+
abstainVoteTally: number,
|
|
3977
|
+
lockVoteTally: number,
|
|
3978
|
+
finishedVoteInfo?: GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo.AsObject,
|
|
3979
|
+
}
|
|
3980
|
+
}
|
|
3981
|
+
|
|
3982
|
+
export class Contender extends jspb.Message {
|
|
3983
|
+
getIdentifier(): Uint8Array | string;
|
|
3984
|
+
getIdentifier_asU8(): Uint8Array;
|
|
3985
|
+
getIdentifier_asB64(): string;
|
|
3986
|
+
setIdentifier(value: Uint8Array | string): void;
|
|
3987
|
+
|
|
3988
|
+
hasVoteCount(): boolean;
|
|
3989
|
+
clearVoteCount(): void;
|
|
3990
|
+
getVoteCount(): number;
|
|
3991
|
+
setVoteCount(value: number): void;
|
|
3992
|
+
|
|
3993
|
+
hasDocument(): boolean;
|
|
3994
|
+
clearDocument(): void;
|
|
3995
|
+
getDocument(): Uint8Array | string;
|
|
3996
|
+
getDocument_asU8(): Uint8Array;
|
|
3997
|
+
getDocument_asB64(): string;
|
|
3998
|
+
setDocument(value: Uint8Array | string): void;
|
|
3999
|
+
|
|
4000
|
+
serializeBinary(): Uint8Array;
|
|
4001
|
+
toObject(includeInstance?: boolean): Contender.AsObject;
|
|
4002
|
+
static toObject(includeInstance: boolean, msg: Contender): Contender.AsObject;
|
|
4003
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4004
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4005
|
+
static serializeBinaryToWriter(message: Contender, writer: jspb.BinaryWriter): void;
|
|
4006
|
+
static deserializeBinary(bytes: Uint8Array): Contender;
|
|
4007
|
+
static deserializeBinaryFromReader(message: Contender, reader: jspb.BinaryReader): Contender;
|
|
4008
|
+
}
|
|
4009
|
+
|
|
4010
|
+
export namespace Contender {
|
|
4011
|
+
export type AsObject = {
|
|
4012
|
+
identifier: Uint8Array | string,
|
|
4013
|
+
voteCount: number,
|
|
4014
|
+
document: Uint8Array | string,
|
|
4015
|
+
}
|
|
4016
|
+
}
|
|
4017
|
+
|
|
4018
|
+
export enum ResultCase {
|
|
4019
|
+
RESULT_NOT_SET = 0,
|
|
4020
|
+
CONTESTED_RESOURCE_CONTENDERS = 1,
|
|
4021
|
+
PROOF = 2,
|
|
4022
|
+
}
|
|
4023
|
+
}
|
|
4024
|
+
|
|
4025
|
+
export enum VersionCase {
|
|
4026
|
+
VERSION_NOT_SET = 0,
|
|
4027
|
+
V0 = 1,
|
|
4028
|
+
}
|
|
4029
|
+
}
|
|
4030
|
+
|
|
4031
|
+
export class GetContestedResourceVotersForIdentityRequest extends jspb.Message {
|
|
4032
|
+
hasV0(): boolean;
|
|
4033
|
+
clearV0(): void;
|
|
4034
|
+
getV0(): GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0 | undefined;
|
|
4035
|
+
setV0(value?: GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0): void;
|
|
4036
|
+
|
|
4037
|
+
getVersionCase(): GetContestedResourceVotersForIdentityRequest.VersionCase;
|
|
4038
|
+
serializeBinary(): Uint8Array;
|
|
4039
|
+
toObject(includeInstance?: boolean): GetContestedResourceVotersForIdentityRequest.AsObject;
|
|
4040
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourceVotersForIdentityRequest): GetContestedResourceVotersForIdentityRequest.AsObject;
|
|
4041
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4042
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4043
|
+
static serializeBinaryToWriter(message: GetContestedResourceVotersForIdentityRequest, writer: jspb.BinaryWriter): void;
|
|
4044
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourceVotersForIdentityRequest;
|
|
4045
|
+
static deserializeBinaryFromReader(message: GetContestedResourceVotersForIdentityRequest, reader: jspb.BinaryReader): GetContestedResourceVotersForIdentityRequest;
|
|
4046
|
+
}
|
|
4047
|
+
|
|
4048
|
+
export namespace GetContestedResourceVotersForIdentityRequest {
|
|
4049
|
+
export type AsObject = {
|
|
4050
|
+
v0?: GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0.AsObject,
|
|
4051
|
+
}
|
|
4052
|
+
|
|
4053
|
+
export class GetContestedResourceVotersForIdentityRequestV0 extends jspb.Message {
|
|
4054
|
+
getContractId(): Uint8Array | string;
|
|
4055
|
+
getContractId_asU8(): Uint8Array;
|
|
4056
|
+
getContractId_asB64(): string;
|
|
4057
|
+
setContractId(value: Uint8Array | string): void;
|
|
4058
|
+
|
|
4059
|
+
getDocumentTypeName(): string;
|
|
4060
|
+
setDocumentTypeName(value: string): void;
|
|
4061
|
+
|
|
4062
|
+
getIndexName(): string;
|
|
4063
|
+
setIndexName(value: string): void;
|
|
4064
|
+
|
|
4065
|
+
clearIndexValuesList(): void;
|
|
4066
|
+
getIndexValuesList(): Array<Uint8Array | string>;
|
|
4067
|
+
getIndexValuesList_asU8(): Array<Uint8Array>;
|
|
4068
|
+
getIndexValuesList_asB64(): Array<string>;
|
|
4069
|
+
setIndexValuesList(value: Array<Uint8Array | string>): void;
|
|
4070
|
+
addIndexValues(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
4071
|
+
|
|
4072
|
+
getContestantId(): Uint8Array | string;
|
|
4073
|
+
getContestantId_asU8(): Uint8Array;
|
|
4074
|
+
getContestantId_asB64(): string;
|
|
4075
|
+
setContestantId(value: Uint8Array | string): void;
|
|
4076
|
+
|
|
4077
|
+
hasStartAtIdentifierInfo(): boolean;
|
|
4078
|
+
clearStartAtIdentifierInfo(): void;
|
|
4079
|
+
getStartAtIdentifierInfo(): GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0.StartAtIdentifierInfo | undefined;
|
|
4080
|
+
setStartAtIdentifierInfo(value?: GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0.StartAtIdentifierInfo): void;
|
|
4081
|
+
|
|
4082
|
+
hasCount(): boolean;
|
|
4083
|
+
clearCount(): void;
|
|
4084
|
+
getCount(): number;
|
|
4085
|
+
setCount(value: number): void;
|
|
4086
|
+
|
|
4087
|
+
getOrderAscending(): boolean;
|
|
4088
|
+
setOrderAscending(value: boolean): void;
|
|
4089
|
+
|
|
4090
|
+
getProve(): boolean;
|
|
4091
|
+
setProve(value: boolean): void;
|
|
4092
|
+
|
|
4093
|
+
serializeBinary(): Uint8Array;
|
|
4094
|
+
toObject(includeInstance?: boolean): GetContestedResourceVotersForIdentityRequestV0.AsObject;
|
|
4095
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourceVotersForIdentityRequestV0): GetContestedResourceVotersForIdentityRequestV0.AsObject;
|
|
4096
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4097
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4098
|
+
static serializeBinaryToWriter(message: GetContestedResourceVotersForIdentityRequestV0, writer: jspb.BinaryWriter): void;
|
|
4099
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourceVotersForIdentityRequestV0;
|
|
4100
|
+
static deserializeBinaryFromReader(message: GetContestedResourceVotersForIdentityRequestV0, reader: jspb.BinaryReader): GetContestedResourceVotersForIdentityRequestV0;
|
|
4101
|
+
}
|
|
4102
|
+
|
|
4103
|
+
export namespace GetContestedResourceVotersForIdentityRequestV0 {
|
|
4104
|
+
export type AsObject = {
|
|
4105
|
+
contractId: Uint8Array | string,
|
|
4106
|
+
documentTypeName: string,
|
|
4107
|
+
indexName: string,
|
|
4108
|
+
indexValuesList: Array<Uint8Array | string>,
|
|
4109
|
+
contestantId: Uint8Array | string,
|
|
4110
|
+
startAtIdentifierInfo?: GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0.StartAtIdentifierInfo.AsObject,
|
|
4111
|
+
count: number,
|
|
4112
|
+
orderAscending: boolean,
|
|
4113
|
+
prove: boolean,
|
|
4114
|
+
}
|
|
4115
|
+
|
|
4116
|
+
export class StartAtIdentifierInfo extends jspb.Message {
|
|
4117
|
+
getStartIdentifier(): Uint8Array | string;
|
|
4118
|
+
getStartIdentifier_asU8(): Uint8Array;
|
|
4119
|
+
getStartIdentifier_asB64(): string;
|
|
4120
|
+
setStartIdentifier(value: Uint8Array | string): void;
|
|
4121
|
+
|
|
4122
|
+
getStartIdentifierIncluded(): boolean;
|
|
4123
|
+
setStartIdentifierIncluded(value: boolean): void;
|
|
4124
|
+
|
|
4125
|
+
serializeBinary(): Uint8Array;
|
|
4126
|
+
toObject(includeInstance?: boolean): StartAtIdentifierInfo.AsObject;
|
|
4127
|
+
static toObject(includeInstance: boolean, msg: StartAtIdentifierInfo): StartAtIdentifierInfo.AsObject;
|
|
4128
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4129
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4130
|
+
static serializeBinaryToWriter(message: StartAtIdentifierInfo, writer: jspb.BinaryWriter): void;
|
|
4131
|
+
static deserializeBinary(bytes: Uint8Array): StartAtIdentifierInfo;
|
|
4132
|
+
static deserializeBinaryFromReader(message: StartAtIdentifierInfo, reader: jspb.BinaryReader): StartAtIdentifierInfo;
|
|
4133
|
+
}
|
|
4134
|
+
|
|
4135
|
+
export namespace StartAtIdentifierInfo {
|
|
4136
|
+
export type AsObject = {
|
|
4137
|
+
startIdentifier: Uint8Array | string,
|
|
4138
|
+
startIdentifierIncluded: boolean,
|
|
4139
|
+
}
|
|
4140
|
+
}
|
|
4141
|
+
}
|
|
4142
|
+
|
|
4143
|
+
export enum VersionCase {
|
|
4144
|
+
VERSION_NOT_SET = 0,
|
|
4145
|
+
V0 = 1,
|
|
4146
|
+
}
|
|
4147
|
+
}
|
|
4148
|
+
|
|
4149
|
+
export class GetContestedResourceVotersForIdentityResponse extends jspb.Message {
|
|
4150
|
+
hasV0(): boolean;
|
|
4151
|
+
clearV0(): void;
|
|
4152
|
+
getV0(): GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0 | undefined;
|
|
4153
|
+
setV0(value?: GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0): void;
|
|
4154
|
+
|
|
4155
|
+
getVersionCase(): GetContestedResourceVotersForIdentityResponse.VersionCase;
|
|
4156
|
+
serializeBinary(): Uint8Array;
|
|
4157
|
+
toObject(includeInstance?: boolean): GetContestedResourceVotersForIdentityResponse.AsObject;
|
|
4158
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourceVotersForIdentityResponse): GetContestedResourceVotersForIdentityResponse.AsObject;
|
|
4159
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4160
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4161
|
+
static serializeBinaryToWriter(message: GetContestedResourceVotersForIdentityResponse, writer: jspb.BinaryWriter): void;
|
|
4162
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourceVotersForIdentityResponse;
|
|
4163
|
+
static deserializeBinaryFromReader(message: GetContestedResourceVotersForIdentityResponse, reader: jspb.BinaryReader): GetContestedResourceVotersForIdentityResponse;
|
|
4164
|
+
}
|
|
4165
|
+
|
|
4166
|
+
export namespace GetContestedResourceVotersForIdentityResponse {
|
|
4167
|
+
export type AsObject = {
|
|
4168
|
+
v0?: GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0.AsObject,
|
|
4169
|
+
}
|
|
4170
|
+
|
|
4171
|
+
export class GetContestedResourceVotersForIdentityResponseV0 extends jspb.Message {
|
|
4172
|
+
hasContestedResourceVoters(): boolean;
|
|
4173
|
+
clearContestedResourceVoters(): void;
|
|
4174
|
+
getContestedResourceVoters(): GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0.ContestedResourceVoters | undefined;
|
|
4175
|
+
setContestedResourceVoters(value?: GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0.ContestedResourceVoters): void;
|
|
4176
|
+
|
|
4177
|
+
hasProof(): boolean;
|
|
4178
|
+
clearProof(): void;
|
|
4179
|
+
getProof(): Proof | undefined;
|
|
4180
|
+
setProof(value?: Proof): void;
|
|
4181
|
+
|
|
4182
|
+
hasMetadata(): boolean;
|
|
4183
|
+
clearMetadata(): void;
|
|
4184
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
4185
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
4186
|
+
|
|
4187
|
+
getResultCase(): GetContestedResourceVotersForIdentityResponseV0.ResultCase;
|
|
4188
|
+
serializeBinary(): Uint8Array;
|
|
4189
|
+
toObject(includeInstance?: boolean): GetContestedResourceVotersForIdentityResponseV0.AsObject;
|
|
4190
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourceVotersForIdentityResponseV0): GetContestedResourceVotersForIdentityResponseV0.AsObject;
|
|
4191
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4192
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4193
|
+
static serializeBinaryToWriter(message: GetContestedResourceVotersForIdentityResponseV0, writer: jspb.BinaryWriter): void;
|
|
4194
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourceVotersForIdentityResponseV0;
|
|
4195
|
+
static deserializeBinaryFromReader(message: GetContestedResourceVotersForIdentityResponseV0, reader: jspb.BinaryReader): GetContestedResourceVotersForIdentityResponseV0;
|
|
4196
|
+
}
|
|
4197
|
+
|
|
4198
|
+
export namespace GetContestedResourceVotersForIdentityResponseV0 {
|
|
4199
|
+
export type AsObject = {
|
|
4200
|
+
contestedResourceVoters?: GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0.ContestedResourceVoters.AsObject,
|
|
4201
|
+
proof?: Proof.AsObject,
|
|
4202
|
+
metadata?: ResponseMetadata.AsObject,
|
|
4203
|
+
}
|
|
4204
|
+
|
|
4205
|
+
export class ContestedResourceVoters extends jspb.Message {
|
|
4206
|
+
clearVotersList(): void;
|
|
4207
|
+
getVotersList(): Array<Uint8Array | string>;
|
|
4208
|
+
getVotersList_asU8(): Array<Uint8Array>;
|
|
4209
|
+
getVotersList_asB64(): Array<string>;
|
|
4210
|
+
setVotersList(value: Array<Uint8Array | string>): void;
|
|
4211
|
+
addVoters(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
4212
|
+
|
|
4213
|
+
getFinishedResults(): boolean;
|
|
4214
|
+
setFinishedResults(value: boolean): void;
|
|
4215
|
+
|
|
4216
|
+
serializeBinary(): Uint8Array;
|
|
4217
|
+
toObject(includeInstance?: boolean): ContestedResourceVoters.AsObject;
|
|
4218
|
+
static toObject(includeInstance: boolean, msg: ContestedResourceVoters): ContestedResourceVoters.AsObject;
|
|
4219
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4220
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4221
|
+
static serializeBinaryToWriter(message: ContestedResourceVoters, writer: jspb.BinaryWriter): void;
|
|
4222
|
+
static deserializeBinary(bytes: Uint8Array): ContestedResourceVoters;
|
|
4223
|
+
static deserializeBinaryFromReader(message: ContestedResourceVoters, reader: jspb.BinaryReader): ContestedResourceVoters;
|
|
4224
|
+
}
|
|
4225
|
+
|
|
4226
|
+
export namespace ContestedResourceVoters {
|
|
4227
|
+
export type AsObject = {
|
|
4228
|
+
votersList: Array<Uint8Array | string>,
|
|
4229
|
+
finishedResults: boolean,
|
|
4230
|
+
}
|
|
4231
|
+
}
|
|
4232
|
+
|
|
4233
|
+
export enum ResultCase {
|
|
4234
|
+
RESULT_NOT_SET = 0,
|
|
4235
|
+
CONTESTED_RESOURCE_VOTERS = 1,
|
|
4236
|
+
PROOF = 2,
|
|
4237
|
+
}
|
|
4238
|
+
}
|
|
4239
|
+
|
|
4240
|
+
export enum VersionCase {
|
|
4241
|
+
VERSION_NOT_SET = 0,
|
|
4242
|
+
V0 = 1,
|
|
4243
|
+
}
|
|
4244
|
+
}
|
|
4245
|
+
|
|
4246
|
+
export class GetContestedResourceIdentityVotesRequest extends jspb.Message {
|
|
4247
|
+
hasV0(): boolean;
|
|
4248
|
+
clearV0(): void;
|
|
4249
|
+
getV0(): GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0 | undefined;
|
|
4250
|
+
setV0(value?: GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0): void;
|
|
4251
|
+
|
|
4252
|
+
getVersionCase(): GetContestedResourceIdentityVotesRequest.VersionCase;
|
|
4253
|
+
serializeBinary(): Uint8Array;
|
|
4254
|
+
toObject(includeInstance?: boolean): GetContestedResourceIdentityVotesRequest.AsObject;
|
|
4255
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourceIdentityVotesRequest): GetContestedResourceIdentityVotesRequest.AsObject;
|
|
4256
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4257
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4258
|
+
static serializeBinaryToWriter(message: GetContestedResourceIdentityVotesRequest, writer: jspb.BinaryWriter): void;
|
|
4259
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourceIdentityVotesRequest;
|
|
4260
|
+
static deserializeBinaryFromReader(message: GetContestedResourceIdentityVotesRequest, reader: jspb.BinaryReader): GetContestedResourceIdentityVotesRequest;
|
|
4261
|
+
}
|
|
4262
|
+
|
|
4263
|
+
export namespace GetContestedResourceIdentityVotesRequest {
|
|
4264
|
+
export type AsObject = {
|
|
4265
|
+
v0?: GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0.AsObject,
|
|
4266
|
+
}
|
|
4267
|
+
|
|
4268
|
+
export class GetContestedResourceIdentityVotesRequestV0 extends jspb.Message {
|
|
4269
|
+
getIdentityId(): Uint8Array | string;
|
|
4270
|
+
getIdentityId_asU8(): Uint8Array;
|
|
4271
|
+
getIdentityId_asB64(): string;
|
|
4272
|
+
setIdentityId(value: Uint8Array | string): void;
|
|
4273
|
+
|
|
4274
|
+
hasLimit(): boolean;
|
|
4275
|
+
clearLimit(): void;
|
|
4276
|
+
getLimit(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
|
4277
|
+
setLimit(value?: google_protobuf_wrappers_pb.UInt32Value): void;
|
|
4278
|
+
|
|
4279
|
+
hasOffset(): boolean;
|
|
4280
|
+
clearOffset(): void;
|
|
4281
|
+
getOffset(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
|
4282
|
+
setOffset(value?: google_protobuf_wrappers_pb.UInt32Value): void;
|
|
4283
|
+
|
|
4284
|
+
getOrderAscending(): boolean;
|
|
4285
|
+
setOrderAscending(value: boolean): void;
|
|
4286
|
+
|
|
4287
|
+
hasStartAtVotePollIdInfo(): boolean;
|
|
4288
|
+
clearStartAtVotePollIdInfo(): void;
|
|
4289
|
+
getStartAtVotePollIdInfo(): GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0.StartAtVotePollIdInfo | undefined;
|
|
4290
|
+
setStartAtVotePollIdInfo(value?: GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0.StartAtVotePollIdInfo): void;
|
|
4291
|
+
|
|
4292
|
+
getProve(): boolean;
|
|
4293
|
+
setProve(value: boolean): void;
|
|
4294
|
+
|
|
4295
|
+
serializeBinary(): Uint8Array;
|
|
4296
|
+
toObject(includeInstance?: boolean): GetContestedResourceIdentityVotesRequestV0.AsObject;
|
|
4297
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourceIdentityVotesRequestV0): GetContestedResourceIdentityVotesRequestV0.AsObject;
|
|
4298
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4299
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4300
|
+
static serializeBinaryToWriter(message: GetContestedResourceIdentityVotesRequestV0, writer: jspb.BinaryWriter): void;
|
|
4301
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourceIdentityVotesRequestV0;
|
|
4302
|
+
static deserializeBinaryFromReader(message: GetContestedResourceIdentityVotesRequestV0, reader: jspb.BinaryReader): GetContestedResourceIdentityVotesRequestV0;
|
|
4303
|
+
}
|
|
4304
|
+
|
|
4305
|
+
export namespace GetContestedResourceIdentityVotesRequestV0 {
|
|
4306
|
+
export type AsObject = {
|
|
4307
|
+
identityId: Uint8Array | string,
|
|
4308
|
+
limit?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
4309
|
+
offset?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
4310
|
+
orderAscending: boolean,
|
|
4311
|
+
startAtVotePollIdInfo?: GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0.StartAtVotePollIdInfo.AsObject,
|
|
4312
|
+
prove: boolean,
|
|
4313
|
+
}
|
|
4314
|
+
|
|
4315
|
+
export class StartAtVotePollIdInfo extends jspb.Message {
|
|
4316
|
+
getStartAtPollIdentifier(): Uint8Array | string;
|
|
4317
|
+
getStartAtPollIdentifier_asU8(): Uint8Array;
|
|
4318
|
+
getStartAtPollIdentifier_asB64(): string;
|
|
4319
|
+
setStartAtPollIdentifier(value: Uint8Array | string): void;
|
|
4320
|
+
|
|
4321
|
+
getStartPollIdentifierIncluded(): boolean;
|
|
4322
|
+
setStartPollIdentifierIncluded(value: boolean): void;
|
|
4323
|
+
|
|
4324
|
+
serializeBinary(): Uint8Array;
|
|
4325
|
+
toObject(includeInstance?: boolean): StartAtVotePollIdInfo.AsObject;
|
|
4326
|
+
static toObject(includeInstance: boolean, msg: StartAtVotePollIdInfo): StartAtVotePollIdInfo.AsObject;
|
|
4327
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4328
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4329
|
+
static serializeBinaryToWriter(message: StartAtVotePollIdInfo, writer: jspb.BinaryWriter): void;
|
|
4330
|
+
static deserializeBinary(bytes: Uint8Array): StartAtVotePollIdInfo;
|
|
4331
|
+
static deserializeBinaryFromReader(message: StartAtVotePollIdInfo, reader: jspb.BinaryReader): StartAtVotePollIdInfo;
|
|
4332
|
+
}
|
|
4333
|
+
|
|
4334
|
+
export namespace StartAtVotePollIdInfo {
|
|
4335
|
+
export type AsObject = {
|
|
4336
|
+
startAtPollIdentifier: Uint8Array | string,
|
|
4337
|
+
startPollIdentifierIncluded: boolean,
|
|
4338
|
+
}
|
|
4339
|
+
}
|
|
4340
|
+
}
|
|
4341
|
+
|
|
4342
|
+
export enum VersionCase {
|
|
4343
|
+
VERSION_NOT_SET = 0,
|
|
4344
|
+
V0 = 1,
|
|
4345
|
+
}
|
|
4346
|
+
}
|
|
4347
|
+
|
|
4348
|
+
export class GetContestedResourceIdentityVotesResponse extends jspb.Message {
|
|
4349
|
+
hasV0(): boolean;
|
|
4350
|
+
clearV0(): void;
|
|
4351
|
+
getV0(): GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0 | undefined;
|
|
4352
|
+
setV0(value?: GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0): void;
|
|
4353
|
+
|
|
4354
|
+
getVersionCase(): GetContestedResourceIdentityVotesResponse.VersionCase;
|
|
4355
|
+
serializeBinary(): Uint8Array;
|
|
4356
|
+
toObject(includeInstance?: boolean): GetContestedResourceIdentityVotesResponse.AsObject;
|
|
4357
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourceIdentityVotesResponse): GetContestedResourceIdentityVotesResponse.AsObject;
|
|
4358
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4359
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4360
|
+
static serializeBinaryToWriter(message: GetContestedResourceIdentityVotesResponse, writer: jspb.BinaryWriter): void;
|
|
4361
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourceIdentityVotesResponse;
|
|
4362
|
+
static deserializeBinaryFromReader(message: GetContestedResourceIdentityVotesResponse, reader: jspb.BinaryReader): GetContestedResourceIdentityVotesResponse;
|
|
4363
|
+
}
|
|
4364
|
+
|
|
4365
|
+
export namespace GetContestedResourceIdentityVotesResponse {
|
|
4366
|
+
export type AsObject = {
|
|
4367
|
+
v0?: GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.AsObject,
|
|
4368
|
+
}
|
|
4369
|
+
|
|
4370
|
+
export class GetContestedResourceIdentityVotesResponseV0 extends jspb.Message {
|
|
4371
|
+
hasVotes(): boolean;
|
|
4372
|
+
clearVotes(): void;
|
|
4373
|
+
getVotes(): GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVotes | undefined;
|
|
4374
|
+
setVotes(value?: GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVotes): void;
|
|
4375
|
+
|
|
4376
|
+
hasProof(): boolean;
|
|
4377
|
+
clearProof(): void;
|
|
4378
|
+
getProof(): Proof | undefined;
|
|
4379
|
+
setProof(value?: Proof): void;
|
|
4380
|
+
|
|
4381
|
+
hasMetadata(): boolean;
|
|
4382
|
+
clearMetadata(): void;
|
|
4383
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
4384
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
4385
|
+
|
|
4386
|
+
getResultCase(): GetContestedResourceIdentityVotesResponseV0.ResultCase;
|
|
4387
|
+
serializeBinary(): Uint8Array;
|
|
4388
|
+
toObject(includeInstance?: boolean): GetContestedResourceIdentityVotesResponseV0.AsObject;
|
|
4389
|
+
static toObject(includeInstance: boolean, msg: GetContestedResourceIdentityVotesResponseV0): GetContestedResourceIdentityVotesResponseV0.AsObject;
|
|
4390
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4391
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4392
|
+
static serializeBinaryToWriter(message: GetContestedResourceIdentityVotesResponseV0, writer: jspb.BinaryWriter): void;
|
|
4393
|
+
static deserializeBinary(bytes: Uint8Array): GetContestedResourceIdentityVotesResponseV0;
|
|
4394
|
+
static deserializeBinaryFromReader(message: GetContestedResourceIdentityVotesResponseV0, reader: jspb.BinaryReader): GetContestedResourceIdentityVotesResponseV0;
|
|
4395
|
+
}
|
|
4396
|
+
|
|
4397
|
+
export namespace GetContestedResourceIdentityVotesResponseV0 {
|
|
4398
|
+
export type AsObject = {
|
|
4399
|
+
votes?: GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVotes.AsObject,
|
|
4400
|
+
proof?: Proof.AsObject,
|
|
4401
|
+
metadata?: ResponseMetadata.AsObject,
|
|
4402
|
+
}
|
|
4403
|
+
|
|
4404
|
+
export class ContestedResourceIdentityVotes extends jspb.Message {
|
|
4405
|
+
clearContestedResourceIdentityVotesList(): void;
|
|
4406
|
+
getContestedResourceIdentityVotesList(): Array<GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVote>;
|
|
4407
|
+
setContestedResourceIdentityVotesList(value: Array<GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVote>): void;
|
|
4408
|
+
addContestedResourceIdentityVotes(value?: GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVote, index?: number): GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVote;
|
|
4409
|
+
|
|
4410
|
+
getFinishedResults(): boolean;
|
|
4411
|
+
setFinishedResults(value: boolean): void;
|
|
4412
|
+
|
|
4413
|
+
serializeBinary(): Uint8Array;
|
|
4414
|
+
toObject(includeInstance?: boolean): ContestedResourceIdentityVotes.AsObject;
|
|
4415
|
+
static toObject(includeInstance: boolean, msg: ContestedResourceIdentityVotes): ContestedResourceIdentityVotes.AsObject;
|
|
4416
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4417
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4418
|
+
static serializeBinaryToWriter(message: ContestedResourceIdentityVotes, writer: jspb.BinaryWriter): void;
|
|
4419
|
+
static deserializeBinary(bytes: Uint8Array): ContestedResourceIdentityVotes;
|
|
4420
|
+
static deserializeBinaryFromReader(message: ContestedResourceIdentityVotes, reader: jspb.BinaryReader): ContestedResourceIdentityVotes;
|
|
4421
|
+
}
|
|
4422
|
+
|
|
4423
|
+
export namespace ContestedResourceIdentityVotes {
|
|
4424
|
+
export type AsObject = {
|
|
4425
|
+
contestedResourceIdentityVotesList: Array<GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVote.AsObject>,
|
|
4426
|
+
finishedResults: boolean,
|
|
4427
|
+
}
|
|
4428
|
+
}
|
|
4429
|
+
|
|
4430
|
+
export class ResourceVoteChoice extends jspb.Message {
|
|
4431
|
+
getVoteChoiceType(): GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice.VoteChoiceTypeMap[keyof GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice.VoteChoiceTypeMap];
|
|
4432
|
+
setVoteChoiceType(value: GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice.VoteChoiceTypeMap[keyof GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice.VoteChoiceTypeMap]): void;
|
|
4433
|
+
|
|
4434
|
+
hasIdentityId(): boolean;
|
|
4435
|
+
clearIdentityId(): void;
|
|
4436
|
+
getIdentityId(): Uint8Array | string;
|
|
4437
|
+
getIdentityId_asU8(): Uint8Array;
|
|
4438
|
+
getIdentityId_asB64(): string;
|
|
4439
|
+
setIdentityId(value: Uint8Array | string): void;
|
|
4440
|
+
|
|
4441
|
+
serializeBinary(): Uint8Array;
|
|
4442
|
+
toObject(includeInstance?: boolean): ResourceVoteChoice.AsObject;
|
|
4443
|
+
static toObject(includeInstance: boolean, msg: ResourceVoteChoice): ResourceVoteChoice.AsObject;
|
|
4444
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4445
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4446
|
+
static serializeBinaryToWriter(message: ResourceVoteChoice, writer: jspb.BinaryWriter): void;
|
|
4447
|
+
static deserializeBinary(bytes: Uint8Array): ResourceVoteChoice;
|
|
4448
|
+
static deserializeBinaryFromReader(message: ResourceVoteChoice, reader: jspb.BinaryReader): ResourceVoteChoice;
|
|
4449
|
+
}
|
|
4450
|
+
|
|
4451
|
+
export namespace ResourceVoteChoice {
|
|
4452
|
+
export type AsObject = {
|
|
4453
|
+
voteChoiceType: GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice.VoteChoiceTypeMap[keyof GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice.VoteChoiceTypeMap],
|
|
4454
|
+
identityId: Uint8Array | string,
|
|
4455
|
+
}
|
|
4456
|
+
|
|
4457
|
+
export interface VoteChoiceTypeMap {
|
|
4458
|
+
TOWARDS_IDENTITY: 0;
|
|
4459
|
+
ABSTAIN: 1;
|
|
4460
|
+
LOCK: 2;
|
|
4461
|
+
}
|
|
4462
|
+
|
|
4463
|
+
export const VoteChoiceType: VoteChoiceTypeMap;
|
|
4464
|
+
}
|
|
4465
|
+
|
|
4466
|
+
export class ContestedResourceIdentityVote extends jspb.Message {
|
|
4467
|
+
getContractId(): Uint8Array | string;
|
|
4468
|
+
getContractId_asU8(): Uint8Array;
|
|
4469
|
+
getContractId_asB64(): string;
|
|
4470
|
+
setContractId(value: Uint8Array | string): void;
|
|
4471
|
+
|
|
4472
|
+
getDocumentTypeName(): string;
|
|
4473
|
+
setDocumentTypeName(value: string): void;
|
|
4474
|
+
|
|
4475
|
+
clearSerializedIndexStorageValuesList(): void;
|
|
4476
|
+
getSerializedIndexStorageValuesList(): Array<Uint8Array | string>;
|
|
4477
|
+
getSerializedIndexStorageValuesList_asU8(): Array<Uint8Array>;
|
|
4478
|
+
getSerializedIndexStorageValuesList_asB64(): Array<string>;
|
|
4479
|
+
setSerializedIndexStorageValuesList(value: Array<Uint8Array | string>): void;
|
|
4480
|
+
addSerializedIndexStorageValues(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
4481
|
+
|
|
4482
|
+
hasVoteChoice(): boolean;
|
|
4483
|
+
clearVoteChoice(): void;
|
|
4484
|
+
getVoteChoice(): GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice | undefined;
|
|
4485
|
+
setVoteChoice(value?: GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice): void;
|
|
4486
|
+
|
|
4487
|
+
serializeBinary(): Uint8Array;
|
|
4488
|
+
toObject(includeInstance?: boolean): ContestedResourceIdentityVote.AsObject;
|
|
4489
|
+
static toObject(includeInstance: boolean, msg: ContestedResourceIdentityVote): ContestedResourceIdentityVote.AsObject;
|
|
4490
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4491
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4492
|
+
static serializeBinaryToWriter(message: ContestedResourceIdentityVote, writer: jspb.BinaryWriter): void;
|
|
4493
|
+
static deserializeBinary(bytes: Uint8Array): ContestedResourceIdentityVote;
|
|
4494
|
+
static deserializeBinaryFromReader(message: ContestedResourceIdentityVote, reader: jspb.BinaryReader): ContestedResourceIdentityVote;
|
|
4495
|
+
}
|
|
4496
|
+
|
|
4497
|
+
export namespace ContestedResourceIdentityVote {
|
|
4498
|
+
export type AsObject = {
|
|
4499
|
+
contractId: Uint8Array | string,
|
|
4500
|
+
documentTypeName: string,
|
|
4501
|
+
serializedIndexStorageValuesList: Array<Uint8Array | string>,
|
|
4502
|
+
voteChoice?: GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice.AsObject,
|
|
4503
|
+
}
|
|
4504
|
+
}
|
|
4505
|
+
|
|
4506
|
+
export enum ResultCase {
|
|
4507
|
+
RESULT_NOT_SET = 0,
|
|
4508
|
+
VOTES = 1,
|
|
4509
|
+
PROOF = 2,
|
|
4510
|
+
}
|
|
4511
|
+
}
|
|
4512
|
+
|
|
4513
|
+
export enum VersionCase {
|
|
4514
|
+
VERSION_NOT_SET = 0,
|
|
4515
|
+
V0 = 1,
|
|
4516
|
+
}
|
|
4517
|
+
}
|
|
4518
|
+
|
|
4519
|
+
export class GetPrefundedSpecializedBalanceRequest extends jspb.Message {
|
|
4520
|
+
hasV0(): boolean;
|
|
4521
|
+
clearV0(): void;
|
|
4522
|
+
getV0(): GetPrefundedSpecializedBalanceRequest.GetPrefundedSpecializedBalanceRequestV0 | undefined;
|
|
4523
|
+
setV0(value?: GetPrefundedSpecializedBalanceRequest.GetPrefundedSpecializedBalanceRequestV0): void;
|
|
4524
|
+
|
|
4525
|
+
getVersionCase(): GetPrefundedSpecializedBalanceRequest.VersionCase;
|
|
4526
|
+
serializeBinary(): Uint8Array;
|
|
4527
|
+
toObject(includeInstance?: boolean): GetPrefundedSpecializedBalanceRequest.AsObject;
|
|
4528
|
+
static toObject(includeInstance: boolean, msg: GetPrefundedSpecializedBalanceRequest): GetPrefundedSpecializedBalanceRequest.AsObject;
|
|
4529
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4530
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4531
|
+
static serializeBinaryToWriter(message: GetPrefundedSpecializedBalanceRequest, writer: jspb.BinaryWriter): void;
|
|
4532
|
+
static deserializeBinary(bytes: Uint8Array): GetPrefundedSpecializedBalanceRequest;
|
|
4533
|
+
static deserializeBinaryFromReader(message: GetPrefundedSpecializedBalanceRequest, reader: jspb.BinaryReader): GetPrefundedSpecializedBalanceRequest;
|
|
4534
|
+
}
|
|
4535
|
+
|
|
4536
|
+
export namespace GetPrefundedSpecializedBalanceRequest {
|
|
4537
|
+
export type AsObject = {
|
|
4538
|
+
v0?: GetPrefundedSpecializedBalanceRequest.GetPrefundedSpecializedBalanceRequestV0.AsObject,
|
|
4539
|
+
}
|
|
4540
|
+
|
|
4541
|
+
export class GetPrefundedSpecializedBalanceRequestV0 extends jspb.Message {
|
|
4542
|
+
getId(): Uint8Array | string;
|
|
4543
|
+
getId_asU8(): Uint8Array;
|
|
4544
|
+
getId_asB64(): string;
|
|
4545
|
+
setId(value: Uint8Array | string): void;
|
|
4546
|
+
|
|
4547
|
+
getProve(): boolean;
|
|
4548
|
+
setProve(value: boolean): void;
|
|
4549
|
+
|
|
4550
|
+
serializeBinary(): Uint8Array;
|
|
4551
|
+
toObject(includeInstance?: boolean): GetPrefundedSpecializedBalanceRequestV0.AsObject;
|
|
4552
|
+
static toObject(includeInstance: boolean, msg: GetPrefundedSpecializedBalanceRequestV0): GetPrefundedSpecializedBalanceRequestV0.AsObject;
|
|
4553
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4554
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4555
|
+
static serializeBinaryToWriter(message: GetPrefundedSpecializedBalanceRequestV0, writer: jspb.BinaryWriter): void;
|
|
4556
|
+
static deserializeBinary(bytes: Uint8Array): GetPrefundedSpecializedBalanceRequestV0;
|
|
4557
|
+
static deserializeBinaryFromReader(message: GetPrefundedSpecializedBalanceRequestV0, reader: jspb.BinaryReader): GetPrefundedSpecializedBalanceRequestV0;
|
|
4558
|
+
}
|
|
4559
|
+
|
|
4560
|
+
export namespace GetPrefundedSpecializedBalanceRequestV0 {
|
|
4561
|
+
export type AsObject = {
|
|
4562
|
+
id: Uint8Array | string,
|
|
4563
|
+
prove: boolean,
|
|
4564
|
+
}
|
|
4565
|
+
}
|
|
4566
|
+
|
|
4567
|
+
export enum VersionCase {
|
|
4568
|
+
VERSION_NOT_SET = 0,
|
|
4569
|
+
V0 = 1,
|
|
4570
|
+
}
|
|
4571
|
+
}
|
|
4572
|
+
|
|
4573
|
+
export class GetPrefundedSpecializedBalanceResponse extends jspb.Message {
|
|
4574
|
+
hasV0(): boolean;
|
|
4575
|
+
clearV0(): void;
|
|
4576
|
+
getV0(): GetPrefundedSpecializedBalanceResponse.GetPrefundedSpecializedBalanceResponseV0 | undefined;
|
|
4577
|
+
setV0(value?: GetPrefundedSpecializedBalanceResponse.GetPrefundedSpecializedBalanceResponseV0): void;
|
|
4578
|
+
|
|
4579
|
+
getVersionCase(): GetPrefundedSpecializedBalanceResponse.VersionCase;
|
|
4580
|
+
serializeBinary(): Uint8Array;
|
|
4581
|
+
toObject(includeInstance?: boolean): GetPrefundedSpecializedBalanceResponse.AsObject;
|
|
4582
|
+
static toObject(includeInstance: boolean, msg: GetPrefundedSpecializedBalanceResponse): GetPrefundedSpecializedBalanceResponse.AsObject;
|
|
4583
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4584
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4585
|
+
static serializeBinaryToWriter(message: GetPrefundedSpecializedBalanceResponse, writer: jspb.BinaryWriter): void;
|
|
4586
|
+
static deserializeBinary(bytes: Uint8Array): GetPrefundedSpecializedBalanceResponse;
|
|
4587
|
+
static deserializeBinaryFromReader(message: GetPrefundedSpecializedBalanceResponse, reader: jspb.BinaryReader): GetPrefundedSpecializedBalanceResponse;
|
|
4588
|
+
}
|
|
4589
|
+
|
|
4590
|
+
export namespace GetPrefundedSpecializedBalanceResponse {
|
|
4591
|
+
export type AsObject = {
|
|
4592
|
+
v0?: GetPrefundedSpecializedBalanceResponse.GetPrefundedSpecializedBalanceResponseV0.AsObject,
|
|
4593
|
+
}
|
|
4594
|
+
|
|
4595
|
+
export class GetPrefundedSpecializedBalanceResponseV0 extends jspb.Message {
|
|
4596
|
+
hasBalance(): boolean;
|
|
4597
|
+
clearBalance(): void;
|
|
4598
|
+
getBalance(): number;
|
|
4599
|
+
setBalance(value: number): void;
|
|
4600
|
+
|
|
4601
|
+
hasProof(): boolean;
|
|
4602
|
+
clearProof(): void;
|
|
4603
|
+
getProof(): Proof | undefined;
|
|
4604
|
+
setProof(value?: Proof): void;
|
|
4605
|
+
|
|
4606
|
+
hasMetadata(): boolean;
|
|
4607
|
+
clearMetadata(): void;
|
|
4608
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
4609
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
4610
|
+
|
|
4611
|
+
getResultCase(): GetPrefundedSpecializedBalanceResponseV0.ResultCase;
|
|
4612
|
+
serializeBinary(): Uint8Array;
|
|
4613
|
+
toObject(includeInstance?: boolean): GetPrefundedSpecializedBalanceResponseV0.AsObject;
|
|
4614
|
+
static toObject(includeInstance: boolean, msg: GetPrefundedSpecializedBalanceResponseV0): GetPrefundedSpecializedBalanceResponseV0.AsObject;
|
|
4615
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4616
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4617
|
+
static serializeBinaryToWriter(message: GetPrefundedSpecializedBalanceResponseV0, writer: jspb.BinaryWriter): void;
|
|
4618
|
+
static deserializeBinary(bytes: Uint8Array): GetPrefundedSpecializedBalanceResponseV0;
|
|
4619
|
+
static deserializeBinaryFromReader(message: GetPrefundedSpecializedBalanceResponseV0, reader: jspb.BinaryReader): GetPrefundedSpecializedBalanceResponseV0;
|
|
4620
|
+
}
|
|
4621
|
+
|
|
4622
|
+
export namespace GetPrefundedSpecializedBalanceResponseV0 {
|
|
4623
|
+
export type AsObject = {
|
|
4624
|
+
balance: number,
|
|
4625
|
+
proof?: Proof.AsObject,
|
|
4626
|
+
metadata?: ResponseMetadata.AsObject,
|
|
4627
|
+
}
|
|
4628
|
+
|
|
4629
|
+
export enum ResultCase {
|
|
4630
|
+
RESULT_NOT_SET = 0,
|
|
4631
|
+
BALANCE = 1,
|
|
4632
|
+
PROOF = 2,
|
|
4633
|
+
}
|
|
4634
|
+
}
|
|
4635
|
+
|
|
4636
|
+
export enum VersionCase {
|
|
4637
|
+
VERSION_NOT_SET = 0,
|
|
4638
|
+
V0 = 1,
|
|
4639
|
+
}
|
|
4640
|
+
}
|
|
4641
|
+
|
|
4642
|
+
export class GetPathElementsRequest extends jspb.Message {
|
|
4643
|
+
hasV0(): boolean;
|
|
4644
|
+
clearV0(): void;
|
|
4645
|
+
getV0(): GetPathElementsRequest.GetPathElementsRequestV0 | undefined;
|
|
4646
|
+
setV0(value?: GetPathElementsRequest.GetPathElementsRequestV0): void;
|
|
4647
|
+
|
|
4648
|
+
getVersionCase(): GetPathElementsRequest.VersionCase;
|
|
4649
|
+
serializeBinary(): Uint8Array;
|
|
4650
|
+
toObject(includeInstance?: boolean): GetPathElementsRequest.AsObject;
|
|
4651
|
+
static toObject(includeInstance: boolean, msg: GetPathElementsRequest): GetPathElementsRequest.AsObject;
|
|
4652
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4653
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4654
|
+
static serializeBinaryToWriter(message: GetPathElementsRequest, writer: jspb.BinaryWriter): void;
|
|
4655
|
+
static deserializeBinary(bytes: Uint8Array): GetPathElementsRequest;
|
|
4656
|
+
static deserializeBinaryFromReader(message: GetPathElementsRequest, reader: jspb.BinaryReader): GetPathElementsRequest;
|
|
4657
|
+
}
|
|
4658
|
+
|
|
4659
|
+
export namespace GetPathElementsRequest {
|
|
4660
|
+
export type AsObject = {
|
|
4661
|
+
v0?: GetPathElementsRequest.GetPathElementsRequestV0.AsObject,
|
|
4662
|
+
}
|
|
4663
|
+
|
|
4664
|
+
export class GetPathElementsRequestV0 extends jspb.Message {
|
|
4665
|
+
clearPathList(): void;
|
|
4666
|
+
getPathList(): Array<Uint8Array | string>;
|
|
4667
|
+
getPathList_asU8(): Array<Uint8Array>;
|
|
4668
|
+
getPathList_asB64(): Array<string>;
|
|
4669
|
+
setPathList(value: Array<Uint8Array | string>): void;
|
|
4670
|
+
addPath(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
4671
|
+
|
|
4672
|
+
clearKeysList(): void;
|
|
4673
|
+
getKeysList(): Array<Uint8Array | string>;
|
|
4674
|
+
getKeysList_asU8(): Array<Uint8Array>;
|
|
4675
|
+
getKeysList_asB64(): Array<string>;
|
|
4676
|
+
setKeysList(value: Array<Uint8Array | string>): void;
|
|
4677
|
+
addKeys(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
4678
|
+
|
|
4679
|
+
getProve(): boolean;
|
|
4680
|
+
setProve(value: boolean): void;
|
|
4681
|
+
|
|
4682
|
+
serializeBinary(): Uint8Array;
|
|
4683
|
+
toObject(includeInstance?: boolean): GetPathElementsRequestV0.AsObject;
|
|
4684
|
+
static toObject(includeInstance: boolean, msg: GetPathElementsRequestV0): GetPathElementsRequestV0.AsObject;
|
|
4685
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4686
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4687
|
+
static serializeBinaryToWriter(message: GetPathElementsRequestV0, writer: jspb.BinaryWriter): void;
|
|
4688
|
+
static deserializeBinary(bytes: Uint8Array): GetPathElementsRequestV0;
|
|
4689
|
+
static deserializeBinaryFromReader(message: GetPathElementsRequestV0, reader: jspb.BinaryReader): GetPathElementsRequestV0;
|
|
4690
|
+
}
|
|
4691
|
+
|
|
4692
|
+
export namespace GetPathElementsRequestV0 {
|
|
4693
|
+
export type AsObject = {
|
|
4694
|
+
pathList: Array<Uint8Array | string>,
|
|
4695
|
+
keysList: Array<Uint8Array | string>,
|
|
4696
|
+
prove: boolean,
|
|
4697
|
+
}
|
|
4698
|
+
}
|
|
4699
|
+
|
|
4700
|
+
export enum VersionCase {
|
|
4701
|
+
VERSION_NOT_SET = 0,
|
|
4702
|
+
V0 = 1,
|
|
4703
|
+
}
|
|
4704
|
+
}
|
|
4705
|
+
|
|
4706
|
+
export class GetPathElementsResponse extends jspb.Message {
|
|
4707
|
+
hasV0(): boolean;
|
|
4708
|
+
clearV0(): void;
|
|
4709
|
+
getV0(): GetPathElementsResponse.GetPathElementsResponseV0 | undefined;
|
|
4710
|
+
setV0(value?: GetPathElementsResponse.GetPathElementsResponseV0): void;
|
|
4711
|
+
|
|
4712
|
+
getVersionCase(): GetPathElementsResponse.VersionCase;
|
|
4713
|
+
serializeBinary(): Uint8Array;
|
|
4714
|
+
toObject(includeInstance?: boolean): GetPathElementsResponse.AsObject;
|
|
4715
|
+
static toObject(includeInstance: boolean, msg: GetPathElementsResponse): GetPathElementsResponse.AsObject;
|
|
4716
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4717
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4718
|
+
static serializeBinaryToWriter(message: GetPathElementsResponse, writer: jspb.BinaryWriter): void;
|
|
4719
|
+
static deserializeBinary(bytes: Uint8Array): GetPathElementsResponse;
|
|
4720
|
+
static deserializeBinaryFromReader(message: GetPathElementsResponse, reader: jspb.BinaryReader): GetPathElementsResponse;
|
|
4721
|
+
}
|
|
4722
|
+
|
|
4723
|
+
export namespace GetPathElementsResponse {
|
|
4724
|
+
export type AsObject = {
|
|
4725
|
+
v0?: GetPathElementsResponse.GetPathElementsResponseV0.AsObject,
|
|
4726
|
+
}
|
|
4727
|
+
|
|
4728
|
+
export class GetPathElementsResponseV0 extends jspb.Message {
|
|
4729
|
+
hasElements(): boolean;
|
|
4730
|
+
clearElements(): void;
|
|
4731
|
+
getElements(): GetPathElementsResponse.GetPathElementsResponseV0.Elements | undefined;
|
|
4732
|
+
setElements(value?: GetPathElementsResponse.GetPathElementsResponseV0.Elements): void;
|
|
4733
|
+
|
|
4734
|
+
hasProof(): boolean;
|
|
4735
|
+
clearProof(): void;
|
|
4736
|
+
getProof(): Proof | undefined;
|
|
4737
|
+
setProof(value?: Proof): void;
|
|
4738
|
+
|
|
4739
|
+
hasMetadata(): boolean;
|
|
4740
|
+
clearMetadata(): void;
|
|
4741
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
4742
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
4743
|
+
|
|
4744
|
+
getResultCase(): GetPathElementsResponseV0.ResultCase;
|
|
4745
|
+
serializeBinary(): Uint8Array;
|
|
4746
|
+
toObject(includeInstance?: boolean): GetPathElementsResponseV0.AsObject;
|
|
4747
|
+
static toObject(includeInstance: boolean, msg: GetPathElementsResponseV0): GetPathElementsResponseV0.AsObject;
|
|
4748
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4749
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4750
|
+
static serializeBinaryToWriter(message: GetPathElementsResponseV0, writer: jspb.BinaryWriter): void;
|
|
4751
|
+
static deserializeBinary(bytes: Uint8Array): GetPathElementsResponseV0;
|
|
4752
|
+
static deserializeBinaryFromReader(message: GetPathElementsResponseV0, reader: jspb.BinaryReader): GetPathElementsResponseV0;
|
|
4753
|
+
}
|
|
4754
|
+
|
|
4755
|
+
export namespace GetPathElementsResponseV0 {
|
|
4756
|
+
export type AsObject = {
|
|
4757
|
+
elements?: GetPathElementsResponse.GetPathElementsResponseV0.Elements.AsObject,
|
|
4758
|
+
proof?: Proof.AsObject,
|
|
4759
|
+
metadata?: ResponseMetadata.AsObject,
|
|
4760
|
+
}
|
|
4761
|
+
|
|
4762
|
+
export class Elements extends jspb.Message {
|
|
4763
|
+
clearElementsList(): void;
|
|
4764
|
+
getElementsList(): Array<Uint8Array | string>;
|
|
4765
|
+
getElementsList_asU8(): Array<Uint8Array>;
|
|
4766
|
+
getElementsList_asB64(): Array<string>;
|
|
4767
|
+
setElementsList(value: Array<Uint8Array | string>): void;
|
|
4768
|
+
addElements(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
4769
|
+
|
|
4770
|
+
serializeBinary(): Uint8Array;
|
|
4771
|
+
toObject(includeInstance?: boolean): Elements.AsObject;
|
|
4772
|
+
static toObject(includeInstance: boolean, msg: Elements): Elements.AsObject;
|
|
4773
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4774
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4775
|
+
static serializeBinaryToWriter(message: Elements, writer: jspb.BinaryWriter): void;
|
|
4776
|
+
static deserializeBinary(bytes: Uint8Array): Elements;
|
|
4777
|
+
static deserializeBinaryFromReader(message: Elements, reader: jspb.BinaryReader): Elements;
|
|
4778
|
+
}
|
|
4779
|
+
|
|
4780
|
+
export namespace Elements {
|
|
4781
|
+
export type AsObject = {
|
|
4782
|
+
elementsList: Array<Uint8Array | string>,
|
|
4783
|
+
}
|
|
4784
|
+
}
|
|
4785
|
+
|
|
4786
|
+
export enum ResultCase {
|
|
4787
|
+
RESULT_NOT_SET = 0,
|
|
4788
|
+
ELEMENTS = 1,
|
|
4789
|
+
PROOF = 2,
|
|
4790
|
+
}
|
|
4791
|
+
}
|
|
4792
|
+
|
|
4793
|
+
export enum VersionCase {
|
|
4794
|
+
VERSION_NOT_SET = 0,
|
|
4795
|
+
V0 = 1,
|
|
4796
|
+
}
|
|
4797
|
+
}
|
|
4798
|
+
|
|
4799
|
+
export interface KeyPurposeMap {
|
|
4800
|
+
AUTHENTICATION: 0;
|
|
4801
|
+
ENCRYPTION: 1;
|
|
4802
|
+
DECRYPTION: 2;
|
|
4803
|
+
TRANSFER: 3;
|
|
4804
|
+
VOTING: 5;
|
|
4805
|
+
}
|
|
4806
|
+
|
|
4807
|
+
export const KeyPurpose: KeyPurposeMap;
|
|
4808
|
+
|