feat: make pool_address optional, add swap/lp executor docs#16
Open
fengtality wants to merge 5 commits intomainfrom
Open
feat: make pool_address optional, add swap/lp executor docs#16fengtality wants to merge 5 commits intomainfrom
fengtality wants to merge 5 commits intomainfrom
Conversation
- get_positions_owned: pool_address is now optional (fetches all positions if not provided) - executors: added documentation for swap_executor and lp_executor types - executors: added example configs for DEX swaps and LP positions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This reverts commit 870c9ad.
- get_positions_owned: pool_address is now optional (fetches all positions if not provided) - executors: added documentation for swap_executor and lp_executor types - executors: added example configs for DEX swaps and LP positions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Adds client support for the /bot-orchestration/{bot_name}/lphistory endpoint
which returns LP-specific data including position updates, fees collected,
and liquidity additions/removals.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- swap_executor: add required network field to examples - lp_executor: add network and pool_address fields to examples Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pool_addressoptional in CLMM methodsget_bot_lp_history()method for LP position historyKey Changes
routers/executors.py: Add swap_executor and lp_executor examples and documentationrouters/gateway_clmm.py: Make pool_address optional where applicablerouters/bot_orchestration.py: Addget_bot_lp_history()for LP position historyRelated PRs
Test plan
get_bot_lp_history()returns LP position data🤖 Generated with Claude Code