Skip to content

0xNazgul/fuzzydefi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fuzzy DeFi

Properties

This repository contains code properties for the current top four forked protocols:

  1. Uniswap v2 An AMM powered by the constant product formula, properties.
  2. Olympus DAO A protocol-owned Treasury serving the market gap between stablecoins and volatile assets, properties.
  3. Compound v2 An algorithmic, autonomous interest rate protocol, properties.
  4. Tomb Finance An algorithmic token pegged to FTM, properties.

The goals of these properties are to:

  • Detect vulnerabilities
  • Ensure adherence to the original protocols properties
  • Provide educational guidance for writing invariants

Testing

  1. Install Foundry
  2. Follow the protocols corresponding README setup.

Contributing to this repo?

You can read more about the contribution guidelines and directory structure in the CONTRIBUTING file.

Trophies

I have not used it in the wild and did this mostly to build my fuzzing skills. If you use this and find any bugs congrats!!!

Create an issue with "Trophy" as your title and we can add it to a list with your proper credits!

No Guarantees

There are no guarantees with using this project to secure your protocol! There is still a lot to improve with this repo and not everything is fully tested nor is it a silver bullet!

License

Modified code forked from there respective companies are licensed under there respective licenses in accordance with the original licenses.

All other files within this repository are licensed under the AGPL License unless stated otherwise.

About

Pre-built security properties for commonly forked DeFi protocols

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published