Module scrypto::prelude::radix_engine_common::types
source · Expand description
RE types.
Structs§
- Address to a global component
- A type-safe consensus epoch number.
- An identifier for a type under a given node’s schema context in the Radix network.
- Address to a global entity
- Address to a local entity
- The unique identifier of a (stored) node.
- Address to a global package
- The unique identifier of a node module.
- Address to a global resource
- A type-safe consensus round number within a single epoch.
- Represents a particular schema under a package
- An identifier for a type in the context of a schema.
Enums§
- An enum which represents the different addressable entities.
- A reference to the type to substitute with for the case of generics.
- The unique identifier of a substate within a node module.
Constants§
Functions§
Type Aliases§
- An index of a specific validator within the current validator set. To be exact: a
ValidatorIndex
equal tok
references thek-th
element returned by the iterator of theIndexMap<ComponentAddress, Validator>
in this epoch’s active validator set (which is expected to be sorted by stake, descending). This uniquely identifies the validator, while being shorter thanComponentAddress
(we do care about the constant factor of the space taken byLeaderProposalHistory
under prolonged liveness break scenarios).