Documentation ¶
Overview ¶
Package queryproto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AllPoolsRequest
- func (*AllPoolsRequest) Descriptor() ([]byte, []int)
- func (m *AllPoolsRequest) Marshal() (dAtA []byte, err error)
- func (m *AllPoolsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AllPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AllPoolsRequest) ProtoMessage()
- func (m *AllPoolsRequest) Reset()
- func (m *AllPoolsRequest) Size() (n int)
- func (m *AllPoolsRequest) String() string
- func (m *AllPoolsRequest) Unmarshal(dAtA []byte) error
- func (m *AllPoolsRequest) XXX_DiscardUnknown()
- func (m *AllPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllPoolsRequest) XXX_Merge(src proto.Message)
- func (m *AllPoolsRequest) XXX_Size() int
- func (m *AllPoolsRequest) XXX_Unmarshal(b []byte) error
- type AllPoolsResponse
- func (*AllPoolsResponse) Descriptor() ([]byte, []int)
- func (m *AllPoolsResponse) GetPools() []*types1.Any
- func (m *AllPoolsResponse) Marshal() (dAtA []byte, err error)
- func (m *AllPoolsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AllPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AllPoolsResponse) ProtoMessage()
- func (m *AllPoolsResponse) Reset()
- func (m *AllPoolsResponse) Size() (n int)
- func (m *AllPoolsResponse) String() string
- func (m *AllPoolsResponse) Unmarshal(dAtA []byte) error
- func (m *AllPoolsResponse) XXX_DiscardUnknown()
- func (m *AllPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllPoolsResponse) XXX_Merge(src proto.Message)
- func (m *AllPoolsResponse) XXX_Size() int
- func (m *AllPoolsResponse) XXX_Unmarshal(b []byte) error
- type EstimateSinglePoolSwapExactAmountInRequest
- func (*EstimateSinglePoolSwapExactAmountInRequest) Descriptor() ([]byte, []int)
- func (m *EstimateSinglePoolSwapExactAmountInRequest) GetPoolId() uint64
- func (m *EstimateSinglePoolSwapExactAmountInRequest) GetTokenIn() string
- func (m *EstimateSinglePoolSwapExactAmountInRequest) GetTokenOutDenom() string
- func (m *EstimateSinglePoolSwapExactAmountInRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateSinglePoolSwapExactAmountInRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateSinglePoolSwapExactAmountInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateSinglePoolSwapExactAmountInRequest) ProtoMessage()
- func (m *EstimateSinglePoolSwapExactAmountInRequest) Reset()
- func (m *EstimateSinglePoolSwapExactAmountInRequest) Size() (n int)
- func (m *EstimateSinglePoolSwapExactAmountInRequest) String() string
- func (m *EstimateSinglePoolSwapExactAmountInRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateSinglePoolSwapExactAmountInRequest) XXX_DiscardUnknown()
- func (m *EstimateSinglePoolSwapExactAmountInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateSinglePoolSwapExactAmountInRequest) XXX_Merge(src proto.Message)
- func (m *EstimateSinglePoolSwapExactAmountInRequest) XXX_Size() int
- func (m *EstimateSinglePoolSwapExactAmountInRequest) XXX_Unmarshal(b []byte) error
- type EstimateSinglePoolSwapExactAmountOutRequest
- func (*EstimateSinglePoolSwapExactAmountOutRequest) Descriptor() ([]byte, []int)
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) GetPoolId() uint64
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) GetTokenInDenom() string
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) GetTokenOut() string
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateSinglePoolSwapExactAmountOutRequest) ProtoMessage()
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) Reset()
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) Size() (n int)
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) String() string
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) XXX_DiscardUnknown()
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) XXX_Merge(src proto.Message)
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) XXX_Size() int
- func (m *EstimateSinglePoolSwapExactAmountOutRequest) XXX_Unmarshal(b []byte) error
- type EstimateSwapExactAmountInRequest
- func (*EstimateSwapExactAmountInRequest) Descriptor() ([]byte, []int)
- func (m *EstimateSwapExactAmountInRequest) GetPoolId() uint64
- func (m *EstimateSwapExactAmountInRequest) GetRoutes() []types.SwapAmountInRoute
- func (m *EstimateSwapExactAmountInRequest) GetTokenIn() string
- func (m *EstimateSwapExactAmountInRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateSwapExactAmountInRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateSwapExactAmountInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateSwapExactAmountInRequest) ProtoMessage()
- func (m *EstimateSwapExactAmountInRequest) Reset()
- func (m *EstimateSwapExactAmountInRequest) Size() (n int)
- func (m *EstimateSwapExactAmountInRequest) String() string
- func (m *EstimateSwapExactAmountInRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateSwapExactAmountInRequest) XXX_DiscardUnknown()
- func (m *EstimateSwapExactAmountInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateSwapExactAmountInRequest) XXX_Merge(src proto.Message)
- func (m *EstimateSwapExactAmountInRequest) XXX_Size() int
- func (m *EstimateSwapExactAmountInRequest) XXX_Unmarshal(b []byte) error
- type EstimateSwapExactAmountInResponse
- func (*EstimateSwapExactAmountInResponse) Descriptor() ([]byte, []int)
- func (m *EstimateSwapExactAmountInResponse) Marshal() (dAtA []byte, err error)
- func (m *EstimateSwapExactAmountInResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateSwapExactAmountInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateSwapExactAmountInResponse) ProtoMessage()
- func (m *EstimateSwapExactAmountInResponse) Reset()
- func (m *EstimateSwapExactAmountInResponse) Size() (n int)
- func (m *EstimateSwapExactAmountInResponse) String() string
- func (m *EstimateSwapExactAmountInResponse) Unmarshal(dAtA []byte) error
- func (m *EstimateSwapExactAmountInResponse) XXX_DiscardUnknown()
- func (m *EstimateSwapExactAmountInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateSwapExactAmountInResponse) XXX_Merge(src proto.Message)
- func (m *EstimateSwapExactAmountInResponse) XXX_Size() int
- func (m *EstimateSwapExactAmountInResponse) XXX_Unmarshal(b []byte) error
- type EstimateSwapExactAmountInWithPrimitiveTypesRequest
- func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) Descriptor() ([]byte, []int)
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) GetPoolId() uint64
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) GetRoutesPoolId() []uint64
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) GetRoutesTokenOutDenom() []string
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) GetTokenIn() string
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) ProtoMessage()
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) Reset()
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) Size() (n int)
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) String() string
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_DiscardUnknown()
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_Merge(src proto.Message)
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_Size() int
- func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_Unmarshal(b []byte) error
- type EstimateSwapExactAmountOutRequest
- func (*EstimateSwapExactAmountOutRequest) Descriptor() ([]byte, []int)
- func (m *EstimateSwapExactAmountOutRequest) GetPoolId() uint64
- func (m *EstimateSwapExactAmountOutRequest) GetRoutes() []types.SwapAmountOutRoute
- func (m *EstimateSwapExactAmountOutRequest) GetTokenOut() string
- func (m *EstimateSwapExactAmountOutRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateSwapExactAmountOutRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateSwapExactAmountOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateSwapExactAmountOutRequest) ProtoMessage()
- func (m *EstimateSwapExactAmountOutRequest) Reset()
- func (m *EstimateSwapExactAmountOutRequest) Size() (n int)
- func (m *EstimateSwapExactAmountOutRequest) String() string
- func (m *EstimateSwapExactAmountOutRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateSwapExactAmountOutRequest) XXX_DiscardUnknown()
- func (m *EstimateSwapExactAmountOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateSwapExactAmountOutRequest) XXX_Merge(src proto.Message)
- func (m *EstimateSwapExactAmountOutRequest) XXX_Size() int
- func (m *EstimateSwapExactAmountOutRequest) XXX_Unmarshal(b []byte) error
- type EstimateSwapExactAmountOutResponse
- func (*EstimateSwapExactAmountOutResponse) Descriptor() ([]byte, []int)
- func (m *EstimateSwapExactAmountOutResponse) Marshal() (dAtA []byte, err error)
- func (m *EstimateSwapExactAmountOutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateSwapExactAmountOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateSwapExactAmountOutResponse) ProtoMessage()
- func (m *EstimateSwapExactAmountOutResponse) Reset()
- func (m *EstimateSwapExactAmountOutResponse) Size() (n int)
- func (m *EstimateSwapExactAmountOutResponse) String() string
- func (m *EstimateSwapExactAmountOutResponse) Unmarshal(dAtA []byte) error
- func (m *EstimateSwapExactAmountOutResponse) XXX_DiscardUnknown()
- func (m *EstimateSwapExactAmountOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateSwapExactAmountOutResponse) XXX_Merge(src proto.Message)
- func (m *EstimateSwapExactAmountOutResponse) XXX_Size() int
- func (m *EstimateSwapExactAmountOutResponse) XXX_Unmarshal(b []byte) error
- type EstimateSwapExactAmountOutWithPrimitiveTypesRequest
- func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Descriptor() ([]byte, []int)
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) GetPoolId() uint64
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) GetRoutesPoolId() []uint64
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) GetRoutesTokenInDenom() []string
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) GetTokenOut() string
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) ProtoMessage()
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Reset()
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Size() (n int)
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) String() string
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_DiscardUnknown()
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_Merge(src proto.Message)
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_Size() int
- func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_Unmarshal(b []byte) error
- type EstimateTradeBasedOnPriceImpactRequest
- func (*EstimateTradeBasedOnPriceImpactRequest) Descriptor() ([]byte, []int)
- func (m *EstimateTradeBasedOnPriceImpactRequest) GetFromCoin() types2.Coin
- func (m *EstimateTradeBasedOnPriceImpactRequest) GetPoolId() uint64
- func (m *EstimateTradeBasedOnPriceImpactRequest) GetToCoinDenom() string
- func (m *EstimateTradeBasedOnPriceImpactRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateTradeBasedOnPriceImpactRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateTradeBasedOnPriceImpactRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateTradeBasedOnPriceImpactRequest) ProtoMessage()
- func (m *EstimateTradeBasedOnPriceImpactRequest) Reset()
- func (m *EstimateTradeBasedOnPriceImpactRequest) Size() (n int)
- func (m *EstimateTradeBasedOnPriceImpactRequest) String() string
- func (m *EstimateTradeBasedOnPriceImpactRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateTradeBasedOnPriceImpactRequest) XXX_DiscardUnknown()
- func (m *EstimateTradeBasedOnPriceImpactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateTradeBasedOnPriceImpactRequest) XXX_Merge(src proto.Message)
- func (m *EstimateTradeBasedOnPriceImpactRequest) XXX_Size() int
- func (m *EstimateTradeBasedOnPriceImpactRequest) XXX_Unmarshal(b []byte) error
- type EstimateTradeBasedOnPriceImpactResponse
- func (*EstimateTradeBasedOnPriceImpactResponse) Descriptor() ([]byte, []int)
- func (m *EstimateTradeBasedOnPriceImpactResponse) GetInputCoin() types2.Coin
- func (m *EstimateTradeBasedOnPriceImpactResponse) GetOutputCoin() types2.Coin
- func (m *EstimateTradeBasedOnPriceImpactResponse) Marshal() (dAtA []byte, err error)
- func (m *EstimateTradeBasedOnPriceImpactResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateTradeBasedOnPriceImpactResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateTradeBasedOnPriceImpactResponse) ProtoMessage()
- func (m *EstimateTradeBasedOnPriceImpactResponse) Reset()
- func (m *EstimateTradeBasedOnPriceImpactResponse) Size() (n int)
- func (m *EstimateTradeBasedOnPriceImpactResponse) String() string
- func (m *EstimateTradeBasedOnPriceImpactResponse) Unmarshal(dAtA []byte) error
- func (m *EstimateTradeBasedOnPriceImpactResponse) XXX_DiscardUnknown()
- func (m *EstimateTradeBasedOnPriceImpactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateTradeBasedOnPriceImpactResponse) XXX_Merge(src proto.Message)
- func (m *EstimateTradeBasedOnPriceImpactResponse) XXX_Size() int
- func (m *EstimateTradeBasedOnPriceImpactResponse) XXX_Unmarshal(b []byte) error
- type NumPoolsRequest
- func (*NumPoolsRequest) Descriptor() ([]byte, []int)
- func (m *NumPoolsRequest) Marshal() (dAtA []byte, err error)
- func (m *NumPoolsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *NumPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NumPoolsRequest) ProtoMessage()
- func (m *NumPoolsRequest) Reset()
- func (m *NumPoolsRequest) Size() (n int)
- func (m *NumPoolsRequest) String() string
- func (m *NumPoolsRequest) Unmarshal(dAtA []byte) error
- func (m *NumPoolsRequest) XXX_DiscardUnknown()
- func (m *NumPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NumPoolsRequest) XXX_Merge(src proto.Message)
- func (m *NumPoolsRequest) XXX_Size() int
- func (m *NumPoolsRequest) XXX_Unmarshal(b []byte) error
- type NumPoolsResponse
- func (*NumPoolsResponse) Descriptor() ([]byte, []int)
- func (m *NumPoolsResponse) GetNumPools() uint64
- func (m *NumPoolsResponse) Marshal() (dAtA []byte, err error)
- func (m *NumPoolsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *NumPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NumPoolsResponse) ProtoMessage()
- func (m *NumPoolsResponse) Reset()
- func (m *NumPoolsResponse) Size() (n int)
- func (m *NumPoolsResponse) String() string
- func (m *NumPoolsResponse) Unmarshal(dAtA []byte) error
- func (m *NumPoolsResponse) XXX_DiscardUnknown()
- func (m *NumPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NumPoolsResponse) XXX_Merge(src proto.Message)
- func (m *NumPoolsResponse) XXX_Size() int
- func (m *NumPoolsResponse) XXX_Unmarshal(b []byte) error
- type ParamsRequest
- func (*ParamsRequest) Descriptor() ([]byte, []int)
- func (m *ParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *ParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ParamsRequest) ProtoMessage()
- func (m *ParamsRequest) Reset()
- func (m *ParamsRequest) Size() (n int)
- func (m *ParamsRequest) String() string
- func (m *ParamsRequest) Unmarshal(dAtA []byte) error
- func (m *ParamsRequest) XXX_DiscardUnknown()
- func (m *ParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParamsRequest) XXX_Merge(src proto.Message)
- func (m *ParamsRequest) XXX_Size() int
- func (m *ParamsRequest) XXX_Unmarshal(b []byte) error
- type ParamsResponse
- func (*ParamsResponse) Descriptor() ([]byte, []int)
- func (m *ParamsResponse) GetParams() types.Params
- func (m *ParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *ParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ParamsResponse) ProtoMessage()
- func (m *ParamsResponse) Reset()
- func (m *ParamsResponse) Size() (n int)
- func (m *ParamsResponse) String() string
- func (m *ParamsResponse) Unmarshal(dAtA []byte) error
- func (m *ParamsResponse) XXX_DiscardUnknown()
- func (m *ParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParamsResponse) XXX_Merge(src proto.Message)
- func (m *ParamsResponse) XXX_Size() int
- func (m *ParamsResponse) XXX_Unmarshal(b []byte) error
- type PoolRequest
- func (*PoolRequest) Descriptor() ([]byte, []int)
- func (m *PoolRequest) GetPoolId() uint64
- func (m *PoolRequest) Marshal() (dAtA []byte, err error)
- func (m *PoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolRequest) ProtoMessage()
- func (m *PoolRequest) Reset()
- func (m *PoolRequest) Size() (n int)
- func (m *PoolRequest) String() string
- func (m *PoolRequest) Unmarshal(dAtA []byte) error
- func (m *PoolRequest) XXX_DiscardUnknown()
- func (m *PoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolRequest) XXX_Merge(src proto.Message)
- func (m *PoolRequest) XXX_Size() int
- func (m *PoolRequest) XXX_Unmarshal(b []byte) error
- type PoolResponse
- func (*PoolResponse) Descriptor() ([]byte, []int)
- func (m *PoolResponse) GetPool() *types1.Any
- func (m *PoolResponse) Marshal() (dAtA []byte, err error)
- func (m *PoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolResponse) ProtoMessage()
- func (m *PoolResponse) Reset()
- func (m *PoolResponse) Size() (n int)
- func (m *PoolResponse) String() string
- func (m *PoolResponse) Unmarshal(dAtA []byte) error
- func (m *PoolResponse) XXX_DiscardUnknown()
- func (m *PoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolResponse) XXX_Merge(src proto.Message)
- func (m *PoolResponse) XXX_Size() int
- func (m *PoolResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryServer
- type SpotPriceRequest
- func (*SpotPriceRequest) Descriptor() ([]byte, []int)
- func (m *SpotPriceRequest) GetBaseAssetDenom() string
- func (m *SpotPriceRequest) GetPoolId() uint64
- func (m *SpotPriceRequest) GetQuoteAssetDenom() string
- func (m *SpotPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *SpotPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SpotPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpotPriceRequest) ProtoMessage()
- func (m *SpotPriceRequest) Reset()
- func (m *SpotPriceRequest) Size() (n int)
- func (m *SpotPriceRequest) String() string
- func (m *SpotPriceRequest) Unmarshal(dAtA []byte) error
- func (m *SpotPriceRequest) XXX_DiscardUnknown()
- func (m *SpotPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpotPriceRequest) XXX_Merge(src proto.Message)
- func (m *SpotPriceRequest) XXX_Size() int
- func (m *SpotPriceRequest) XXX_Unmarshal(b []byte) error
- type SpotPriceResponse
- func (*SpotPriceResponse) Descriptor() ([]byte, []int)
- func (m *SpotPriceResponse) GetSpotPrice() string
- func (m *SpotPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *SpotPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SpotPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpotPriceResponse) ProtoMessage()
- func (m *SpotPriceResponse) Reset()
- func (m *SpotPriceResponse) Size() (n int)
- func (m *SpotPriceResponse) String() string
- func (m *SpotPriceResponse) Unmarshal(dAtA []byte) error
- func (m *SpotPriceResponse) XXX_DiscardUnknown()
- func (m *SpotPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpotPriceResponse) XXX_Merge(src proto.Message)
- func (m *SpotPriceResponse) XXX_Size() int
- func (m *SpotPriceResponse) XXX_Unmarshal(b []byte) error
- type TotalLiquidityRequest
- func (*TotalLiquidityRequest) Descriptor() ([]byte, []int)
- func (m *TotalLiquidityRequest) Marshal() (dAtA []byte, err error)
- func (m *TotalLiquidityRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TotalLiquidityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TotalLiquidityRequest) ProtoMessage()
- func (m *TotalLiquidityRequest) Reset()
- func (m *TotalLiquidityRequest) Size() (n int)
- func (m *TotalLiquidityRequest) String() string
- func (m *TotalLiquidityRequest) Unmarshal(dAtA []byte) error
- func (m *TotalLiquidityRequest) XXX_DiscardUnknown()
- func (m *TotalLiquidityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalLiquidityRequest) XXX_Merge(src proto.Message)
- func (m *TotalLiquidityRequest) XXX_Size() int
- func (m *TotalLiquidityRequest) XXX_Unmarshal(b []byte) error
- type TotalLiquidityResponse
- func (*TotalLiquidityResponse) Descriptor() ([]byte, []int)
- func (m *TotalLiquidityResponse) GetLiquidity() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *TotalLiquidityResponse) Marshal() (dAtA []byte, err error)
- func (m *TotalLiquidityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TotalLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TotalLiquidityResponse) ProtoMessage()
- func (m *TotalLiquidityResponse) Reset()
- func (m *TotalLiquidityResponse) Size() (n int)
- func (m *TotalLiquidityResponse) String() string
- func (m *TotalLiquidityResponse) Unmarshal(dAtA []byte) error
- func (m *TotalLiquidityResponse) XXX_DiscardUnknown()
- func (m *TotalLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalLiquidityResponse) XXX_Merge(src proto.Message)
- func (m *TotalLiquidityResponse) XXX_Size() int
- func (m *TotalLiquidityResponse) XXX_Unmarshal(b []byte) error
- type TotalPoolLiquidityRequest
- func (*TotalPoolLiquidityRequest) Descriptor() ([]byte, []int)
- func (m *TotalPoolLiquidityRequest) GetPoolId() uint64
- func (m *TotalPoolLiquidityRequest) Marshal() (dAtA []byte, err error)
- func (m *TotalPoolLiquidityRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TotalPoolLiquidityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TotalPoolLiquidityRequest) ProtoMessage()
- func (m *TotalPoolLiquidityRequest) Reset()
- func (m *TotalPoolLiquidityRequest) Size() (n int)
- func (m *TotalPoolLiquidityRequest) String() string
- func (m *TotalPoolLiquidityRequest) Unmarshal(dAtA []byte) error
- func (m *TotalPoolLiquidityRequest) XXX_DiscardUnknown()
- func (m *TotalPoolLiquidityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalPoolLiquidityRequest) XXX_Merge(src proto.Message)
- func (m *TotalPoolLiquidityRequest) XXX_Size() int
- func (m *TotalPoolLiquidityRequest) XXX_Unmarshal(b []byte) error
- type TotalPoolLiquidityResponse
- func (*TotalPoolLiquidityResponse) Descriptor() ([]byte, []int)
- func (m *TotalPoolLiquidityResponse) GetLiquidity() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *TotalPoolLiquidityResponse) Marshal() (dAtA []byte, err error)
- func (m *TotalPoolLiquidityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TotalPoolLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TotalPoolLiquidityResponse) ProtoMessage()
- func (m *TotalPoolLiquidityResponse) Reset()
- func (m *TotalPoolLiquidityResponse) Size() (n int)
- func (m *TotalPoolLiquidityResponse) String() string
- func (m *TotalPoolLiquidityResponse) Unmarshal(dAtA []byte) error
- func (m *TotalPoolLiquidityResponse) XXX_DiscardUnknown()
- func (m *TotalPoolLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalPoolLiquidityResponse) XXX_Merge(src proto.Message)
- func (m *TotalPoolLiquidityResponse) XXX_Size() int
- func (m *TotalPoolLiquidityResponse) XXX_Unmarshal(b []byte) error
- type TotalVolumeForPoolRequest
- func (*TotalVolumeForPoolRequest) Descriptor() ([]byte, []int)
- func (m *TotalVolumeForPoolRequest) GetPoolId() uint64
- func (m *TotalVolumeForPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *TotalVolumeForPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TotalVolumeForPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TotalVolumeForPoolRequest) ProtoMessage()
- func (m *TotalVolumeForPoolRequest) Reset()
- func (m *TotalVolumeForPoolRequest) Size() (n int)
- func (m *TotalVolumeForPoolRequest) String() string
- func (m *TotalVolumeForPoolRequest) Unmarshal(dAtA []byte) error
- func (m *TotalVolumeForPoolRequest) XXX_DiscardUnknown()
- func (m *TotalVolumeForPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalVolumeForPoolRequest) XXX_Merge(src proto.Message)
- func (m *TotalVolumeForPoolRequest) XXX_Size() int
- func (m *TotalVolumeForPoolRequest) XXX_Unmarshal(b []byte) error
- type TotalVolumeForPoolResponse
- func (*TotalVolumeForPoolResponse) Descriptor() ([]byte, []int)
- func (m *TotalVolumeForPoolResponse) GetVolume() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *TotalVolumeForPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *TotalVolumeForPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TotalVolumeForPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TotalVolumeForPoolResponse) ProtoMessage()
- func (m *TotalVolumeForPoolResponse) Reset()
- func (m *TotalVolumeForPoolResponse) Size() (n int)
- func (m *TotalVolumeForPoolResponse) String() string
- func (m *TotalVolumeForPoolResponse) Unmarshal(dAtA []byte) error
- func (m *TotalVolumeForPoolResponse) XXX_DiscardUnknown()
- func (m *TotalVolumeForPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalVolumeForPoolResponse) XXX_Merge(src proto.Message)
- func (m *TotalVolumeForPoolResponse) XXX_Size() int
- func (m *TotalVolumeForPoolResponse) XXX_Unmarshal(b []byte) error
- type TradingPairTakerFeeRequest
- func (*TradingPairTakerFeeRequest) Descriptor() ([]byte, []int)
- func (m *TradingPairTakerFeeRequest) GetDenom_0() string
- func (m *TradingPairTakerFeeRequest) GetDenom_1() string
- func (m *TradingPairTakerFeeRequest) Marshal() (dAtA []byte, err error)
- func (m *TradingPairTakerFeeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TradingPairTakerFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradingPairTakerFeeRequest) ProtoMessage()
- func (m *TradingPairTakerFeeRequest) Reset()
- func (m *TradingPairTakerFeeRequest) Size() (n int)
- func (m *TradingPairTakerFeeRequest) String() string
- func (m *TradingPairTakerFeeRequest) Unmarshal(dAtA []byte) error
- func (m *TradingPairTakerFeeRequest) XXX_DiscardUnknown()
- func (m *TradingPairTakerFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradingPairTakerFeeRequest) XXX_Merge(src proto.Message)
- func (m *TradingPairTakerFeeRequest) XXX_Size() int
- func (m *TradingPairTakerFeeRequest) XXX_Unmarshal(b []byte) error
- type TradingPairTakerFeeResponse
- func (*TradingPairTakerFeeResponse) Descriptor() ([]byte, []int)
- func (m *TradingPairTakerFeeResponse) Marshal() (dAtA []byte, err error)
- func (m *TradingPairTakerFeeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TradingPairTakerFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradingPairTakerFeeResponse) ProtoMessage()
- func (m *TradingPairTakerFeeResponse) Reset()
- func (m *TradingPairTakerFeeResponse) Size() (n int)
- func (m *TradingPairTakerFeeResponse) String() string
- func (m *TradingPairTakerFeeResponse) Unmarshal(dAtA []byte) error
- func (m *TradingPairTakerFeeResponse) XXX_DiscardUnknown()
- func (m *TradingPairTakerFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradingPairTakerFeeResponse) XXX_Merge(src proto.Message)
- func (m *TradingPairTakerFeeResponse) XXX_Size() int
- func (m *TradingPairTakerFeeResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AllPools(ctx context.Context, req *AllPoolsRequest) (*AllPoolsResponse, error)
- func (*UnimplementedQueryServer) EstimateSinglePoolSwapExactAmountIn(ctx context.Context, req *EstimateSinglePoolSwapExactAmountInRequest) (*EstimateSwapExactAmountInResponse, error)
- func (*UnimplementedQueryServer) EstimateSinglePoolSwapExactAmountOut(ctx context.Context, req *EstimateSinglePoolSwapExactAmountOutRequest) (*EstimateSwapExactAmountOutResponse, error)
- func (*UnimplementedQueryServer) EstimateSwapExactAmountIn(ctx context.Context, req *EstimateSwapExactAmountInRequest) (*EstimateSwapExactAmountInResponse, error)
- func (*UnimplementedQueryServer) EstimateSwapExactAmountInWithPrimitiveTypes(ctx context.Context, req *EstimateSwapExactAmountInWithPrimitiveTypesRequest) (*EstimateSwapExactAmountInResponse, error)
- func (*UnimplementedQueryServer) EstimateSwapExactAmountOut(ctx context.Context, req *EstimateSwapExactAmountOutRequest) (*EstimateSwapExactAmountOutResponse, error)
- func (*UnimplementedQueryServer) EstimateSwapExactAmountOutWithPrimitiveTypes(ctx context.Context, req *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) (*EstimateSwapExactAmountOutResponse, error)
- func (*UnimplementedQueryServer) EstimateTradeBasedOnPriceImpact(ctx context.Context, req *EstimateTradeBasedOnPriceImpactRequest) (*EstimateTradeBasedOnPriceImpactResponse, error)
- func (*UnimplementedQueryServer) NumPools(ctx context.Context, req *NumPoolsRequest) (*NumPoolsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *ParamsRequest) (*ParamsResponse, error)
- func (*UnimplementedQueryServer) Pool(ctx context.Context, req *PoolRequest) (*PoolResponse, error)
- func (*UnimplementedQueryServer) SpotPrice(ctx context.Context, req *SpotPriceRequest) (*SpotPriceResponse, error)
- func (*UnimplementedQueryServer) TotalLiquidity(ctx context.Context, req *TotalLiquidityRequest) (*TotalLiquidityResponse, error)
- func (*UnimplementedQueryServer) TotalPoolLiquidity(ctx context.Context, req *TotalPoolLiquidityRequest) (*TotalPoolLiquidityResponse, error)
- func (*UnimplementedQueryServer) TotalVolumeForPool(ctx context.Context, req *TotalVolumeForPoolRequest) (*TotalVolumeForPoolResponse, error)
- func (*UnimplementedQueryServer) TradingPairTakerFee(ctx context.Context, req *TradingPairTakerFeeRequest) (*TradingPairTakerFeeResponse, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AllPoolsRequest ¶
type AllPoolsRequest struct { }
=============================== AllPools
func (*AllPoolsRequest) Descriptor ¶
func (*AllPoolsRequest) Descriptor() ([]byte, []int)
func (*AllPoolsRequest) Marshal ¶
func (m *AllPoolsRequest) Marshal() (dAtA []byte, err error)
func (*AllPoolsRequest) MarshalToSizedBuffer ¶
func (m *AllPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AllPoolsRequest) ProtoMessage ¶
func (*AllPoolsRequest) ProtoMessage()
func (*AllPoolsRequest) Reset ¶
func (m *AllPoolsRequest) Reset()
func (*AllPoolsRequest) Size ¶
func (m *AllPoolsRequest) Size() (n int)
func (*AllPoolsRequest) String ¶
func (m *AllPoolsRequest) String() string
func (*AllPoolsRequest) Unmarshal ¶
func (m *AllPoolsRequest) Unmarshal(dAtA []byte) error
func (*AllPoolsRequest) XXX_DiscardUnknown ¶
func (m *AllPoolsRequest) XXX_DiscardUnknown()
func (*AllPoolsRequest) XXX_Marshal ¶
func (m *AllPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllPoolsRequest) XXX_Merge ¶
func (m *AllPoolsRequest) XXX_Merge(src proto.Message)
func (*AllPoolsRequest) XXX_Size ¶
func (m *AllPoolsRequest) XXX_Size() int
func (*AllPoolsRequest) XXX_Unmarshal ¶
func (m *AllPoolsRequest) XXX_Unmarshal(b []byte) error
type AllPoolsResponse ¶
type AllPoolsResponse struct {
Pools []*types1.Any `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools,omitempty"`
}
func (*AllPoolsResponse) Descriptor ¶
func (*AllPoolsResponse) Descriptor() ([]byte, []int)
func (*AllPoolsResponse) GetPools ¶
func (m *AllPoolsResponse) GetPools() []*types1.Any
func (*AllPoolsResponse) Marshal ¶
func (m *AllPoolsResponse) Marshal() (dAtA []byte, err error)
func (*AllPoolsResponse) MarshalToSizedBuffer ¶
func (m *AllPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AllPoolsResponse) ProtoMessage ¶
func (*AllPoolsResponse) ProtoMessage()
func (*AllPoolsResponse) Reset ¶
func (m *AllPoolsResponse) Reset()
func (*AllPoolsResponse) Size ¶
func (m *AllPoolsResponse) Size() (n int)
func (*AllPoolsResponse) String ¶
func (m *AllPoolsResponse) String() string
func (*AllPoolsResponse) Unmarshal ¶
func (m *AllPoolsResponse) Unmarshal(dAtA []byte) error
func (*AllPoolsResponse) XXX_DiscardUnknown ¶
func (m *AllPoolsResponse) XXX_DiscardUnknown()
func (*AllPoolsResponse) XXX_Marshal ¶
func (m *AllPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllPoolsResponse) XXX_Merge ¶
func (m *AllPoolsResponse) XXX_Merge(src proto.Message)
func (*AllPoolsResponse) XXX_Size ¶
func (m *AllPoolsResponse) XXX_Size() int
func (*AllPoolsResponse) XXX_Unmarshal ¶
func (m *AllPoolsResponse) XXX_Unmarshal(b []byte) error
type EstimateSinglePoolSwapExactAmountInRequest ¶
type EstimateSinglePoolSwapExactAmountInRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` TokenIn string `protobuf:"bytes,2,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty" yaml:"token_in"` TokenOutDenom string `protobuf:"bytes,3,opt,name=token_out_denom,json=tokenOutDenom,proto3" json:"token_out_denom,omitempty" yaml:"token_out_denom"` }
func (*EstimateSinglePoolSwapExactAmountInRequest) Descriptor ¶
func (*EstimateSinglePoolSwapExactAmountInRequest) Descriptor() ([]byte, []int)
func (*EstimateSinglePoolSwapExactAmountInRequest) GetPoolId ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) GetPoolId() uint64
func (*EstimateSinglePoolSwapExactAmountInRequest) GetTokenIn ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) GetTokenIn() string
func (*EstimateSinglePoolSwapExactAmountInRequest) GetTokenOutDenom ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) GetTokenOutDenom() string
func (*EstimateSinglePoolSwapExactAmountInRequest) Marshal ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) Marshal() (dAtA []byte, err error)
func (*EstimateSinglePoolSwapExactAmountInRequest) MarshalTo ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateSinglePoolSwapExactAmountInRequest) MarshalToSizedBuffer ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateSinglePoolSwapExactAmountInRequest) ProtoMessage ¶
func (*EstimateSinglePoolSwapExactAmountInRequest) ProtoMessage()
func (*EstimateSinglePoolSwapExactAmountInRequest) Reset ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) Reset()
func (*EstimateSinglePoolSwapExactAmountInRequest) Size ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) Size() (n int)
func (*EstimateSinglePoolSwapExactAmountInRequest) String ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) String() string
func (*EstimateSinglePoolSwapExactAmountInRequest) Unmarshal ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) Unmarshal(dAtA []byte) error
func (*EstimateSinglePoolSwapExactAmountInRequest) XXX_DiscardUnknown ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) XXX_DiscardUnknown()
func (*EstimateSinglePoolSwapExactAmountInRequest) XXX_Marshal ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateSinglePoolSwapExactAmountInRequest) XXX_Merge ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) XXX_Merge(src proto.Message)
func (*EstimateSinglePoolSwapExactAmountInRequest) XXX_Size ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) XXX_Size() int
func (*EstimateSinglePoolSwapExactAmountInRequest) XXX_Unmarshal ¶
func (m *EstimateSinglePoolSwapExactAmountInRequest) XXX_Unmarshal(b []byte) error
type EstimateSinglePoolSwapExactAmountOutRequest ¶
type EstimateSinglePoolSwapExactAmountOutRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` TokenInDenom string `protobuf:"bytes,2,opt,name=token_in_denom,json=tokenInDenom,proto3" json:"token_in_denom,omitempty" yaml:"token_in_denom"` TokenOut string `protobuf:"bytes,3,opt,name=token_out,json=tokenOut,proto3" json:"token_out,omitempty" yaml:"token_out"` }
func (*EstimateSinglePoolSwapExactAmountOutRequest) Descriptor ¶
func (*EstimateSinglePoolSwapExactAmountOutRequest) Descriptor() ([]byte, []int)
func (*EstimateSinglePoolSwapExactAmountOutRequest) GetPoolId ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) GetPoolId() uint64
func (*EstimateSinglePoolSwapExactAmountOutRequest) GetTokenInDenom ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) GetTokenInDenom() string
func (*EstimateSinglePoolSwapExactAmountOutRequest) GetTokenOut ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) GetTokenOut() string
func (*EstimateSinglePoolSwapExactAmountOutRequest) Marshal ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) Marshal() (dAtA []byte, err error)
func (*EstimateSinglePoolSwapExactAmountOutRequest) MarshalTo ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateSinglePoolSwapExactAmountOutRequest) MarshalToSizedBuffer ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateSinglePoolSwapExactAmountOutRequest) ProtoMessage ¶
func (*EstimateSinglePoolSwapExactAmountOutRequest) ProtoMessage()
func (*EstimateSinglePoolSwapExactAmountOutRequest) Reset ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) Reset()
func (*EstimateSinglePoolSwapExactAmountOutRequest) Size ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) Size() (n int)
func (*EstimateSinglePoolSwapExactAmountOutRequest) String ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) String() string
func (*EstimateSinglePoolSwapExactAmountOutRequest) Unmarshal ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) Unmarshal(dAtA []byte) error
func (*EstimateSinglePoolSwapExactAmountOutRequest) XXX_DiscardUnknown ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) XXX_DiscardUnknown()
func (*EstimateSinglePoolSwapExactAmountOutRequest) XXX_Marshal ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateSinglePoolSwapExactAmountOutRequest) XXX_Merge ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) XXX_Merge(src proto.Message)
func (*EstimateSinglePoolSwapExactAmountOutRequest) XXX_Size ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) XXX_Size() int
func (*EstimateSinglePoolSwapExactAmountOutRequest) XXX_Unmarshal ¶
func (m *EstimateSinglePoolSwapExactAmountOutRequest) XXX_Unmarshal(b []byte) error
type EstimateSwapExactAmountInRequest ¶
type EstimateSwapExactAmountInRequest struct { PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` TokenIn string `protobuf:"bytes,3,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty" yaml:"token_in"` Routes []types.SwapAmountInRoute `protobuf:"bytes,4,rep,name=routes,proto3" json:"routes" yaml:"routes"` }
=============================== EstimateSwapExactAmountIn
func (*EstimateSwapExactAmountInRequest) Descriptor ¶
func (*EstimateSwapExactAmountInRequest) Descriptor() ([]byte, []int)
func (*EstimateSwapExactAmountInRequest) GetPoolId ¶
func (m *EstimateSwapExactAmountInRequest) GetPoolId() uint64
func (*EstimateSwapExactAmountInRequest) GetRoutes ¶
func (m *EstimateSwapExactAmountInRequest) GetRoutes() []types.SwapAmountInRoute
func (*EstimateSwapExactAmountInRequest) GetTokenIn ¶
func (m *EstimateSwapExactAmountInRequest) GetTokenIn() string
func (*EstimateSwapExactAmountInRequest) Marshal ¶
func (m *EstimateSwapExactAmountInRequest) Marshal() (dAtA []byte, err error)
func (*EstimateSwapExactAmountInRequest) MarshalTo ¶
func (m *EstimateSwapExactAmountInRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateSwapExactAmountInRequest) MarshalToSizedBuffer ¶
func (m *EstimateSwapExactAmountInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateSwapExactAmountInRequest) ProtoMessage ¶
func (*EstimateSwapExactAmountInRequest) ProtoMessage()
func (*EstimateSwapExactAmountInRequest) Reset ¶
func (m *EstimateSwapExactAmountInRequest) Reset()
func (*EstimateSwapExactAmountInRequest) Size ¶
func (m *EstimateSwapExactAmountInRequest) Size() (n int)
func (*EstimateSwapExactAmountInRequest) String ¶
func (m *EstimateSwapExactAmountInRequest) String() string
func (*EstimateSwapExactAmountInRequest) Unmarshal ¶
func (m *EstimateSwapExactAmountInRequest) Unmarshal(dAtA []byte) error
func (*EstimateSwapExactAmountInRequest) XXX_DiscardUnknown ¶
func (m *EstimateSwapExactAmountInRequest) XXX_DiscardUnknown()
func (*EstimateSwapExactAmountInRequest) XXX_Marshal ¶
func (m *EstimateSwapExactAmountInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateSwapExactAmountInRequest) XXX_Merge ¶
func (m *EstimateSwapExactAmountInRequest) XXX_Merge(src proto.Message)
func (*EstimateSwapExactAmountInRequest) XXX_Size ¶
func (m *EstimateSwapExactAmountInRequest) XXX_Size() int
func (*EstimateSwapExactAmountInRequest) XXX_Unmarshal ¶
func (m *EstimateSwapExactAmountInRequest) XXX_Unmarshal(b []byte) error
type EstimateSwapExactAmountInResponse ¶
type EstimateSwapExactAmountInResponse struct {
TokenOutAmount cosmossdk_io_math.Int `` /* 152-byte string literal not displayed */
}
func (*EstimateSwapExactAmountInResponse) Descriptor ¶
func (*EstimateSwapExactAmountInResponse) Descriptor() ([]byte, []int)
func (*EstimateSwapExactAmountInResponse) Marshal ¶
func (m *EstimateSwapExactAmountInResponse) Marshal() (dAtA []byte, err error)
func (*EstimateSwapExactAmountInResponse) MarshalTo ¶
func (m *EstimateSwapExactAmountInResponse) MarshalTo(dAtA []byte) (int, error)
func (*EstimateSwapExactAmountInResponse) MarshalToSizedBuffer ¶
func (m *EstimateSwapExactAmountInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateSwapExactAmountInResponse) ProtoMessage ¶
func (*EstimateSwapExactAmountInResponse) ProtoMessage()
func (*EstimateSwapExactAmountInResponse) Reset ¶
func (m *EstimateSwapExactAmountInResponse) Reset()
func (*EstimateSwapExactAmountInResponse) Size ¶
func (m *EstimateSwapExactAmountInResponse) Size() (n int)
func (*EstimateSwapExactAmountInResponse) String ¶
func (m *EstimateSwapExactAmountInResponse) String() string
func (*EstimateSwapExactAmountInResponse) Unmarshal ¶
func (m *EstimateSwapExactAmountInResponse) Unmarshal(dAtA []byte) error
func (*EstimateSwapExactAmountInResponse) XXX_DiscardUnknown ¶
func (m *EstimateSwapExactAmountInResponse) XXX_DiscardUnknown()
func (*EstimateSwapExactAmountInResponse) XXX_Marshal ¶
func (m *EstimateSwapExactAmountInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateSwapExactAmountInResponse) XXX_Merge ¶
func (m *EstimateSwapExactAmountInResponse) XXX_Merge(src proto.Message)
func (*EstimateSwapExactAmountInResponse) XXX_Size ¶
func (m *EstimateSwapExactAmountInResponse) XXX_Size() int
func (*EstimateSwapExactAmountInResponse) XXX_Unmarshal ¶
func (m *EstimateSwapExactAmountInResponse) XXX_Unmarshal(b []byte) error
type EstimateSwapExactAmountInWithPrimitiveTypesRequest ¶
type EstimateSwapExactAmountInWithPrimitiveTypesRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` TokenIn string `protobuf:"bytes,2,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty" yaml:"token_in"` RoutesPoolId []uint64 `` /* 129-byte string literal not displayed */ RoutesTokenOutDenom []string `` /* 152-byte string literal not displayed */ }
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) Descriptor ¶
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) Descriptor() ([]byte, []int)
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) GetPoolId ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) GetPoolId() uint64
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) GetRoutesPoolId ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) GetRoutesPoolId() []uint64
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) GetRoutesTokenOutDenom ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) GetRoutesTokenOutDenom() []string
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) GetTokenIn ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) GetTokenIn() string
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) Marshal ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) Marshal() (dAtA []byte, err error)
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) MarshalTo ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) MarshalToSizedBuffer ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) ProtoMessage ¶
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) ProtoMessage()
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) Reset ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) Reset()
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) Size ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) Size() (n int)
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) String ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) String() string
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) Unmarshal ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) Unmarshal(dAtA []byte) error
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_DiscardUnknown ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_DiscardUnknown()
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_Marshal ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_Merge ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_Merge(src proto.Message)
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_Size ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_Size() int
func (*EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_Unmarshal ¶
func (m *EstimateSwapExactAmountInWithPrimitiveTypesRequest) XXX_Unmarshal(b []byte) error
type EstimateSwapExactAmountOutRequest ¶
type EstimateSwapExactAmountOutRequest struct { PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` Routes []types.SwapAmountOutRoute `protobuf:"bytes,3,rep,name=routes,proto3" json:"routes" yaml:"routes"` TokenOut string `protobuf:"bytes,4,opt,name=token_out,json=tokenOut,proto3" json:"token_out,omitempty" yaml:"token_out"` }
=============================== EstimateSwapExactAmountOut
func (*EstimateSwapExactAmountOutRequest) Descriptor ¶
func (*EstimateSwapExactAmountOutRequest) Descriptor() ([]byte, []int)
func (*EstimateSwapExactAmountOutRequest) GetPoolId ¶
func (m *EstimateSwapExactAmountOutRequest) GetPoolId() uint64
func (*EstimateSwapExactAmountOutRequest) GetRoutes ¶
func (m *EstimateSwapExactAmountOutRequest) GetRoutes() []types.SwapAmountOutRoute
func (*EstimateSwapExactAmountOutRequest) GetTokenOut ¶
func (m *EstimateSwapExactAmountOutRequest) GetTokenOut() string
func (*EstimateSwapExactAmountOutRequest) Marshal ¶
func (m *EstimateSwapExactAmountOutRequest) Marshal() (dAtA []byte, err error)
func (*EstimateSwapExactAmountOutRequest) MarshalTo ¶
func (m *EstimateSwapExactAmountOutRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateSwapExactAmountOutRequest) MarshalToSizedBuffer ¶
func (m *EstimateSwapExactAmountOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateSwapExactAmountOutRequest) ProtoMessage ¶
func (*EstimateSwapExactAmountOutRequest) ProtoMessage()
func (*EstimateSwapExactAmountOutRequest) Reset ¶
func (m *EstimateSwapExactAmountOutRequest) Reset()
func (*EstimateSwapExactAmountOutRequest) Size ¶
func (m *EstimateSwapExactAmountOutRequest) Size() (n int)
func (*EstimateSwapExactAmountOutRequest) String ¶
func (m *EstimateSwapExactAmountOutRequest) String() string
func (*EstimateSwapExactAmountOutRequest) Unmarshal ¶
func (m *EstimateSwapExactAmountOutRequest) Unmarshal(dAtA []byte) error
func (*EstimateSwapExactAmountOutRequest) XXX_DiscardUnknown ¶
func (m *EstimateSwapExactAmountOutRequest) XXX_DiscardUnknown()
func (*EstimateSwapExactAmountOutRequest) XXX_Marshal ¶
func (m *EstimateSwapExactAmountOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateSwapExactAmountOutRequest) XXX_Merge ¶
func (m *EstimateSwapExactAmountOutRequest) XXX_Merge(src proto.Message)
func (*EstimateSwapExactAmountOutRequest) XXX_Size ¶
func (m *EstimateSwapExactAmountOutRequest) XXX_Size() int
func (*EstimateSwapExactAmountOutRequest) XXX_Unmarshal ¶
func (m *EstimateSwapExactAmountOutRequest) XXX_Unmarshal(b []byte) error
type EstimateSwapExactAmountOutResponse ¶
type EstimateSwapExactAmountOutResponse struct {
TokenInAmount cosmossdk_io_math.Int `` /* 148-byte string literal not displayed */
}
func (*EstimateSwapExactAmountOutResponse) Descriptor ¶
func (*EstimateSwapExactAmountOutResponse) Descriptor() ([]byte, []int)
func (*EstimateSwapExactAmountOutResponse) Marshal ¶
func (m *EstimateSwapExactAmountOutResponse) Marshal() (dAtA []byte, err error)
func (*EstimateSwapExactAmountOutResponse) MarshalTo ¶
func (m *EstimateSwapExactAmountOutResponse) MarshalTo(dAtA []byte) (int, error)
func (*EstimateSwapExactAmountOutResponse) MarshalToSizedBuffer ¶
func (m *EstimateSwapExactAmountOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateSwapExactAmountOutResponse) ProtoMessage ¶
func (*EstimateSwapExactAmountOutResponse) ProtoMessage()
func (*EstimateSwapExactAmountOutResponse) Reset ¶
func (m *EstimateSwapExactAmountOutResponse) Reset()
func (*EstimateSwapExactAmountOutResponse) Size ¶
func (m *EstimateSwapExactAmountOutResponse) Size() (n int)
func (*EstimateSwapExactAmountOutResponse) String ¶
func (m *EstimateSwapExactAmountOutResponse) String() string
func (*EstimateSwapExactAmountOutResponse) Unmarshal ¶
func (m *EstimateSwapExactAmountOutResponse) Unmarshal(dAtA []byte) error
func (*EstimateSwapExactAmountOutResponse) XXX_DiscardUnknown ¶
func (m *EstimateSwapExactAmountOutResponse) XXX_DiscardUnknown()
func (*EstimateSwapExactAmountOutResponse) XXX_Marshal ¶
func (m *EstimateSwapExactAmountOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateSwapExactAmountOutResponse) XXX_Merge ¶
func (m *EstimateSwapExactAmountOutResponse) XXX_Merge(src proto.Message)
func (*EstimateSwapExactAmountOutResponse) XXX_Size ¶
func (m *EstimateSwapExactAmountOutResponse) XXX_Size() int
func (*EstimateSwapExactAmountOutResponse) XXX_Unmarshal ¶
func (m *EstimateSwapExactAmountOutResponse) XXX_Unmarshal(b []byte) error
type EstimateSwapExactAmountOutWithPrimitiveTypesRequest ¶
type EstimateSwapExactAmountOutWithPrimitiveTypesRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` RoutesPoolId []uint64 `` /* 129-byte string literal not displayed */ RoutesTokenInDenom []string `` /* 148-byte string literal not displayed */ TokenOut string `protobuf:"bytes,4,opt,name=token_out,json=tokenOut,proto3" json:"token_out,omitempty" yaml:"token_out"` }
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Descriptor ¶
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Descriptor() ([]byte, []int)
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) GetPoolId ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) GetPoolId() uint64
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) GetRoutesPoolId ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) GetRoutesPoolId() []uint64
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) GetRoutesTokenInDenom ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) GetRoutesTokenInDenom() []string
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) GetTokenOut ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) GetTokenOut() string
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Marshal ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Marshal() (dAtA []byte, err error)
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) MarshalTo ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) MarshalToSizedBuffer ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) ProtoMessage ¶
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) ProtoMessage()
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Reset ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Reset()
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Size ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Size() (n int)
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) String ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) String() string
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Unmarshal ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) Unmarshal(dAtA []byte) error
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_DiscardUnknown ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_DiscardUnknown()
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_Marshal ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_Merge ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_Merge(src proto.Message)
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_Size ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_Size() int
func (*EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_Unmarshal ¶
func (m *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) XXX_Unmarshal(b []byte) error
type EstimateTradeBasedOnPriceImpactRequest ¶
type EstimateTradeBasedOnPriceImpactRequest struct { // from_coin is the total amount of tokens that the user wants to sell. FromCoin types2.Coin `protobuf:"bytes,1,opt,name=from_coin,json=fromCoin,proto3" json:"from_coin"` // to_coin_denom is the denom identifier of the token that the user wants to // buy. ToCoinDenom string `protobuf:"bytes,2,opt,name=to_coin_denom,json=toCoinDenom,proto3" json:"to_coin_denom,omitempty"` // pool_id is the identifier of the liquidity pool that the trade will occur // on. PoolId uint64 `protobuf:"varint,3,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` // max_price_impact is the maximum percentage that the user is willing // to affect the price of the liquidity pool. MaxPriceImpact github_com_cosmos_cosmos_sdk_types.Dec `` /* 145-byte string literal not displayed */ // external_price is an optional external price that the user can enter. // It adjusts the MaxPriceImpact as the SpotPrice of a pool can be changed at // any time. ExternalPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */ }
EstimateTradeBasedOnPriceImpactRequest represents a request to estimate a trade for Balancer/StableSwap/Concentrated liquidity pool types based on the given parameters.
func (*EstimateTradeBasedOnPriceImpactRequest) Descriptor ¶
func (*EstimateTradeBasedOnPriceImpactRequest) Descriptor() ([]byte, []int)
func (*EstimateTradeBasedOnPriceImpactRequest) GetFromCoin ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) GetFromCoin() types2.Coin
func (*EstimateTradeBasedOnPriceImpactRequest) GetPoolId ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) GetPoolId() uint64
func (*EstimateTradeBasedOnPriceImpactRequest) GetToCoinDenom ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) GetToCoinDenom() string
func (*EstimateTradeBasedOnPriceImpactRequest) Marshal ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) Marshal() (dAtA []byte, err error)
func (*EstimateTradeBasedOnPriceImpactRequest) MarshalTo ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateTradeBasedOnPriceImpactRequest) MarshalToSizedBuffer ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateTradeBasedOnPriceImpactRequest) ProtoMessage ¶
func (*EstimateTradeBasedOnPriceImpactRequest) ProtoMessage()
func (*EstimateTradeBasedOnPriceImpactRequest) Reset ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) Reset()
func (*EstimateTradeBasedOnPriceImpactRequest) Size ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) Size() (n int)
func (*EstimateTradeBasedOnPriceImpactRequest) String ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) String() string
func (*EstimateTradeBasedOnPriceImpactRequest) Unmarshal ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) Unmarshal(dAtA []byte) error
func (*EstimateTradeBasedOnPriceImpactRequest) XXX_DiscardUnknown ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) XXX_DiscardUnknown()
func (*EstimateTradeBasedOnPriceImpactRequest) XXX_Marshal ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateTradeBasedOnPriceImpactRequest) XXX_Merge ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) XXX_Merge(src proto.Message)
func (*EstimateTradeBasedOnPriceImpactRequest) XXX_Size ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) XXX_Size() int
func (*EstimateTradeBasedOnPriceImpactRequest) XXX_Unmarshal ¶
func (m *EstimateTradeBasedOnPriceImpactRequest) XXX_Unmarshal(b []byte) error
type EstimateTradeBasedOnPriceImpactResponse ¶
type EstimateTradeBasedOnPriceImpactResponse struct { // input_coin is the actual input amount that would be tradeable // under the specified price impact. InputCoin types2.Coin `protobuf:"bytes,1,opt,name=input_coin,json=inputCoin,proto3" json:"input_coin"` // output_coin is the amount of tokens of the ToCoinDenom type // that will be received for the actual InputCoin trade. OutputCoin types2.Coin `protobuf:"bytes,2,opt,name=output_coin,json=outputCoin,proto3" json:"output_coin"` }
EstimateTradeBasedOnPriceImpactResponse represents the response data for an estimated trade based on price impact. If a trade fails to be estimated the response would be 0,0 for input_coin and output_coin and will not error.
func (*EstimateTradeBasedOnPriceImpactResponse) Descriptor ¶
func (*EstimateTradeBasedOnPriceImpactResponse) Descriptor() ([]byte, []int)
func (*EstimateTradeBasedOnPriceImpactResponse) GetInputCoin ¶
func (m *EstimateTradeBasedOnPriceImpactResponse) GetInputCoin() types2.Coin
func (*EstimateTradeBasedOnPriceImpactResponse) GetOutputCoin ¶
func (m *EstimateTradeBasedOnPriceImpactResponse) GetOutputCoin() types2.Coin
func (*EstimateTradeBasedOnPriceImpactResponse) Marshal ¶
func (m *EstimateTradeBasedOnPriceImpactResponse) Marshal() (dAtA []byte, err error)
func (*EstimateTradeBasedOnPriceImpactResponse) MarshalTo ¶
func (m *EstimateTradeBasedOnPriceImpactResponse) MarshalTo(dAtA []byte) (int, error)
func (*EstimateTradeBasedOnPriceImpactResponse) MarshalToSizedBuffer ¶
func (m *EstimateTradeBasedOnPriceImpactResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateTradeBasedOnPriceImpactResponse) ProtoMessage ¶
func (*EstimateTradeBasedOnPriceImpactResponse) ProtoMessage()
func (*EstimateTradeBasedOnPriceImpactResponse) Reset ¶
func (m *EstimateTradeBasedOnPriceImpactResponse) Reset()
func (*EstimateTradeBasedOnPriceImpactResponse) Size ¶
func (m *EstimateTradeBasedOnPriceImpactResponse) Size() (n int)
func (*EstimateTradeBasedOnPriceImpactResponse) String ¶
func (m *EstimateTradeBasedOnPriceImpactResponse) String() string
func (*EstimateTradeBasedOnPriceImpactResponse) Unmarshal ¶
func (m *EstimateTradeBasedOnPriceImpactResponse) Unmarshal(dAtA []byte) error
func (*EstimateTradeBasedOnPriceImpactResponse) XXX_DiscardUnknown ¶
func (m *EstimateTradeBasedOnPriceImpactResponse) XXX_DiscardUnknown()
func (*EstimateTradeBasedOnPriceImpactResponse) XXX_Marshal ¶
func (m *EstimateTradeBasedOnPriceImpactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateTradeBasedOnPriceImpactResponse) XXX_Merge ¶
func (m *EstimateTradeBasedOnPriceImpactResponse) XXX_Merge(src proto.Message)
func (*EstimateTradeBasedOnPriceImpactResponse) XXX_Size ¶
func (m *EstimateTradeBasedOnPriceImpactResponse) XXX_Size() int
func (*EstimateTradeBasedOnPriceImpactResponse) XXX_Unmarshal ¶
func (m *EstimateTradeBasedOnPriceImpactResponse) XXX_Unmarshal(b []byte) error
type NumPoolsRequest ¶
type NumPoolsRequest struct { }
=============================== NumPools
func (*NumPoolsRequest) Descriptor ¶
func (*NumPoolsRequest) Descriptor() ([]byte, []int)
func (*NumPoolsRequest) Marshal ¶
func (m *NumPoolsRequest) Marshal() (dAtA []byte, err error)
func (*NumPoolsRequest) MarshalToSizedBuffer ¶
func (m *NumPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NumPoolsRequest) ProtoMessage ¶
func (*NumPoolsRequest) ProtoMessage()
func (*NumPoolsRequest) Reset ¶
func (m *NumPoolsRequest) Reset()
func (*NumPoolsRequest) Size ¶
func (m *NumPoolsRequest) Size() (n int)
func (*NumPoolsRequest) String ¶
func (m *NumPoolsRequest) String() string
func (*NumPoolsRequest) Unmarshal ¶
func (m *NumPoolsRequest) Unmarshal(dAtA []byte) error
func (*NumPoolsRequest) XXX_DiscardUnknown ¶
func (m *NumPoolsRequest) XXX_DiscardUnknown()
func (*NumPoolsRequest) XXX_Marshal ¶
func (m *NumPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NumPoolsRequest) XXX_Merge ¶
func (m *NumPoolsRequest) XXX_Merge(src proto.Message)
func (*NumPoolsRequest) XXX_Size ¶
func (m *NumPoolsRequest) XXX_Size() int
func (*NumPoolsRequest) XXX_Unmarshal ¶
func (m *NumPoolsRequest) XXX_Unmarshal(b []byte) error
type NumPoolsResponse ¶
type NumPoolsResponse struct {
NumPools uint64 `protobuf:"varint,1,opt,name=num_pools,json=numPools,proto3" json:"num_pools,omitempty" yaml:"num_pools"`
}
func (*NumPoolsResponse) Descriptor ¶
func (*NumPoolsResponse) Descriptor() ([]byte, []int)
func (*NumPoolsResponse) GetNumPools ¶
func (m *NumPoolsResponse) GetNumPools() uint64
func (*NumPoolsResponse) Marshal ¶
func (m *NumPoolsResponse) Marshal() (dAtA []byte, err error)
func (*NumPoolsResponse) MarshalToSizedBuffer ¶
func (m *NumPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NumPoolsResponse) ProtoMessage ¶
func (*NumPoolsResponse) ProtoMessage()
func (*NumPoolsResponse) Reset ¶
func (m *NumPoolsResponse) Reset()
func (*NumPoolsResponse) Size ¶
func (m *NumPoolsResponse) Size() (n int)
func (*NumPoolsResponse) String ¶
func (m *NumPoolsResponse) String() string
func (*NumPoolsResponse) Unmarshal ¶
func (m *NumPoolsResponse) Unmarshal(dAtA []byte) error
func (*NumPoolsResponse) XXX_DiscardUnknown ¶
func (m *NumPoolsResponse) XXX_DiscardUnknown()
func (*NumPoolsResponse) XXX_Marshal ¶
func (m *NumPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NumPoolsResponse) XXX_Merge ¶
func (m *NumPoolsResponse) XXX_Merge(src proto.Message)
func (*NumPoolsResponse) XXX_Size ¶
func (m *NumPoolsResponse) XXX_Size() int
func (*NumPoolsResponse) XXX_Unmarshal ¶
func (m *NumPoolsResponse) XXX_Unmarshal(b []byte) error
type ParamsRequest ¶
type ParamsRequest struct { }
=============================== Params
func (*ParamsRequest) Descriptor ¶
func (*ParamsRequest) Descriptor() ([]byte, []int)
func (*ParamsRequest) Marshal ¶
func (m *ParamsRequest) Marshal() (dAtA []byte, err error)
func (*ParamsRequest) MarshalToSizedBuffer ¶
func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ParamsRequest) ProtoMessage ¶
func (*ParamsRequest) ProtoMessage()
func (*ParamsRequest) Reset ¶
func (m *ParamsRequest) Reset()
func (*ParamsRequest) Size ¶
func (m *ParamsRequest) Size() (n int)
func (*ParamsRequest) String ¶
func (m *ParamsRequest) String() string
func (*ParamsRequest) Unmarshal ¶
func (m *ParamsRequest) Unmarshal(dAtA []byte) error
func (*ParamsRequest) XXX_DiscardUnknown ¶
func (m *ParamsRequest) XXX_DiscardUnknown()
func (*ParamsRequest) XXX_Marshal ¶
func (m *ParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParamsRequest) XXX_Merge ¶
func (m *ParamsRequest) XXX_Merge(src proto.Message)
func (*ParamsRequest) XXX_Size ¶
func (m *ParamsRequest) XXX_Size() int
func (*ParamsRequest) XXX_Unmarshal ¶
func (m *ParamsRequest) XXX_Unmarshal(b []byte) error
type ParamsResponse ¶
type ParamsResponse struct {
Params types.Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
func (*ParamsResponse) Descriptor ¶
func (*ParamsResponse) Descriptor() ([]byte, []int)
func (*ParamsResponse) GetParams ¶
func (m *ParamsResponse) GetParams() types.Params
func (*ParamsResponse) Marshal ¶
func (m *ParamsResponse) Marshal() (dAtA []byte, err error)
func (*ParamsResponse) MarshalToSizedBuffer ¶
func (m *ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ParamsResponse) ProtoMessage ¶
func (*ParamsResponse) ProtoMessage()
func (*ParamsResponse) Reset ¶
func (m *ParamsResponse) Reset()
func (*ParamsResponse) Size ¶
func (m *ParamsResponse) Size() (n int)
func (*ParamsResponse) String ¶
func (m *ParamsResponse) String() string
func (*ParamsResponse) Unmarshal ¶
func (m *ParamsResponse) Unmarshal(dAtA []byte) error
func (*ParamsResponse) XXX_DiscardUnknown ¶
func (m *ParamsResponse) XXX_DiscardUnknown()
func (*ParamsResponse) XXX_Marshal ¶
func (m *ParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParamsResponse) XXX_Merge ¶
func (m *ParamsResponse) XXX_Merge(src proto.Message)
func (*ParamsResponse) XXX_Size ¶
func (m *ParamsResponse) XXX_Size() int
func (*ParamsResponse) XXX_Unmarshal ¶
func (m *ParamsResponse) XXX_Unmarshal(b []byte) error
type PoolRequest ¶
type PoolRequest struct {
PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
}
=============================== Pool
func (*PoolRequest) Descriptor ¶
func (*PoolRequest) Descriptor() ([]byte, []int)
func (*PoolRequest) GetPoolId ¶
func (m *PoolRequest) GetPoolId() uint64
func (*PoolRequest) Marshal ¶
func (m *PoolRequest) Marshal() (dAtA []byte, err error)
func (*PoolRequest) MarshalToSizedBuffer ¶
func (m *PoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolRequest) ProtoMessage ¶
func (*PoolRequest) ProtoMessage()
func (*PoolRequest) Reset ¶
func (m *PoolRequest) Reset()
func (*PoolRequest) Size ¶
func (m *PoolRequest) Size() (n int)
func (*PoolRequest) String ¶
func (m *PoolRequest) String() string
func (*PoolRequest) Unmarshal ¶
func (m *PoolRequest) Unmarshal(dAtA []byte) error
func (*PoolRequest) XXX_DiscardUnknown ¶
func (m *PoolRequest) XXX_DiscardUnknown()
func (*PoolRequest) XXX_Marshal ¶
func (m *PoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolRequest) XXX_Merge ¶
func (m *PoolRequest) XXX_Merge(src proto.Message)
func (*PoolRequest) XXX_Size ¶
func (m *PoolRequest) XXX_Size() int
func (*PoolRequest) XXX_Unmarshal ¶
func (m *PoolRequest) XXX_Unmarshal(b []byte) error
type PoolResponse ¶
type PoolResponse struct {
Pool *types1.Any `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool,omitempty"`
}
func (*PoolResponse) Descriptor ¶
func (*PoolResponse) Descriptor() ([]byte, []int)
func (*PoolResponse) GetPool ¶
func (m *PoolResponse) GetPool() *types1.Any
func (*PoolResponse) Marshal ¶
func (m *PoolResponse) Marshal() (dAtA []byte, err error)
func (*PoolResponse) MarshalToSizedBuffer ¶
func (m *PoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolResponse) ProtoMessage ¶
func (*PoolResponse) ProtoMessage()
func (*PoolResponse) Reset ¶
func (m *PoolResponse) Reset()
func (*PoolResponse) Size ¶
func (m *PoolResponse) Size() (n int)
func (*PoolResponse) String ¶
func (m *PoolResponse) String() string
func (*PoolResponse) Unmarshal ¶
func (m *PoolResponse) Unmarshal(dAtA []byte) error
func (*PoolResponse) XXX_DiscardUnknown ¶
func (m *PoolResponse) XXX_DiscardUnknown()
func (*PoolResponse) XXX_Marshal ¶
func (m *PoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolResponse) XXX_Merge ¶
func (m *PoolResponse) XXX_Merge(src proto.Message)
func (*PoolResponse) XXX_Size ¶
func (m *PoolResponse) XXX_Size() int
func (*PoolResponse) XXX_Unmarshal ¶
func (m *PoolResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { Params(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error) // Estimates swap amount out given in. EstimateSwapExactAmountIn(ctx context.Context, in *EstimateSwapExactAmountInRequest, opts ...grpc.CallOption) (*EstimateSwapExactAmountInResponse, error) // EstimateSwapExactAmountInWithPrimitiveTypes is an alternative query for // EstimateSwapExactAmountIn. Supports query via GRPC-Gateway by using // primitive types instead of repeated structs. Each index in the // routes_pool_id field corresponds to the respective routes_token_out_denom // value, thus they are required to have the same length and are grouped // together as pairs. // example usage: // http://0.0.0.0:1317/osmosis/poolmanager/v1beta1/1/estimate/ // swap_exact_amount_in_with_primitive_types?token_in=100000stake&routes_token_out_denom=uatom // &routes_token_out_denom=uion&routes_pool_id=1&routes_pool_id=2 EstimateSwapExactAmountInWithPrimitiveTypes(ctx context.Context, in *EstimateSwapExactAmountInWithPrimitiveTypesRequest, opts ...grpc.CallOption) (*EstimateSwapExactAmountInResponse, error) EstimateSinglePoolSwapExactAmountIn(ctx context.Context, in *EstimateSinglePoolSwapExactAmountInRequest, opts ...grpc.CallOption) (*EstimateSwapExactAmountInResponse, error) // Estimates swap amount in given out. EstimateSwapExactAmountOut(ctx context.Context, in *EstimateSwapExactAmountOutRequest, opts ...grpc.CallOption) (*EstimateSwapExactAmountOutResponse, error) // Estimates swap amount in given out. EstimateSwapExactAmountOutWithPrimitiveTypes(ctx context.Context, in *EstimateSwapExactAmountOutWithPrimitiveTypesRequest, opts ...grpc.CallOption) (*EstimateSwapExactAmountOutResponse, error) EstimateSinglePoolSwapExactAmountOut(ctx context.Context, in *EstimateSinglePoolSwapExactAmountOutRequest, opts ...grpc.CallOption) (*EstimateSwapExactAmountOutResponse, error) // Returns the total number of pools existing in Osmosis. NumPools(ctx context.Context, in *NumPoolsRequest, opts ...grpc.CallOption) (*NumPoolsResponse, error) // Pool returns the Pool specified by the pool id Pool(ctx context.Context, in *PoolRequest, opts ...grpc.CallOption) (*PoolResponse, error) // AllPools returns all pools on the Osmosis chain sorted by IDs. AllPools(ctx context.Context, in *AllPoolsRequest, opts ...grpc.CallOption) (*AllPoolsResponse, error) // SpotPrice defines a gRPC query handler that returns the spot price given // a base denomination and a quote denomination. SpotPrice(ctx context.Context, in *SpotPriceRequest, opts ...grpc.CallOption) (*SpotPriceResponse, error) // TotalPoolLiquidity returns the total liquidity of the specified pool. TotalPoolLiquidity(ctx context.Context, in *TotalPoolLiquidityRequest, opts ...grpc.CallOption) (*TotalPoolLiquidityResponse, error) // TotalLiquidity returns the total liquidity across all pools. TotalLiquidity(ctx context.Context, in *TotalLiquidityRequest, opts ...grpc.CallOption) (*TotalLiquidityResponse, error) // TotalVolumeForPool returns the total volume of the specified pool. TotalVolumeForPool(ctx context.Context, in *TotalVolumeForPoolRequest, opts ...grpc.CallOption) (*TotalVolumeForPoolResponse, error) // TradingPairTakerFee returns the taker fee for a given set of denoms TradingPairTakerFee(ctx context.Context, in *TradingPairTakerFeeRequest, opts ...grpc.CallOption) (*TradingPairTakerFeeResponse, error) // EstimateTradeBasedOnPriceImpact returns an estimated trade based on price // impact, if a trade cannot be estimated a 0 input and 0 output would be // returned. EstimateTradeBasedOnPriceImpact(ctx context.Context, in *EstimateTradeBasedOnPriceImpactRequest, opts ...grpc.CallOption) (*EstimateTradeBasedOnPriceImpactResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryServer ¶
type QueryServer interface { Params(context.Context, *ParamsRequest) (*ParamsResponse, error) // Estimates swap amount out given in. EstimateSwapExactAmountIn(context.Context, *EstimateSwapExactAmountInRequest) (*EstimateSwapExactAmountInResponse, error) // EstimateSwapExactAmountInWithPrimitiveTypes is an alternative query for // EstimateSwapExactAmountIn. Supports query via GRPC-Gateway by using // primitive types instead of repeated structs. Each index in the // routes_pool_id field corresponds to the respective routes_token_out_denom // value, thus they are required to have the same length and are grouped // together as pairs. // example usage: // http://0.0.0.0:1317/osmosis/poolmanager/v1beta1/1/estimate/ // swap_exact_amount_in_with_primitive_types?token_in=100000stake&routes_token_out_denom=uatom // &routes_token_out_denom=uion&routes_pool_id=1&routes_pool_id=2 EstimateSwapExactAmountInWithPrimitiveTypes(context.Context, *EstimateSwapExactAmountInWithPrimitiveTypesRequest) (*EstimateSwapExactAmountInResponse, error) EstimateSinglePoolSwapExactAmountIn(context.Context, *EstimateSinglePoolSwapExactAmountInRequest) (*EstimateSwapExactAmountInResponse, error) // Estimates swap amount in given out. EstimateSwapExactAmountOut(context.Context, *EstimateSwapExactAmountOutRequest) (*EstimateSwapExactAmountOutResponse, error) // Estimates swap amount in given out. EstimateSwapExactAmountOutWithPrimitiveTypes(context.Context, *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) (*EstimateSwapExactAmountOutResponse, error) EstimateSinglePoolSwapExactAmountOut(context.Context, *EstimateSinglePoolSwapExactAmountOutRequest) (*EstimateSwapExactAmountOutResponse, error) // Returns the total number of pools existing in Osmosis. NumPools(context.Context, *NumPoolsRequest) (*NumPoolsResponse, error) // Pool returns the Pool specified by the pool id Pool(context.Context, *PoolRequest) (*PoolResponse, error) // AllPools returns all pools on the Osmosis chain sorted by IDs. AllPools(context.Context, *AllPoolsRequest) (*AllPoolsResponse, error) // SpotPrice defines a gRPC query handler that returns the spot price given // a base denomination and a quote denomination. SpotPrice(context.Context, *SpotPriceRequest) (*SpotPriceResponse, error) // TotalPoolLiquidity returns the total liquidity of the specified pool. TotalPoolLiquidity(context.Context, *TotalPoolLiquidityRequest) (*TotalPoolLiquidityResponse, error) // TotalLiquidity returns the total liquidity across all pools. TotalLiquidity(context.Context, *TotalLiquidityRequest) (*TotalLiquidityResponse, error) // TotalVolumeForPool returns the total volume of the specified pool. TotalVolumeForPool(context.Context, *TotalVolumeForPoolRequest) (*TotalVolumeForPoolResponse, error) // TradingPairTakerFee returns the taker fee for a given set of denoms TradingPairTakerFee(context.Context, *TradingPairTakerFeeRequest) (*TradingPairTakerFeeResponse, error) // EstimateTradeBasedOnPriceImpact returns an estimated trade based on price // impact, if a trade cannot be estimated a 0 input and 0 output would be // returned. EstimateTradeBasedOnPriceImpact(context.Context, *EstimateTradeBasedOnPriceImpactRequest) (*EstimateTradeBasedOnPriceImpactResponse, error) }
QueryServer is the server API for Query service.
type SpotPriceRequest ¶
type SpotPriceRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` BaseAssetDenom string `` /* 129-byte string literal not displayed */ QuoteAssetDenom string `` /* 133-byte string literal not displayed */ }
SpotPriceRequest defines the gRPC request structure for a SpotPrice query.
func (*SpotPriceRequest) Descriptor ¶
func (*SpotPriceRequest) Descriptor() ([]byte, []int)
func (*SpotPriceRequest) GetBaseAssetDenom ¶
func (m *SpotPriceRequest) GetBaseAssetDenom() string
func (*SpotPriceRequest) GetPoolId ¶
func (m *SpotPriceRequest) GetPoolId() uint64
func (*SpotPriceRequest) GetQuoteAssetDenom ¶
func (m *SpotPriceRequest) GetQuoteAssetDenom() string
func (*SpotPriceRequest) Marshal ¶
func (m *SpotPriceRequest) Marshal() (dAtA []byte, err error)
func (*SpotPriceRequest) MarshalToSizedBuffer ¶
func (m *SpotPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SpotPriceRequest) ProtoMessage ¶
func (*SpotPriceRequest) ProtoMessage()
func (*SpotPriceRequest) Reset ¶
func (m *SpotPriceRequest) Reset()
func (*SpotPriceRequest) Size ¶
func (m *SpotPriceRequest) Size() (n int)
func (*SpotPriceRequest) String ¶
func (m *SpotPriceRequest) String() string
func (*SpotPriceRequest) Unmarshal ¶
func (m *SpotPriceRequest) Unmarshal(dAtA []byte) error
func (*SpotPriceRequest) XXX_DiscardUnknown ¶
func (m *SpotPriceRequest) XXX_DiscardUnknown()
func (*SpotPriceRequest) XXX_Marshal ¶
func (m *SpotPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpotPriceRequest) XXX_Merge ¶
func (m *SpotPriceRequest) XXX_Merge(src proto.Message)
func (*SpotPriceRequest) XXX_Size ¶
func (m *SpotPriceRequest) XXX_Size() int
func (*SpotPriceRequest) XXX_Unmarshal ¶
func (m *SpotPriceRequest) XXX_Unmarshal(b []byte) error
type SpotPriceResponse ¶
type SpotPriceResponse struct { // String of the Dec. Ex) 10.203uatom SpotPrice string `protobuf:"bytes,1,opt,name=spot_price,json=spotPrice,proto3" json:"spot_price,omitempty" yaml:"spot_price"` }
SpotPriceResponse defines the gRPC response structure for a SpotPrice query.
func (*SpotPriceResponse) Descriptor ¶
func (*SpotPriceResponse) Descriptor() ([]byte, []int)
func (*SpotPriceResponse) GetSpotPrice ¶
func (m *SpotPriceResponse) GetSpotPrice() string
func (*SpotPriceResponse) Marshal ¶
func (m *SpotPriceResponse) Marshal() (dAtA []byte, err error)
func (*SpotPriceResponse) MarshalTo ¶
func (m *SpotPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*SpotPriceResponse) MarshalToSizedBuffer ¶
func (m *SpotPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SpotPriceResponse) ProtoMessage ¶
func (*SpotPriceResponse) ProtoMessage()
func (*SpotPriceResponse) Reset ¶
func (m *SpotPriceResponse) Reset()
func (*SpotPriceResponse) Size ¶
func (m *SpotPriceResponse) Size() (n int)
func (*SpotPriceResponse) String ¶
func (m *SpotPriceResponse) String() string
func (*SpotPriceResponse) Unmarshal ¶
func (m *SpotPriceResponse) Unmarshal(dAtA []byte) error
func (*SpotPriceResponse) XXX_DiscardUnknown ¶
func (m *SpotPriceResponse) XXX_DiscardUnknown()
func (*SpotPriceResponse) XXX_Marshal ¶
func (m *SpotPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpotPriceResponse) XXX_Merge ¶
func (m *SpotPriceResponse) XXX_Merge(src proto.Message)
func (*SpotPriceResponse) XXX_Size ¶
func (m *SpotPriceResponse) XXX_Size() int
func (*SpotPriceResponse) XXX_Unmarshal ¶
func (m *SpotPriceResponse) XXX_Unmarshal(b []byte) error
type TotalLiquidityRequest ¶
type TotalLiquidityRequest struct { }
=============================== TotalLiquidity
func (*TotalLiquidityRequest) Descriptor ¶
func (*TotalLiquidityRequest) Descriptor() ([]byte, []int)
func (*TotalLiquidityRequest) Marshal ¶
func (m *TotalLiquidityRequest) Marshal() (dAtA []byte, err error)
func (*TotalLiquidityRequest) MarshalTo ¶
func (m *TotalLiquidityRequest) MarshalTo(dAtA []byte) (int, error)
func (*TotalLiquidityRequest) MarshalToSizedBuffer ¶
func (m *TotalLiquidityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TotalLiquidityRequest) ProtoMessage ¶
func (*TotalLiquidityRequest) ProtoMessage()
func (*TotalLiquidityRequest) Reset ¶
func (m *TotalLiquidityRequest) Reset()
func (*TotalLiquidityRequest) Size ¶
func (m *TotalLiquidityRequest) Size() (n int)
func (*TotalLiquidityRequest) String ¶
func (m *TotalLiquidityRequest) String() string
func (*TotalLiquidityRequest) Unmarshal ¶
func (m *TotalLiquidityRequest) Unmarshal(dAtA []byte) error
func (*TotalLiquidityRequest) XXX_DiscardUnknown ¶
func (m *TotalLiquidityRequest) XXX_DiscardUnknown()
func (*TotalLiquidityRequest) XXX_Marshal ¶
func (m *TotalLiquidityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TotalLiquidityRequest) XXX_Merge ¶
func (m *TotalLiquidityRequest) XXX_Merge(src proto.Message)
func (*TotalLiquidityRequest) XXX_Size ¶
func (m *TotalLiquidityRequest) XXX_Size() int
func (*TotalLiquidityRequest) XXX_Unmarshal ¶
func (m *TotalLiquidityRequest) XXX_Unmarshal(b []byte) error
type TotalLiquidityResponse ¶
type TotalLiquidityResponse struct {
Liquidity github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-byte string literal not displayed */
}
func (*TotalLiquidityResponse) Descriptor ¶
func (*TotalLiquidityResponse) Descriptor() ([]byte, []int)
func (*TotalLiquidityResponse) GetLiquidity ¶
func (m *TotalLiquidityResponse) GetLiquidity() github_com_cosmos_cosmos_sdk_types.Coins
func (*TotalLiquidityResponse) Marshal ¶
func (m *TotalLiquidityResponse) Marshal() (dAtA []byte, err error)
func (*TotalLiquidityResponse) MarshalTo ¶
func (m *TotalLiquidityResponse) MarshalTo(dAtA []byte) (int, error)
func (*TotalLiquidityResponse) MarshalToSizedBuffer ¶
func (m *TotalLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TotalLiquidityResponse) ProtoMessage ¶
func (*TotalLiquidityResponse) ProtoMessage()
func (*TotalLiquidityResponse) Reset ¶
func (m *TotalLiquidityResponse) Reset()
func (*TotalLiquidityResponse) Size ¶
func (m *TotalLiquidityResponse) Size() (n int)
func (*TotalLiquidityResponse) String ¶
func (m *TotalLiquidityResponse) String() string
func (*TotalLiquidityResponse) Unmarshal ¶
func (m *TotalLiquidityResponse) Unmarshal(dAtA []byte) error
func (*TotalLiquidityResponse) XXX_DiscardUnknown ¶
func (m *TotalLiquidityResponse) XXX_DiscardUnknown()
func (*TotalLiquidityResponse) XXX_Marshal ¶
func (m *TotalLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TotalLiquidityResponse) XXX_Merge ¶
func (m *TotalLiquidityResponse) XXX_Merge(src proto.Message)
func (*TotalLiquidityResponse) XXX_Size ¶
func (m *TotalLiquidityResponse) XXX_Size() int
func (*TotalLiquidityResponse) XXX_Unmarshal ¶
func (m *TotalLiquidityResponse) XXX_Unmarshal(b []byte) error
type TotalPoolLiquidityRequest ¶
type TotalPoolLiquidityRequest struct {
PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
}
=============================== TotalPoolLiquidity
func (*TotalPoolLiquidityRequest) Descriptor ¶
func (*TotalPoolLiquidityRequest) Descriptor() ([]byte, []int)
func (*TotalPoolLiquidityRequest) GetPoolId ¶
func (m *TotalPoolLiquidityRequest) GetPoolId() uint64
func (*TotalPoolLiquidityRequest) Marshal ¶
func (m *TotalPoolLiquidityRequest) Marshal() (dAtA []byte, err error)
func (*TotalPoolLiquidityRequest) MarshalTo ¶
func (m *TotalPoolLiquidityRequest) MarshalTo(dAtA []byte) (int, error)
func (*TotalPoolLiquidityRequest) MarshalToSizedBuffer ¶
func (m *TotalPoolLiquidityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TotalPoolLiquidityRequest) ProtoMessage ¶
func (*TotalPoolLiquidityRequest) ProtoMessage()
func (*TotalPoolLiquidityRequest) Reset ¶
func (m *TotalPoolLiquidityRequest) Reset()
func (*TotalPoolLiquidityRequest) Size ¶
func (m *TotalPoolLiquidityRequest) Size() (n int)
func (*TotalPoolLiquidityRequest) String ¶
func (m *TotalPoolLiquidityRequest) String() string
func (*TotalPoolLiquidityRequest) Unmarshal ¶
func (m *TotalPoolLiquidityRequest) Unmarshal(dAtA []byte) error
func (*TotalPoolLiquidityRequest) XXX_DiscardUnknown ¶
func (m *TotalPoolLiquidityRequest) XXX_DiscardUnknown()
func (*TotalPoolLiquidityRequest) XXX_Marshal ¶
func (m *TotalPoolLiquidityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TotalPoolLiquidityRequest) XXX_Merge ¶
func (m *TotalPoolLiquidityRequest) XXX_Merge(src proto.Message)
func (*TotalPoolLiquidityRequest) XXX_Size ¶
func (m *TotalPoolLiquidityRequest) XXX_Size() int
func (*TotalPoolLiquidityRequest) XXX_Unmarshal ¶
func (m *TotalPoolLiquidityRequest) XXX_Unmarshal(b []byte) error
type TotalPoolLiquidityResponse ¶
type TotalPoolLiquidityResponse struct {
Liquidity github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-byte string literal not displayed */
}
func (*TotalPoolLiquidityResponse) Descriptor ¶
func (*TotalPoolLiquidityResponse) Descriptor() ([]byte, []int)
func (*TotalPoolLiquidityResponse) GetLiquidity ¶
func (m *TotalPoolLiquidityResponse) GetLiquidity() github_com_cosmos_cosmos_sdk_types.Coins
func (*TotalPoolLiquidityResponse) Marshal ¶
func (m *TotalPoolLiquidityResponse) Marshal() (dAtA []byte, err error)
func (*TotalPoolLiquidityResponse) MarshalTo ¶
func (m *TotalPoolLiquidityResponse) MarshalTo(dAtA []byte) (int, error)
func (*TotalPoolLiquidityResponse) MarshalToSizedBuffer ¶
func (m *TotalPoolLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TotalPoolLiquidityResponse) ProtoMessage ¶
func (*TotalPoolLiquidityResponse) ProtoMessage()
func (*TotalPoolLiquidityResponse) Reset ¶
func (m *TotalPoolLiquidityResponse) Reset()
func (*TotalPoolLiquidityResponse) Size ¶
func (m *TotalPoolLiquidityResponse) Size() (n int)
func (*TotalPoolLiquidityResponse) String ¶
func (m *TotalPoolLiquidityResponse) String() string
func (*TotalPoolLiquidityResponse) Unmarshal ¶
func (m *TotalPoolLiquidityResponse) Unmarshal(dAtA []byte) error
func (*TotalPoolLiquidityResponse) XXX_DiscardUnknown ¶
func (m *TotalPoolLiquidityResponse) XXX_DiscardUnknown()
func (*TotalPoolLiquidityResponse) XXX_Marshal ¶
func (m *TotalPoolLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TotalPoolLiquidityResponse) XXX_Merge ¶
func (m *TotalPoolLiquidityResponse) XXX_Merge(src proto.Message)
func (*TotalPoolLiquidityResponse) XXX_Size ¶
func (m *TotalPoolLiquidityResponse) XXX_Size() int
func (*TotalPoolLiquidityResponse) XXX_Unmarshal ¶
func (m *TotalPoolLiquidityResponse) XXX_Unmarshal(b []byte) error
type TotalVolumeForPoolRequest ¶
type TotalVolumeForPoolRequest struct {
PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
}
=============================== TotalVolumeForPool
func (*TotalVolumeForPoolRequest) Descriptor ¶
func (*TotalVolumeForPoolRequest) Descriptor() ([]byte, []int)
func (*TotalVolumeForPoolRequest) GetPoolId ¶
func (m *TotalVolumeForPoolRequest) GetPoolId() uint64
func (*TotalVolumeForPoolRequest) Marshal ¶
func (m *TotalVolumeForPoolRequest) Marshal() (dAtA []byte, err error)
func (*TotalVolumeForPoolRequest) MarshalTo ¶
func (m *TotalVolumeForPoolRequest) MarshalTo(dAtA []byte) (int, error)
func (*TotalVolumeForPoolRequest) MarshalToSizedBuffer ¶
func (m *TotalVolumeForPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TotalVolumeForPoolRequest) ProtoMessage ¶
func (*TotalVolumeForPoolRequest) ProtoMessage()
func (*TotalVolumeForPoolRequest) Reset ¶
func (m *TotalVolumeForPoolRequest) Reset()
func (*TotalVolumeForPoolRequest) Size ¶
func (m *TotalVolumeForPoolRequest) Size() (n int)
func (*TotalVolumeForPoolRequest) String ¶
func (m *TotalVolumeForPoolRequest) String() string
func (*TotalVolumeForPoolRequest) Unmarshal ¶
func (m *TotalVolumeForPoolRequest) Unmarshal(dAtA []byte) error
func (*TotalVolumeForPoolRequest) XXX_DiscardUnknown ¶
func (m *TotalVolumeForPoolRequest) XXX_DiscardUnknown()
func (*TotalVolumeForPoolRequest) XXX_Marshal ¶
func (m *TotalVolumeForPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TotalVolumeForPoolRequest) XXX_Merge ¶
func (m *TotalVolumeForPoolRequest) XXX_Merge(src proto.Message)
func (*TotalVolumeForPoolRequest) XXX_Size ¶
func (m *TotalVolumeForPoolRequest) XXX_Size() int
func (*TotalVolumeForPoolRequest) XXX_Unmarshal ¶
func (m *TotalVolumeForPoolRequest) XXX_Unmarshal(b []byte) error
type TotalVolumeForPoolResponse ¶
type TotalVolumeForPoolResponse struct {
Volume github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=volume,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"volume" yaml:"volume"`
}
func (*TotalVolumeForPoolResponse) Descriptor ¶
func (*TotalVolumeForPoolResponse) Descriptor() ([]byte, []int)
func (*TotalVolumeForPoolResponse) GetVolume ¶
func (m *TotalVolumeForPoolResponse) GetVolume() github_com_cosmos_cosmos_sdk_types.Coins
func (*TotalVolumeForPoolResponse) Marshal ¶
func (m *TotalVolumeForPoolResponse) Marshal() (dAtA []byte, err error)
func (*TotalVolumeForPoolResponse) MarshalTo ¶
func (m *TotalVolumeForPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*TotalVolumeForPoolResponse) MarshalToSizedBuffer ¶
func (m *TotalVolumeForPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TotalVolumeForPoolResponse) ProtoMessage ¶
func (*TotalVolumeForPoolResponse) ProtoMessage()
func (*TotalVolumeForPoolResponse) Reset ¶
func (m *TotalVolumeForPoolResponse) Reset()
func (*TotalVolumeForPoolResponse) Size ¶
func (m *TotalVolumeForPoolResponse) Size() (n int)
func (*TotalVolumeForPoolResponse) String ¶
func (m *TotalVolumeForPoolResponse) String() string
func (*TotalVolumeForPoolResponse) Unmarshal ¶
func (m *TotalVolumeForPoolResponse) Unmarshal(dAtA []byte) error
func (*TotalVolumeForPoolResponse) XXX_DiscardUnknown ¶
func (m *TotalVolumeForPoolResponse) XXX_DiscardUnknown()
func (*TotalVolumeForPoolResponse) XXX_Marshal ¶
func (m *TotalVolumeForPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TotalVolumeForPoolResponse) XXX_Merge ¶
func (m *TotalVolumeForPoolResponse) XXX_Merge(src proto.Message)
func (*TotalVolumeForPoolResponse) XXX_Size ¶
func (m *TotalVolumeForPoolResponse) XXX_Size() int
func (*TotalVolumeForPoolResponse) XXX_Unmarshal ¶
func (m *TotalVolumeForPoolResponse) XXX_Unmarshal(b []byte) error
type TradingPairTakerFeeRequest ¶
type TradingPairTakerFeeRequest struct { Denom_0 string `protobuf:"bytes,1,opt,name=denom_0,json=denom0,proto3" json:"denom_0,omitempty" yaml:"denom_0"` Denom_1 string `protobuf:"bytes,2,opt,name=denom_1,json=denom1,proto3" json:"denom_1,omitempty" yaml:"denom_1"` }
=============================== TradingPairTakerFee
func (*TradingPairTakerFeeRequest) Descriptor ¶
func (*TradingPairTakerFeeRequest) Descriptor() ([]byte, []int)
func (*TradingPairTakerFeeRequest) GetDenom_0 ¶
func (m *TradingPairTakerFeeRequest) GetDenom_0() string
func (*TradingPairTakerFeeRequest) GetDenom_1 ¶
func (m *TradingPairTakerFeeRequest) GetDenom_1() string
func (*TradingPairTakerFeeRequest) Marshal ¶
func (m *TradingPairTakerFeeRequest) Marshal() (dAtA []byte, err error)
func (*TradingPairTakerFeeRequest) MarshalTo ¶
func (m *TradingPairTakerFeeRequest) MarshalTo(dAtA []byte) (int, error)
func (*TradingPairTakerFeeRequest) MarshalToSizedBuffer ¶
func (m *TradingPairTakerFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TradingPairTakerFeeRequest) ProtoMessage ¶
func (*TradingPairTakerFeeRequest) ProtoMessage()
func (*TradingPairTakerFeeRequest) Reset ¶
func (m *TradingPairTakerFeeRequest) Reset()
func (*TradingPairTakerFeeRequest) Size ¶
func (m *TradingPairTakerFeeRequest) Size() (n int)
func (*TradingPairTakerFeeRequest) String ¶
func (m *TradingPairTakerFeeRequest) String() string
func (*TradingPairTakerFeeRequest) Unmarshal ¶
func (m *TradingPairTakerFeeRequest) Unmarshal(dAtA []byte) error
func (*TradingPairTakerFeeRequest) XXX_DiscardUnknown ¶
func (m *TradingPairTakerFeeRequest) XXX_DiscardUnknown()
func (*TradingPairTakerFeeRequest) XXX_Marshal ¶
func (m *TradingPairTakerFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradingPairTakerFeeRequest) XXX_Merge ¶
func (m *TradingPairTakerFeeRequest) XXX_Merge(src proto.Message)
func (*TradingPairTakerFeeRequest) XXX_Size ¶
func (m *TradingPairTakerFeeRequest) XXX_Size() int
func (*TradingPairTakerFeeRequest) XXX_Unmarshal ¶
func (m *TradingPairTakerFeeRequest) XXX_Unmarshal(b []byte) error
type TradingPairTakerFeeResponse ¶
type TradingPairTakerFeeResponse struct {
TakerFee github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=taker_fee,json=takerFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee"`
}
func (*TradingPairTakerFeeResponse) Descriptor ¶
func (*TradingPairTakerFeeResponse) Descriptor() ([]byte, []int)
func (*TradingPairTakerFeeResponse) Marshal ¶
func (m *TradingPairTakerFeeResponse) Marshal() (dAtA []byte, err error)
func (*TradingPairTakerFeeResponse) MarshalTo ¶
func (m *TradingPairTakerFeeResponse) MarshalTo(dAtA []byte) (int, error)
func (*TradingPairTakerFeeResponse) MarshalToSizedBuffer ¶
func (m *TradingPairTakerFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TradingPairTakerFeeResponse) ProtoMessage ¶
func (*TradingPairTakerFeeResponse) ProtoMessage()
func (*TradingPairTakerFeeResponse) Reset ¶
func (m *TradingPairTakerFeeResponse) Reset()
func (*TradingPairTakerFeeResponse) Size ¶
func (m *TradingPairTakerFeeResponse) Size() (n int)
func (*TradingPairTakerFeeResponse) String ¶
func (m *TradingPairTakerFeeResponse) String() string
func (*TradingPairTakerFeeResponse) Unmarshal ¶
func (m *TradingPairTakerFeeResponse) Unmarshal(dAtA []byte) error
func (*TradingPairTakerFeeResponse) XXX_DiscardUnknown ¶
func (m *TradingPairTakerFeeResponse) XXX_DiscardUnknown()
func (*TradingPairTakerFeeResponse) XXX_Marshal ¶
func (m *TradingPairTakerFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradingPairTakerFeeResponse) XXX_Merge ¶
func (m *TradingPairTakerFeeResponse) XXX_Merge(src proto.Message)
func (*TradingPairTakerFeeResponse) XXX_Size ¶
func (m *TradingPairTakerFeeResponse) XXX_Size() int
func (*TradingPairTakerFeeResponse) XXX_Unmarshal ¶
func (m *TradingPairTakerFeeResponse) XXX_Unmarshal(b []byte) error
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AllPools ¶
func (*UnimplementedQueryServer) AllPools(ctx context.Context, req *AllPoolsRequest) (*AllPoolsResponse, error)
func (*UnimplementedQueryServer) EstimateSinglePoolSwapExactAmountIn ¶
func (*UnimplementedQueryServer) EstimateSinglePoolSwapExactAmountIn(ctx context.Context, req *EstimateSinglePoolSwapExactAmountInRequest) (*EstimateSwapExactAmountInResponse, error)
func (*UnimplementedQueryServer) EstimateSinglePoolSwapExactAmountOut ¶
func (*UnimplementedQueryServer) EstimateSinglePoolSwapExactAmountOut(ctx context.Context, req *EstimateSinglePoolSwapExactAmountOutRequest) (*EstimateSwapExactAmountOutResponse, error)
func (*UnimplementedQueryServer) EstimateSwapExactAmountIn ¶
func (*UnimplementedQueryServer) EstimateSwapExactAmountIn(ctx context.Context, req *EstimateSwapExactAmountInRequest) (*EstimateSwapExactAmountInResponse, error)
func (*UnimplementedQueryServer) EstimateSwapExactAmountInWithPrimitiveTypes ¶
func (*UnimplementedQueryServer) EstimateSwapExactAmountInWithPrimitiveTypes(ctx context.Context, req *EstimateSwapExactAmountInWithPrimitiveTypesRequest) (*EstimateSwapExactAmountInResponse, error)
func (*UnimplementedQueryServer) EstimateSwapExactAmountOut ¶
func (*UnimplementedQueryServer) EstimateSwapExactAmountOut(ctx context.Context, req *EstimateSwapExactAmountOutRequest) (*EstimateSwapExactAmountOutResponse, error)
func (*UnimplementedQueryServer) EstimateSwapExactAmountOutWithPrimitiveTypes ¶
func (*UnimplementedQueryServer) EstimateSwapExactAmountOutWithPrimitiveTypes(ctx context.Context, req *EstimateSwapExactAmountOutWithPrimitiveTypesRequest) (*EstimateSwapExactAmountOutResponse, error)
func (*UnimplementedQueryServer) EstimateTradeBasedOnPriceImpact ¶
func (*UnimplementedQueryServer) EstimateTradeBasedOnPriceImpact(ctx context.Context, req *EstimateTradeBasedOnPriceImpactRequest) (*EstimateTradeBasedOnPriceImpactResponse, error)
func (*UnimplementedQueryServer) NumPools ¶
func (*UnimplementedQueryServer) NumPools(ctx context.Context, req *NumPoolsRequest) (*NumPoolsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *ParamsRequest) (*ParamsResponse, error)
func (*UnimplementedQueryServer) Pool ¶
func (*UnimplementedQueryServer) Pool(ctx context.Context, req *PoolRequest) (*PoolResponse, error)
func (*UnimplementedQueryServer) SpotPrice ¶
func (*UnimplementedQueryServer) SpotPrice(ctx context.Context, req *SpotPriceRequest) (*SpotPriceResponse, error)
func (*UnimplementedQueryServer) TotalLiquidity ¶
func (*UnimplementedQueryServer) TotalLiquidity(ctx context.Context, req *TotalLiquidityRequest) (*TotalLiquidityResponse, error)
func (*UnimplementedQueryServer) TotalPoolLiquidity ¶
func (*UnimplementedQueryServer) TotalPoolLiquidity(ctx context.Context, req *TotalPoolLiquidityRequest) (*TotalPoolLiquidityResponse, error)
func (*UnimplementedQueryServer) TotalVolumeForPool ¶
func (*UnimplementedQueryServer) TotalVolumeForPool(ctx context.Context, req *TotalVolumeForPoolRequest) (*TotalVolumeForPoolResponse, error)
func (*UnimplementedQueryServer) TradingPairTakerFee ¶
func (*UnimplementedQueryServer) TradingPairTakerFee(ctx context.Context, req *TradingPairTakerFeeRequest) (*TradingPairTakerFeeResponse, error)