Search Apps Documentation Source Content File Folder Download Copy Actions Download 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)

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 "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/pool.GetInitializedTicksInRange(,,)"

Result