Lending Swap

Swap supplied stablecoins between protocols

Step 1

Installationarrow-up-right or just use your browser console.

Step 2

Setup Accountarrow-up-right

Step 3

Trigger the following uniquely designed spells to fulfill this use case. Check this sectionarrow-up-right for generic details around casting spells.

The DSA will cast the spells across the Compoundarrow-up-right and OasisDEXarrow-up-right connectors in the specified sequence.

DAI Lending -> USDC Lending

Benefits

  • When DAI > $1. Arbitrage benefit due to price difference of DAI & USDC.

  • Help make DAI stable.

Recipe

  1. Instapool: borrow DAI

  2. OasisDEX: Swap DAI for USDC

  3. Compound: deposit USDC

  4. Compound: withdraw DAI

  5. Instapool: return DAI

Requirements

  • User must have some DAI deposited.

USDC Lending -> DAI Lending

Benefits

  • When DAI < $1. Arbitrage benefit due to price difference of DAI & USDC.

  • Help make DAI stable.

Recipe

  1. Instapool: borrow USDC

  2. OasisDEX: Swap USDC for DAI

  3. Compound: deposit DAI

  4. Compound: withdraw USDC

  5. Instapool: return USDC

Requirements

  • User must have some USDC deposited.

Copy

Last updated