Awesome
Yield daddy
Gas-optimized ERC4626 wrappers for common yield-generating protocols (e.g. Aave, Compound).
Architecture
base/
: Base contracts shared by different wrappersERC4626Factory.sol
: Abstract base contract for deploying ERC4626 wrappers
aave-v2/
: Aave v2 wrapperAaveV2ERC4626.sol
: ERC4626 wrapper for Aave V2AaveV2ERC4626Factory.sol
: Factory for creating AaveV2ERC4626 contracts
aave-v3/
: Aave v3 wrapperAaveV3ERC4626.sol
: ERC4626 wrapper for Aave V3AaveV3ERC4626Factory.sol
: Factory for creating AaveV3ERC4626 contracts
euler/
: Euler Finance wrapperEulerERC4626.sol
: ERC4626 wrapper for Euler FinanceEulerERC4626Factory.sol
: Factory for creating EulerERC4626 contracts
compound/
: Compound Finance wrapperCompoundERC4626.sol
: ERC4626 wrapper for Compound FinanceCompoundERC4626Factory.sol
: Factory for creating CompoundERC4626 contracts
lido/
: Lido stETH wrapperStETHERC4626.sol
: ERC4626 wrapper for Lido stETH
Installation
To install with DappTools:
dapp install timeless-fi/yield-daddy
To install with Foundry:
forge install timeless-fi/yield-daddy
Local development
This project uses Foundry as the development framework.
Dependencies
make install
Compilation
make build
Testing
make test