mento-protocol / reserve-site

Mento Reserve Website
https://reserve.mento.org
1 stars 4 forks source link

Feature/add uni v3 pool logic #34

Closed philbow61 closed 1 year ago

philbow61 commented 1 year ago

Description

This change updates the site to include the amounts that an address owns in Uni v3 pools. Since the pools haven't been created yet there are commented lines in holdings.ts that include the logic to actually add the token Amounts.

The uniV3Calculator class takes an address as input and returns an map that contains all assets and the amounts that this address holds in uniV3Pools. The uniV3Provider class does all the on chain calls to calculate those amounts.

Other changes

Tested

Related issues

Backwards compatibility

N/A

Documentation

N/A

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
reserve-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 5, 2023 8:30am