Standard Defi Protocol interfaces
ERC4626 Vault Standard and ERC6551 Token Bound Account for standardized DeFi integration
Created on 9th July 2023
•
Standard Defi Protocol interfaces
ERC4626 Vault Standard and ERC6551 Token Bound Account for standardized DeFi integration
The problem Standard Defi Protocol interfaces solves
- 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
- 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.
Challenges I 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.
Tracks Applied (3)
DeFi & Dapps
XDC Network: Decentralized Finance (DeFi)
XDC Foundation
XDC Network: Decentralized Exchanges (DEX)
XDC Foundation
Technologies used
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
Discussion
Builders also viewed
See more projects on Devfolio