Re-exports§
pub use auth::AuthSecretKey;pub use code::AccountCode;pub use code::procedure::AccountProcedureInfo;pub use component::AccountComponent;pub use component::AccountComponentMetadata;pub use component::AccountComponentTemplate;pub use component::FeltRepresentation;pub use component::InitStorageData;pub use component::MapEntry;pub use component::MapRepresentation;pub use component::PlaceholderTypeRequirement;pub use component::StorageEntry;pub use component::StorageValueName;pub use component::StorageValueNameError;pub use component::TemplateType;pub use component::TemplateTypeError;pub use component::WordRepresentation;pub use delta::AccountDelta;pub use delta::AccountStorageDelta;pub use delta::AccountVaultDelta;pub use delta::FungibleAssetDelta;pub use delta::NonFungibleAssetDelta;pub use delta::NonFungibleDeltaAction;pub use delta::StorageMapDelta;
Modules§
Structs§
- Account
- An account which can store assets and define rules for manipulating them.
- Account
Builder - A convenient builder for an
Accountallowing for safe construction of an account by combining multipleAccountComponents. - Account
File - Account file contains a complete description of an account, including the Account struct as well as account seed and account authentication info.
- Account
Header - A header of an account which contains information that succinctly describes the state of the components of the account.
- Account
IdAnchor - The anchor of an
AccountId. See the type’s documentation for details on anchors. - Account
IdPrefix V0 - The prefix of an
AccountIdV0, i.e. its first field element. - Account
IdV0 - Version 0 of the
Accountidentifier. - Account
Storage - Account storage is composed of a variable number of index-addressable StorageSlots up to 255 slots in total.
- Account
Storage Header - Account storage header is a lighter version of the AccountStorage storing only the type and the top-level value for each storage slot.
- Partial
Account - A partial representation of an account.
- Partial
Storage - A partial representation of an account storage, containing only a subset of the storage data.
- Storage
Map - An account storage map is a sparse merkle tree of depth
Self::TREE_DEPTH(64).
Enums§
- Account
Id - The identifier of an
Account. - Account
IdPrefix - The prefix of an
AccountId, i.e. its first field element. - Account
IdVersion - The version of an
AccountId. - Account
Storage Mode - Describes where the state of the account is stored.
- Account
Type - Represents the different account types recognized by the protocol.
- Address
Type - The type of an address in Miden.
- Network
Id - The identifier of a Miden network.
- Storage
Slot - An object representing the contents of an account’s storage slot.
- Storage
Slot Type - An object that represents the type of a storage slot.
Functions§
- hash_
account - Returns hash of an account with the specified ID, nonce, vault root, storage commitment, and code commitment.