Morpho
Morpho Protocol exposes its main entrypoints (supply, borrow, withdraw, repay, liquidate, claimRewards) via a master contract called Morpho, which delegates its logic via delegatecall.
The goal of the Morpho contract is to only expose guarded entry-points to Morpho protocol's main features, delegating implementation logic to delegation contracts, such as PositionsManager or InterestRates.
It has 6 entry-points, each corresponding to a specific feature:
Interface
Source code
morpho-core-v1/IMorpho.sol at main Β· morpho-dao/morpho-core-v1
GitHub
morpho-core-v1/Morpho.sol at main Β· morpho-dao/morpho-core-v1
GitHub
Last modified 27d ago
Copy link