Skip to content
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 accounting of payback burn and swap to DFI if payback token is different than native loan token or DFI. #1159

Merged
merged 2 commits into from
Mar 28, 2022

Conversation

Mixa84
Copy link
Contributor

@Mixa84 Mixa84 commented Mar 28, 2022

What kind of PR is this?:

/kind fix

What this PR does / why we need it:

Add accounting of PaybackLoanV2 in getburninfo.

When doing payback of loan, if payback token is not native loan token or DFI, then swap it to DFI over DUSD.

@Mixa84 Mixa84 added protocol Has network protocol changes kind/fix labels Mar 28, 2022
@Mixa84 Mixa84 requested a review from a team March 28, 2022 13:42
@Mixa84 Mixa84 self-assigned this Mar 28, 2022
@Mixa84 Mixa84 changed the title Fix accounting of payback burn and swap to DFI if payback token is different than native or DFI. Fix accounting of payback burn and swap to DFI if payback token is different than native loan token or DFI. Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
protocol Has network protocol changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants