General type wrapper for SCALE encodable storage index argument.
Moduleweb3-polkadot-1.1.0.1Haskell2010
Network.Polkadot.Storage.Key
When you use the Substrate RPC to access a storage item, you only need to provide the key associated with that item.
- 3 types
- 2 values
- Packageweb3-polkadot-1.1.0.1
- Exports5
- LanguageHaskell2010
- LicenceApache-2.0
- SourceKey.hs
Hasher is a function that hash given argument.
Entry type describe storage prefix for different storage entity types.
Constructors
PlainEntry ByteStringSimple storage type without arguments.
MapEntry (Argument -> ByteString)Mapping with hashing for arguments.
DoubleMapEntry (Argument -> Argument -> ByteString)Double map with two different hashers.
NMapEntry ([Argument] -> ByteString)Map with array of hashers.
Instances1Show
Show StorageEntryDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Storage.Key
value
newEntry :: TextStorage prefix (module name).
-> StorageEntryMetadataStorage key metadata, includes entry type, name, etc.
-> StorageEntryStorage key generator.
Create storage key generator from metadata description.