KlimaDAO
  • Welcome to KlimaDAO
  • What is KlimaDAO?
  • Why KlimaDAO Exists
  • 🌍Ecosystem
    • Digital Carbon
    • Carbon Pools
    • The Role of KlimaDAO
  • ⚙️Economics
    • Overview
    • Operational Mechanics
      • Intrinsic Value
      • Protocol Owned Liquidity (POL)
      • Fungible Carbon Credits
    • Dynamics
      • Supply Expansion
      • Supply Contraction
      • Green Ratio
    • Purpose
      • Means of Exchange
      • Store of Value
      • Unit of Account
  • 🛠️Developers
    • Overview
    • Retirement Aggregator
    • Automation
    • Bug Bounty
    • Contracts
      • DAO Wallet
      • Policy
      • Retirement
        • V2 - Diamond
          • Generalized Retirement
          • Bridge-Specific Tooling
      • Staking
      • Tokens
      • Treasury
    • Data Sources
    • Deployment Addresses
    • Guides
      • Stake KLIMA
      • Wrap sKLIMA
      • Retire Carbon
      • Retirement Aggregator V1 Contract Guide
      • Retirement UI Integration Guide
    • Integration Examples
    • Testing
  • 🔄Auto Compounder
    • Auto Compounder App Guide
    • Auto Compounder FAQ
  • 🏛️DAO
    • Governance Framework
    • Organizational Structure
  • 📚References
    • FAQ
    • History
    • Glossary
    • Links
    • Translations
    • FAQ Carbon Markets
    • About Verified Carbon Credits
    • Estimating Carbon Emissions
  • 🙋‍♀️Get Involved
    • Community Discord
    • Governance Forum
    • Contact Us
Powered by GitBook
On this page
  • Carbon.fyi Retirement Link
  • SushiSwap Green Fee
  • Lens Protocol BCT Retirement CollectModule
  • Rings of Retirement
  • Climate-Positive NFTs: CO2_Compound
  • Carbon Retirement Bin

Was this helpful?

Export as PDF
  1. Developers

Integration Examples

Reference implementations demonstrating integration of KLIMA, tokenized carbon, or tools developed by KlimaDAO contributors.

PreviousRetirement UI Integration GuideNextTesting

Last updated 7 months ago

Was this helpful?

Carbon.fyi Retirement Link

Current state: live in production

Developed by Offsetra, brought user-friendly carbon emissions calculation to the Ethereum L1 blockchain, but originally the only way to source credits to compensate for your emissions was through an off-chain retailer.

Now, with the emergence of the tokenized carbon ecosystem, the end page of the calculation process offers users the ability to go directly to the KlimaDAO retirement aggregator, with their retirement details prefilled via .

SushiSwap Green Fee

Current state: deprecated

Since launch, KlimaDAO's primary DEX has been SushiSwap on Polygon. Given their public governance process, they made an obvious first partner to integrate tokenized carbon credits into the functioning of a DeFi protocol.

In June of 2022, proposing a first-of-its-kind "Green Fee" integration, where each time a user swaps, a small additional fee is added that gets swapped for carbon credits and retired on behalf of the user.

This feature has been implemented in partnership between the KlimaDAO and Sushi teams. You can follow along with the open-source code being written by KlimaDAO contributors in our . See for more information about how to use the SushiSwap Green Fee.

Lens Protocol BCT Retirement CollectModule

Current state: feature implemented, awaiting deployment by Lens Protocol team

As part of a bounty for Lens Protocol, KlimaDAO contributors built a that allows content publishers to choose to allocate any fees generated by other users toward retiring tokenized carbon credits.

While the initial implementation retires credits from the BCT pool, the implementation utilizes KlimaDAO'sRetirement Aggregator V1 Contract Guide so it will be straightforward to create additional modules that retire other tokenized carbon credits, such as or . Future work on this module would extend it to allow selectively retiring a particular project from the pool dynamically (i.e. configured by the publisher using the module) - assuming the underlying Lens data model allows such dynamic configuration of modules.

Rings of Retirement

Current state: live on mainnet; detailed documentation and refreshed artwork pending

Each Ring can be claimed from the current holder by any address that has retired more of the corresponding carbon credit token for that Ring than the current holder. This simple gamified element encourages users to retire carbon credits, with an increasing amount of retirements required each round to participate in the game. This regenerative mechanism contracts with the fixed (or even diminishing) amount of retirements from e.g. a corporation's net-zero pledge.

The Rings provide a concrete example of on-chain carbon game mechanics, that other builders can expand and build upon to incentivize carbon credit retirement or other regenerative activity in their creations.

Climate-Positive NFTs: CO2_Compound

Current state: live on Polygon mainnet

Since sKLIMA accumulates a greater number of tokens over time through rebases, and since the KlimaDAO treasury will defend the intrinsic value backing each KLIMA token, as long as the KlimaDAO treasury continues to grow then the NFT supports the accrual of more and more carbon credits into the treasury, amplifying the climate-positive impact of the initial amount of KLIMA deposited into the contract.

Carbon Retirement Bin

Launched at the request of BasinDAO, this contract acts as a "burn address" of sorts for carbon. The contract's sole function is to retire the carbon tokens it holds via the KlimaDAO Retirement Aggregator with the beneficiary set to a popular burn address as well as the beneficiary name and msg "0". This popular burn address was chosen over 0x0 because the safeTransfer used to send some forms of retirement certificate NFTs will cause an error.

An experiment in minimalistic worldbuilding, the are a set of NFTs, with one Ring per carbon credit token supported by the KlimaDAO retirement aggregator.

As part of the program, KlimaDAO supports a .

One in particular is exceedingly elegant and demonstrates the utility of the KLIMA token: . This piece embedded a certain amount of sKLIMA into the NFT contract itself upon deployment, but the contract has no withdrawal function, so the tokens are effectively locked inside the NFT.

Current state:

🛠️
Rings of Retirement
SVN's CO2_Compound
live on Polygon mainnet
carbon.fyi
KlimaDAO approached the SushiSwap community via their public governance forums
contracts repo on GitHub
this article
CollectModule
collecting their publications
Pull request implementing the BCTRetireCollectModule
variety of climate-positive NFT strategies
Klima Infinity
MCO2
NBO
query parameters