ILensExtension

Git Source

Functions

morpho

function morpho() external view returns (IMorpho);

getUserUnclaimedRewards

function getUserUnclaimedRewards(address[] calldata _poolTokens, address _user)
    external
    view
    returns (uint256 unclaimedRewards);

getAccruedSupplierComp

function getAccruedSupplierComp(address _supplier, address _poolToken, uint256 _balance)
    external
    view
    returns (uint256);

getAccruedBorrowerComp

function getAccruedBorrowerComp(address _borrower, address _poolToken, uint256 _balance)
    external
    view
    returns (uint256);

getAccruedSupplierComp

function getAccruedSupplierComp(address _supplier, address _poolToken) external view returns (uint256);

getAccruedBorrowerComp

function getAccruedBorrowerComp(address _borrower, address _poolToken) external view returns (uint256);

getCurrentCompSupplyIndex

function getCurrentCompSupplyIndex(address _poolToken) external view returns (uint256);

getCurrentCompBorrowIndex

function getCurrentCompBorrowIndex(address _poolToken) external view returns (uint256);