staking

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ModuleName    = stakingtypes.ModuleName
	UnbondingTime = 60 * 10 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GenesisUpdater

type GenesisUpdater struct{}

GenesisUpdater implements an genesis updater for the staking module.

func (GenesisUpdater) Name

func (GenesisUpdater) Name() string

Name returns the staking 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 staking module.

Jump to

Keyboard shortcuts

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