v05

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ModuleName nolint
	ModuleName = "treasury"
)

Variables

This section is empty.

Functions

func Migrate

func Migrate(
	treasuryGenState v04treasury.GenesisState,
) *v05treasury.GenesisState

Migrate accepts exported v0.4 x/treasury and migrates it to v0.5 x/treasury genesis state. The migration includes:

- Merge Epoch genesis data to EpochState from x/treasury genesis state. - Update RewardWeight to one to burn all seigniorage - Update Params.RewardPolicy so that RewardWeight does not change. - Re-encode in v0.5 GenesisState.

Types

This section is empty.

Jump to

Keyboard shortcuts

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