Documentation ¶
Index ¶
- Variables
- type Querier
- func (q Querier) ClaimableFees(ctx sdk.Context, req clquery.ClaimableFeesRequest) (*clquery.ClaimableFeesResponse, error)
- func (q Querier) ClaimableIncentives(ctx sdk.Context, req clquery.ClaimableIncentivesRequest) (*clquery.ClaimableIncentivesResponse, error)
- func (q Querier) LiquidityNetInDirection(ctx sdk.Context, req clquery.LiquidityNetInDirectionRequest) (*clquery.LiquidityNetInDirectionResponse, error)
- func (q Querier) LiquidityPerTickRange(ctx sdk.Context, req clquery.LiquidityPerTickRangeRequest) (*clquery.LiquidityPerTickRangeResponse, error)
- func (q Querier) Params(ctx sdk.Context, req clquery.ParamsRequest) (*clquery.ParamsResponse, error)
- func (q Querier) Pools(ctx sdk.Context, req clquery.PoolsRequest) (*clquery.PoolsResponse, error)
- func (q Querier) PositionById(ctx sdk.Context, req clquery.PositionByIdRequest) (*clquery.PositionByIdResponse, error)
- func (q Querier) UserPositions(ctx sdk.Context, req clquery.UserPositionsRequest) (*clquery.UserPositionsResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TickSpacingDecreaseProposalHandler = govclient.NewProposalHandler(cli.NewTickSpacingDecreaseProposal, rest.ProposalTickSpacingDecreaseRESTHandler) CreateConcentratedLiquidityPoolProposalHandler = govclient.NewProposalHandler(cli.NewCmdCreateConcentratedLiquidityPoolProposal, rest.ProposalCreateConcentratedLiquidityPoolHandler) )
Functions ¶
This section is empty.
Types ¶
type Querier ¶
Querier defines a wrapper around the x/concentrated-liquidity keeper providing gRPC method handlers.
func NewQuerier ¶
func (Querier) ClaimableFees ¶
func (q Querier) ClaimableFees(ctx sdk.Context, req clquery.ClaimableFeesRequest) (*clquery.ClaimableFeesResponse, error)
func (Querier) ClaimableIncentives ¶
func (q Querier) ClaimableIncentives(ctx sdk.Context, req clquery.ClaimableIncentivesRequest) (*clquery.ClaimableIncentivesResponse, error)
func (Querier) LiquidityNetInDirection ¶
func (q Querier) LiquidityNetInDirection(ctx sdk.Context, req clquery.LiquidityNetInDirectionRequest) (*clquery.LiquidityNetInDirectionResponse, error)
LiquidityNetInDirection returns an array of LiquidityDepthWithRange, which contains the range(lower tick and upper tick) and the liquidity amount in the range.
func (Querier) LiquidityPerTickRange ¶
func (q Querier) LiquidityPerTickRange(ctx sdk.Context, req clquery.LiquidityPerTickRangeRequest) (*clquery.LiquidityPerTickRangeResponse, error)
LiquidityPerTickRange returns the amount of liquidity per every tick range existing within the given pool. The amounts are returned as a slice of ranges with their liquidity depths.
func (Querier) Params ¶
func (q Querier) Params(ctx sdk.Context, req clquery.ParamsRequest) (*clquery.ParamsResponse, error)
Params returns module params
func (Querier) Pools ¶
func (q Querier) Pools( ctx sdk.Context, req clquery.PoolsRequest, ) (*clquery.PoolsResponse, error)
Pools returns all concentrated pools in existence.
func (Querier) PositionById ¶
func (q Querier) PositionById(ctx sdk.Context, req clquery.PositionByIdRequest) (*clquery.PositionByIdResponse, error)
PositionById returns a position with the specified id.
func (Querier) UserPositions ¶
func (q Querier) UserPositions(ctx sdk.Context, req clquery.UserPositionsRequest) (*clquery.UserPositionsResponse, error)
UserPositions returns positions of a specified address
Directories ¶
Path | Synopsis |
---|---|
Package queryproto is a reverse proxy.
|
Package queryproto is a reverse proxy. |
Click to show internal directories.
Click to hide internal directories.