Documentation ¶
Index ¶
- Variables
- func GetAddressContractSpecCacheIteratorPrefixLegacy(addr sdk.AccAddress) []byte
- func GetAddressContractSpecCacheKeyLegacy(addr sdk.AccAddress, contractSpecID types.MetadataAddress) []byte
- func GetAddressScopeCacheIteratorPrefixLegacy(addr sdk.AccAddress) []byte
- func GetAddressScopeCacheKeyLegacy(addr sdk.AccAddress, scopeID types.MetadataAddress) []byte
- func GetAddressScopeSpecCacheIteratorPrefixLegacy(addr sdk.AccAddress) []byte
- func GetAddressScopeSpecCacheKeyLegacy(addr sdk.AccAddress, scopeSpecID types.MetadataAddress) []byte
- func GetOSLocatorKeyLegacy(addr sdk.AccAddress) []byte
- func GetScopeSpecScopeCacheIteratorPrefixLegacy(scopeSpecID types.MetadataAddress) []byte
- func GetScopeSpecScopeCacheKeyLegacy(scopeSpecID types.MetadataAddress, scopeID types.MetadataAddress) []byte
- func GetValueOwnerScopeCacheIteratorPrefixLegacy(addr sdk.AccAddress) []byte
- func GetValueOwnerScopeCacheKeyLegacy(addr sdk.AccAddress, scopeID types.MetadataAddress) []byte
- func MigrateAddressContractSpecCacheKey(ctx sdk.Context, storeKey sdk.StoreKey) error
- func MigrateAddressScopeCacheKey(ctx sdk.Context, storeKey sdk.StoreKey) error
- func MigrateAddressScopeSpecCacheKey(ctx sdk.Context, storeKey sdk.StoreKey) error
- func MigrateAddresses(ctx sdk.Context, storeKey sdk.StoreKey) error
- func MigrateOSLocatorKeys(ctx sdk.Context, storeKey sdk.StoreKey) error
- func MigrateValueOwnerScopeCacheKey(ctx sdk.Context, storeKey sdk.StoreKey) error
Constants ¶
This section is empty.
Variables ¶
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
Types ¶
This section is empty.