v4

package
v17.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const UpgradeName = "v4"

UpgradeName defines the on-chain upgrade name for the Osmosis v4 upgrade.

Variables

View Source
var Upgrade = upgrades.Upgrade{
	UpgradeName:          UpgradeName,
	CreateUpgradeHandler: CreateUpgradeHandler,
	StoreUpgrades:        store.StoreUpgrades{},
}

Functions

func CreateUpgradeHandler

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

CreateUpgradeHandler returns an x/upgrade handler for the Osmosis v4 on-chain upgrade. Namely, it executes:

1. Setting x/gamm parameters for pool creation 2. Executing prop 12

func GetProp12Payments

func GetProp12Payments() [][]string

func Prop12

func Prop12(ctx sdk.Context, bank bankkeeper.Keeper, distr *distrkeeper.Keeper)

Types

This section is empty.

Jump to

Keyboard shortcuts

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