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

Pass decimals to IM #295

Open
hieronx opened this issue Apr 30, 2024 · 0 comments
Open

Pass decimals to IM #295

hieronx opened this issue Apr 30, 2024 · 0 comments
Assignees

Comments

@hieronx
Copy link
Contributor

hieronx commented Apr 30, 2024

          I'm wondering whether we should also store `assetDecimals`, and then always pass `assetDecimals` + `shareDecimals` on every call to `InvestmentManager`. This would save a lot of storage lookups since almost all methods in `InvestmentManager` need to know these decimals.

TBD, let me know what you think!

Originally posted by @hieronx in #275 (comment)

@hieronx hieronx self-assigned this Apr 30, 2024
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

No branches or pull requests

1 participant