-
Notifications
You must be signed in to change notification settings - Fork 2
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
fix: blocktower write off logic #39
Conversation
77d081c
to
b5d3bc2
Compare
b5d3bc2
to
629aa5c
Compare
🚀 Deployed on https://pr-39--goerli-dev-tinlake.netlify.app |
🚀 Deployed on https://pr-39--dev-tinlake.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jpangelle to summarize the changes
- Double check the amounts for total financed and total repaid
- Add additional line
Total write-off
value belowTotal repaid
in the UI - Write off logic should be
(Total financed + interest) - Total repaid = Total write-off amount
- this should apply to all detail pages of assets that have write-offs
Now the percent write off works and it shows repaid which is good. What is missing is we can not see the value written off. It should be approx 130k. And the amount repaid seems off. In the past when an asset has an amount written off it shows it in the outstanding section. In order for this to correct it should be listed in the outstanding or be given its own data row in risk section where it shows write off value. Given we don't intend to make real changes tinlake the first option is fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Description
This pull request fixes issues with Blocktower pool write off logic.
Approvals
Screenshots
Impact
Asset list and asset page