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

Decide what to do when agent adds liquidity to a OUTCOME_TOKEN/sDAI pool #614

Open
gabrielfior opened this issue Feb 13, 2025 · 0 comments
Labels

Comments

@gabrielfior
Copy link
Contributor

Consider the scenario where the trader agent mints outcome tokens (depositing sDAI) and provides all its outcome tokens as liquidity to a pool.
After providing liquidity, it gets LP tokens back, which provide entitlement to a set of outcome tokens + sDAI.

The method seer.get_position should be expanded, so that it checks for this LP token balance as part of its logic.

This edge case does not initially affects the trader agents (which should just buy/sell tokens), but still deserves consideration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant