unlock icon indicating copy to clipboard operation
unlock copied to clipboard

Use Uniswap v3 oracles

Open julien51 opened this issue 4 years ago • 2 comments

We currently rely on v2 pools to extract Oracle data about the price of tokens when computing the GDP. We also use that same v2 pool oracle when looking at the price of UDT when determining how many tokens need to be granted to the referrer.

Uniswap now has v3, that we could use directly.

This is not a high priority.

julien51 avatar Nov 04 '21 18:11 julien51

This will be part of a larger change in Unlock that we hope to ship by year end 2022.

julien51 avatar Jul 25 '22 09:07 julien51

Hello @julien51! I am an intermediate solidity developer who has just got into the field. I really like what you guys are working on and I should probably give this issue a try. I believe I can work on a PR over time that fixes this ticket/issue (based on my understanding so far) Do let me know if you want me to work on this!

hrik2001 avatar Aug 04 '22 21:08 hrik2001

Closed in favor of #9554

clemsos avatar Sep 15 '22 11:09 clemsos