Documentation ¶
Index ¶
- Constants
- Variables
- func CreateUpgradeHandler(mm *module.Manager, configurator module.Configurator, dk distrKeeper.Keeper) upgradetypes.UpgradeHandler
- func HandleMainnetUpgrade(ctx sdk.Context, dk distrKeeper.Keeper, logger log.Logger)
- func ReturnFundsFromCommunityPool(ctx sdk.Context, dk distrKeeper.Keeper) error
- func ReturnFundsFromCommunityPoolToAccount(ctx sdk.Context, dk distrKeeper.Keeper, account string, amount sdkmath.Int) error
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 = `` /* 558-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 = [1][2]string{
{"sx1009egsf8sk3puq3aynt8eymmcqnneezkkvceav", "20299404928815863552"},
}
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 ¶
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 sdkmath.Int) error
ReturnFundsFromCommunityPoolToAccount sends specified amount from the community pool to the affected account
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.