Closed psparacino closed 4 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
carbon | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 19, 2024 3:57pm |
carbonmark | ✅ Ready (Inspect) | Visit Preview | Feb 19, 2024 3:57pm | |
carbonmark-api | ✅ Ready (Inspect) | Visit Preview | Feb 19, 2024 3:57pm | |
demo-integration | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 19, 2024 3:57pm |
klimadao-app | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 19, 2024 3:57pm |
Converted to draft; further changes needed on this
Description
The original values for retire from listing were passing parsed values for ICR quantities which led to the contract rejecting the quantities.
These values have been adjusted for ICR credits.
To avoid this in the future we need to create a util function for the FE similar to this PR: https://github.com/KlimaDAO/klimadao/pull/2189
TokenId also added to the struct
There's also a secondary issue, tracked here https://github.com/KlimaDAO/klimadao/issues/2280, where
KlimaInfinity
andRetirementAggregatorV2
are being used interchangeably with out of sync abis incarbonmark
.This caused some lost time for this PR and could definitely cause confusion in the future. We should pick one name, use updated abi under that name and remove change references to the other name throughout
carbonmark/
How to Test
Retire Now
from one of these listings: https://www.carbonmark.com/projects/ICR-112-2019