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

NewPoolStore

func NewPoolStore(kvStore store.KVStore) IPoolStore
Ask AI Claude ChatGPT

NewPoolStore creates a new pool store instance with the provided KV store. This function is used by the upgrade system to create storage instances for each implementation. Parameters:

  • kvStore: KV store used to persist and retrieve pool-domain state.

Returns:

  • poolStore: an IPoolStore implementation backed by kvStore.

Param

Command

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

Result

Gno Expression Evaluator

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