Beginner FriendlyFoundryDeFiOracle
100 EXP
View results
Submission Details
Severity: low
Invalid

There is no need for an oracle contract

Summary

This protocol does not need an oracle. All calculations that need to be done can be done without asking the outside world for the price of anything. The exchange rate can be calculated just based on the number of underlying tokens deposited and number of outstanding asset tokens. The fees are just .3% of the amount of tokens borrowed.

Impact

You are introducing extra attack surface for contracts that you don't need

Tools Used

Manual review

Recommendations

Cease using the oracle contract

Updates

Lead Judging Commences

0xnevi Lead Judge
almost 2 years ago
0xnevi Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.