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

Implement full-basket/multiple asset deposit/withdrawal (LP)? #17

Open
AngelaKTE opened this issue Jan 14, 2021 · 3 comments
Open

Implement full-basket/multiple asset deposit/withdrawal (LP)? #17

AngelaKTE opened this issue Jan 14, 2021 · 3 comments
Assignees
Labels
model logic (concept) all issues related to model logic, how we'll translate a mechanism to our model

Comments

@AngelaKTE
Copy link
Contributor

  • required for phase 1?
  • realistic case, or how to make it a more realistic modeling case (to not just play around...)
@AngelaKTE AngelaKTE added the model logic (concept) all issues related to model logic, how we'll translate a mechanism to our model label Jan 14, 2021
@AngelaKTE AngelaKTE self-assigned this Jan 14, 2021
@VasilySumanov
Copy link
Collaborator

VasilySumanov commented Jan 16, 2021

Required for phase 1. We need this for a basic understanding of LP gains/losses as a result of the join/exit pool operations.
Cases:
1. Join pool slippage For any given N tokens of K type calculate slippage for every T time point. Plot the chart slippage vs time of pool operation or vs TVL. It will allow understanding profit/losses of joining the pool with a given amount of tokens/token type over (time or TVL).
2 Exit pool slippage For any given N of LP tokens exiting to the token of K type calculate slippage for every T time point. Plot the chart slippage vs time of pool operation or vs TVL. It will allow understanding profit/losses of exiting the pool with a given amount of tokens/token type over time/TVL.

@AngelaKTE
Copy link
Contributor Author

Join pool slippage relevant for C2 (analyse LP value when add)
Exit pool slippage relevant for C3 (analyse LP value when withdraw)


For C1 - analyse LP value over time,
use
a) % of TVL
b) all-asset withdrawal (incl fees etc.)?

@VasilySumanov
Copy link
Collaborator

For C1 it was addressed in #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
model logic (concept) all issues related to model logic, how we'll translate a mechanism to our model
Projects
None yet
Development

No branches or pull requests

2 participants