
Standard Defi Protocol interfaces
ERC4626 Vault Standard and ERC6551 Token Bound Account for standardized DeFi integration
About
The problem it solves 1. Show how the ERC4626 standard can be used to integrate different Defi protocols under a common interface. This will make easier composability with different protocols and integration in any Dapp 2. How we can group together portfolios of yield-bearing assets into a Token Bound Account. This is useful to group different tokens with various APR and risk profiles into a single tradable entity.
How it's made
Challenges we ran into It was difficult to find existing Defi Projects with publicly available interfaces and code that I could look into and integrate with. To solve it I implemented first a naive "defi" protocol (just linearly accumulating yield in a XRC20) to show how it would be integrated with an ERC4626 Vault, and then I deployed UniswapV3 so I can integrate a ERC4626 to create liquidity positions.