Documentation ¶
Index ¶
- Constants
- Variables
- func CreateUpgradeHandler(mm *module.Manager, configurator module.Configurator, ...) upgradetypes.UpgradeHandler
- func DistributeRewards(ctx sdk.Context, bk bankkeeper.Keeper, sk stakingkeeper.Keeper, ...) error
- func HandleRewardDistribution(ctx sdk.Context, logger log.Logger, bk bankkeeper.Keeper, ...)
- func MigrateEscrowAccounts(ctx sdk.Context, logger log.Logger, ak authkeeper.AccountKeeper)
Constants ¶
View Source
const ( // UpgradeName is the shared upgrade plan name for mainnet UpgradeName = "v11.0.0" // UpgradeInfo defines the binaries that will be used for the upgrade UpgradeInfo = `` /* 548-byte string literal not displayed */ // at the time of this migration, on mainnet, channels 0 to 37 were open // so this migration covers those channels only OpenChannels = 37 // FundingAccount is the account which holds the rewards for the incentivized testnet. // It contains ~7.4M tokens, of which ~5.6M are to be distributed. FundingAccount = "evmos1f7vxxvmd544dkkmyxan76t76d39k7j3gr8d45y" )
Variables ¶
View Source
var Allocations = [1183][3]string{}/* 1183 elements not displayed */
Allocations are rewards by participant address, along with the randomized validator to stake to.
Functions ¶
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, ak authkeeper.AccountKeeper, bk bankkeeper.Keeper, sk stakingkeeper.Keeper, dk distributionkeeper.Keeper, ) upgradetypes.UpgradeHandler
CreateUpgradeHandler creates an SDK upgrade handler for v11
func DistributeRewards ¶
func DistributeRewards(ctx sdk.Context, bk bankkeeper.Keeper, sk stakingkeeper.Keeper, dk distributionkeeper.Keeper, ) error
DistributeRewards distributes the token allocations from the Olympus Mons incentivized testnet for completing the Mars Meteor Missions
func HandleRewardDistribution ¶
func HandleRewardDistribution( ctx sdk.Context, logger log.Logger, bk bankkeeper.Keeper, sk stakingkeeper.Keeper, dk distributionkeeper.Keeper, )
HandleRewardDistribution handles the logic for the reward distribution, it only commits to the db if successful
func MigrateEscrowAccounts ¶
func MigrateEscrowAccounts(ctx sdk.Context, logger log.Logger, ak authkeeper.AccountKeeper)
MigrateEscrowAccounts updates the IBC transfer escrow accounts type to ModuleAccount
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.