QueryServiceBase constructor

QueryServiceBase()

Implementation

QueryServiceBase() {
  $addMethod($grpc.ServiceMethod<$1.QueryContractInfoRequest,
          $1.QueryContractInfoResponse>(
      'ContractInfo',
      contractInfo_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $1.QueryContractInfoRequest.fromBuffer(value),
      ($1.QueryContractInfoResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.QueryContractHistoryRequest,
          $1.QueryContractHistoryResponse>(
      'ContractHistory',
      contractHistory_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $1.QueryContractHistoryRequest.fromBuffer(value),
      ($1.QueryContractHistoryResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.QueryContractsByCodeRequest,
          $1.QueryContractsByCodeResponse>(
      'ContractsByCode',
      contractsByCode_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $1.QueryContractsByCodeRequest.fromBuffer(value),
      ($1.QueryContractsByCodeResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.QueryAllContractStateRequest,
          $1.QueryAllContractStateResponse>(
      'AllContractState',
      allContractState_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $1.QueryAllContractStateRequest.fromBuffer(value),
      ($1.QueryAllContractStateResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.QueryRawContractStateRequest,
          $1.QueryRawContractStateResponse>(
      'RawContractState',
      rawContractState_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $1.QueryRawContractStateRequest.fromBuffer(value),
      ($1.QueryRawContractStateResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.QuerySmartContractStateRequest,
          $1.QuerySmartContractStateResponse>(
      'SmartContractState',
      smartContractState_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $1.QuerySmartContractStateRequest.fromBuffer(value),
      ($1.QuerySmartContractStateResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.QueryCodeRequest, $1.QueryCodeResponse>(
      'Code',
      code_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.QueryCodeRequest.fromBuffer(value),
      ($1.QueryCodeResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.QueryCodesRequest, $1.QueryCodesResponse>(
      'Codes',
      codes_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.QueryCodesRequest.fromBuffer(value),
      ($1.QueryCodesResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.QueryPinnedCodesRequest,
          $1.QueryPinnedCodesResponse>(
      'PinnedCodes',
      pinnedCodes_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $1.QueryPinnedCodesRequest.fromBuffer(value),
      ($1.QueryPinnedCodesResponse value) => value.writeToBuffer()));
}