This the screen users use to borrow from the pool. It is designed to be a tab inside a dialog. Should be capable of below functionalities;
Entering Collateral Input
[x] Users should be able to enter collateral in terms of both protocolToken and the underlyingToken corresponding to that protocolToken
[x] Once a user types in protocolToken or underlyingToken against that protocolToken as collateral the other one should be updated accordingly and automatically.
[x] Max Debt Value should be displayed once the collateral is entered.
Entering Debt
[x] To - Debt Purse should come as selected and user should not be able to change it.
[x] Requested Debt Value should be displayed once the Debt Amount is entered.
Parameters
[x] These parameters should be displayed: Exchange Rate, Debt Price, Collateral Price.
[ ] Prices and exchange rate should be reactive to the changes.
This the screen users use to borrow from the pool. It is designed to be a tab inside a dialog. Should be capable of below functionalities;
protocolToken
and theunderlyingToken
corresponding to thatprotocolToken
protocolToken
orunderlyingToken
against thatprotocolToken
as collateral the other one should be updated accordingly and automatically.Max Debt Value
should be displayed once the collateral is entered.To - Debt Purse
should come as selected and user should not be able to change it.Requested Debt Value
should be displayed once theDebt Amount
is entered.Exchange Rate
,Debt Price
,Collateral Price
.