This repo uses foundry as the main tool for compiling and testing smart contracts. You can install foundry via:
curl -L https://foundry.paradigm.xyz | bashFor alternative installation options & more details see the foundry repo.
git submodule update --init --recursive
nvm use
npm ci
npm run installforge buildTo run unit tests:
forge testTo run integration tests:
npm run test:integrationTo run differential fuzz tests:
npm run test:differentialTo run legacy tests:
npm run test:uniswapYou can find all audit reports under the audits folder.
V2.0
A re-audit on code changes was done in January 2025 and can be found under the same folder, as v3.
Are you interested in helping us build the future of Reservoir? Contribute in these ways:
-
For SECURITY related or sensitive bugs, please get in touch with the team at [email protected] or on discord instead of opening an issue on github.
-
If you find bugs or code errors, you can open a new issue ticket here.
-
If you find an issue and would like to submit a fix for said issue, follow these steps:
- Start by forking the amm-core repository to your local environment.
- Make the changes you find necessary to your local repository.
- Submit your pull request.
-
Have questions, or want to interact with the team and the community? Join our discord!