v91

package
v9.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var Accounts = [2145][2]string{}/* 2145 elements not displayed */

Functions

func CreateUpgradeHandler

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

CreateUpgradeHandler creates an SDK upgrade handler for v9

func HandleMainnetUpgrade

func HandleMainnetUpgrade(ctx sdk.Context, dk distrKeeper.Keeper, logger log.Logger)

HandleMainnetUpgrade handles the logic for Mainnet upgrade, it only commits to the db if successful

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 clawback

func ReturnFundsFromCommunityPoolToAccount

func ReturnFundsFromCommunityPoolToAccount(ctx sdk.Context, dk distrKeeper.Keeper, account string, amount sdk.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