v174

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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

	// One day in seconds
	OneDayInSeconds = int64(86_400)
)

Variables

This section is empty.

Functions

func CreateUpgradeHandler

CreateUpgradeHandler creates an SDK upgrade handler for v1.7.3

func StretchLockupScheduleForAccounts

func StretchLockupScheduleForAccounts(ctx sdk.Context, ak authkeeper.AccountKeeper, stretchLength int64, lockupLengthThreshold time.Time) error

func StretchLockupScheduleForLiquidVestingTokens

func StretchLockupScheduleForLiquidVestingTokens(ctx sdk.Context, lk liquidvestingkeeper.Keeper, stretchLength int64, lockupLengthThreshold time.Time) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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