v4

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = "tax"
)

Variables

View Source
var DexFeeParams = []*types.DexFeeParams{
	{
		ProfitAddress: "nolus1r69jl4n2hp6vd4ex7xx5l9rcq8qcjeh8fefauzgvpnz2e0khqe9qnw25u4",
		AcceptedDenomsMinPrices: []*types.DenomPrice{
			{
				Denom:    "ibc/F5FABF52B54E65064B57BF6DBD8E5FAD22CEE9F4B8A57ADBB20CCD0173AA72A4",
				Ticker:   "USDC_NOBLE",
				MinPrice: "0.025",
			},
			{
				Denom:    "ibc/6CDD4663F2F09CD62285E2D45891FC149A3568E316CE3EBBE201A71A78A69388",
				Ticker:   "ATOM",
				MinPrice: "0.0029",
			},
			{
				Denom:    "ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518",
				Ticker:   "OSMO",
				MinPrice: "0.044",
			},
		},
	},
	{
		ProfitAddress: "nolus14qnh6egte0yufj2c5cunjxmdu995zkx8x8n24nw8wxx3rl992wpqugtkwh",
		AcceptedDenomsMinPrices: []*types.DenomPrice{
			{
				Denom:    "ibc/18161D8EFBD00FF5B7683EF8E923B8913453567FBE3FB6672D75712B0DEB6682",
				Ticker:   "USDC_NOBLE",
				MinPrice: "0.025",
			},
			{
				Denom:    "ibc/3D6BC6E049CAEB905AC97031A42800588C58FB471EBDC7A3530FFCD0C3DC9E09",
				Ticker:   "NTRN",
				MinPrice: "0.05",
			},
		},
	},
}

Functions

func Migrate

func Migrate(
	ctx sdk.Context,
	store storetypes.KVStore,
	cdc codec.BinaryCodec,
) error

Migrate migrates the x/tax module state from the consensus version 3 to version 4. Specifically, it takes the parameters that are currently stored and managed by the x/tax module and migrates them to the new v2 format of the x/tax module params.

Types

This section is empty.

Jump to

Keyboard shortcuts

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