Standard Defi Protocol interfaces

Standard Defi Protocol interfaces

ERC4626 Vault Standard and ERC6551 Token Bound Account for standardized DeFi integration

57
Built at ETHBarcelona
Standard Defi Protocol interfaces

Standard Defi Protocol interfaces

ERC4626 Vault Standard and ERC6551 Token Bound Account for standardized DeFi integration

The problem Standard Defi Protocol interfaces 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.

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

This project aims to showcase the integration of ERC4626, which is designed to standardized the interface through which ...Read More

XDC Network: Decentralized Finance (DeFi)

All the defi primitives mentioned in the project are deployed into Xinfin. This includes a minimal example of an ERC4626...Read More

XDC Foundation

XDC Network: Decentralized Exchanges (DEX)

As part of the project, I deployed the UniswapV3 protocol into the Xinfin network and showed how to create a UniswapV3 l...Read More

XDC Foundation

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