Logo

-

Use Frontier Reserves to Pay Down Bad Debt

Executed
#159 - mills ERA

Created Nov 24th, 2023 - Executed Nov 30th, 2023

Details

avatar

HarryGasWallet

Proposal to Utilize Frontier Reserves to Pay Down Bad Debt

Forum Post: https://forum.inverse.finance/t/use-frontier-reserves-to-pay-down-bad-debt/340

Summary

Utilize the Frontier reserves to reduce the bad debt on the account from the Inverse Finance Frontier price manipulation incident of April 2nd 2022, 0xeA0c959BBb7476DDD6cD4204bDee82b790AA1562.

Background

Frontier, Inverse Finance’s now-deprecated variable-rate lending market, accumulated reserves by taking a 20% fee on the interest paid by borrowers back when it was active. These reserves were/are in the form of DOLA, ETH, WBTC, YFI and xSUSHI. Shortly after the April 2nd 2022 exploit, the interest rate on ETH, WBTC and YFI was set to 0% to stop borrow (and supply) balances from accumulating further, so no further reserves accrued in these assets. Given the vast majority of current DOLA borrows on Frontier are bad debt, in April 2023 the reserve ratio set to 100% in order to direct 100% of borrowers interest to the reserves, this was to stop bad debt from artificially inflating on-chain fed revenue.

The current reserves in Frontier are the following:

AssetAmountUSD
DOLA225,908~$225.9k
ETH9.763~$20.0k
WBTC0.732~$27.1k
YFI0.433~$3.7k
xSUSHI313.15~$498
TOTN/A$277.2k

Execution

Given there is no liquidity available in the ETH/WBTC/YFI markets to withdraw, this proposal will need to first add liquidity (via bad debt repayment) in order to pull the reserves.

  1. Treasury pays down 9.763 ETH, 0.732 WBTC and 0.433 YFI of bad debt, bringing this liquidity into the markets
  2. Reserves of 9.763 ETH, 0.732 WBTC, 0.433 YFI, 228k DOLA and 313.10 xSUSHI pulled out of the markets into the Treasury
  3. Use 229k DOLA to repay bad debt
  4. The xSUSHI is sent to the TWG in order to be swapped to DOLA and used to repay DOLA bad debt.

Note: More DOLA reserves are pulled down than there are at the current time of writing as DOLA reserves are continuously growing (accruing interest). By the time this proposal is executed, there will be more than 228k available.

Results

This proposal will result in ~$280k of both DOLA and non-DOLA bad debt being repaid in total. The net impact on the DAO Treasury will be 0.

Please use the Bad Debt Dashboard to track and keep up-to-date with bad debt.

On-Chain Actions

  • Unwrap 9.763 WETH to ETH
  • repayBorrowBehalf the borrow balance of 0xeA0c959BBb7476DDD6cD4204bDee82b790AA1562 by 9.763 ETH, 0.732 WBTC and 0.433 YFI
  • Reduce reserves on anETH market by 9.763
  • Reduce reserves on anWBTC market by 0.732
  • Reduce reserves on anYFI market by 0.433
  • Reduce reserves on anXSUSHI by 313.10
  • Reduce reserves on anDOLA by 228,000
  • repayBorrowBehalf the DOLA borrow balance of 0xeA0c959BBb7476DDD6cD4204bDee82b790AA1562 by 228k
  • Send 313.10 xSUSHI to the TWG
  • Wrap 9.763 ETH to WETH

Actions

Action 1
«
Set anWBTC-v1's

WBTC

Allowance to

0.73213102

»
WBTC
.approve(
anWBTC-v1,

73213102

)

Action 2
«
Set anYFI-v1's

YFI

Allowance to

0.4335554098826543

»
YFI
.approve(
anYFI-v1,

433555409882654258

)

Action 3
WETH
.withdraw(

9763383657743356757

)

Action 4
anETH-v1
.repayBorrowBehalf(

)

Value to send alongside the call: 9.763383657743356757 Eth

Action 5
anYFI-v1
.repayBorrowBehalf(
0xeA0c...1562,

433555409882654258

)

Action 6
anWBTC-v1
.repayBorrowBehalf(

)

Action 7
«
Reduce ETH-v1's Frontier Market Reserves by

9.763383657743356

»
anETH-v1
._reduceReserves(

9763383657743356757

)

Action 8
«
Reduce YFI-v1's Frontier Market Reserves by

0.4335554098826543

»
anYFI-v1
._reduceReserves(

433555409882654258

)

Action 9
«
Reduce WBTC-v1's Frontier Market Reserves by

0.73213102

»
anWBTC-v1
._reduceReserves(

73213102

)

Action 10
«
Reduce xSUSHI's Frontier Market Reserves by

313.1552751148278

»
anxSUSHI
._reduceReserves(

313155275114827796743

)

Action 11
«
Reduce DOLA's Frontier Market Reserves by

228,000

»
anDOLA
._reduceReserves(

228000000000000000000000

)

Action 12
«
Set anDOLA's

DOLA

Allowance to

228,000

»
DOLA
.approve(
anDOLA,

228000000000000000000000

)

Action 13
anDOLA
.repayBorrowBehalf(
0xeA0c...1562,

228000000000000000000000

)

Action 14
«
Transfer

313.1552751148278

xSUSHI

to Treasury Working Group
»
xSUSHI
.transfer(
Treasury Working Group,

313155275114827796743

)

Action 15
WETH
.deposit()

Value to send alongside the call: 9.763383657743356757 Eth

Proof of Reviews

Members allowed to make Drafts can sign the fact that they reviewed the Draft Proposal

Loading...

For Votes

4 voters

19.36k votes

avatar

CryptoHarry

11.72k

avatar

Mason

4.29k

avatar

0x0447...782f

3.27k

avatar

0x5e27...84c9

74.73

Against Votes

0 voters

0.00 votes

Subscribe to Our Newsletter

Join thousands of subscribers in receiving weekly updates about Inverse products, partnerships, and early-bird news shared only with subscribers!

Products

sDOLADOLADBRINVFiRM

Social