Class QueryGrpc.QueryStub

  • Enclosing class:
    QueryGrpc

    public static final class QueryGrpc.QueryStub
    extends io.grpc.stub.AbstractAsyncStub<QueryGrpc.QueryStub>
     Query defines the gRPC querier 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 QueryGrpc.QueryStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      void params​(terra.market.v1beta1.QueryOuterClass.QueryParamsRequest request, io.grpc.stub.StreamObserver<terra.market.v1beta1.QueryOuterClass.QueryParamsResponse> responseObserver)
      Params queries all parameters.
      void swap​(terra.market.v1beta1.QueryOuterClass.QuerySwapRequest request, io.grpc.stub.StreamObserver<terra.market.v1beta1.QueryOuterClass.QuerySwapResponse> responseObserver)
      Swap returns simulated swap amount.
      void terraPoolDelta​(terra.market.v1beta1.QueryOuterClass.QueryTerraPoolDeltaRequest request, io.grpc.stub.StreamObserver<terra.market.v1beta1.QueryOuterClass.QueryTerraPoolDeltaResponse> responseObserver)
      TerraPoolDelta returns terra_pool_delta amount.
      • 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

      • swap

        public void swap​(terra.market.v1beta1.QueryOuterClass.QuerySwapRequest request,
                         io.grpc.stub.StreamObserver<terra.market.v1beta1.QueryOuterClass.QuerySwapResponse> responseObserver)
         Swap returns simulated swap amount.
         
      • terraPoolDelta

        public void terraPoolDelta​(terra.market.v1beta1.QueryOuterClass.QueryTerraPoolDeltaRequest request,
                                   io.grpc.stub.StreamObserver<terra.market.v1beta1.QueryOuterClass.QueryTerraPoolDeltaResponse> responseObserver)
         TerraPoolDelta returns terra_pool_delta amount.
         
      • params

        public void params​(terra.market.v1beta1.QueryOuterClass.QueryParamsRequest request,
                           io.grpc.stub.StreamObserver<terra.market.v1beta1.QueryOuterClass.QueryParamsResponse> responseObserver)
         Params queries all parameters.