Debt Swap
Swap debt between DAI and USDC on Compound
Step 1
Installation or just use your browser console.
Step 2
Step 3
Trigger the following uniquely designed spells to fulfill this use case. Check this section for generic details around casting spells.
The DSA will cast the spells across the Compound, OasisDEX and Instapool connectors in the specified sequence.
USDC Debt -> DAI Debt
Benefits
When DAI > $1. Arbitrage benefit due to price difference of DAI & USDC.
Help make DAI stable.
Recipe
Instapool: borrow DAI
OasisDEX: Swap DAI for USDC
Compound: Payback USDC
Compound: Borrow DAI
Instapool: return DAI
Requirements
User must have a some debt in USDC.
DAI Debt -> USDC Debt
Benefits
When DAI < $1. Arbitrage benefit due to price difference of DAI & USDC.
Help make DAI stable.
Recipe
Instapool: borrow USDC
OasisDEX: Swap USDC for DAI
Compound: Payback DAI
Compound: Borrow USDC
Instapool: return USDC
Requirements
User must have a some debt in DAI.
Last updated