Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CCO2 retirement handling to polygon-digital-carbon subgraph #173

Open
0xAurelius opened this issue Jul 23, 2024 · 0 comments
Open

Add CCO2 retirement handling to polygon-digital-carbon subgraph #173

0xAurelius opened this issue Jul 23, 2024 · 0 comments

Comments

@0xAurelius
Copy link
Collaborator

0xAurelius commented Jul 23, 2024

Should be similar to the way Moss/MCO2 retirements are handled, but instead of bridging back to ETH L1, the retirement is made directly on Polygon by calling a function on the CCO2

In particular there is a burn function on the CCO2 token, which emits a burnedCO2Token(amountForUser) event which we can use to track the total amount of CCO2 retired

CCO2 implementation contract: https://polygonscan.com/address/0x42b107333dfc1e59d37f625a675a1b23d79ece0a#code
Proxy with actual tokens: https://polygonscan.com/address/0x82b37070e43c1ba0ea9e2283285b674ef7f1d4e2#writeContract

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant