QueryServiceBase constructor
QueryServiceBase()
Implementation
QueryServiceBase() {
$addMethod($grpc.ServiceMethod<$0.QueryCurrentPlanRequest,
$0.QueryCurrentPlanResponse>(
'CurrentPlan',
currentPlan_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.QueryCurrentPlanRequest.fromBuffer(value),
($0.QueryCurrentPlanResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.QueryAppliedPlanRequest,
$0.QueryAppliedPlanResponse>(
'AppliedPlan',
appliedPlan_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.QueryAppliedPlanRequest.fromBuffer(value),
($0.QueryAppliedPlanResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.QueryUpgradedConsensusStateRequest,
$0.QueryUpgradedConsensusStateResponse>(
'UpgradedConsensusState',
upgradedConsensusState_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.QueryUpgradedConsensusStateRequest.fromBuffer(value),
($0.QueryUpgradedConsensusStateResponse value) =>
value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.QueryModuleVersionsRequest,
$0.QueryModuleVersionsResponse>(
'ModuleVersions',
moduleVersions_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.QueryModuleVersionsRequest.fromBuffer(value),
($0.QueryModuleVersionsResponse value) => value.writeToBuffer()));
}