v042

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// AddressScopeCacheKeyPrefixLegacy for scope to address cache lookup
	AddressScopeCacheKeyPrefixLegacy = []byte{0x10}
	// ValueOwnerScopeCacheKeyPrefixLegacy for scope to value owner address cache lookup
	ValueOwnerScopeCacheKeyPrefixLegacy = []byte{0x12}
	// AddressScopeSpecCacheKeyPrefixLegacy for scope spec lookup by address
	AddressScopeSpecCacheKeyPrefixLegacy = []byte{0x13}
	// AddressContractSpecCacheKeyPrefixLegacy for contract spec lookup by address
	AddressContractSpecCacheKeyPrefixLegacy = []byte{0x15}
	// OSLocatorAddressKeyPrefixLegacy is the key for OSLocator Record by address
	OSLocatorAddressKeyPrefixLegacy = []byte{0x16}
	// AddrLengthLegacy is the length of all keys in versions < 43
	AddrLengthLegacy = 20
	// ScopeSpecScopeCacheKeyPrefix for scope to scope specification cache lookup
	ScopeSpecScopeCacheKeyPrefix = []byte{0x11}
	// OSLocatorAddressKeyPrefix is the key for OSLocator Record by address
	OSLocatorAddressKeyPrefix = []byte{0x21}
)

Functions

func GetAddressContractSpecCacheIteratorPrefixLegacy

func GetAddressContractSpecCacheIteratorPrefixLegacy(addr sdk.AccAddress) []byte

GetAddressContractSpecCacheIteratorPrefix returns an iterator prefix for all contract spec cache entries assigned to a given address

func GetAddressContractSpecCacheKeyLegacy

func GetAddressContractSpecCacheKeyLegacy(addr sdk.AccAddress, contractSpecID types.MetadataAddress) []byte

GetAddressContractSpecCacheKeyLegacy returns the store key for an address + contract spec cache entry

func GetAddressScopeCacheIteratorPrefixLegacy

func GetAddressScopeCacheIteratorPrefixLegacy(addr sdk.AccAddress) []byte

GetAddressScopeCacheIteratorPrefix returns an iterator prefix for all scope cache entries assigned to a given address

func GetAddressScopeCacheKeyLegacy

func GetAddressScopeCacheKeyLegacy(addr sdk.AccAddress, scopeID types.MetadataAddress) []byte

GetAddressScopeCacheKey returns the store key for an address cache entry

func GetAddressScopeSpecCacheIteratorPrefixLegacy

func GetAddressScopeSpecCacheIteratorPrefixLegacy(addr sdk.AccAddress) []byte

GetAddressScopeSpecCacheIteratorPrefix returns an iterator prefix for all scope spec cache entries assigned to a given address

func GetAddressScopeSpecCacheKeyLegacy

func GetAddressScopeSpecCacheKeyLegacy(addr sdk.AccAddress, scopeSpecID types.MetadataAddress) []byte

GetAddressScopeSpecCacheKey returns the store key for an address + scope spec cache entry

func GetOSLocatorKeyLegacy

func GetOSLocatorKeyLegacy(addr sdk.AccAddress) []byte

GetOSLocatorKeyLegacy returns a store key for an object store locator entry

func GetScopeSpecScopeCacheIteratorPrefixLegacy

func GetScopeSpecScopeCacheIteratorPrefixLegacy(scopeSpecID types.MetadataAddress) []byte

GetScopeSpecScopeCacheIteratorPrefix returns an iterator prefix for all scope cache entries assigned to a given address

func GetScopeSpecScopeCacheKeyLegacy

func GetScopeSpecScopeCacheKeyLegacy(scopeSpecID types.MetadataAddress, scopeID types.MetadataAddress) []byte

GetScopeSpecScopeCacheKey returns the store key for an address cache entry

func GetValueOwnerScopeCacheIteratorPrefixLegacy

func GetValueOwnerScopeCacheIteratorPrefixLegacy(addr sdk.AccAddress) []byte

GetValueOwnerScopeCacheIteratorPrefix returns an iterator prefix for all scope cache entries assigned to a given address

func GetValueOwnerScopeCacheKeyLegacy

func GetValueOwnerScopeCacheKeyLegacy(addr sdk.AccAddress, scopeID types.MetadataAddress) []byte

GetValueOwnerScopeCacheKey returns the store key for an address cache entry

func MigrateAddressContractSpecCacheKey

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

func MigrateAddressScopeCacheKey

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

func MigrateAddressScopeSpecCacheKey

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

func MigrateAddresses

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

func MigrateOSLocatorKeys

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

func MigrateValueOwnerScopeCacheKey

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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