Module cfg_primitives::types

source ·
Expand description

Common types for all runtimes

Structs§

  • A generic representation of a local address. A resource id points to this. It may be a registry id (20 bytes) or a fungible asset type (in the future). Constrained to 32 bytes just as an upper bound to store efficiently.
  • A representation of ItemId for Uniques.
  • A representation of registryID.
  • A representation of a tranche weight, used to weight importance of a tranche

Type Aliases§

  • Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
  • The address format for describing accounts.
  • Aura consensus authority.
  • Balance of an account.
  • A generic block for the node to use, as we can not commit to a specific Extrinsic format at this point. Runtimes will ensure Extrinsic are correctly decoded. Used by the node.
  • An index to a block.
  • A representation of CollectionId for Uniques
  • A hash of some data used by the chain.
  • The hashing algorithm used by the chain
  • Block header type as expected by this runtime.
  • IBalance is the signed version of the Balance for orml tokens
  • A representation of an investment
  • The type for LP gateway message nonces.
  • The type for LP gateway session IDs.
  • A representation of a loan identifier
  • Nonce of a transaction in the chain.
  • OrderId type we use to identify order per epoch.
  • The type for indexing pallets on a Substrate runtime
  • EpochId type we use to identify epochs in our revolving pools
  • The representation of a pool fee identifier
  • PoolId type we use.
  • Alias to 512-bit hash when used in the context of a transaction signature on the chain.
  • A representation of a tranche identifier