ebtc-protocol/ebtc

Raft.fi code analysis

Opened this issue · 1 comments

Liquity fork stablecoin, using LSDs as collateral. The code is out!
https://raft.fi/
https://github.com/raft-fi/contracts

Key features to examine:

  • Their simplified price feed contract that still has the two oracle setup
  • One-step leverage
  • Flash loans
  • How rewards / interest is processed

Following are some quick takeaways for Raft codebase: