MsgServiceBase constructor

MsgServiceBase()

Implementation

MsgServiceBase() {
  $addMethod(
      $grpc.ServiceMethod<$1.MsgSubmitProposal, $1.MsgSubmitProposalResponse>(
          'SubmitProposal',
          submitProposal_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $1.MsgSubmitProposal.fromBuffer(value),
          ($1.MsgSubmitProposalResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.MsgVote, $1.MsgVoteResponse>(
      'Vote',
      vote_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.MsgVote.fromBuffer(value),
      ($1.MsgVoteResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$1.MsgVoteWeighted, $1.MsgVoteWeightedResponse>(
          'VoteWeighted',
          voteWeighted_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $1.MsgVoteWeighted.fromBuffer(value),
          ($1.MsgVoteWeightedResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.MsgDeposit, $1.MsgDepositResponse>(
      'Deposit',
      deposit_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.MsgDeposit.fromBuffer(value),
      ($1.MsgDepositResponse value) => value.writeToBuffer()));
}