Skip to content

Commit

Permalink
chore: dapi grpc queries (#2437)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumExplorer authored Jan 22, 2025
1 parent c9ab154 commit 2480ceb
Show file tree
Hide file tree
Showing 18 changed files with 112,134 additions and 35,860 deletions.
23 changes: 23 additions & 0 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

20,412 changes: 20,261 additions & 151 deletions packages/dapi-grpc/clients/platform/v0/nodejs/platform_pbjs.js

Large diffs are not rendered by default.

54,082 changes: 36,859 additions & 17,223 deletions packages/dapi-grpc/clients/platform/v0/nodejs/platform_protoc.js

Large diffs are not rendered by default.

2,068 changes: 2,068 additions & 0 deletions packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.h

Large diffs are not rendered by default.

5,463 changes: 5,463 additions & 0 deletions packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.m

Large diffs are not rendered by default.

130 changes: 130 additions & 0 deletions packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,22 @@
@class GetEvonodesProposedEpochBlocksByIdsRequest;
@class GetEvonodesProposedEpochBlocksByRangeRequest;
@class GetEvonodesProposedEpochBlocksResponse;
@class GetGroupActionSignersRequest;
@class GetGroupActionSignersResponse;
@class GetGroupActionsRequest;
@class GetGroupActionsResponse;
@class GetGroupInfoRequest;
@class GetGroupInfoResponse;
@class GetGroupInfosRequest;
@class GetGroupInfosResponse;
@class GetIdentitiesBalancesRequest;
@class GetIdentitiesBalancesResponse;
@class GetIdentitiesContractKeysRequest;
@class GetIdentitiesContractKeysResponse;
@class GetIdentitiesTokenBalancesRequest;
@class GetIdentitiesTokenBalancesResponse;
@class GetIdentitiesTokenInfosRequest;
@class GetIdentitiesTokenInfosResponse;
@class GetIdentityBalanceAndRevisionRequest;
@class GetIdentityBalanceAndRevisionResponse;
@class GetIdentityBalanceRequest;
Expand All @@ -59,6 +71,10 @@
@class GetIdentityNonceResponse;
@class GetIdentityRequest;
@class GetIdentityResponse;
@class GetIdentityTokenBalancesRequest;
@class GetIdentityTokenBalancesResponse;
@class GetIdentityTokenInfosRequest;
@class GetIdentityTokenInfosResponse;
@class GetPathElementsRequest;
@class GetPathElementsResponse;
@class GetPrefundedSpecializedBalanceRequest;
Expand All @@ -71,6 +87,10 @@
@class GetProtocolVersionUpgradeVoteStatusResponse;
@class GetStatusRequest;
@class GetStatusResponse;
@class GetTokenStatusesRequest;
@class GetTokenStatusesResponse;
@class GetTokenTotalSupplyRequest;
@class GetTokenTotalSupplyResponse;
@class GetTotalCreditsInPlatformRequest;
@class GetTotalCreditsInPlatformResponse;
@class GetVotePollsByEndDateRequest;
Expand Down Expand Up @@ -250,6 +270,46 @@ NS_ASSUME_NONNULL_BEGIN

- (GRPCUnaryProtoCall *)getCurrentQuorumsInfoWithMessage:(GetCurrentQuorumsInfoRequest *)message responseHandler:(id<GRPCProtoResponseHandler>)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;

#pragma mark getIdentityTokenBalances(GetIdentityTokenBalancesRequest) returns (GetIdentityTokenBalancesResponse)

- (GRPCUnaryProtoCall *)getIdentityTokenBalancesWithMessage:(GetIdentityTokenBalancesRequest *)message responseHandler:(id<GRPCProtoResponseHandler>)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;

#pragma mark getIdentitiesTokenBalances(GetIdentitiesTokenBalancesRequest) returns (GetIdentitiesTokenBalancesResponse)

- (GRPCUnaryProtoCall *)getIdentitiesTokenBalancesWithMessage:(GetIdentitiesTokenBalancesRequest *)message responseHandler:(id<GRPCProtoResponseHandler>)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;

#pragma mark getIdentityTokenInfos(GetIdentityTokenInfosRequest) returns (GetIdentityTokenInfosResponse)

- (GRPCUnaryProtoCall *)getIdentityTokenInfosWithMessage:(GetIdentityTokenInfosRequest *)message responseHandler:(id<GRPCProtoResponseHandler>)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;

#pragma mark getIdentitiesTokenInfos(GetIdentitiesTokenInfosRequest) returns (GetIdentitiesTokenInfosResponse)

- (GRPCUnaryProtoCall *)getIdentitiesTokenInfosWithMessage:(GetIdentitiesTokenInfosRequest *)message responseHandler:(id<GRPCProtoResponseHandler>)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;

#pragma mark getTokenStatuses(GetTokenStatusesRequest) returns (GetTokenStatusesResponse)

- (GRPCUnaryProtoCall *)getTokenStatusesWithMessage:(GetTokenStatusesRequest *)message responseHandler:(id<GRPCProtoResponseHandler>)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;

#pragma mark getTokenTotalSupply(GetTokenTotalSupplyRequest) returns (GetTokenTotalSupplyResponse)

- (GRPCUnaryProtoCall *)getTokenTotalSupplyWithMessage:(GetTokenTotalSupplyRequest *)message responseHandler:(id<GRPCProtoResponseHandler>)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;

#pragma mark getGroupInfo(GetGroupInfoRequest) returns (GetGroupInfoResponse)

- (GRPCUnaryProtoCall *)getGroupInfoWithMessage:(GetGroupInfoRequest *)message responseHandler:(id<GRPCProtoResponseHandler>)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;

#pragma mark getGroupInfos(GetGroupInfosRequest) returns (GetGroupInfosResponse)

- (GRPCUnaryProtoCall *)getGroupInfosWithMessage:(GetGroupInfosRequest *)message responseHandler:(id<GRPCProtoResponseHandler>)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;

#pragma mark getGroupActions(GetGroupActionsRequest) returns (GetGroupActionsResponse)

- (GRPCUnaryProtoCall *)getGroupActionsWithMessage:(GetGroupActionsRequest *)message responseHandler:(id<GRPCProtoResponseHandler>)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;

#pragma mark getGroupActionSigners(GetGroupActionSignersRequest) returns (GetGroupActionSignersResponse)

- (GRPCUnaryProtoCall *)getGroupActionSignersWithMessage:(GetGroupActionSignersRequest *)message responseHandler:(id<GRPCProtoResponseHandler>)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;

@end

/**
Expand Down Expand Up @@ -532,6 +592,76 @@ NS_ASSUME_NONNULL_BEGIN
- (GRPCProtoCall *)RPCTogetCurrentQuorumsInfoWithRequest:(GetCurrentQuorumsInfoRequest *)request handler:(void(^)(GetCurrentQuorumsInfoResponse *_Nullable response, NSError *_Nullable error))handler;


#pragma mark getIdentityTokenBalances(GetIdentityTokenBalancesRequest) returns (GetIdentityTokenBalancesResponse)

- (void)getIdentityTokenBalancesWithRequest:(GetIdentityTokenBalancesRequest *)request handler:(void(^)(GetIdentityTokenBalancesResponse *_Nullable response, NSError *_Nullable error))handler;

- (GRPCProtoCall *)RPCTogetIdentityTokenBalancesWithRequest:(GetIdentityTokenBalancesRequest *)request handler:(void(^)(GetIdentityTokenBalancesResponse *_Nullable response, NSError *_Nullable error))handler;


#pragma mark getIdentitiesTokenBalances(GetIdentitiesTokenBalancesRequest) returns (GetIdentitiesTokenBalancesResponse)

- (void)getIdentitiesTokenBalancesWithRequest:(GetIdentitiesTokenBalancesRequest *)request handler:(void(^)(GetIdentitiesTokenBalancesResponse *_Nullable response, NSError *_Nullable error))handler;

- (GRPCProtoCall *)RPCTogetIdentitiesTokenBalancesWithRequest:(GetIdentitiesTokenBalancesRequest *)request handler:(void(^)(GetIdentitiesTokenBalancesResponse *_Nullable response, NSError *_Nullable error))handler;


#pragma mark getIdentityTokenInfos(GetIdentityTokenInfosRequest) returns (GetIdentityTokenInfosResponse)

- (void)getIdentityTokenInfosWithRequest:(GetIdentityTokenInfosRequest *)request handler:(void(^)(GetIdentityTokenInfosResponse *_Nullable response, NSError *_Nullable error))handler;

- (GRPCProtoCall *)RPCTogetIdentityTokenInfosWithRequest:(GetIdentityTokenInfosRequest *)request handler:(void(^)(GetIdentityTokenInfosResponse *_Nullable response, NSError *_Nullable error))handler;


#pragma mark getIdentitiesTokenInfos(GetIdentitiesTokenInfosRequest) returns (GetIdentitiesTokenInfosResponse)

- (void)getIdentitiesTokenInfosWithRequest:(GetIdentitiesTokenInfosRequest *)request handler:(void(^)(GetIdentitiesTokenInfosResponse *_Nullable response, NSError *_Nullable error))handler;

- (GRPCProtoCall *)RPCTogetIdentitiesTokenInfosWithRequest:(GetIdentitiesTokenInfosRequest *)request handler:(void(^)(GetIdentitiesTokenInfosResponse *_Nullable response, NSError *_Nullable error))handler;


#pragma mark getTokenStatuses(GetTokenStatusesRequest) returns (GetTokenStatusesResponse)

- (void)getTokenStatusesWithRequest:(GetTokenStatusesRequest *)request handler:(void(^)(GetTokenStatusesResponse *_Nullable response, NSError *_Nullable error))handler;

- (GRPCProtoCall *)RPCTogetTokenStatusesWithRequest:(GetTokenStatusesRequest *)request handler:(void(^)(GetTokenStatusesResponse *_Nullable response, NSError *_Nullable error))handler;


#pragma mark getTokenTotalSupply(GetTokenTotalSupplyRequest) returns (GetTokenTotalSupplyResponse)

- (void)getTokenTotalSupplyWithRequest:(GetTokenTotalSupplyRequest *)request handler:(void(^)(GetTokenTotalSupplyResponse *_Nullable response, NSError *_Nullable error))handler;

- (GRPCProtoCall *)RPCTogetTokenTotalSupplyWithRequest:(GetTokenTotalSupplyRequest *)request handler:(void(^)(GetTokenTotalSupplyResponse *_Nullable response, NSError *_Nullable error))handler;


#pragma mark getGroupInfo(GetGroupInfoRequest) returns (GetGroupInfoResponse)

- (void)getGroupInfoWithRequest:(GetGroupInfoRequest *)request handler:(void(^)(GetGroupInfoResponse *_Nullable response, NSError *_Nullable error))handler;

- (GRPCProtoCall *)RPCTogetGroupInfoWithRequest:(GetGroupInfoRequest *)request handler:(void(^)(GetGroupInfoResponse *_Nullable response, NSError *_Nullable error))handler;


#pragma mark getGroupInfos(GetGroupInfosRequest) returns (GetGroupInfosResponse)

- (void)getGroupInfosWithRequest:(GetGroupInfosRequest *)request handler:(void(^)(GetGroupInfosResponse *_Nullable response, NSError *_Nullable error))handler;

- (GRPCProtoCall *)RPCTogetGroupInfosWithRequest:(GetGroupInfosRequest *)request handler:(void(^)(GetGroupInfosResponse *_Nullable response, NSError *_Nullable error))handler;


#pragma mark getGroupActions(GetGroupActionsRequest) returns (GetGroupActionsResponse)

- (void)getGroupActionsWithRequest:(GetGroupActionsRequest *)request handler:(void(^)(GetGroupActionsResponse *_Nullable response, NSError *_Nullable error))handler;

- (GRPCProtoCall *)RPCTogetGroupActionsWithRequest:(GetGroupActionsRequest *)request handler:(void(^)(GetGroupActionsResponse *_Nullable response, NSError *_Nullable error))handler;


#pragma mark getGroupActionSigners(GetGroupActionSignersRequest) returns (GetGroupActionSignersResponse)

- (void)getGroupActionSignersWithRequest:(GetGroupActionSignersRequest *)request handler:(void(^)(GetGroupActionSignersResponse *_Nullable response, NSError *_Nullable error))handler;

- (GRPCProtoCall *)RPCTogetGroupActionSignersWithRequest:(GetGroupActionSignersRequest *)request handler:(void(^)(GetGroupActionSignersResponse *_Nullable response, NSError *_Nullable error))handler;


@end


Expand Down
Loading

0 comments on commit 2480ceb

Please sign in to comment.