public abstract static class MsgGrpc.MsgImplBase
extends java.lang.Object
implements io.grpc.BindableService
Msg defines the bank Msg service.
| Constructor and Description |
|---|
MsgImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
deposit(cosmos.gov.v1beta1.Tx.MsgDeposit request,
io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgDepositResponse> responseObserver)
Deposit defines a method to add deposit on a specific proposal.
|
void |
submitProposal(cosmos.gov.v1beta1.Tx.MsgSubmitProposal request,
io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgSubmitProposalResponse> responseObserver)
SubmitProposal defines a method to create new proposal given a content.
|
void |
vote(cosmos.gov.v1beta1.Tx.MsgVote request,
io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgVoteResponse> responseObserver)
Vote defines a method to add a vote on a specific proposal.
|
void |
voteWeighted(cosmos.gov.v1beta1.Tx.MsgVoteWeighted request,
io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgVoteWeightedResponse> responseObserver)
VoteWeighted defines a method to add a weighted vote on a specific proposal.
|
public void submitProposal(cosmos.gov.v1beta1.Tx.MsgSubmitProposal request,
io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgSubmitProposalResponse> responseObserver)
SubmitProposal defines a method to create new proposal given a content.
public void vote(cosmos.gov.v1beta1.Tx.MsgVote request,
io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgVoteResponse> responseObserver)
Vote defines a method to add a vote on a specific proposal.
public void voteWeighted(cosmos.gov.v1beta1.Tx.MsgVoteWeighted request,
io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgVoteWeightedResponse> responseObserver)
VoteWeighted defines a method to add a weighted vote on a specific proposal. Since: cosmos-sdk 0.43
public void deposit(cosmos.gov.v1beta1.Tx.MsgDeposit request,
io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgDepositResponse> responseObserver)
Deposit defines a method to add deposit on a specific proposal.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableService