Lending Swap

Swap supplied stablecoins between protocols

Step 1

Installation or just use your browser console.

Step 2

Setup Account

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 and OasisDEX 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