v19

package
v24.0.0-testnet Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpgradeName = "v19"

	StTiaDenom                = "stutia"
	RateLimitDurationHours    = 24
	CelestiaTransferChannelId = "channel-162"
	OsmosisTransferChannelId  = "channel-5"
	NeutronTransferChannelId  = "channel-123"

	WasmAdmin = "stride159smvptpq6evq0x6jmca6t8y7j8xmwj6kxapyh"
)

Variables

This section is empty.

Functions

func AddStTiaRateLimit

func AddStTiaRateLimit(ctx sdk.Context, k ratelimitkeeper.Keeper) error

Add a 10% rate limit for stTIA to Celestia and Osmosis

func CreateUpgradeHandler

func CreateUpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	cdc codec.Codec,
	ratelimitKeeper ratelimitkeeper.Keeper,
	wasmKeeper wasmkeeper.Keeper,
) upgradetypes.UpgradeHandler

CreateUpgradeHandler creates an SDK upgrade handler for v19

func MigrateRateLimitModule

func MigrateRateLimitModule(ctx sdk.Context, k ratelimitkeeper.Keeper)

Migrate the rate limit module to the open sourced version The module has the same store key so all the rate limit types can remain unchanged The only required change is to create the new epoch type that's used instead of the epochs module

func SetWasmPermissions

func SetWasmPermissions(ctx sdk.Context, wk wasmkeeper.Keeper) error

Update wasm params so that contracts can only be uploaded through governance

Types

This section is empty.

Directories

Path Synopsis
legacyratelimit

Jump to

Keyboard shortcuts

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