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

Add fixedpointmath.one_18 #20

Open
dpaiton opened this issue Jul 17, 2023 · 0 comments
Open

Add fixedpointmath.one_18 #20

dpaiton opened this issue Jul 17, 2023 · 0 comments

Comments

@dpaiton
Copy link
Member

dpaiton commented Jul 17, 2023

To match solidity, we should add a ONE_18 attribute to the fixedpointmath class:

Where it should go: https://github.com/delvtech/agent_0/blob/main/lib/fixedpointmath/fixedpointmath/fixed_point_math.py

solidity version: https://github.com/delvtech/hyperdrive/blob/bfc12304a92cb7e1b4a68c5fa9a7223c9b325ca6/contracts/src/libraries/FixedPointMath.sol#L15

@dpaiton dpaiton changed the title Add fixedpointmath.One_18 Add fixedpointmath.one_18 Mar 11, 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