This repository contains the smart contracts for the revert compoundor.
You can find detailled information in our Gitbook Docs.
This repository is subject to the Immunefi bug bounty program, which you can find here.
The contract is built with hardhat so you can use basic hardhat commands like:
npx hardhat node
and
npx hardhat run scripts/deploy.js --network localhost
The hardhat network in hardhat.config.js is configured to use a forked mainnet to simulate auto-compounding on existing positions. You can run the tests with:
npx hardhat test