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§
- code_
storage - event
- Gear events additional data.
- gas_
provider - pallet_
tests std - 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-implCountedtrait ofgear_commonstorage primitives. - wrap_
extended_ storage_ double_ map - Same as
wrap_storage_double_map!, but with extra implementations ofCountedByKey,IterableMapandIterableByKeyMapover double map values. - wrap_
storage_ double_ map - Creates new type with specified name and key1-key2-value types and
implements
DoubleMapStoragefor it based on specified storage, which is aSubstrate’sStorageDoubleMap. - wrap_
storage_ map - Creates new type with specified name and key-value types and implements
MapStoragefor 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
TripleMapStoragefor it based on specified storage, which is aSubstrate’sStorageNMap. - wrap_
storage_ value - Creates new type with specified name and value type and implements
ValueStoragefor it based on specified storage, which is aSubstrate’sStorageValue.
Structs§
- Active
Program - Active program in storage.
- ActorId
- Program (actor) identifier.
- CodeId
- Code identifier.
- 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
std - 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
Callvariant of an extrinsic - Origin
- NOTE: Implementation of this for
u64places bytes from idx=0. - Queue
Runner