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

NewPoolTicksTree

func NewPoolTicksTree() *bptree.BPTree
Ask AI Claude ChatGPT

NewPoolTicksTree creates a BPTree for storing pool tick info (fanout 32), owned by the pool domain realm so leaf-slot writes are not readonly tainted.

Returns:

  • *bptree.BPTree: empty tick storage tree with fanout 32.

Command

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

Result