balancednetwork / balanced-network-interface

An open-source interface for the Balanced Network protocol (https://balanced.network)
https://app.balanced.network/
22 stars 21 forks source link

Re-add BTCB to the collateral dropdown for wallets that still hold a position #1318

Closed parrot9design closed 2 months ago

parrot9design commented 2 months ago

After the bnUSD limit for BTCB collateral was set to 0 in BIP 68, BTCB no longer appears in the collateral dropdown. If you already had an open BTCB position, this isn't a great spot to be in.

We should keep the BTCB collateral option there for those who've already deposited some, but set the Available value in the Loan section to 0 and make the button label say Repay, so it's very clear only one action is available.

I'm undecided if we should make any additional changes to the Collateral section to prevent people from depositing more BTCB. As it will only affect a handful of people, I don't think it's worth pouring a huge amount of time into, I just want to make sure people still have access to their funds.