IsInRange
IsInRange reports whether a position's ticks contain the current pool tick.
Parameters:
- positionId: position NFT token ID
Returns:
- inRange: whether the position is currently in range
- err: non-nil when positionId cannot be resolved or the associated pool tick cannot be read
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/position.IsInRange()"
Result