v042

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// AddressKeyPrefixLegacy is a prefix added to keys for indexing name records by address.
	AddressKeyPrefixLegacy = []byte{0x04}
	// NameAddressLengthLegacy is the legacy length of pre v043 address
	NameAddressLengthLegacy = 20
)

Functions

func GetAddressKeyPrefixLegacy

func GetAddressKeyPrefixLegacy(address sdk.AccAddress) (key []byte, err error)

GetAddressKeyPrefix returns a store key for a name record address

func MigrateAddresses

func MigrateAddresses(ctx sdk.Context, storeKey sdk.StoreKey) error

func ValidateAddress

func ValidateAddress(addr sdk.AccAddress) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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