DFP-64: Add Compound V3 as an integration

Header Content
Author Edson Ayllon (@relativeread)
Created 2024-08-18
Status Draft

Motivation

Adding Compound V3 as an integration for managers allows managers to lend and borrow with a different provider than Aave which is the only available money market currently available on dHEDGE. Giving managers this choice allows them to provide liquidity and borrow with a different risk profile than Aave.

Description

Compound is an onchain money market that allows lending and borrowing of digital assets trustlessly onchain.

Multiple Compound contract versions exist. This proposal specifies the whitelisting of Compound V3.

This proposal if passed will allow Compound V3 to be deployed on any chain both dHEDGE and Compound V3 are deployed on.

Implementation

Contract guards will be designed to whitelist Compound V3 as an integration. Rollout may be in phases, where first release allows lending only, then borrowing at a later date.

This integration will be available for all managers, no whitelisting.

Vote

Vote.