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

staker package

Function

NewGovStakerStore

func NewGovStakerStore(kvStore store.KVStore) IGovStakerStore
Ask AI Claude ChatGPT

NewGovStakerStore creates a new governance staker store instance backed by kvStore.

Parameters:

  • kvStore: Key-value store used to persist governance staker state.

Returns:

  • IGovStakerStore: store implementation that reads and writes the supplied KV store.

Param

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/gnoswap/gov/staker.NewGovStakerStore()"

Result

Gno Expression Evaluator

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