Module types

Module types 

Source
Expand description

RE types.

Structs§

BlueprintId
BlueprintTypeIdentifier
ComponentAddress
Address to a global component
Epoch
A type-safe consensus epoch number.
FullyScopedTypeId
An identifier for a type under a given node’s schema context in the Radix network.
GlobalAddress
Address to a global entity
GlobalAddressReservation
InternalAddress
Address to a local entity
NodeId
The unique identifier of a (stored) node.
NonFungibleGlobalId
Represents the global id of a non-fungible.
PackageAddress
Address to a global package
PartitionNumber
The unique identifier of a node module.
PartitionOffset
ResourceAddress
Address to a global resource
Round
A type-safe consensus round number within a single epoch.
SchemaHash
Represents a particular schema under a package
ScopedTypeId
An identifier for a type in the context of a schema.

Enums§

EntityType
An enum which represents the different addressable entities.
GenericSubstitution
A reference to the type to substitute with for the case of generics.
GlobalCaller
ParseComponentAddressError
ParseGlobalAddressError
ParseInternalAddressError
ParseNonFungibleGlobalIdError
Represents an error when parsing non-fungible address.
ParsePackageAddressError
ParseResourceAddressError
RoyaltyAmount
SubstateKey
The unique identifier of a substate within a node module.
SubstateKeyOrRef
SubstateKeyRef

Constants§

BOOT_LOADER_RESERVED_NODE_ID_FIRST_BYTE

Traits§

FromPublicKey
ResolvableOptionalSubstateKey
ResolvableSubstateKey

Functions§

component_address
local_address
package_address
resource_address

Type Aliases§

FieldKey
MapKey
SortedKey
ValidatorIndex
An index of a specific validator within the current validator set. To be exact: a ValidatorIndex equal to k references the k-th element returned by the iterator of the IndexMap<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 than ComponentAddress (we do care about the constant factor of the space taken by LeaderProposalHistory under prolonged liveness break scenarios).