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: func styling for maxBaseIn and maxFYTokenOut #8

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

marcomariscal
Copy link
Contributor

@marcomariscal marcomariscal commented Aug 31, 2022

fix to match the max func styling used in the smart contracts and desmos here (maxSharesIn) and here (maxFYTokenOut).

couldn't figure out how to get the tests working from within the math package, so will wait to make sure the outputs match still after testing.

@marcomariscal marcomariscal linked an issue Aug 31, 2022 that may be closed by this pull request
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.

update max funcs to use new style (math package)
1 participant