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

Uniswap V3 Position Value Estimation Functions #33

Open
6 tasks
utgarda opened this issue Oct 21, 2023 · 0 comments
Open
6 tasks

Uniswap V3 Position Value Estimation Functions #33

utgarda opened this issue Oct 21, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request Solidity Solidity code

Comments

@utgarda
Copy link
Member

utgarda commented Oct 21, 2023

Develop functions to estimate the value of Uniswap V3 positions, both individually and based on the owner:

  1. Position Value by ID:

    • Implement a function that accepts a UniswapV3 position ID and a currency address.
    • Return the total value of the position expressed in the provided currency.
  2. Latest Position Value by Owner:

    • Create a function that takes an owner's address and a currency address.
    • Return the value of the owner's latest position expressed in the given currency.
  3. Simplified Version:

    • For an easier initial implementation, positions evaluated should have the provided currency as one of the pair in the liquidity pool. Implement this restriction.
    • Ensure tests validate this constraint and accurate value estimation.
@utgarda utgarda added enhancement New feature or request Solidity Solidity code labels Oct 21, 2023
@utgarda utgarda moved this to In Progress in ETHOnline2023 ProfitPals Oct 21, 2023
@anastasiabusygina anastasiabusygina moved this from In Progress to Todo in ETHOnline2023 ProfitPals Dec 16, 2023
@anastasiabusygina anastasiabusygina moved this from Todo to Pause in ETHOnline2023 ProfitPals Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Solidity Solidity code
Projects
Development

No branches or pull requests

2 participants