Skip to content

Files

Latest commit

 

History

History
31 lines (19 loc) · 760 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 760 Bytes

revert compoundor

This repository contains the smart contracts for the revert compoundor.

You can find detailled information in our Gitbook Docs.

Bug bounty

This repository is subject to the Immunefi bug bounty program, which you can find here.

Local deployment

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

Tests

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