Debt Refinancing

Overview

Switch your lending provider to take advantage of favourable borrow rates in a single transaction. This strategy assumes you have an existing borrow position.

By utilizing a flash loan, you can easily refinance your borrow position without having to source the required capital to repay your initial loan. Depending on the flash loan token available, you might need to add additional swap blocks to account in differences between tokens that are flash loaned, repaid, and borrowed. Your tokens are immediately swapped at the best available rates ensuring minimal slippage when switching lending providers.

Strategy Building Blocks

The building block order mirrors the Factor Studio UI and can be expanded for further strategy details and parameters.

Flash Loan
  • Flash loan the debt token to be repaid in full.

  • If there is no flash loan market for your debt token, you will need to add a Swap Building Block and flash loan the value of your debt to be swapped.

Repay
  • Repay the full amount of debt owed.

Withdraw
  • Withdraw all of your collateral token from the lending pool.

Lend
  • Lend all of the withdrawn tokens to the target lending market.

  • The tokens which you can borrow will be determined by the underlying lending market.

Borrow
  • Select the new debt token.

  • Input a borrow amount which deducts the accrued interest from previous position and includes an additional buffer for any price fluctuations.

  • If your flash loan token differs from the new debt token, add an additional Swap Building Block to exchange borrowed tokens for flash loan tokens.

Last updated