Documentation
¶
Overview ¶
Package magellan defines the second Omni consensus chain upgrade, named after Ferdinand Magellan, the famed explorer who led the first expedition to circumnavigate the globe.
It includes: - Normal staking delegations (previously only self-delegations) - 11% inflation rewards for delegations (previously no rewards) - Enqueuing of staking withdrawals to EVM (not processed yet) - Protobuf encoding of EVM payload in blocks (improved performance and security) - Simplified EVM events processing (improved performance and security)
Index ¶
- Constants
- Variables
- func CreateUpgradeHandler(mm *module.Manager, configurator module.Configurator, mint mintkeeper.Keeper, ...) upgradetypes.UpgradeHandler
- func GenesisState(cdc codec.JSONCodec) (map[string]json.RawMessage, error)
- func SlashingParams() sltypes.Params
- func StoreUpgrades(_ context.Context) *storetypes.StoreUpgrades
Constants ¶
View Source
const UpgradeName = "2_magellan"
Variables ¶
View Source
var ( MintParams = minttypes.Params{ MintDenom: sdk.DefaultBondDenom, InflationRateChange: math.LegacyNewDec(0), InflationMin: targetInflation, InflationMax: targetInflation, GoalBonded: math.LegacyNewDecWithPrec(60, 2), BlocksPerYear: uint64(365 * 24 * 60 * 60 / blocksPeriodSecs), } )
Functions ¶
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, mint mintkeeper.Keeper, slash slashingkeeper.Keeper, account authkeeper.AccountKeeper, ) upgradetypes.UpgradeHandler
func GenesisState ¶
func SlashingParams ¶
func StoreUpgrades ¶
func StoreUpgrades(_ context.Context) *storetypes.StoreUpgrades
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.