History has shown that an old vulnerability has found its way into many protocols
Many succesfull attacks leveraged this vulnerability
Sonne Finance
Radiant Capital
Hundred Finance
Assertions can be used to easily prevent known vulnerabilities in forked protocols
Enforce existing workarounds
I.e. Sonne Finance planned to execute deploying the market and depositing atomically, however,
their governance process let the attacker execute the transactions out of order
Low entry barrier to enable publicly known assertions for famous protocols to your own fork
Example: Enforce atomically opening the market and depositing first assets
Copy
Ask AI
function assertionHasMinimumSupply() public view { Market market = Market(address(0x1234)); require(market.totalSupply() > MINIMUM_SUPPLY, "Market has no supply");}