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

No way to read all staked positions of a user address, in univ3 staker contract #238

Open
kombos opened this issue Feb 18, 2023 · 1 comment

Comments

@kombos
Copy link

kombos commented Feb 18, 2023

what is the canonical way to read the list of all postion NFT token ids staked in univ3 staker contract ? without this data one cannot create a frontend to host an incentive program and this makes the incentive program itself infeasible.

if this requires setting up of subgraph then uniswap should provide a hosted service subgraph for this purpose, which is also missing.

please do help me out in clarifying this.

@zaryab2000
Copy link

It seems you might have to go to the Subgraph route -

There are a few things with the Uni-v3 staker contract that makes it not very suitable for building front-ends on top of it

Recommend reading this article which does have some workaround - https://holdex.io/c/learn/how-to-stake-tokens-with-uniswap-v3-staking-program

Might help you @kombos

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

No branches or pull requests

2 participants