-
Notifications
You must be signed in to change notification settings - Fork 81
Internalize share to amount logic #64
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
Comments
I'm for this, having a library that handles shares will make our code more robust because we will be able to verify it independently of any other code |
I have an idea for a branchless way to do that |
I like @Rubilmax's solution except that it should also include rounding up or down. And we should be explicit in the code every time whether we round up or down. |
Regarding #83 (comment): Would you rather prefer relying on OZ's general-purpose solution (works for any asset, with |
Given that blue should work for every asset on earth we may prefer the OZ solution (even though we decided not doing this for ma3's vault). |
No description provided.
The text was updated successfully, but these errors were encountered: