QueryServiceBase constructor
QueryServiceBase()
Implementation
QueryServiceBase() {
$addMethod(
$grpc.ServiceMethod<$0.QueryParamsRequest, $0.QueryParamsResponse>(
'Params',
params_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.QueryParamsRequest.fromBuffer(value),
($0.QueryParamsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.QueryValidatorOutstandingRewardsRequest,
$0.QueryValidatorOutstandingRewardsResponse>(
'ValidatorOutstandingRewards',
validatorOutstandingRewards_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.QueryValidatorOutstandingRewardsRequest.fromBuffer(value),
($0.QueryValidatorOutstandingRewardsResponse value) =>
value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.QueryValidatorCommissionRequest,
$0.QueryValidatorCommissionResponse>(
'ValidatorCommission',
validatorCommission_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.QueryValidatorCommissionRequest.fromBuffer(value),
($0.QueryValidatorCommissionResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.QueryValidatorSlashesRequest,
$0.QueryValidatorSlashesResponse>(
'ValidatorSlashes',
validatorSlashes_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.QueryValidatorSlashesRequest.fromBuffer(value),
($0.QueryValidatorSlashesResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.QueryDelegationRewardsRequest,
$0.QueryDelegationRewardsResponse>(
'DelegationRewards',
delegationRewards_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.QueryDelegationRewardsRequest.fromBuffer(value),
($0.QueryDelegationRewardsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.QueryDelegationTotalRewardsRequest,
$0.QueryDelegationTotalRewardsResponse>(
'DelegationTotalRewards',
delegationTotalRewards_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.QueryDelegationTotalRewardsRequest.fromBuffer(value),
($0.QueryDelegationTotalRewardsResponse value) =>
value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.QueryDelegatorValidatorsRequest,
$0.QueryDelegatorValidatorsResponse>(
'DelegatorValidators',
delegatorValidators_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.QueryDelegatorValidatorsRequest.fromBuffer(value),
($0.QueryDelegatorValidatorsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.QueryDelegatorWithdrawAddressRequest,
$0.QueryDelegatorWithdrawAddressResponse>(
'DelegatorWithdrawAddress',
delegatorWithdrawAddress_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.QueryDelegatorWithdrawAddressRequest.fromBuffer(value),
($0.QueryDelegatorWithdrawAddressResponse value) =>
value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.QueryCommunityPoolRequest,
$0.QueryCommunityPoolResponse>(
'CommunityPool',
communityPool_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.QueryCommunityPoolRequest.fromBuffer(value),
($0.QueryCommunityPoolResponse value) => value.writeToBuffer()));
}