@dashevo/dapi-grpc 5.0.0-beta.1 → 5.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/clients/drive/v0/nodejs/drive_pbjs.js +776 -7
- package/clients/platform/v0/nodejs/platform_pbjs.js +776 -7
- package/clients/platform/v0/nodejs/platform_protoc.js +1053 -9
- package/clients/platform/v0/web/platform_pb.d.ts +126 -0
- package/clients/platform/v0/web/platform_pb.js +1053 -9
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +25 -0
- package/test/unit/shielded-requests.spec.js +51 -0
|
@@ -13380,6 +13380,70 @@ export namespace GetGroupActionsResponse {
|
|
|
13380
13380
|
}
|
|
13381
13381
|
}
|
|
13382
13382
|
|
|
13383
|
+
export class MintToPoolEvent extends jspb.Message {
|
|
13384
|
+
getAmount(): number;
|
|
13385
|
+
setAmount(value: number): void;
|
|
13386
|
+
|
|
13387
|
+
getActionsDigest(): Uint8Array | string;
|
|
13388
|
+
getActionsDigest_asU8(): Uint8Array;
|
|
13389
|
+
getActionsDigest_asB64(): string;
|
|
13390
|
+
setActionsDigest(value: Uint8Array | string): void;
|
|
13391
|
+
|
|
13392
|
+
hasPublicNote(): boolean;
|
|
13393
|
+
clearPublicNote(): void;
|
|
13394
|
+
getPublicNote(): string;
|
|
13395
|
+
setPublicNote(value: string): void;
|
|
13396
|
+
|
|
13397
|
+
serializeBinary(): Uint8Array;
|
|
13398
|
+
toObject(includeInstance?: boolean): MintToPoolEvent.AsObject;
|
|
13399
|
+
static toObject(includeInstance: boolean, msg: MintToPoolEvent): MintToPoolEvent.AsObject;
|
|
13400
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
13401
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
13402
|
+
static serializeBinaryToWriter(message: MintToPoolEvent, writer: jspb.BinaryWriter): void;
|
|
13403
|
+
static deserializeBinary(bytes: Uint8Array): MintToPoolEvent;
|
|
13404
|
+
static deserializeBinaryFromReader(message: MintToPoolEvent, reader: jspb.BinaryReader): MintToPoolEvent;
|
|
13405
|
+
}
|
|
13406
|
+
|
|
13407
|
+
export namespace MintToPoolEvent {
|
|
13408
|
+
export type AsObject = {
|
|
13409
|
+
amount: number,
|
|
13410
|
+
actionsDigest: Uint8Array | string,
|
|
13411
|
+
publicNote: string,
|
|
13412
|
+
}
|
|
13413
|
+
}
|
|
13414
|
+
|
|
13415
|
+
export class BurnFromPoolEvent extends jspb.Message {
|
|
13416
|
+
getAmount(): number;
|
|
13417
|
+
setAmount(value: number): void;
|
|
13418
|
+
|
|
13419
|
+
getActionsDigest(): Uint8Array | string;
|
|
13420
|
+
getActionsDigest_asU8(): Uint8Array;
|
|
13421
|
+
getActionsDigest_asB64(): string;
|
|
13422
|
+
setActionsDigest(value: Uint8Array | string): void;
|
|
13423
|
+
|
|
13424
|
+
hasPublicNote(): boolean;
|
|
13425
|
+
clearPublicNote(): void;
|
|
13426
|
+
getPublicNote(): string;
|
|
13427
|
+
setPublicNote(value: string): void;
|
|
13428
|
+
|
|
13429
|
+
serializeBinary(): Uint8Array;
|
|
13430
|
+
toObject(includeInstance?: boolean): BurnFromPoolEvent.AsObject;
|
|
13431
|
+
static toObject(includeInstance: boolean, msg: BurnFromPoolEvent): BurnFromPoolEvent.AsObject;
|
|
13432
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
13433
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
13434
|
+
static serializeBinaryToWriter(message: BurnFromPoolEvent, writer: jspb.BinaryWriter): void;
|
|
13435
|
+
static deserializeBinary(bytes: Uint8Array): BurnFromPoolEvent;
|
|
13436
|
+
static deserializeBinaryFromReader(message: BurnFromPoolEvent, reader: jspb.BinaryReader): BurnFromPoolEvent;
|
|
13437
|
+
}
|
|
13438
|
+
|
|
13439
|
+
export namespace BurnFromPoolEvent {
|
|
13440
|
+
export type AsObject = {
|
|
13441
|
+
amount: number,
|
|
13442
|
+
actionsDigest: Uint8Array | string,
|
|
13443
|
+
publicNote: string,
|
|
13444
|
+
}
|
|
13445
|
+
}
|
|
13446
|
+
|
|
13383
13447
|
export class GroupActionEvent extends jspb.Message {
|
|
13384
13448
|
hasTokenEvent(): boolean;
|
|
13385
13449
|
clearTokenEvent(): void;
|
|
@@ -13563,6 +13627,16 @@ export namespace GetGroupActionsResponse {
|
|
|
13563
13627
|
getUpdatePrice(): GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent | undefined;
|
|
13564
13628
|
setUpdatePrice(value?: GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent): void;
|
|
13565
13629
|
|
|
13630
|
+
hasMintToPool(): boolean;
|
|
13631
|
+
clearMintToPool(): void;
|
|
13632
|
+
getMintToPool(): GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent | undefined;
|
|
13633
|
+
setMintToPool(value?: GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent): void;
|
|
13634
|
+
|
|
13635
|
+
hasBurnFromPool(): boolean;
|
|
13636
|
+
clearBurnFromPool(): void;
|
|
13637
|
+
getBurnFromPool(): GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent | undefined;
|
|
13638
|
+
setBurnFromPool(value?: GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent): void;
|
|
13639
|
+
|
|
13566
13640
|
getTypeCase(): TokenEvent.TypeCase;
|
|
13567
13641
|
serializeBinary(): Uint8Array;
|
|
13568
13642
|
toObject(includeInstance?: boolean): TokenEvent.AsObject;
|
|
@@ -13584,6 +13658,8 @@ export namespace GetGroupActionsResponse {
|
|
|
13584
13658
|
emergencyAction?: GetGroupActionsResponse.GetGroupActionsResponseV0.EmergencyActionEvent.AsObject,
|
|
13585
13659
|
tokenConfigUpdate?: GetGroupActionsResponse.GetGroupActionsResponseV0.TokenConfigUpdateEvent.AsObject,
|
|
13586
13660
|
updatePrice?: GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.AsObject,
|
|
13661
|
+
mintToPool?: GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.AsObject,
|
|
13662
|
+
burnFromPool?: GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.AsObject,
|
|
13587
13663
|
}
|
|
13588
13664
|
|
|
13589
13665
|
export enum TypeCase {
|
|
@@ -13596,6 +13672,8 @@ export namespace GetGroupActionsResponse {
|
|
|
13596
13672
|
EMERGENCY_ACTION = 6,
|
|
13597
13673
|
TOKEN_CONFIG_UPDATE = 7,
|
|
13598
13674
|
UPDATE_PRICE = 8,
|
|
13675
|
+
MINT_TO_POOL = 9,
|
|
13676
|
+
BURN_FROM_POOL = 10,
|
|
13599
13677
|
}
|
|
13600
13678
|
}
|
|
13601
13679
|
|
|
@@ -14890,6 +14968,13 @@ export namespace GetShieldedEncryptedNotesRequest {
|
|
|
14890
14968
|
getProve(): boolean;
|
|
14891
14969
|
setProve(value: boolean): void;
|
|
14892
14970
|
|
|
14971
|
+
hasTokenId(): boolean;
|
|
14972
|
+
clearTokenId(): void;
|
|
14973
|
+
getTokenId(): Uint8Array | string;
|
|
14974
|
+
getTokenId_asU8(): Uint8Array;
|
|
14975
|
+
getTokenId_asB64(): string;
|
|
14976
|
+
setTokenId(value: Uint8Array | string): void;
|
|
14977
|
+
|
|
14893
14978
|
serializeBinary(): Uint8Array;
|
|
14894
14979
|
toObject(includeInstance?: boolean): GetShieldedEncryptedNotesRequestV0.AsObject;
|
|
14895
14980
|
static toObject(includeInstance: boolean, msg: GetShieldedEncryptedNotesRequestV0): GetShieldedEncryptedNotesRequestV0.AsObject;
|
|
@@ -14905,6 +14990,7 @@ export namespace GetShieldedEncryptedNotesRequest {
|
|
|
14905
14990
|
startIndex: number,
|
|
14906
14991
|
count: number,
|
|
14907
14992
|
prove: boolean,
|
|
14993
|
+
tokenId: Uint8Array | string,
|
|
14908
14994
|
}
|
|
14909
14995
|
}
|
|
14910
14996
|
|
|
@@ -15071,6 +15157,13 @@ export namespace GetShieldedAnchorsRequest {
|
|
|
15071
15157
|
getProve(): boolean;
|
|
15072
15158
|
setProve(value: boolean): void;
|
|
15073
15159
|
|
|
15160
|
+
hasTokenId(): boolean;
|
|
15161
|
+
clearTokenId(): void;
|
|
15162
|
+
getTokenId(): Uint8Array | string;
|
|
15163
|
+
getTokenId_asU8(): Uint8Array;
|
|
15164
|
+
getTokenId_asB64(): string;
|
|
15165
|
+
setTokenId(value: Uint8Array | string): void;
|
|
15166
|
+
|
|
15074
15167
|
serializeBinary(): Uint8Array;
|
|
15075
15168
|
toObject(includeInstance?: boolean): GetShieldedAnchorsRequestV0.AsObject;
|
|
15076
15169
|
static toObject(includeInstance: boolean, msg: GetShieldedAnchorsRequestV0): GetShieldedAnchorsRequestV0.AsObject;
|
|
@@ -15084,6 +15177,7 @@ export namespace GetShieldedAnchorsRequest {
|
|
|
15084
15177
|
export namespace GetShieldedAnchorsRequestV0 {
|
|
15085
15178
|
export type AsObject = {
|
|
15086
15179
|
prove: boolean,
|
|
15180
|
+
tokenId: Uint8Array | string,
|
|
15087
15181
|
}
|
|
15088
15182
|
}
|
|
15089
15183
|
|
|
@@ -15212,6 +15306,13 @@ export namespace GetMostRecentShieldedAnchorRequest {
|
|
|
15212
15306
|
getProve(): boolean;
|
|
15213
15307
|
setProve(value: boolean): void;
|
|
15214
15308
|
|
|
15309
|
+
hasTokenId(): boolean;
|
|
15310
|
+
clearTokenId(): void;
|
|
15311
|
+
getTokenId(): Uint8Array | string;
|
|
15312
|
+
getTokenId_asU8(): Uint8Array;
|
|
15313
|
+
getTokenId_asB64(): string;
|
|
15314
|
+
setTokenId(value: Uint8Array | string): void;
|
|
15315
|
+
|
|
15215
15316
|
serializeBinary(): Uint8Array;
|
|
15216
15317
|
toObject(includeInstance?: boolean): GetMostRecentShieldedAnchorRequestV0.AsObject;
|
|
15217
15318
|
static toObject(includeInstance: boolean, msg: GetMostRecentShieldedAnchorRequestV0): GetMostRecentShieldedAnchorRequestV0.AsObject;
|
|
@@ -15225,6 +15326,7 @@ export namespace GetMostRecentShieldedAnchorRequest {
|
|
|
15225
15326
|
export namespace GetMostRecentShieldedAnchorRequestV0 {
|
|
15226
15327
|
export type AsObject = {
|
|
15227
15328
|
prove: boolean,
|
|
15329
|
+
tokenId: Uint8Array | string,
|
|
15228
15330
|
}
|
|
15229
15331
|
}
|
|
15230
15332
|
|
|
@@ -15331,6 +15433,13 @@ export namespace GetShieldedPoolStateRequest {
|
|
|
15331
15433
|
getProve(): boolean;
|
|
15332
15434
|
setProve(value: boolean): void;
|
|
15333
15435
|
|
|
15436
|
+
hasTokenId(): boolean;
|
|
15437
|
+
clearTokenId(): void;
|
|
15438
|
+
getTokenId(): Uint8Array | string;
|
|
15439
|
+
getTokenId_asU8(): Uint8Array;
|
|
15440
|
+
getTokenId_asB64(): string;
|
|
15441
|
+
setTokenId(value: Uint8Array | string): void;
|
|
15442
|
+
|
|
15334
15443
|
serializeBinary(): Uint8Array;
|
|
15335
15444
|
toObject(includeInstance?: boolean): GetShieldedPoolStateRequestV0.AsObject;
|
|
15336
15445
|
static toObject(includeInstance: boolean, msg: GetShieldedPoolStateRequestV0): GetShieldedPoolStateRequestV0.AsObject;
|
|
@@ -15344,6 +15453,7 @@ export namespace GetShieldedPoolStateRequest {
|
|
|
15344
15453
|
export namespace GetShieldedPoolStateRequestV0 {
|
|
15345
15454
|
export type AsObject = {
|
|
15346
15455
|
prove: boolean,
|
|
15456
|
+
tokenId: Uint8Array | string,
|
|
15347
15457
|
}
|
|
15348
15458
|
}
|
|
15349
15459
|
|
|
@@ -15448,6 +15558,13 @@ export namespace GetShieldedNotesCountRequest {
|
|
|
15448
15558
|
getProve(): boolean;
|
|
15449
15559
|
setProve(value: boolean): void;
|
|
15450
15560
|
|
|
15561
|
+
hasTokenId(): boolean;
|
|
15562
|
+
clearTokenId(): void;
|
|
15563
|
+
getTokenId(): Uint8Array | string;
|
|
15564
|
+
getTokenId_asU8(): Uint8Array;
|
|
15565
|
+
getTokenId_asB64(): string;
|
|
15566
|
+
setTokenId(value: Uint8Array | string): void;
|
|
15567
|
+
|
|
15451
15568
|
serializeBinary(): Uint8Array;
|
|
15452
15569
|
toObject(includeInstance?: boolean): GetShieldedNotesCountRequestV0.AsObject;
|
|
15453
15570
|
static toObject(includeInstance: boolean, msg: GetShieldedNotesCountRequestV0): GetShieldedNotesCountRequestV0.AsObject;
|
|
@@ -15461,6 +15578,7 @@ export namespace GetShieldedNotesCountRequest {
|
|
|
15461
15578
|
export namespace GetShieldedNotesCountRequestV0 {
|
|
15462
15579
|
export type AsObject = {
|
|
15463
15580
|
prove: boolean,
|
|
15581
|
+
tokenId: Uint8Array | string,
|
|
15464
15582
|
}
|
|
15465
15583
|
}
|
|
15466
15584
|
|
|
@@ -15572,6 +15690,13 @@ export namespace GetShieldedNullifiersRequest {
|
|
|
15572
15690
|
getProve(): boolean;
|
|
15573
15691
|
setProve(value: boolean): void;
|
|
15574
15692
|
|
|
15693
|
+
hasTokenId(): boolean;
|
|
15694
|
+
clearTokenId(): void;
|
|
15695
|
+
getTokenId(): Uint8Array | string;
|
|
15696
|
+
getTokenId_asU8(): Uint8Array;
|
|
15697
|
+
getTokenId_asB64(): string;
|
|
15698
|
+
setTokenId(value: Uint8Array | string): void;
|
|
15699
|
+
|
|
15575
15700
|
serializeBinary(): Uint8Array;
|
|
15576
15701
|
toObject(includeInstance?: boolean): GetShieldedNullifiersRequestV0.AsObject;
|
|
15577
15702
|
static toObject(includeInstance: boolean, msg: GetShieldedNullifiersRequestV0): GetShieldedNullifiersRequestV0.AsObject;
|
|
@@ -15586,6 +15711,7 @@ export namespace GetShieldedNullifiersRequest {
|
|
|
15586
15711
|
export type AsObject = {
|
|
15587
15712
|
nullifiersList: Array<Uint8Array | string>,
|
|
15588
15713
|
prove: boolean,
|
|
15714
|
+
tokenId: Uint8Array | string,
|
|
15589
15715
|
}
|
|
15590
15716
|
}
|
|
15591
15717
|
|