Platform: Code4rena
Start Date: 18/10/2023
Pot Size: $36,500 USDC
Total HM: 17
Participants: 77
Period: 7 days
Judge: MiloTruck
Total Solo HM: 5
Id: 297
League: ETH
Rank: 53/77
Findings: 1
Award: $41.97
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: hunter_w3b
Also found by: 0xbrett8571, 0xweb3boy, JCK, Myd, SAAJ, ZanyBonzy, clara, fouzantanveer, jauvany, wei3erHase
41.9716 USDC - $41.97
Open Dollar is a decentralized algorithmic stablecoin protocol that aims to maintain a floating $1.00 peg backed by staked ETH and other assets. It utilizes NFT-controlled vaults and an incentive structure to manage the supply and maintain the peg.
Open Dollar consists of several core smart contracts:
graph TB Vault721-->ODProxy Vault721-->ODSafeManager ODSafeManager-->SAFEHandler SAFEHandler-->SAFEEngine
The main mechanisms for maintaining the peg are:
Overall the core design and architecture seem sound. Here are some areas worth focusing on:
The governor address holds a significant amount of power. It can pause parts of the system and drain funds. Consider implementing a timelock and spread authorization across a multisig to mitigate centralization risk.
Black swan events like long term price decline of ETH could cause severe undercollateralization and cascading liquidations. Implement better stress testing, circuit breakers, diversified collateral, and liquidity provisions to make the system antifragile.
Several areas such as enumerating user vaults and proxy deployments could be optimized to save gas costs for users.
Open Dollar has a solid design and architecture. With some added defenses against black swan risks and by following best practices around access control, math, and reentrancy, the system can become resilient and decentralized long-term.
15 hours
#0 - c4-pre-sort
2023-10-27T01:47:18Z
raymondfam marked the issue as sufficient quality report
#1 - c4-judge
2023-11-03T17:23:22Z
MiloTruck marked the issue as grade-b