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: ensure scaling for different reserveAsset token decimals #551

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

philbow61
Copy link
Contributor

Description

This PR adds scaling to the reserve balance read in mintUBIFromReserveBalance in Case the token has less than 18 decimals.

Other changes

Tested

  • added test verifying expected behavior for token with 6 decimals

Related issues

Backwards compatibility

Documentation

@baroooo baroooo merged commit e840fa3 into develop Nov 26, 2024
5 checks passed
@baroooo baroooo deleted the feat/add-token-precision-to-interest-calculation branch November 26, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants