Package terra.market.v1beta1
Class QueryGrpc.QueryFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<QueryGrpc.QueryFutureStub>
-
- terra.market.v1beta1.QueryGrpc.QueryFutureStub
-
- Enclosing class:
- QueryGrpc
public static final class QueryGrpc.QueryFutureStub extends io.grpc.stub.AbstractFutureStub<QueryGrpc.QueryFutureStub>
Query defines the gRPC querier service.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected QueryGrpc.QueryFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<terra.market.v1beta1.QueryOuterClass.QueryParamsResponse>params(terra.market.v1beta1.QueryOuterClass.QueryParamsRequest request)Params queries all parameters.com.google.common.util.concurrent.ListenableFuture<terra.market.v1beta1.QueryOuterClass.QuerySwapResponse>swap(terra.market.v1beta1.QueryOuterClass.QuerySwapRequest request)Swap returns simulated swap amount.com.google.common.util.concurrent.ListenableFuture<terra.market.v1beta1.QueryOuterClass.QueryTerraPoolDeltaResponse>terraPoolDelta(terra.market.v1beta1.QueryOuterClass.QueryTerraPoolDeltaRequest request)TerraPoolDelta returns terra_pool_delta amount.
-
-
-
Method Detail
-
build
protected QueryGrpc.QueryFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<QueryGrpc.QueryFutureStub>
-
swap
public com.google.common.util.concurrent.ListenableFuture<terra.market.v1beta1.QueryOuterClass.QuerySwapResponse> swap(terra.market.v1beta1.QueryOuterClass.QuerySwapRequest request)
Swap returns simulated swap amount.
-
terraPoolDelta
public com.google.common.util.concurrent.ListenableFuture<terra.market.v1beta1.QueryOuterClass.QueryTerraPoolDeltaResponse> terraPoolDelta(terra.market.v1beta1.QueryOuterClass.QueryTerraPoolDeltaRequest request)
TerraPoolDelta returns terra_pool_delta amount.
-
params
public com.google.common.util.concurrent.ListenableFuture<terra.market.v1beta1.QueryOuterClass.QueryParamsResponse> params(terra.market.v1beta1.QueryOuterClass.QueryParamsRequest request)
Params queries all parameters.
-
-