This repository contains the smart contracts for the AutoYield.
You can find detailled information in our Gitbook Docs.
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