Package cosmos.gov.v1beta1
Class MsgGrpc.MsgFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<MsgGrpc.MsgFutureStub>
-
- cosmos.gov.v1beta1.MsgGrpc.MsgFutureStub
-
- Enclosing class:
- MsgGrpc
public static final class MsgGrpc.MsgFutureStub extends io.grpc.stub.AbstractFutureStub<MsgGrpc.MsgFutureStub>
Msg defines the bank Msg service.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MsgGrpc.MsgFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<cosmos.gov.v1beta1.Tx.MsgDepositResponse>deposit(cosmos.gov.v1beta1.Tx.MsgDeposit request)Deposit defines a method to add deposit on a specific proposal.com.google.common.util.concurrent.ListenableFuture<cosmos.gov.v1beta1.Tx.MsgSubmitProposalResponse>submitProposal(cosmos.gov.v1beta1.Tx.MsgSubmitProposal request)SubmitProposal defines a method to create new proposal given a content.com.google.common.util.concurrent.ListenableFuture<cosmos.gov.v1beta1.Tx.MsgVoteResponse>vote(cosmos.gov.v1beta1.Tx.MsgVote request)Vote defines a method to add a vote on a specific proposal.com.google.common.util.concurrent.ListenableFuture<cosmos.gov.v1beta1.Tx.MsgVoteWeightedResponse>voteWeighted(cosmos.gov.v1beta1.Tx.MsgVoteWeighted request)VoteWeighted defines a method to add a weighted vote on a specific proposal.
-
-
-
Method Detail
-
build
protected MsgGrpc.MsgFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<MsgGrpc.MsgFutureStub>
-
submitProposal
public com.google.common.util.concurrent.ListenableFuture<cosmos.gov.v1beta1.Tx.MsgSubmitProposalResponse> submitProposal(cosmos.gov.v1beta1.Tx.MsgSubmitProposal request)
SubmitProposal defines a method to create new proposal given a content.
-
vote
public com.google.common.util.concurrent.ListenableFuture<cosmos.gov.v1beta1.Tx.MsgVoteResponse> vote(cosmos.gov.v1beta1.Tx.MsgVote request)
Vote defines a method to add a vote on a specific proposal.
-
voteWeighted
public com.google.common.util.concurrent.ListenableFuture<cosmos.gov.v1beta1.Tx.MsgVoteWeightedResponse> voteWeighted(cosmos.gov.v1beta1.Tx.MsgVoteWeighted request)
VoteWeighted defines a method to add a weighted vote on a specific proposal.
-
deposit
public com.google.common.util.concurrent.ListenableFuture<cosmos.gov.v1beta1.Tx.MsgDepositResponse> deposit(cosmos.gov.v1beta1.Tx.MsgDeposit request)
Deposit defines a method to add deposit on a specific proposal.
-
-