gov

package
v0.0.0-...-4a5ca1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName       = gov.ModuleName
	MinDepositTokens = 1000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GenesisUpdater

type GenesisUpdater struct{}

GenesisUpdater implements an genesis updater for the gov module.

func (GenesisUpdater) Name

func (GenesisUpdater) Name() string

Name returns the gov module's name.

func (GenesisUpdater) UpdateGenesis

func (GenesisUpdater) UpdateGenesis(cdc *codec.Codec, appState map[string]json.RawMessage)

UpdateGenesis returns genesis state after changes as raw bytes for the gov module.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL