gov

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName       = govtypes.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.JSONMarshaler, 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