Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Commit

Permalink
reinit the lens
Browse files Browse the repository at this point in the history
  • Loading branch information
vminkov committed Sep 12, 2023
1 parent 5d4754c commit f338dc0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contracts/ionic/levered/LeveredPositionsLens.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ contract LeveredPositionsLens is Initializable {
factory = _factory;
}

function reinitialize(ILeveredPositionFactory _factory) external reinitializer(2) {
factory = _factory;
}

/// @notice this is a lens fn, it is not intended to be used on-chain
/// @dev returns lists of the market addresses, names and symbols of the underlying assets of those collateral markets that are whitelisted
function getCollateralMarkets()
Expand Down

0 comments on commit f338dc0

Please sign in to comment.