👩‍💻
Unlockd Developers Docs
Unlockd for Devs V2
Unlockd for Devs V2
  • Introduction
  • ⚙️Core
    • Unlockd
    • BaseCore
    • BaseCoreModule
  • ⚙️Modules
    • Installer
    • Manager
    • Action
    • SellNow
    • BuyNow
    • Market
    • Auction
  • 🆕Vault and Tokens
    • UTokenVault
    • BaseToken
    • ScaledToken
    • WethGateway
  • 🆕Adapters and Strategies
    • ReservoirAdapter
    • MaxApyStrategy
  • 🆕Storage
    • CoreStorage
    • UVaultStorage
  • 📔Deployed Contracts
    • Ethereum Sepolia
    • Ethereum Mainnet
  • 📫Unlockd Account (Wallet)
    • Introduction
    • Architecture
    • DelegationWalletFactory
    • DelegationWalletRegistry
    • DelegationOwner
    • GuardOwner
    • ProtocolOwner
    • TransactionGuard
    • DelegationRecipes
    • AllowedControllers
    • Deployed Contracts
      • Ethereum Sepolia (Testnet)
  • 🧰SDK
    • Typescript Package
    • SDK Docs
  • 🤝DEVELOPERS HELP
    • Best Practices
    • Security and Risk Management
    • Github
    • Bug Bounty - ACTIVE
Powered by GitBook
On this page
  1. Storage

CoreStorage

The CoreStorage.sol contract is responsible for storing the core storage variables and mappings used by the Unlockd Protocol.

Key storage variables:

_moduleLookup: Mapping of module IDs to their implementation addresses.

_proxyLookup: Mapping of module IDs to their proxy addresses (only for single-proxy modules).

_trustedSenders: Mapping of proxy addresses to their trusted sender information.

_aclManager: Address of the ACL (Access Control List) manager contract.

_walletRegistry: Address of the wallet registry contract.

_allowedControllers: Address of the allowed controllers contract.

_reserveOracle: Address of the reserve oracle contract.

_signer: Address of the signer used for signature verification.

_uTokenVault: Address of the UToken vault contract.

_safeERC721: Address of the SafeERC721 contract.

_signNonce: Mapping of addresses to their current signature nonce.

_allowedCollections: Mapping of collection addresses to their allowed reserve types.

_allowedMarketAdapter: Mapping of market adapter addresses to their active status.

_loans: Mapping of loan IDs to their corresponding loan data.

_orders: Mapping of order IDs to their corresponding order data.

PreviousMaxApyStrategyNextUVaultStorage

Last updated 1 year ago

🆕