Documentation ¶
Index ¶
- Constants
- func CreateUpgradeHandler(mm *module.Manager, configurator module.Configurator, ...) upgradetypes.UpgradeHandler
- func StretchLockupScheduleForAccounts(ctx sdk.Context, ak authkeeper.AccountKeeper, stretchLength int64, ...) error
- func StretchLockupScheduleForLiquidVestingTokens(ctx sdk.Context, lk liquidvestingkeeper.Keeper, stretchLength int64, ...) error
Constants ¶
View Source
const ( // UpgradeName is the shared upgrade plan name for mainnet and testnet UpgradeName = "v1.7.4" // VestingStretchLength defines new vesting periods length as three years in days VestingStretchLength = 1095 // LockupLengthThreshold defines threshold parameter as 1767225600 is timestamp for 2026-01-01 LockupLengthThreshold = 1767225600 // OneDayInSeconds defines one day in seconds OneDayInSeconds = int64(86_400) )
Variables ¶
This section is empty.
Functions ¶
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, ak authkeeper.AccountKeeper, lk liquidvestingkeeper.Keeper, ) upgradetypes.UpgradeHandler
CreateUpgradeHandler creates an SDK upgrade handler for v1.7.4
func StretchLockupScheduleForAccounts ¶
func StretchLockupScheduleForAccounts(ctx sdk.Context, ak authkeeper.AccountKeeper, stretchLength int64, lockupLengthThreshold time.Time) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.