DFP-62: Add Synthetix V3 perps as an integration

Header Content
Author Edson Ayllon (@relativeread)
Created 2024-07-25
Status Draft

Motivation

Opening leverage using Synthetix allows dHEDGE managers access to leverage on several assets on Base, and soon Arbitrum.

Description

Synthetix is a liquidity protocol currently used for onchain perps. Synthetix V3 is whitelisted for liquidity provisioning, but not for perps yet. However, Synthetix has been whitelisted for perps for dHEDGE before with Synthetix V3.

The proposal continues this by whitelisting Synthetix V3 contracts for trading perps on leverage.

This proposal whitelists Synthetix V3 on any chain it’s deployed, as well as adding any assets for perps trading that may be added in the future by Synthetix on these chains.

Implementation

Contract guards will be designed to whitelist leverage trading with Synthetix V3 contracts.

Due to withdrawals being asynchronous, depending on keeper execution unwinding positions, withdrawal liquidity must be made available to allow depositors to withdraw. Due to this limitation, Flat Money leverage integration will be made available to managers on a case by case basis, requiring whitelisting.

Vote

Vote pending