Documentation ¶
Index ¶
- Variables
- func BalanceKey(contractID string, address sdk.AccAddress, tokenID string) []byte
- func ContractKey(contractID string) []byte
- func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) error
- func NextClassIDKey(contractID string) []byte
- func StatisticKey(keyPrefix []byte, contractID, classID string) []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SupplyKeyPrefix = []byte{0x40} MintedKeyPrefix = []byte{0x41} BurntKeyPrefix = []byte{0x42} )
Functions ¶
func BalanceKey ¶
func BalanceKey(contractID string, address sdk.AccAddress, tokenID string) []byte
func ContractKey ¶
func MigrateStore ¶
func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) error
MigrateStore performs in-place store migrations from v1 to v2.
func NextClassIDKey ¶
func StatisticKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.