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.
Click to show internal directories.
Click to hide internal directories.