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

Feat/add remove liquidity #269

Merged
merged 5 commits into from
Jan 4, 2024
Merged

Feat/add remove liquidity #269

merged 5 commits into from
Jan 4, 2024

Conversation

kinrezC
Copy link
Contributor

@kinrezC kinrezC commented Jan 4, 2024

No description provided.

@kinrezC kinrezC requested a review from Alexangelj January 4, 2024 16:26
@kinrezC kinrezC marked this pull request as ready for review January 4, 2024 16:27
Copy link
Contributor

@Alexangelj Alexangelj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

Comment on lines +135 to +136
function computeAllocationGivenX(
bool add,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eventually will need to move to rounding conventions used in portfolio for allocates/deallocates computations: https://github.com/primitivefinance/portfolio/blob/08fd1ced15373d8a871555487e9fb96d44c368ab/contracts/libraries/PoolLib.sol#L383

@kinrezC kinrezC merged commit 5d5bafa into main Jan 4, 2024
5 checks passed
@clemlak clemlak deleted the feat/add-remove-liquidity branch January 23, 2024 06:10
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