QueryServiceBase constructor

QueryServiceBase()

Implementation

QueryServiceBase() {
  $addMethod($grpc.ServiceMethod<$0.QueryValidatorsRequest,
          $0.QueryValidatorsResponse>(
      'Validators',
      validators_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryValidatorsRequest.fromBuffer(value),
      ($0.QueryValidatorsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryValidatorRequest,
          $0.QueryValidatorResponse>(
      'Validator',
      validator_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryValidatorRequest.fromBuffer(value),
      ($0.QueryValidatorResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryValidatorDelegationsRequest,
          $0.QueryValidatorDelegationsResponse>(
      'ValidatorDelegations',
      validatorDelegations_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryValidatorDelegationsRequest.fromBuffer(value),
      ($0.QueryValidatorDelegationsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryValidatorUnbondingDelegationsRequest,
          $0.QueryValidatorUnbondingDelegationsResponse>(
      'ValidatorUnbondingDelegations',
      validatorUnbondingDelegations_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryValidatorUnbondingDelegationsRequest.fromBuffer(value),
      ($0.QueryValidatorUnbondingDelegationsResponse value) =>
          value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryDelegationRequest,
          $0.QueryDelegationResponse>(
      'Delegation',
      delegation_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryDelegationRequest.fromBuffer(value),
      ($0.QueryDelegationResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryUnbondingDelegationRequest,
          $0.QueryUnbondingDelegationResponse>(
      'UnbondingDelegation',
      unbondingDelegation_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryUnbondingDelegationRequest.fromBuffer(value),
      ($0.QueryUnbondingDelegationResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryDelegatorDelegationsRequest,
          $0.QueryDelegatorDelegationsResponse>(
      'DelegatorDelegations',
      delegatorDelegations_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryDelegatorDelegationsRequest.fromBuffer(value),
      ($0.QueryDelegatorDelegationsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryDelegatorUnbondingDelegationsRequest,
          $0.QueryDelegatorUnbondingDelegationsResponse>(
      'DelegatorUnbondingDelegations',
      delegatorUnbondingDelegations_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryDelegatorUnbondingDelegationsRequest.fromBuffer(value),
      ($0.QueryDelegatorUnbondingDelegationsResponse value) =>
          value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryRedelegationsRequest,
          $0.QueryRedelegationsResponse>(
      'Redelegations',
      redelegations_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryRedelegationsRequest.fromBuffer(value),
      ($0.QueryRedelegationsResponse 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.QueryDelegatorValidatorRequest,
          $0.QueryDelegatorValidatorResponse>(
      'DelegatorValidator',
      delegatorValidator_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryDelegatorValidatorRequest.fromBuffer(value),
      ($0.QueryDelegatorValidatorResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryHistoricalInfoRequest,
          $0.QueryHistoricalInfoResponse>(
      'HistoricalInfo',
      historicalInfo_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryHistoricalInfoRequest.fromBuffer(value),
      ($0.QueryHistoricalInfoResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryPoolRequest, $0.QueryPoolResponse>(
      'Pool',
      pool_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.QueryPoolRequest.fromBuffer(value),
      ($0.QueryPoolResponse value) => value.writeToBuffer()));
  $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()));
}