Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

pool package

Function

GetInitializedTicksInRange

func GetInitializedTicksInRange(poolPath string, tickLower, tickUpper int32) ([]int32, error)
Ask AI Claude ChatGPT

GetInitializedTicksInRange returns initialized ticks within the given range. Parameters:

  • poolPath: Canonical pool path whose ticks are enumerated.
  • tickLower: Lower inclusive tick bound for enumeration.
  • tickUpper: Upper bound for enumeration; ticks are selected through the pool's range iterator.

Returns:

  • []int32: Tick indices that are initialized in the requested range.
  • error: Non-nil when poolPath does not identify an existing pool.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/gnoswap/pool.GetInitializedTicksInRange(,,)"

Result