KlimaDAO / klimadao-solidity

Solidity Contracts for KlimaDAO protocol

Home Page:https://solidity-nine.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update LibToucanCarbon for Puro Credits

cujowolf opened this issue · comments

Add support for Toucan bridged Puro credits

From KlimaDAO/klimadao#1858 (comment)

PuroToucanCarbonOffsets: https://polygonscan.com/address/0x17179596dd44167743f707F590E34C49caBe4E7D#code
PuroToucanCarbonOffsetsFactory: https://polygonscan.com/address/0xc83dc91b3cd45d65f981c0018b3eb1c43a468381#code

Key difference here is that instead of immediately issuing the retirement, there is a new method requestRetirement that can then either be finalized or reverted. May need some updates to the ERC721 receiver function if the retirement NFT is going to lag behind the on chain request.

Resolved with #62