KlimaDAO / klimadao

Monorepo for the official KlimaDAO site, dApp, components and design system.
https://klimadao.finance
MIT License
91 stars 71 forks source link

[FE & API] Move retirement data fetch to `carbonmark-api/` #2055

Open psparacino opened 7 months ago

psparacino commented 7 months ago

Currently the retirement data for /retirements and /retirements[id] is fetched in carbonmark directly from the polygon-digital-carbon subgraph.

These queries should be moved to the api in the upcoming retirements route so that there are no direct subgraph queries in carbonmark and all retirement data is fetched from the api.

biwano commented 7 months ago

For info I have retirement routes coming in with this feature: https://github.com/KlimaDAO/klimadao/pull/2006