Re-exports§
pub use code_storage::CodeStorage;
pub use code_storage::Error as CodeStorageError;
pub use program_storage::Error as ProgramStorageError;
pub use program_storage::ProgramStorage;
pub use gas_provider::LockableTree;
pub use gas_provider::Provider as GasProvider;
pub use gas_provider::ReservableTree;
pub use gas_provider::Tree as GasTree;
Modules§
- auxiliary
- Auxiliary implementations of the complex data structures, which manage important for the gear runtime storages. These implementations can be used in a non-wasm environment.
- code_
storage - event
- Gear events additional data.
- gas_
provider - pallet_
tests - Module contains macros that help to implement Config type for various pallets of Substrate. All used types should be in scope.
- program_
storage - scheduler
- Module for scheduler implementation.
- storage
- Gear’s storage API module.
Macros§
- impl_
pallet_ authorship - impl_
pallet_ authorship_ inner - impl_
pallet_ balances - impl_
pallet_ balances_ inner - impl_
pallet_ staking - impl_
pallet_ staking_ inner - impl_
pallet_ system - impl_
pallet_ system_ inner - impl_
pallet_ timestamp - wrap_
counted_ storage_ map - Same as
wrap_storage_map!
, but with length type parameter to auto-implCounted
trait ofgear_common
storage primitives. - wrap_
extended_ storage_ double_ map - Same as
wrap_storage_double_map!
, but with extra implementations ofCountedByKey
,IterableMap
andIterableByKeyMap
over double map values. - wrap_
storage_ double_ map - Creates new type with specified name and key1-key2-value types and
implements
DoubleMapStorage
for it based on specified storage, which is aSubstrate
’sStorageDoubleMap
. - wrap_
storage_ map - Creates new type with specified name and key-value types and implements
MapStorage
for it based on specified storage, which is aSubstrate
’sStorageMap
. - wrap_
storage_ triple_ map - Creates new type with specified name and key1-key2-key3-value types and
implements
TripleMapStorage
for it based on specified storage, which is aSubstrate
’sStorageNMap
. - wrap_
storage_ value - Creates new type with specified name and value type and implements
ValueStorage
for it based on specified storage, which is aSubstrate
’sStorageValue
.
Structs§
- Active
Program - Active program in storage.
- CodeId
- Code identifier.
- Code
Metadata - Memory
Infix - Struct defines infix of memory pages storage.
- Message
Id - Message identifier.
- PageBuf
- Buffer for gear page data.
- Reservation
Id - Reservation identifier.
Enums§
- GasMultiplier
- Type representing converter between gas and value in different relations.
- LockId
- The id of the gas lock.
- Program
- Program in different states in storage.
Traits§
- Block
Limiter - Contains various limits for the block.
- Deconstructable
- Trait that the RuntimeApi should implement in order to allow deconstruction and reconstruction to and from its components.
- Delegate
Fee - Trait that is used to “delegate fee” by optionally changing the payer target (account id) for the applied call.
- Extract
Call - A trait whose purpose is to extract the
Call
variant of an extrinsic - Origin
- NOTE: Implementation of this for
u64
places bytes from idx=0. - Queue
Runner