Class MsgGrpc.MsgStub

  • Enclosing class:
    MsgGrpc

    public static final class MsgGrpc.MsgStub
    extends io.grpc.stub.AbstractAsyncStub<MsgGrpc.MsgStub>
     Msg defines the distribution Msg service.
     
    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

        io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected MsgGrpc.MsgStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      void fundCommunityPool​(cosmos.distribution.v1beta1.Tx.MsgFundCommunityPool request, io.grpc.stub.StreamObserver<cosmos.distribution.v1beta1.Tx.MsgFundCommunityPoolResponse> responseObserver)
      FundCommunityPool defines a method to allow an account to directly fund the community pool.
      void setWithdrawAddress​(cosmos.distribution.v1beta1.Tx.MsgSetWithdrawAddress request, io.grpc.stub.StreamObserver<cosmos.distribution.v1beta1.Tx.MsgSetWithdrawAddressResponse> responseObserver)
      SetWithdrawAddress defines a method to change the withdraw address for a delegator (or validator self-delegation).
      void withdrawDelegatorReward​(cosmos.distribution.v1beta1.Tx.MsgWithdrawDelegatorReward request, io.grpc.stub.StreamObserver<cosmos.distribution.v1beta1.Tx.MsgWithdrawDelegatorRewardResponse> responseObserver)
      WithdrawDelegatorReward defines a method to withdraw rewards of delegator from a single validator.
      void withdrawValidatorCommission​(cosmos.distribution.v1beta1.Tx.MsgWithdrawValidatorCommission request, io.grpc.stub.StreamObserver<cosmos.distribution.v1beta1.Tx.MsgWithdrawValidatorCommissionResponse> responseObserver)
      WithdrawValidatorCommission defines a method to withdraw the full commission to the validator address.
      • Methods inherited from class io.grpc.stub.AbstractAsyncStub

        newStub, newStub
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • build

        protected MsgGrpc.MsgStub build​(io.grpc.Channel channel,
                                        io.grpc.CallOptions callOptions)
        Specified by:
        build in class io.grpc.stub.AbstractStub<MsgGrpc.MsgStub>
      • setWithdrawAddress

        public void setWithdrawAddress​(cosmos.distribution.v1beta1.Tx.MsgSetWithdrawAddress request,
                                       io.grpc.stub.StreamObserver<cosmos.distribution.v1beta1.Tx.MsgSetWithdrawAddressResponse> responseObserver)
         SetWithdrawAddress defines a method to change the withdraw address
         for a delegator (or validator self-delegation).
         
      • withdrawDelegatorReward

        public void withdrawDelegatorReward​(cosmos.distribution.v1beta1.Tx.MsgWithdrawDelegatorReward request,
                                            io.grpc.stub.StreamObserver<cosmos.distribution.v1beta1.Tx.MsgWithdrawDelegatorRewardResponse> responseObserver)
         WithdrawDelegatorReward defines a method to withdraw rewards of delegator
         from a single validator.
         
      • withdrawValidatorCommission

        public void withdrawValidatorCommission​(cosmos.distribution.v1beta1.Tx.MsgWithdrawValidatorCommission request,
                                                io.grpc.stub.StreamObserver<cosmos.distribution.v1beta1.Tx.MsgWithdrawValidatorCommissionResponse> responseObserver)
         WithdrawValidatorCommission defines a method to withdraw the
         full commission to the validator address.
         
      • fundCommunityPool

        public void fundCommunityPool​(cosmos.distribution.v1beta1.Tx.MsgFundCommunityPool request,
                                      io.grpc.stub.StreamObserver<cosmos.distribution.v1beta1.Tx.MsgFundCommunityPoolResponse> responseObserver)
         FundCommunityPool defines a method to allow an account to directly
         fund the community pool.