QueryServiceBase constructor

QueryServiceBase()

Implementation

QueryServiceBase() {
  $addMethod(
      $grpc.ServiceMethod<$0.QueryBalanceRequest, $0.QueryBalanceResponse>(
          'Balance',
          balance_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.QueryBalanceRequest.fromBuffer(value),
          ($0.QueryBalanceResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryAllBalancesRequest,
          $0.QueryAllBalancesResponse>(
      'AllBalances',
      allBalances_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryAllBalancesRequest.fromBuffer(value),
      ($0.QueryAllBalancesResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QuerySpendableBalancesRequest,
          $0.QuerySpendableBalancesResponse>(
      'SpendableBalances',
      spendableBalances_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QuerySpendableBalancesRequest.fromBuffer(value),
      ($0.QuerySpendableBalancesResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryTotalSupplyRequest,
          $0.QueryTotalSupplyResponse>(
      'TotalSupply',
      totalSupply_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryTotalSupplyRequest.fromBuffer(value),
      ($0.QueryTotalSupplyResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.QuerySupplyOfRequest, $0.QuerySupplyOfResponse>(
          'SupplyOf',
          supplyOf_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.QuerySupplyOfRequest.fromBuffer(value),
          ($0.QuerySupplyOfResponse 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()));
  $addMethod($grpc.ServiceMethod<$0.QueryDenomMetadataRequest,
          $0.QueryDenomMetadataResponse>(
      'DenomMetadata',
      denomMetadata_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryDenomMetadataRequest.fromBuffer(value),
      ($0.QueryDenomMetadataResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryDenomsMetadataRequest,
          $0.QueryDenomsMetadataResponse>(
      'DenomsMetadata',
      denomsMetadata_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryDenomsMetadataRequest.fromBuffer(value),
      ($0.QueryDenomsMetadataResponse value) => value.writeToBuffer()));
}