v11

package
v11.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: LGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UpgradeNameRC3 is the shared upgrade plan name for the RC3 testnet upgrade
	UpgradeNameRC3 = "v11.0.0-rc3"

	// 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 = `` /* 552-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

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.

Jump to

Keyboard shortcuts

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