Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

feat(debt): Add support for debt in drillRawBalance #1525

Merged
merged 1 commit into from
Oct 12, 2022

Conversation

Emile-Filteau
Copy link
Contributor

Description

Follow up to #1515, it seems like the contract position template already supported debt, but i forgot to add the isDebt flag in the drillBalance call of the new drillRawBalance method. This has for effect of having position balanceUSD values when a token has a borrowed meta type.

Checklist

  • I have followed the Contributing Guidelines
  • (optional) As a contributor, my Ethereum address/ENS is:
  • (optional) As a contributor, my Twitter handle is:

How to test?

@Emile-Filteau Emile-Filteau merged commit 20c72f7 into main Oct 12, 2022
@Emile-Filteau Emile-Filteau deleted the support_contract_position_debt branch October 12, 2022 19:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant