keep-network / tbtc-dapp

Deposit BTC and redeem TBTC
http://dapp.test.tbtc.network/
MIT License
33 stars 31 forks source link

Check available Minting Capacity before starting the Process and advise if insufficient #260

Open ramaruro opened 4 years ago

ramaruro commented 4 years ago

I understand that the main measure of Minting Capacity is the Overall Available Collateral among all signers. This should be the Total Available ETH vs Total Bonded ETH (currently in Ropsten Available ETH is in Contract 0x35a29348640e8E65568d7DccFaf8F7A8146580E6, I'm not sure how to see the Bonded ETH)

Enhancement Request: Execute a query before starting the process to understand the available Collateral for bonding in the system and advise if there is not enough capacity (i.e so the process is not started).

Shadowfiend commented 4 years ago

There are actually three* possible issues here:

Agreed that both need clearer errors before a transaction is submitted.