YieldAggregator is a DeFi smart contract that dynamically allocates user deposits (in WETH) to either Aave or Compound based on which offers the best yield. It supports rebalancing, fee structures, and emergency withdrawals — all governed by roles.
Hardhat version available: View here
Technologies
Solidity
Aave V3
Compound
OpenZeppelin
Foundry
SafeERC20
Back