Crate gear_common

source ·

Re-exports

Modules

Macros

  • Same as wrap_storage_map!, but with length type parameter to auto-impl Counted trait of gear_common storage primitives.
  • Same as wrap_storage_double_map!, but with extra implementations of CountedByKey, IterableMap and IterableByKeyMap over double map values.
  • Creates new type with specified name and key1-key2-value types and implements DoubleMapStorage for it based on specified storage, which is a Substrate’s StorageDoubleMap.
  • Creates new type with specified name and key-value types and implements MapStorage for it based on specified storage, which is a Substrate’s StorageMap.
  • Creates new type with specified name and value type and implements ValueStorage for it based on specified storage, which is a Substrate’s StorageValue.

Structs

Enums

Traits