public static final class MsgGrpc.MsgStub extends io.grpc.stub.AbstractAsyncStub<MsgGrpc.MsgStub>
Msg defines the bank Msg service.
| Modifier and Type | Method and Description |
|---|---|
protected MsgGrpc.MsgStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
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.
|
protected MsgGrpc.MsgStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<MsgGrpc.MsgStub>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.