v3

package
v0.50.6 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DenomAddressPrefix = []byte{0x03}

Functions

func CreateAccountBalancesPrefix added in v0.50.1

func CreateAccountBalancesPrefix(addr []byte) []byte

CreateAccountBalancesPrefix creates the prefix for an account's balances.

func CreateDenomAddressPrefix

func CreateDenomAddressPrefix(denom string) []byte

CreateDenomAddressPrefix creates a prefix for a reverse index of denomination to account balance for that denomination.

func MigrateStore

func MigrateStore(ctx sdk.Context, storeService store.KVStoreService, cdc codec.BinaryCodec) error

MigrateStore performs in-place store migrations from v0.43 to v0.45. The migration includes:

- Migrate coin storage to save only amount. - Add an additional reverse index from denomination to address. - Remove duplicate denom from denom metadata store key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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