Documentation
¶
Index ¶
- Constants
- func BurnSurplusSupply(ctx context.Context, authority string, accountKeeper authkeeper.AccountKeeper, ...) error
- func CreateStoreLoader(upgradeHeight int64) baseapp.StoreLoader
- func CreateUpgradeHandler(mm *module.Manager, cfg module.Configurator, cdc codec.Codec, ...) upgradetypes.UpgradeHandler
- func MigrateValidatorAccounts(ctx context.Context, accountKeeper authkeeper.AccountKeeper, ...)
Constants ¶
View Source
const UpgradeASCII = `` /* 166-byte string literal not displayed */
View Source
const UpgradeName = "helium"
UpgradeName is the name of this specific software upgrade used on-chain.
Variables ¶
This section is empty.
Functions ¶
func BurnSurplusSupply ¶
func BurnSurplusSupply(ctx context.Context, authority string, accountKeeper authkeeper.AccountKeeper, bankKeeper bankkeeper.Keeper) error
BurnSurplusSupply performs a burn of the surplus $STAKE supply.
func CreateStoreLoader ¶
func CreateStoreLoader(upgradeHeight int64) baseapp.StoreLoader
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm *module.Manager, cfg module.Configurator, cdc codec.Codec, logger log.Logger, capabilityStoreKey *storetypes.KVStoreKey, accountKeeper authkeeper.AccountKeeper, authorityKeeper *authoritykeeper.Keeper, bankKeeper bankkeeper.Keeper, capabilityKeeper *capabilitykeeper.Keeper, clientKeeper clientkeeper.Keeper, consensusKeeper consensuskeeper.Keeper, paramsKeeper paramskeeper.Keeper, stakingKeeper *stakingkeeper.Keeper, ) upgradetypes.UpgradeHandler
func MigrateValidatorAccounts ¶
func MigrateValidatorAccounts(ctx context.Context, accountKeeper authkeeper.AccountKeeper, stakingKeeper *stakingkeeper.Keeper)
MigrateValidatorAccounts performs a migration of all validator operators to permanently locked vesting accounts. NOTE: In a future upgrade, think about clawing back inactive validator staking tokens.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.