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

pool package

Function

NewPoolsTree

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

NewPoolsTree creates the BPTree used to store pools by pool path.

Returns:

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

Command

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

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/gnoswap/pool, for example a function call with arguments.