v4

package
v4.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpgradeName                    = "v4.1.0"
	NotionalMultisigVestingAccount = "migaloo1alga5e8vr6ccr9yrg0kgxevpt5xgmgrvqgujs6"
	NewNotionalMultisigAccount     = "migaloo1tx6f2hetpd9uhveja26kr074496hzk2zzqhsh0"
)

UpgradeName defines the on-chain upgrade name for the Migaloo v4.1.0 upgrade. this upgrade includes the fix for pfm

Variables

This section is empty.

Functions

func CreateMainnetVestingAccount

func CreateMainnetVestingAccount(ctx sdk.Context,
	bankKeeper bankKeeper.Keeper,
	accountKeeper authkeeper.AccountKeeper,
) (vestingtypes.ContinuousVestingAccount, math.Int)

func CreateUpgradeHandler

func CreateUpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	clientKeeper clientkeeper.Keeper,
	paramsKeeper paramskeeper.Keeper,
	consensusParamsKeeper consensuskeeper.Keeper,
	icacontrollerKeeper icacontrollerkeeper.Keeper,
	accountKeeper authkeeper.AccountKeeper,
	stakingKeeper stakingKeeper.Keeper,
	bankKeeper bankKeeper.Keeper,
) upgradetypes.UpgradeHandler

CreateUpgradeHandler small security fix, can be a no-op, running mm.RunMigarions just to be sure

func GetVestingCoin

func GetVestingCoin(ctx sdk.Context, acc *vestingtypes.ContinuousVestingAccount) (unvested math.Int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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