Module miden_objects::accounts
source · Re-exports§
pub use account_id::AccountId;pub use account_id::AccountStorageType;pub use account_id::AccountType;pub use account_id::ACCOUNT_ISFAUCET_MASK;pub use account_id::ACCOUNT_STORAGE_MASK_SHIFT;pub use account_id::ACCOUNT_TYPE_MASK_SHIFT;pub use auth::AuthSecretKey;pub use code::AccountCode;pub use delta::AccountDelta;pub use delta::AccountStorageDelta;pub use delta::AccountVaultDelta;pub use delta::StorageMapDelta;
Modules§
Structs§
- An account which can store assets and define rules for manipulating them.
- Account data contains a complete description of an account, including the Account struct as well as account seed and account authentication info.
- Account storage consists of 256 index-addressable storage slots.
- A stub of an account which contains information that succinctly describes the state of the components of the account.
- Represents a single storage slot item.
- Account storage map is a Sparse Merkle Tree of depth 64. It can be used to store more data as there is in plain usage of the storage slots. The root of the SMT consumes one account storage slot.
- Represents a single storage slot entry.
Enums§
- An object that represents the type of a storage slot.
Functions§
- Finds and returns a seed suitable for creating an account ID for the specified account type using the provided initial seed as a starting point. Using a single thread.
- Returns hash of an account with the specified ID, nonce, vault root, storage root, and code root.