DEX yield optimiser that allocates out of positions assets into lending pools. An account abstraction layer allows 1-click liquidity management and automated yield harvesting.
Blockscout - Best use of Blockscout Block Explorer
Prize Pool
Project Description
Problem:
Inactive liquidity on DEXes does not generate yield for the liquidity providers.
Similarly, the rewards on lending protocols are in idle state without generating profit.
Too complex UI & Bad UX.
Solutions:
Reinvest the inactive assets by depositing on lending protocols using hooks.
Maximize yields with compound rewards.
1-click investment.
Features:
Lending pool fallback for DEX LP providers
Uniswap & PancakeSwap v4 hooks are used to trigger entry and exits from AAVE.
Buffer ticks to prevent excessive movement of funds.
Safe account abstraction with ERC7579 and ERC4337
Safe v1.4.1 with fallback handler to handle 4337 and 7579 methods.
1-click UX throughout the application.
ERC7579 module executes claiming rewards on interval.
How it's Made
Foundry made writing tests, deployments and contracts possible in solidity
Used Dynamic to generate hosted embedded wallets, Pimlico to sponsor transactions
Hacking Permissionless.js to figure out why only the older 0.1.36 versions worked with deployment of Safe and found an undocumented parameter name changed.
Older version of permissionless.js did not work with batch transactions for 7579 wallets
Used Rhinestone Safe7579 implementation as a fallback handler, this enabled Safe to be both 4337 and 7579 to be compatible
Viem to encode complex structs and calldata to provideLiquidity