Premissionless auto compounder factory to let anyone deploy their own auto compounder without any difficulty on top of any ERC20
This project offers a user-friendly solution for deploying personalized auto-compounding tools on various yield-bearing assets. The primary focus is to cater to DeFi protocols looking to benefit from auto compounding without the high costs of extensive development and research.
To achieve this, protocols can easily deploy their own strategy. A simple smart contract that implements a Solidity interface, composed of four functions that we provide. Nothing more.
Then, they can use our protocol to create a customized vault following the ERC4626 standard, which enhances compatibility with other DeFi protocols.
The last step to enable the auto compounder is to fund the operator by sending native tokens to it.
Once the vault is set up, it becomes accessible to all users through our interface, to conveniently deposit and withdraw funds. In the background, we handle harvesting rewards and compounding them at regular intervals, as determined by the admin's preferences.
This project is a dapp so it have three different parts.
It consists of the protocol, which is the Factory and the Vault that is being created by the factory based on ERC4626. Users in a single transaction can create their own vaults with some built-in features such as fee handling ...
Then the strategy part is composed of contracts that implement our IStrategy interface. To demonstrate the simplicity of this design, we created a few examples strategy that we created including ApeCoin one and a mocked one to show its potential on any blockchain.
It is quite special as each vault has its own operator which is as of right now an EOA. So we had to find a way to index all the newly created vaults, user deposits, and more to give information to the front-end.
All the blockchain part of this software is built using Etherjs.