Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,840 changes: 2,838 additions & 2 deletions packages/dapi-grpc/clients/drive/v0/nodejs/drive_pbjs.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,37 @@ org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenStatusesResponse> getGetTok
return getGetTokenStatusesMethod;
}

private static volatile io.grpc.MethodDescriptor<org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesRequest,
org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesResponse> getGetTokenDirectPurchasePricesMethod;

@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "getTokenDirectPurchasePrices",
requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesRequest.class,
responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesRequest,
org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesResponse> getGetTokenDirectPurchasePricesMethod() {
io.grpc.MethodDescriptor<org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesRequest, org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesResponse> getGetTokenDirectPurchasePricesMethod;
if ((getGetTokenDirectPurchasePricesMethod = PlatformGrpc.getGetTokenDirectPurchasePricesMethod) == null) {
synchronized (PlatformGrpc.class) {
if ((getGetTokenDirectPurchasePricesMethod = PlatformGrpc.getGetTokenDirectPurchasePricesMethod) == null) {
PlatformGrpc.getGetTokenDirectPurchasePricesMethod = getGetTokenDirectPurchasePricesMethod =
io.grpc.MethodDescriptor.<org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesRequest, org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesResponse>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "getTokenDirectPurchasePrices"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesResponse.getDefaultInstance()))
.setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getTokenDirectPurchasePrices"))
.build();
}
}
}
return getGetTokenDirectPurchasePricesMethod;
}

private static volatile io.grpc.MethodDescriptor<org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenPreProgrammedDistributionsRequest,
org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenPreProgrammedDistributionsResponse> getGetTokenPreProgrammedDistributionsMethod;

Expand Down Expand Up @@ -1632,6 +1663,13 @@ public void getTokenStatuses(org.dash.platform.dapi.v0.PlatformOuterClass.GetTok
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTokenStatusesMethod(), responseObserver);
}

/**
*/
public void getTokenDirectPurchasePrices(org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesRequest request,
io.grpc.stub.StreamObserver<org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesResponse> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTokenDirectPurchasePricesMethod(), responseObserver);
}

/**
*/
public void getTokenPreProgrammedDistributions(org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenPreProgrammedDistributionsRequest request,
Expand Down Expand Up @@ -1928,6 +1966,13 @@ public void getGroupActionSigners(org.dash.platform.dapi.v0.PlatformOuterClass.G
org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenStatusesRequest,
org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenStatusesResponse>(
this, METHODID_GET_TOKEN_STATUSES)))
.addMethod(
getGetTokenDirectPurchasePricesMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesRequest,
org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesResponse>(
this, METHODID_GET_TOKEN_DIRECT_PURCHASE_PRICES)))
.addMethod(
getGetTokenPreProgrammedDistributionsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
Expand Down Expand Up @@ -2291,6 +2336,14 @@ public void getTokenStatuses(org.dash.platform.dapi.v0.PlatformOuterClass.GetTok
getChannel().newCall(getGetTokenStatusesMethod(), getCallOptions()), request, responseObserver);
}

/**
*/
public void getTokenDirectPurchasePrices(org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesRequest request,
io.grpc.stub.StreamObserver<org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesResponse> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetTokenDirectPurchasePricesMethod(), getCallOptions()), request, responseObserver);
}

/**
*/
public void getTokenPreProgrammedDistributions(org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenPreProgrammedDistributionsRequest request,
Expand Down Expand Up @@ -2621,6 +2674,13 @@ public org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenStatusesResponse get
getChannel(), getGetTokenStatusesMethod(), getCallOptions(), request);
}

/**
*/
public org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesResponse getTokenDirectPurchasePrices(org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetTokenDirectPurchasePricesMethod(), getCallOptions(), request);
}

/**
*/
public org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenPreProgrammedDistributionsResponse getTokenPreProgrammedDistributions(org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenPreProgrammedDistributionsRequest request) {
Expand Down Expand Up @@ -2981,6 +3041,14 @@ public com.google.common.util.concurrent.ListenableFuture<org.dash.platform.dapi
getChannel().newCall(getGetTokenStatusesMethod(), getCallOptions()), request);
}

/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesResponse> getTokenDirectPurchasePrices(
org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetTokenDirectPurchasePricesMethod(), getCallOptions()), request);
}

/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenPreProgrammedDistributionsResponse> getTokenPreProgrammedDistributions(
Expand Down Expand Up @@ -3066,12 +3134,13 @@ public com.google.common.util.concurrent.ListenableFuture<org.dash.platform.dapi
private static final int METHODID_GET_IDENTITY_TOKEN_INFOS = 33;
private static final int METHODID_GET_IDENTITIES_TOKEN_INFOS = 34;
private static final int METHODID_GET_TOKEN_STATUSES = 35;
private static final int METHODID_GET_TOKEN_PRE_PROGRAMMED_DISTRIBUTIONS = 36;
private static final int METHODID_GET_TOKEN_TOTAL_SUPPLY = 37;
private static final int METHODID_GET_GROUP_INFO = 38;
private static final int METHODID_GET_GROUP_INFOS = 39;
private static final int METHODID_GET_GROUP_ACTIONS = 40;
private static final int METHODID_GET_GROUP_ACTION_SIGNERS = 41;
private static final int METHODID_GET_TOKEN_DIRECT_PURCHASE_PRICES = 36;
private static final int METHODID_GET_TOKEN_PRE_PROGRAMMED_DISTRIBUTIONS = 37;
private static final int METHODID_GET_TOKEN_TOTAL_SUPPLY = 38;
private static final int METHODID_GET_GROUP_INFO = 39;
private static final int METHODID_GET_GROUP_INFOS = 40;
private static final int METHODID_GET_GROUP_ACTIONS = 41;
private static final int METHODID_GET_GROUP_ACTION_SIGNERS = 42;

private static final class MethodHandlers<Req, Resp> implements
io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
Expand Down Expand Up @@ -3234,6 +3303,10 @@ public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserv
serviceImpl.getTokenStatuses((org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenStatusesRequest) request,
(io.grpc.stub.StreamObserver<org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenStatusesResponse>) responseObserver);
break;
case METHODID_GET_TOKEN_DIRECT_PURCHASE_PRICES:
serviceImpl.getTokenDirectPurchasePrices((org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesRequest) request,
(io.grpc.stub.StreamObserver<org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenDirectPurchasePricesResponse>) responseObserver);
break;
case METHODID_GET_TOKEN_PRE_PROGRAMMED_DISTRIBUTIONS:
serviceImpl.getTokenPreProgrammedDistributions((org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenPreProgrammedDistributionsRequest) request,
(io.grpc.stub.StreamObserver<org.dash.platform.dapi.v0.PlatformOuterClass.GetTokenPreProgrammedDistributionsResponse>) responseObserver);
Expand Down Expand Up @@ -3355,6 +3428,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
.addMethod(getGetIdentityTokenInfosMethod())
.addMethod(getGetIdentitiesTokenInfosMethod())
.addMethod(getGetTokenStatusesMethod())
.addMethod(getGetTokenDirectPurchasePricesMethod())
.addMethod(getGetTokenPreProgrammedDistributionsMethod())
.addMethod(getGetTokenTotalSupplyMethod())
.addMethod(getGetGroupInfoMethod())
Expand Down
Loading