FlashBurn — Flash Loan Tool for SNX Stakers

Intro

The grantsDAO presents FlashBurn, a tool that allows SNX stakers to burn debt by selling staked SNX. This tool utilizes an sUSD Flash Loan dApp to allow users to fix their c-ratio (or unstake completely) by selling staked SNX.

Why

Stakers who are low on liquidity or unable to acquire sUSD easily for tax reasons may desire to sell some of their SNX in order to pay off their remaining debt. Stakers in danger of liquidation may use this tool to fix their c-ratio without the liquidation penalty and potentially with less market impact.

This tool is a benefit to the health of the Synthetix Protocol. It allows stakers in trouble to fix their c-ratio or exit instead of putting the system at risk.

How

Here’s the basics of how the smart contract works:

  1. Takes sUSD flashloan from Aave
  2. Burns sUSD debt
  3. Sells SNX for sUSD on 1inch
  4. Mints max sUSD
  5. Repays Flash Loan
  6. Migrate to L2 here

Where

Technical

  • The smart contract has been audited by IOSIRO. The Reports will be shared shortly.
  • The Flash Loan fee is 0.09%

Tutorial

  • Navigate to https://flashburn.gcubed.io/
  • Connect wallet (MetaMask & WalletConnect supported)
  • Set slippage settings with the gear icon
  • Enter sUSD amount to burn
  • Approve Burn & Approve SNX
  • Burn 🔥

Note: The smart contract cannot sell Escrowed SNX.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store