@dashevo/dapi-grpc 1.1.0-pr.1713.2 → 1.1.0-pr.2012.3
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/platform/v0/nodejs/PlatformPromiseClient.js +36 -0
- package/clients/platform/v0/nodejs/platform_pbjs.js +919 -0
- package/clients/platform/v0/nodejs/platform_protoc.js +849 -0
- package/clients/platform/v0/web/platform_pb.d.ts +117 -0
- package/clients/platform/v0/web/platform_pb.js +849 -0
- 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 +25 -0
|
@@ -4639,6 +4639,123 @@ export namespace GetPrefundedSpecializedBalanceResponse {
|
|
|
4639
4639
|
}
|
|
4640
4640
|
}
|
|
4641
4641
|
|
|
4642
|
+
export class GetTotalCreditsInPlatformRequest extends jspb.Message {
|
|
4643
|
+
hasV0(): boolean;
|
|
4644
|
+
clearV0(): void;
|
|
4645
|
+
getV0(): GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0 | undefined;
|
|
4646
|
+
setV0(value?: GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0): void;
|
|
4647
|
+
|
|
4648
|
+
getVersionCase(): GetTotalCreditsInPlatformRequest.VersionCase;
|
|
4649
|
+
serializeBinary(): Uint8Array;
|
|
4650
|
+
toObject(includeInstance?: boolean): GetTotalCreditsInPlatformRequest.AsObject;
|
|
4651
|
+
static toObject(includeInstance: boolean, msg: GetTotalCreditsInPlatformRequest): GetTotalCreditsInPlatformRequest.AsObject;
|
|
4652
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4653
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4654
|
+
static serializeBinaryToWriter(message: GetTotalCreditsInPlatformRequest, writer: jspb.BinaryWriter): void;
|
|
4655
|
+
static deserializeBinary(bytes: Uint8Array): GetTotalCreditsInPlatformRequest;
|
|
4656
|
+
static deserializeBinaryFromReader(message: GetTotalCreditsInPlatformRequest, reader: jspb.BinaryReader): GetTotalCreditsInPlatformRequest;
|
|
4657
|
+
}
|
|
4658
|
+
|
|
4659
|
+
export namespace GetTotalCreditsInPlatformRequest {
|
|
4660
|
+
export type AsObject = {
|
|
4661
|
+
v0?: GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0.AsObject,
|
|
4662
|
+
}
|
|
4663
|
+
|
|
4664
|
+
export class GetTotalCreditsInPlatformRequestV0 extends jspb.Message {
|
|
4665
|
+
getProve(): boolean;
|
|
4666
|
+
setProve(value: boolean): void;
|
|
4667
|
+
|
|
4668
|
+
serializeBinary(): Uint8Array;
|
|
4669
|
+
toObject(includeInstance?: boolean): GetTotalCreditsInPlatformRequestV0.AsObject;
|
|
4670
|
+
static toObject(includeInstance: boolean, msg: GetTotalCreditsInPlatformRequestV0): GetTotalCreditsInPlatformRequestV0.AsObject;
|
|
4671
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4672
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4673
|
+
static serializeBinaryToWriter(message: GetTotalCreditsInPlatformRequestV0, writer: jspb.BinaryWriter): void;
|
|
4674
|
+
static deserializeBinary(bytes: Uint8Array): GetTotalCreditsInPlatformRequestV0;
|
|
4675
|
+
static deserializeBinaryFromReader(message: GetTotalCreditsInPlatformRequestV0, reader: jspb.BinaryReader): GetTotalCreditsInPlatformRequestV0;
|
|
4676
|
+
}
|
|
4677
|
+
|
|
4678
|
+
export namespace GetTotalCreditsInPlatformRequestV0 {
|
|
4679
|
+
export type AsObject = {
|
|
4680
|
+
prove: boolean,
|
|
4681
|
+
}
|
|
4682
|
+
}
|
|
4683
|
+
|
|
4684
|
+
export enum VersionCase {
|
|
4685
|
+
VERSION_NOT_SET = 0,
|
|
4686
|
+
V0 = 1,
|
|
4687
|
+
}
|
|
4688
|
+
}
|
|
4689
|
+
|
|
4690
|
+
export class GetTotalCreditsInPlatformResponse extends jspb.Message {
|
|
4691
|
+
hasV0(): boolean;
|
|
4692
|
+
clearV0(): void;
|
|
4693
|
+
getV0(): GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0 | undefined;
|
|
4694
|
+
setV0(value?: GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0): void;
|
|
4695
|
+
|
|
4696
|
+
getVersionCase(): GetTotalCreditsInPlatformResponse.VersionCase;
|
|
4697
|
+
serializeBinary(): Uint8Array;
|
|
4698
|
+
toObject(includeInstance?: boolean): GetTotalCreditsInPlatformResponse.AsObject;
|
|
4699
|
+
static toObject(includeInstance: boolean, msg: GetTotalCreditsInPlatformResponse): GetTotalCreditsInPlatformResponse.AsObject;
|
|
4700
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4701
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4702
|
+
static serializeBinaryToWriter(message: GetTotalCreditsInPlatformResponse, writer: jspb.BinaryWriter): void;
|
|
4703
|
+
static deserializeBinary(bytes: Uint8Array): GetTotalCreditsInPlatformResponse;
|
|
4704
|
+
static deserializeBinaryFromReader(message: GetTotalCreditsInPlatformResponse, reader: jspb.BinaryReader): GetTotalCreditsInPlatformResponse;
|
|
4705
|
+
}
|
|
4706
|
+
|
|
4707
|
+
export namespace GetTotalCreditsInPlatformResponse {
|
|
4708
|
+
export type AsObject = {
|
|
4709
|
+
v0?: GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0.AsObject,
|
|
4710
|
+
}
|
|
4711
|
+
|
|
4712
|
+
export class GetTotalCreditsInPlatformResponseV0 extends jspb.Message {
|
|
4713
|
+
hasCredits(): boolean;
|
|
4714
|
+
clearCredits(): void;
|
|
4715
|
+
getCredits(): number;
|
|
4716
|
+
setCredits(value: number): void;
|
|
4717
|
+
|
|
4718
|
+
hasProof(): boolean;
|
|
4719
|
+
clearProof(): void;
|
|
4720
|
+
getProof(): Proof | undefined;
|
|
4721
|
+
setProof(value?: Proof): void;
|
|
4722
|
+
|
|
4723
|
+
hasMetadata(): boolean;
|
|
4724
|
+
clearMetadata(): void;
|
|
4725
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
4726
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
4727
|
+
|
|
4728
|
+
getResultCase(): GetTotalCreditsInPlatformResponseV0.ResultCase;
|
|
4729
|
+
serializeBinary(): Uint8Array;
|
|
4730
|
+
toObject(includeInstance?: boolean): GetTotalCreditsInPlatformResponseV0.AsObject;
|
|
4731
|
+
static toObject(includeInstance: boolean, msg: GetTotalCreditsInPlatformResponseV0): GetTotalCreditsInPlatformResponseV0.AsObject;
|
|
4732
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4733
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4734
|
+
static serializeBinaryToWriter(message: GetTotalCreditsInPlatformResponseV0, writer: jspb.BinaryWriter): void;
|
|
4735
|
+
static deserializeBinary(bytes: Uint8Array): GetTotalCreditsInPlatformResponseV0;
|
|
4736
|
+
static deserializeBinaryFromReader(message: GetTotalCreditsInPlatformResponseV0, reader: jspb.BinaryReader): GetTotalCreditsInPlatformResponseV0;
|
|
4737
|
+
}
|
|
4738
|
+
|
|
4739
|
+
export namespace GetTotalCreditsInPlatformResponseV0 {
|
|
4740
|
+
export type AsObject = {
|
|
4741
|
+
credits: number,
|
|
4742
|
+
proof?: Proof.AsObject,
|
|
4743
|
+
metadata?: ResponseMetadata.AsObject,
|
|
4744
|
+
}
|
|
4745
|
+
|
|
4746
|
+
export enum ResultCase {
|
|
4747
|
+
RESULT_NOT_SET = 0,
|
|
4748
|
+
CREDITS = 1,
|
|
4749
|
+
PROOF = 2,
|
|
4750
|
+
}
|
|
4751
|
+
}
|
|
4752
|
+
|
|
4753
|
+
export enum VersionCase {
|
|
4754
|
+
VERSION_NOT_SET = 0,
|
|
4755
|
+
V0 = 1,
|
|
4756
|
+
}
|
|
4757
|
+
}
|
|
4758
|
+
|
|
4642
4759
|
export class GetPathElementsRequest extends jspb.Message {
|
|
4643
4760
|
hasV0(): boolean;
|
|
4644
4761
|
clearV0(): void;
|