LensStorage
Inherits: ILens
Author: Morpho Labs.
Base layer to the Morpho Protocol Lens, managing the upgradeable storage layout.
State Variables
DEFAULT_LIQUIDATION_CLOSE_FACTOR
CONSTANTS ///
uint16 public constant DEFAULT_LIQUIDATION_CLOSE_FACTOR = 50_00;
HEALTH_FACTOR_LIQUIDATION_THRESHOLD
uint256 public constant HEALTH_FACTOR_LIQUIDATION_THRESHOLD = 1e18;
ST_ETH
address public constant ST_ETH = 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84;
ST_ETH_BASE_REBASE_INDEX
IMMUTABLES ///
uint256 public immutable ST_ETH_BASE_REBASE_INDEX;
morpho
IMorpho public immutable morpho;
addressesProvider
ILendingPoolAddressesProvider public immutable addressesProvider;
pool
ILendingPool public immutable pool;
Functions
constructor
CONSTRUCTOR ///
Constructs the contract.
constructor(address _morpho);
Parameters
Name | Type | Description |
---|---|---|
_morpho | address | The address of the main Morpho contract. |