DeFi Saver


There are multiple classes of MStable assets:
  • bAsset
  • mAsset
  • imAsset
  • imAssetVault
Depositing and withdrawing assets from the protocol happens in multiple steps, but for our deposit and withdraw actions only specifying the entry and exit assets is needed. The enum AssetPair defines the possible entry and exit asset pairs.