v12

package
v12.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UpgradeName is the shared upgrade plan name for mainnet
	UpgradeName = "v12.1.0"
	// UpgradeInfo defines the binaries that will be used for the upgrade
	UpgradeInfo = `` /* 568-byte string literal not displayed */
	// MaxRecover is the maximum amount of coins to be redistributed in the upgrade
	MaxRecover = "169580456887205410791936"
)

Variables

View Source
var Accounts = [1][2]string{
	{"sx1000z4mk9jtr282yxmc3577qr9h6sprlu3tsz6l", "11874559096980682752"},
}

Accounts holds the missing claim amount to the corresponding account

Functions

func CreateUpgradeHandler

func CreateUpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	dk distrKeeper.Keeper,
) upgradetypes.UpgradeHandler

CreateUpgradeHandler creates an SDK upgrade handler for v12

func ReturnFundsFromCommunityPool

func ReturnFundsFromCommunityPool(ctx sdk.Context, dk distrKeeper.Keeper) error

ReturnFundsFromCommunityPool handles the return of funds from the community pool to accounts affected during the claims decay bug

func ReturnFundsFromCommunityPoolToAccount

func ReturnFundsFromCommunityPoolToAccount(ctx sdk.Context, dk distrKeeper.Keeper, account string, amount sdkmath.Int) error

ReturnFundsFromCommunityPoolToAccount sends specified amount from the community pool to the affected account

Types

This section is empty.

Jump to

Keyboard shortcuts

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