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

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.onyx.testnets.gno.land" -data "gno.land/r/gnoswap/gov/staker.NewGovStakerStore()"

Result