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 Add/Remove Liquidity #91

Merged
merged 244 commits into from
Nov 14, 2023
Merged

Add Add/Remove Liquidity #91

merged 244 commits into from
Nov 14, 2023

Conversation

brunoguerios
Copy link
Member

@brunoguerios brunoguerios commented Aug 29, 2023

  • Add add/remove liquidity support (non-nested pools)
  • Uses balancerHelpers to query amounts in/out rather than relying on specific pool math and associated data
  • Tests against local Anvil (also CI update)
    • Weighted Pool
    • CS Pool
    • Gyro Pool
  • API Provider added
  • Example added for add/remove liquidity

@brunoguerios brunoguerios self-assigned this Aug 29, 2023
src/entities/join.ts Outdated Show resolved Hide resolved
src/entities/join.ts Outdated Show resolved Hide resolved
brunoguerios and others added 24 commits November 10, 2023 14:34
# Conflicts:
#	src/entities/join/types.ts
#	test/lib/utils/exitHelper.ts
#	test/lib/utils/joinHelper.ts
# Conflicts:
#	src/entities/addLiquidity/utils/validateInputs.ts
#	src/entities/exit/poolExit.ts
#	src/entities/join/poolJoin.ts
#	src/entities/removeLiquidity/utils/validateInputs.ts
Refactor Join/Exit Interface to Add/Remove Liquidity
@brunoguerios brunoguerios changed the title Add Join/Exit Pool Add Add/Remove Liquidity Nov 14, 2023
# Conflicts:
#	test/gyro2Math.test.ts
#	test/gyro3Pool.test.ts
#	test/gyroEMath.test.ts
#	test/gyroEPool.test.ts
#	test/sor.test.ts
#	tsconfig.json
#	vitest.config.ts
@brunoguerios brunoguerios merged commit 2823949 into main Nov 14, 2023
3 of 4 checks passed
@brunoguerios brunoguerios deleted the join branch November 14, 2023 18:03
@brunoguerios brunoguerios restored the join branch November 14, 2023 18:11
@brunoguerios brunoguerios deleted the join branch November 14, 2023 18:21
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.

6 participants