v2

package
v4.2.1-testnet Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WhitelistedHooks = []*types.WhitelistedHook{
	{
		CodeID:       944,
		DenomCreator: "neutron1zlf3hutsa4qnmue53lz2tfxrutp8y2e3rj4nkghg3rupgl4mqy8s5jgxsn",
	},
	{
		CodeID:       1473,
		DenomCreator: "neutron18c8qejysp4hgcfuxdpj4wf29mevzwllz5yh8uayjxamwtrs0n9fshq9vtv",
	},
	{
		CodeID:       1473,
		DenomCreator: "neutron145z3nj7yqft2vpugr5a5p7jsnagvms90tvtej45g4s0xkqalhy7sj20vgz",
	},
	{
		CodeID:       1265,
		DenomCreator: "neutron1pwjn3tsumm3j7v7clzqhjsaukv4tdjlclhdytawhet68fwlz84fqcrdyf5",
	},
}

Functions

func MigrateStore

func MigrateStore(ctx sdk.Context, cdc codec.BinaryCodec, storeKey storetypes.StoreKey, keeper TokenFactoryKeeper) error

MigrateStore performs in-place store migrations. The migration adds the new tokenfactory params WhitelistedHooks

Types

type TokenFactoryKeeper

type TokenFactoryKeeper interface {
	AssertIsHookWhitelisted(ctx sdk.Context, denom string, contractAddress sdk.AccAddress) error
}

Jump to

Keyboard shortcuts

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