v040

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ModuleName = "bank"
)

Variables

This section is empty.

Functions

func Migrate

func Migrate(
	bankGenState v038bank.GenesisState,
	authGenState v039auth.GenesisState,
	supplyGenState v036supply.GenesisState,
) *v040bank.GenesisState

Migrate accepts exported v0.39 x/auth and v0.38 x/bank genesis state and migrates it to v0.40 x/bank genesis state. The migration includes:

- Moving balances from x/auth to x/bank genesis state. - Moving supply from x/supply to x/bank genesis state. - Re-encode in v0.40 GenesisState.

Types

This section is empty.

Jump to

Keyboard shortcuts

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