Class MsgGrpc.MsgStub

  • Enclosing class:
    MsgGrpc

    public static final class MsgGrpc.MsgStub
    extends io.grpc.stub.AbstractAsyncStub<MsgGrpc.MsgStub>
     Msg defines the oracle 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 clearContractAdmin​(terra.wasm.v1beta1.Tx.MsgClearContractAdmin request, io.grpc.stub.StreamObserver<terra.wasm.v1beta1.Tx.MsgClearContractAdminResponse> responseObserver)
      ClearContractAdmin remove admin flag from a smart contract
      void executeContract​(terra.wasm.v1beta1.Tx.MsgExecuteContract request, io.grpc.stub.StreamObserver<terra.wasm.v1beta1.Tx.MsgExecuteContractResponse> responseObserver)
      Execute submits the given message data to a smart contract
      void instantiateContract​(terra.wasm.v1beta1.Tx.MsgInstantiateContract request, io.grpc.stub.StreamObserver<terra.wasm.v1beta1.Tx.MsgInstantiateContractResponse> responseObserver)
      Instantiate creates a new smart contract instance for the given code id.
      void migrateCode​(terra.wasm.v1beta1.Tx.MsgMigrateCode request, io.grpc.stub.StreamObserver<terra.wasm.v1beta1.Tx.MsgMigrateCodeResponse> responseObserver)
      MigrateCode to submit new version Wasm code to the system
      void migrateContract​(terra.wasm.v1beta1.Tx.MsgMigrateContract request, io.grpc.stub.StreamObserver<terra.wasm.v1beta1.Tx.MsgMigrateContractResponse> responseObserver)
      Migrate runs a code upgrade/ downgrade for a smart contract
      void storeCode​(terra.wasm.v1beta1.Tx.MsgStoreCode request, io.grpc.stub.StreamObserver<terra.wasm.v1beta1.Tx.MsgStoreCodeResponse> responseObserver)
      StoreCode to submit Wasm code to the system
      void updateContractAdmin​(terra.wasm.v1beta1.Tx.MsgUpdateContractAdmin request, io.grpc.stub.StreamObserver<terra.wasm.v1beta1.Tx.MsgUpdateContractAdminResponse> responseObserver)
      UpdateContractAdmin sets a new admin for a smart contract
      • 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>
      • storeCode

        public void storeCode​(terra.wasm.v1beta1.Tx.MsgStoreCode request,
                              io.grpc.stub.StreamObserver<terra.wasm.v1beta1.Tx.MsgStoreCodeResponse> responseObserver)
         StoreCode to submit Wasm code to the system
         
      • migrateCode

        public void migrateCode​(terra.wasm.v1beta1.Tx.MsgMigrateCode request,
                                io.grpc.stub.StreamObserver<terra.wasm.v1beta1.Tx.MsgMigrateCodeResponse> responseObserver)
         MigrateCode to submit new version Wasm code to the system
         
      • instantiateContract

        public void instantiateContract​(terra.wasm.v1beta1.Tx.MsgInstantiateContract request,
                                        io.grpc.stub.StreamObserver<terra.wasm.v1beta1.Tx.MsgInstantiateContractResponse> responseObserver)
          Instantiate creates a new smart contract instance for the given code id.
         
      • executeContract

        public void executeContract​(terra.wasm.v1beta1.Tx.MsgExecuteContract request,
                                    io.grpc.stub.StreamObserver<terra.wasm.v1beta1.Tx.MsgExecuteContractResponse> responseObserver)
         Execute submits the given message data to a smart contract
         
      • migrateContract

        public void migrateContract​(terra.wasm.v1beta1.Tx.MsgMigrateContract request,
                                    io.grpc.stub.StreamObserver<terra.wasm.v1beta1.Tx.MsgMigrateContractResponse> responseObserver)
         Migrate runs a code upgrade/ downgrade for a smart contract
         
      • updateContractAdmin

        public void updateContractAdmin​(terra.wasm.v1beta1.Tx.MsgUpdateContractAdmin request,
                                        io.grpc.stub.StreamObserver<terra.wasm.v1beta1.Tx.MsgUpdateContractAdminResponse> responseObserver)
         UpdateContractAdmin sets a new admin for a smart contract
         
      • clearContractAdmin

        public void clearContractAdmin​(terra.wasm.v1beta1.Tx.MsgClearContractAdmin request,
                                       io.grpc.stub.StreamObserver<terra.wasm.v1beta1.Tx.MsgClearContractAdminResponse> responseObserver)
         ClearContractAdmin remove admin flag from a smart contract