MsgServiceBase constructor

MsgServiceBase()

Implementation

MsgServiceBase() {
  $addMethod($grpc.ServiceMethod<$1.MsgCreateValidator,
          $1.MsgCreateValidatorResponse>(
      'CreateValidator',
      createValidator_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $1.MsgCreateValidator.fromBuffer(value),
      ($1.MsgCreateValidatorResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$1.MsgEditValidator, $1.MsgEditValidatorResponse>(
          'EditValidator',
          editValidator_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $1.MsgEditValidator.fromBuffer(value),
          ($1.MsgEditValidatorResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.MsgDelegate, $1.MsgDelegateResponse>(
      'Delegate',
      delegate_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.MsgDelegate.fromBuffer(value),
      ($1.MsgDelegateResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.MsgBeginRedelegate,
          $1.MsgBeginRedelegateResponse>(
      'BeginRedelegate',
      beginRedelegate_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $1.MsgBeginRedelegate.fromBuffer(value),
      ($1.MsgBeginRedelegateResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.MsgUndelegate, $1.MsgUndelegateResponse>(
      'Undelegate',
      undelegate_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.MsgUndelegate.fromBuffer(value),
      ($1.MsgUndelegateResponse value) => value.writeToBuffer()));
}