by Macro, April 1, 2024

*NOTE this MRC is an update to MRCs 13 and 17, made previously. For background context, please reference them here respectively.

MRC/PENDING/MRC13.md at main · MorpheusAIs/MRC

MRC/PENDING/MRC17.md at main · MorpheusAIs/MRC

Objective

This MRC extends the existing MRC 13 and MRC 17 write ups to include a more detailed technical approach to the implementation. The objective of this MRC remains the same: grow Morpheus community and reach by enabling capital farming of MOR on Solana using JitoSOL as the deposit asset, similar to how stETH is used on Ethereum as the deposit asset.

High Level Requirements

  1. Layer Zero is the desired interoperability solution for bridging MOR to and from Solana. Requires completion of MOR token contract upgrade to use Layer Zero’s OFT standard (currently under audit by Open Zeppelin). Layer Zero is targeting support for Solana interoperability in May (subject to change).
  2. The Morpheus smart contracts must be upgraded to support multiple yield types.
  3. All MOR is minted on Arbitrum and then bridged over to Solana to reward JitoSOL depositors.
  4. MOR rewards take into account all supported deposit assets (stETH and JitoSOL).
  5. The JitoSOL yield is given to Morpheus while deposited in exchange for MOR yield. Depositors can withdraw their JitoSOL anytime after 7 days from initial deposit. Upon doing so they get their JitoSOL yield back, and stop earning MOR yield in proportion to what they withdraw.
  6. The AMM on Solana will be a SOL : MOR pool on Jupiter, or another AMM which is TBD. This is an open question of which AMM to use, as outlined below.
  7. JitoSOL yield will be converted into SOL so that there is deeper liquidity in the AMM pool. An example of this can be found by looking at the Morpheus Smart Contracts updated to convert wstETH to wETH so the pair on Arbitrum can be wETH / MOR (deeper liquidity, similar objective): https://github.com/MorpheusAIs/SmartContracts/pull/26.
  8. The smart contracts for this MRC when finished will be deployed to Solana using the Morpheus multi-sig.

Remaining Open Questions Specific to MRC 29