Module component

Source

Modules§

toml

Structs§

AccountComponent
An AccountComponent defines a Library of code and the initial value and types of the StorageSlots it accesses.
AccountComponentMetadata
Represents the full component template configuration.
AccountComponentTemplate
Represents a template containing a component’s metadata and its associated library.
FieldIdentifier
An identifier for a storage entry field.
InitStorageData
Represents the data required to initialize storage entries when instantiating an AccountComponent from a template.
MapEntry
Key-value entry for storage maps.
MapRepresentation
Supported map representations for a component’s storage entries.
PlaceholderTypeRequirement
Describes the expected type and additional metadata for a templated storage entry.
StorageValueName
A simple wrapper type around a string key that identifies values.
TemplateType
A newtype wrapper around a String, representing a template’s type identifier.

Enums§

FeltRepresentation
Supported element representations for a component’s storage entries.
MultiWordRepresentation
Defines how multi-slot values are represented within the component’s storage description.
StorageEntry
Represents a single entry in the component’s storage layout.
StorageValueNameError
TemplateTypeError
Errors that can occur when parsing or converting template types.
WordRepresentation
Defines how a word is represented within the component’s storage description.

Type Aliases§

TemplateRequirementsIter
Alias used for iterators that collect all placeholders and their types within a component template.