-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getter for repayment amount #78
Comments
I guess a better solution would be to have a clear getter for this value. That way we don't have to provide |
Two things:
|
The number seems to be correct, i.e. it includes the interest amount when paying back the loan.
Imho the calculation is already happening on our side but once sent to Bobtimus it disappears. |
When displaying the loan details in the UI we want to show how much the user has to pay when repaying the loan.
At the moment we can only access the collateral amount but not the repayment amount.
I guess the function
repayment_amount
onCollateralContrtact
just needs to be public for that.baru/src/loan.rs
Lines 418 to 427 in 87b7677
This functionality is needed in :
comit-network/waves#242
The text was updated successfully, but these errors were encountered: