-
Notifications
You must be signed in to change notification settings - Fork 8
Storage
aboudjem edited this page Jun 7, 2024
·
1 revision
Inherits: IStorage
Manages isolated storage spaces for Modular Smart Account in compliance with ERC-7201 standard to ensure collision-resistant storage.
Implements the ERC-7201 namespaced storage pattern to maintain secure and isolated storage sections for different states within Nexus suite.
bytes32 private constant _STORAGE_LOCATION = 0x00000000000000000000000000000006e7cbd8cb82505941fba30d1eb5b82f00;
Utilizes ERC-7201's namespaced storage pattern for isolated storage access. This method computes the storage slot based on a predetermined location, ensuring collision-resistant storage for contract states.
function _getAccountStorage() internal pure returns (AccountStorage storage $);
Returns
Name | Type | Description |
---|---|---|
$ |
AccountStorage |
The proxy to the AccountStorage struct, providing a reference to the namespaced storage slot. |
Important
_getAccountStorage: Utilizes ERC-7201's namespaced storage pattern for isolated storage access, ensuring collision-resistant storage for contract states.
- Home
- Nexus Architecture
- Access Control
- Execution Framework
- Modules
- Factories
- Migration Guide
- Testing Documentation
- Configuration and Security
- Libraries
- FAQ
- Biconomy Solidity Style Guide
- Security Considerations
- Team
-
Contracts
- Nexus
- Base
- Common
- Factory
- AbstractNexusFactory
- BiconomyMetaFactory
- K1ValidatorFactory
- ModuleWhitelistFactory
- NexusAccountFactory
- Modules
- Utils