keep-network / tbtc-dapp

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

Minting Capacity needs to be reserved at the beggining for all steps (TDT creation -->tBTC conversion) #309

Closed ramaruro closed 4 years ago

ramaruro commented 4 years ago

The specific issue of the process stopping at step 4 is reported here: https://github.com/keep-network/tbtc-dapp/issues/305 An example of a transaction stuck at Step 4 (creation of TDT) is this one: https://dapp.test.tbtc.network/deposit/0x35EBcF3D2990c97694F4b62160Bce3571Ed0f2DA/prove

So now you are stuck with TDT tokens. Supposedly you can convert them to tBTC later. There should be an "agent" that reserves the capacity to mint until the end from the beginning, which involves:

Total capacity for minting should be defined by total available Collateral available, not a hardcoded value as it seems right now. image

Shadowfiend commented 4 years ago

Minting capacity is hardcoded intentionally, as a way to reduce risk in the early days of the system. It ramps up in predetermined phases, and is specifically about minting capacity rather than deposit capacity. Read more in our blog post regarding the graduated supply cap.

Closing this issue, as everything here is behaving as expected and will not be changing. We do understand the need for folks to get a feel for where current system capacity is during the process, as well as current bond capacity; we're tracking that via #260.