v5

package
v5.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Upgrade = upgrades.Upgrade{
	UpgradeName:          "v5.0.x",
	CreateUpgradeHandler: CreateUpgradeHandler,
	StoreUpgrades: func() *storetypes.StoreUpgrades {
		return &storetypes.StoreUpgrades{}
	},
}
View Source
var ValidatorSlashHeightTestnetFXV4 = map[string][]int64{
	"fxvaloper14lpap6mwytqtnrx6q9cnje2sen5a5wcctuwnsh": {8224664, 8457967, 8552303},
	"fxvaloper1695tvr34jdrmajtc0t6kzumaxxwhulfl7h6mq2": {9469704},
	"fxvaloper16d0jly49xgwm9tyf7lpf0splnfhrnttdejkz9h": {8787488, 8885841, 9416069},
	"fxvaloper1c863577qlc4sq64v5dsfunf5drykz7fnqkgdha": {9128756},
	"fxvaloper1xdqas5ak98us9eljqj5ppj5mhmku4slh2664l8": {8806427},
}

ValidatorSlashHeightTestnetFXV4 is a map of testnet validator address to slash height

Functions

func CreateUpgradeHandler

func CreateUpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	app *keepers.AppKeepers,
) upgradetypes.UpgradeHandler

func RepairSlashPeriod

func RepairSlashPeriod(ctx sdk.Context, sk fxstakingkeeper.Keeper, dk distrkeeper.Keeper)

Types

type SlashPeriod

type SlashPeriod struct {
	Delegator sdk.AccAddress
	Height    uint64
	Period    uint64
}

Jump to

Keyboard shortcuts

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