magellan

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: GPL-3.0 Imports: 21 Imported by: 0

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

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 GenesisState

func GenesisState(cdc codec.JSONCodec) (map[string]json.RawMessage, error)

func SlashingParams

func SlashingParams() sltypes.Params

func StoreUpgrades

func StoreUpgrades(_ context.Context) *storetypes.StoreUpgrades

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳