Shared Contracts
SharedStorage.sol
This contract is responsible for shared storage between the Lending and Lending Pool contracts in the protocol.
Functionality
The Shared Storage contract defines and manages various storage variables and mappings used by both the Lending and Lending Pool contracts. It provides the following functionality:
- Storage for collaterals
- Collateral ID management
- Count and limit of collaterals
- Storage for assets
- Asset ID management
- Count and limit of assets
Please note that the contract follows specific guidelines for appending new variables to ensure compatibility and upgradability.