LensStorage

Git Source

Inherits: ILens, Initializable

Author: Morpho Labs.

Base layer to the Morpho Protocol Lens, managing the upgradeable storage layout.

State Variables

MAX_BASIS_POINTS

CONSTANTS ///

uint256 public constant MAX_BASIS_POINTS = 100_00;

WAD

uint256 public constant WAD = 1e18;

morpho

IMMUTABLES ///

IMorpho public immutable morpho;

comptroller

IComptroller public immutable comptroller;

rewardsManager

IRewardsManager public immutable rewardsManager;

lensExtension

ILensExtension internal immutable lensExtension;

deprecatedMorpho

STORAGE ///

address private deprecatedMorpho;

deprecatedComptroller

address private deprecatedComptroller;

deprecatedRewardsManager

address private deprecatedRewardsManager;

Functions

constructor

CONSTRUCTOR ///

Constructs the contract.

constructor(address _lensExtension);

Parameters

NameTypeDescription
_lensExtensionaddressThe address of the Lens extension.