@dashevo/dapi-grpc 2.0.0-rc.1 → 2.0.0-rc.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.toml +1 -1
- package/build.rs +4 -2
- package/clients/drive/v0/nodejs/drive_pbjs.js +1810 -243
- package/clients/platform/v0/nodejs/platform_pbjs.js +1810 -243
- package/clients/platform/v0/nodejs/platform_protoc.js +1755 -117
- package/clients/platform/v0/web/platform_pb.d.ts +218 -0
- package/clients/platform/v0/web/platform_pb.js +1755 -117
- package/clients/platform/v0/web/platform_pb_service.d.ts +19 -0
- package/clients/platform/v0/web/platform_pb_service.js +40 -0
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +57 -2
- package/src/deserialization.rs +1 -1
|
@@ -7298,6 +7298,218 @@ export namespace GetTokenPreProgrammedDistributionsResponse {
|
|
|
7298
7298
|
}
|
|
7299
7299
|
}
|
|
7300
7300
|
|
|
7301
|
+
export class GetTokenPerpetualDistributionLastClaimRequest extends jspb.Message {
|
|
7302
|
+
hasV0(): boolean;
|
|
7303
|
+
clearV0(): void;
|
|
7304
|
+
getV0(): GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0 | undefined;
|
|
7305
|
+
setV0(value?: GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0): void;
|
|
7306
|
+
|
|
7307
|
+
getVersionCase(): GetTokenPerpetualDistributionLastClaimRequest.VersionCase;
|
|
7308
|
+
serializeBinary(): Uint8Array;
|
|
7309
|
+
toObject(includeInstance?: boolean): GetTokenPerpetualDistributionLastClaimRequest.AsObject;
|
|
7310
|
+
static toObject(includeInstance: boolean, msg: GetTokenPerpetualDistributionLastClaimRequest): GetTokenPerpetualDistributionLastClaimRequest.AsObject;
|
|
7311
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7312
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7313
|
+
static serializeBinaryToWriter(message: GetTokenPerpetualDistributionLastClaimRequest, writer: jspb.BinaryWriter): void;
|
|
7314
|
+
static deserializeBinary(bytes: Uint8Array): GetTokenPerpetualDistributionLastClaimRequest;
|
|
7315
|
+
static deserializeBinaryFromReader(message: GetTokenPerpetualDistributionLastClaimRequest, reader: jspb.BinaryReader): GetTokenPerpetualDistributionLastClaimRequest;
|
|
7316
|
+
}
|
|
7317
|
+
|
|
7318
|
+
export namespace GetTokenPerpetualDistributionLastClaimRequest {
|
|
7319
|
+
export type AsObject = {
|
|
7320
|
+
v0?: GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.AsObject,
|
|
7321
|
+
}
|
|
7322
|
+
|
|
7323
|
+
export class ContractTokenInfo extends jspb.Message {
|
|
7324
|
+
getContractId(): Uint8Array | string;
|
|
7325
|
+
getContractId_asU8(): Uint8Array;
|
|
7326
|
+
getContractId_asB64(): string;
|
|
7327
|
+
setContractId(value: Uint8Array | string): void;
|
|
7328
|
+
|
|
7329
|
+
getTokenContractPosition(): number;
|
|
7330
|
+
setTokenContractPosition(value: number): void;
|
|
7331
|
+
|
|
7332
|
+
serializeBinary(): Uint8Array;
|
|
7333
|
+
toObject(includeInstance?: boolean): ContractTokenInfo.AsObject;
|
|
7334
|
+
static toObject(includeInstance: boolean, msg: ContractTokenInfo): ContractTokenInfo.AsObject;
|
|
7335
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7336
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7337
|
+
static serializeBinaryToWriter(message: ContractTokenInfo, writer: jspb.BinaryWriter): void;
|
|
7338
|
+
static deserializeBinary(bytes: Uint8Array): ContractTokenInfo;
|
|
7339
|
+
static deserializeBinaryFromReader(message: ContractTokenInfo, reader: jspb.BinaryReader): ContractTokenInfo;
|
|
7340
|
+
}
|
|
7341
|
+
|
|
7342
|
+
export namespace ContractTokenInfo {
|
|
7343
|
+
export type AsObject = {
|
|
7344
|
+
contractId: Uint8Array | string,
|
|
7345
|
+
tokenContractPosition: number,
|
|
7346
|
+
}
|
|
7347
|
+
}
|
|
7348
|
+
|
|
7349
|
+
export class GetTokenPerpetualDistributionLastClaimRequestV0 extends jspb.Message {
|
|
7350
|
+
getTokenId(): Uint8Array | string;
|
|
7351
|
+
getTokenId_asU8(): Uint8Array;
|
|
7352
|
+
getTokenId_asB64(): string;
|
|
7353
|
+
setTokenId(value: Uint8Array | string): void;
|
|
7354
|
+
|
|
7355
|
+
hasContractInfo(): boolean;
|
|
7356
|
+
clearContractInfo(): void;
|
|
7357
|
+
getContractInfo(): GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo | undefined;
|
|
7358
|
+
setContractInfo(value?: GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo): void;
|
|
7359
|
+
|
|
7360
|
+
getIdentityId(): Uint8Array | string;
|
|
7361
|
+
getIdentityId_asU8(): Uint8Array;
|
|
7362
|
+
getIdentityId_asB64(): string;
|
|
7363
|
+
setIdentityId(value: Uint8Array | string): void;
|
|
7364
|
+
|
|
7365
|
+
getProve(): boolean;
|
|
7366
|
+
setProve(value: boolean): void;
|
|
7367
|
+
|
|
7368
|
+
serializeBinary(): Uint8Array;
|
|
7369
|
+
toObject(includeInstance?: boolean): GetTokenPerpetualDistributionLastClaimRequestV0.AsObject;
|
|
7370
|
+
static toObject(includeInstance: boolean, msg: GetTokenPerpetualDistributionLastClaimRequestV0): GetTokenPerpetualDistributionLastClaimRequestV0.AsObject;
|
|
7371
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7372
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7373
|
+
static serializeBinaryToWriter(message: GetTokenPerpetualDistributionLastClaimRequestV0, writer: jspb.BinaryWriter): void;
|
|
7374
|
+
static deserializeBinary(bytes: Uint8Array): GetTokenPerpetualDistributionLastClaimRequestV0;
|
|
7375
|
+
static deserializeBinaryFromReader(message: GetTokenPerpetualDistributionLastClaimRequestV0, reader: jspb.BinaryReader): GetTokenPerpetualDistributionLastClaimRequestV0;
|
|
7376
|
+
}
|
|
7377
|
+
|
|
7378
|
+
export namespace GetTokenPerpetualDistributionLastClaimRequestV0 {
|
|
7379
|
+
export type AsObject = {
|
|
7380
|
+
tokenId: Uint8Array | string,
|
|
7381
|
+
contractInfo?: GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.AsObject,
|
|
7382
|
+
identityId: Uint8Array | string,
|
|
7383
|
+
prove: boolean,
|
|
7384
|
+
}
|
|
7385
|
+
}
|
|
7386
|
+
|
|
7387
|
+
export enum VersionCase {
|
|
7388
|
+
VERSION_NOT_SET = 0,
|
|
7389
|
+
V0 = 1,
|
|
7390
|
+
}
|
|
7391
|
+
}
|
|
7392
|
+
|
|
7393
|
+
export class GetTokenPerpetualDistributionLastClaimResponse extends jspb.Message {
|
|
7394
|
+
hasV0(): boolean;
|
|
7395
|
+
clearV0(): void;
|
|
7396
|
+
getV0(): GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0 | undefined;
|
|
7397
|
+
setV0(value?: GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0): void;
|
|
7398
|
+
|
|
7399
|
+
getVersionCase(): GetTokenPerpetualDistributionLastClaimResponse.VersionCase;
|
|
7400
|
+
serializeBinary(): Uint8Array;
|
|
7401
|
+
toObject(includeInstance?: boolean): GetTokenPerpetualDistributionLastClaimResponse.AsObject;
|
|
7402
|
+
static toObject(includeInstance: boolean, msg: GetTokenPerpetualDistributionLastClaimResponse): GetTokenPerpetualDistributionLastClaimResponse.AsObject;
|
|
7403
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7404
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7405
|
+
static serializeBinaryToWriter(message: GetTokenPerpetualDistributionLastClaimResponse, writer: jspb.BinaryWriter): void;
|
|
7406
|
+
static deserializeBinary(bytes: Uint8Array): GetTokenPerpetualDistributionLastClaimResponse;
|
|
7407
|
+
static deserializeBinaryFromReader(message: GetTokenPerpetualDistributionLastClaimResponse, reader: jspb.BinaryReader): GetTokenPerpetualDistributionLastClaimResponse;
|
|
7408
|
+
}
|
|
7409
|
+
|
|
7410
|
+
export namespace GetTokenPerpetualDistributionLastClaimResponse {
|
|
7411
|
+
export type AsObject = {
|
|
7412
|
+
v0?: GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.AsObject,
|
|
7413
|
+
}
|
|
7414
|
+
|
|
7415
|
+
export class GetTokenPerpetualDistributionLastClaimResponseV0 extends jspb.Message {
|
|
7416
|
+
hasLastClaim(): boolean;
|
|
7417
|
+
clearLastClaim(): void;
|
|
7418
|
+
getLastClaim(): GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo | undefined;
|
|
7419
|
+
setLastClaim(value?: GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo): void;
|
|
7420
|
+
|
|
7421
|
+
hasProof(): boolean;
|
|
7422
|
+
clearProof(): void;
|
|
7423
|
+
getProof(): Proof | undefined;
|
|
7424
|
+
setProof(value?: Proof): void;
|
|
7425
|
+
|
|
7426
|
+
hasMetadata(): boolean;
|
|
7427
|
+
clearMetadata(): void;
|
|
7428
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
7429
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
7430
|
+
|
|
7431
|
+
getResultCase(): GetTokenPerpetualDistributionLastClaimResponseV0.ResultCase;
|
|
7432
|
+
serializeBinary(): Uint8Array;
|
|
7433
|
+
toObject(includeInstance?: boolean): GetTokenPerpetualDistributionLastClaimResponseV0.AsObject;
|
|
7434
|
+
static toObject(includeInstance: boolean, msg: GetTokenPerpetualDistributionLastClaimResponseV0): GetTokenPerpetualDistributionLastClaimResponseV0.AsObject;
|
|
7435
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7436
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7437
|
+
static serializeBinaryToWriter(message: GetTokenPerpetualDistributionLastClaimResponseV0, writer: jspb.BinaryWriter): void;
|
|
7438
|
+
static deserializeBinary(bytes: Uint8Array): GetTokenPerpetualDistributionLastClaimResponseV0;
|
|
7439
|
+
static deserializeBinaryFromReader(message: GetTokenPerpetualDistributionLastClaimResponseV0, reader: jspb.BinaryReader): GetTokenPerpetualDistributionLastClaimResponseV0;
|
|
7440
|
+
}
|
|
7441
|
+
|
|
7442
|
+
export namespace GetTokenPerpetualDistributionLastClaimResponseV0 {
|
|
7443
|
+
export type AsObject = {
|
|
7444
|
+
lastClaim?: GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.AsObject,
|
|
7445
|
+
proof?: Proof.AsObject,
|
|
7446
|
+
metadata?: ResponseMetadata.AsObject,
|
|
7447
|
+
}
|
|
7448
|
+
|
|
7449
|
+
export class LastClaimInfo extends jspb.Message {
|
|
7450
|
+
hasTimestampMs(): boolean;
|
|
7451
|
+
clearTimestampMs(): void;
|
|
7452
|
+
getTimestampMs(): string;
|
|
7453
|
+
setTimestampMs(value: string): void;
|
|
7454
|
+
|
|
7455
|
+
hasBlockHeight(): boolean;
|
|
7456
|
+
clearBlockHeight(): void;
|
|
7457
|
+
getBlockHeight(): string;
|
|
7458
|
+
setBlockHeight(value: string): void;
|
|
7459
|
+
|
|
7460
|
+
hasEpoch(): boolean;
|
|
7461
|
+
clearEpoch(): void;
|
|
7462
|
+
getEpoch(): number;
|
|
7463
|
+
setEpoch(value: number): void;
|
|
7464
|
+
|
|
7465
|
+
hasRawBytes(): boolean;
|
|
7466
|
+
clearRawBytes(): void;
|
|
7467
|
+
getRawBytes(): Uint8Array | string;
|
|
7468
|
+
getRawBytes_asU8(): Uint8Array;
|
|
7469
|
+
getRawBytes_asB64(): string;
|
|
7470
|
+
setRawBytes(value: Uint8Array | string): void;
|
|
7471
|
+
|
|
7472
|
+
getPaidAtCase(): LastClaimInfo.PaidAtCase;
|
|
7473
|
+
serializeBinary(): Uint8Array;
|
|
7474
|
+
toObject(includeInstance?: boolean): LastClaimInfo.AsObject;
|
|
7475
|
+
static toObject(includeInstance: boolean, msg: LastClaimInfo): LastClaimInfo.AsObject;
|
|
7476
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7477
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7478
|
+
static serializeBinaryToWriter(message: LastClaimInfo, writer: jspb.BinaryWriter): void;
|
|
7479
|
+
static deserializeBinary(bytes: Uint8Array): LastClaimInfo;
|
|
7480
|
+
static deserializeBinaryFromReader(message: LastClaimInfo, reader: jspb.BinaryReader): LastClaimInfo;
|
|
7481
|
+
}
|
|
7482
|
+
|
|
7483
|
+
export namespace LastClaimInfo {
|
|
7484
|
+
export type AsObject = {
|
|
7485
|
+
timestampMs: string,
|
|
7486
|
+
blockHeight: string,
|
|
7487
|
+
epoch: number,
|
|
7488
|
+
rawBytes: Uint8Array | string,
|
|
7489
|
+
}
|
|
7490
|
+
|
|
7491
|
+
export enum PaidAtCase {
|
|
7492
|
+
PAID_AT_NOT_SET = 0,
|
|
7493
|
+
TIMESTAMP_MS = 1,
|
|
7494
|
+
BLOCK_HEIGHT = 2,
|
|
7495
|
+
EPOCH = 3,
|
|
7496
|
+
RAW_BYTES = 4,
|
|
7497
|
+
}
|
|
7498
|
+
}
|
|
7499
|
+
|
|
7500
|
+
export enum ResultCase {
|
|
7501
|
+
RESULT_NOT_SET = 0,
|
|
7502
|
+
LAST_CLAIM = 1,
|
|
7503
|
+
PROOF = 2,
|
|
7504
|
+
}
|
|
7505
|
+
}
|
|
7506
|
+
|
|
7507
|
+
export enum VersionCase {
|
|
7508
|
+
VERSION_NOT_SET = 0,
|
|
7509
|
+
V0 = 1,
|
|
7510
|
+
}
|
|
7511
|
+
}
|
|
7512
|
+
|
|
7301
7513
|
export class GetTokenTotalSupplyRequest extends jspb.Message {
|
|
7302
7514
|
hasV0(): boolean;
|
|
7303
7515
|
clearV0(): void;
|
|
@@ -8088,6 +8300,11 @@ export namespace GetGroupActionsResponse {
|
|
|
8088
8300
|
getAmount(): number;
|
|
8089
8301
|
setAmount(value: number): void;
|
|
8090
8302
|
|
|
8303
|
+
getBurnFromId(): Uint8Array | string;
|
|
8304
|
+
getBurnFromId_asU8(): Uint8Array;
|
|
8305
|
+
getBurnFromId_asB64(): string;
|
|
8306
|
+
setBurnFromId(value: Uint8Array | string): void;
|
|
8307
|
+
|
|
8091
8308
|
hasPublicNote(): boolean;
|
|
8092
8309
|
clearPublicNote(): void;
|
|
8093
8310
|
getPublicNote(): string;
|
|
@@ -8106,6 +8323,7 @@ export namespace GetGroupActionsResponse {
|
|
|
8106
8323
|
export namespace BurnEvent {
|
|
8107
8324
|
export type AsObject = {
|
|
8108
8325
|
amount: number,
|
|
8326
|
+
burnFromId: Uint8Array | string,
|
|
8109
8327
|
publicNote: string,
|
|
8110
8328
|
}
|
|
8111
8329
|
}
|