Re-exports§
pub use account_id::AccountId;pub use account_id::AccountStorageMode;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::procedure::AccountProcedureInfo;pub use code::AccountCode;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§
- An account which can store assets and define rules for manipulating them.
- A convenient builder for an
Accountallowing for safe construction of an account by combining multipleAccountComponents. - An
AccountComponentdefines aLibraryof code and the initial value and types of theStorageSlots it accesses. - Account data contains a complete description of an account, including the Account struct as well as account seed and account authentication info.
- A header of an account which contains information that succinctly describes the state of the components of the account.
- Account storage is composed of a variable number of index-addressable StorageSlots up to 255 slots in total.
- Account storage header is a lighter version of the AccountStorage storing only the type and the top-level value for each storage slot.
- 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.
Enums§
- An object that represents the type of a storage slot.
- 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 commitment, and code commitment.