M3tering
AppExplorerWebsite
  • What is the M3tering protocol
  • Protocol Mechanics
    • The Provider side
    • The Offtaker side
    • Token Rewards & Network Effects
    • In Summary
  • Token Economics
    • M3ter NFTs
    • Mint & Distribution
    • Burn & Exit fee
  • Smart Contracts
    • Core Contracts
    • Claim Logic Modules (CLMs)
      • CLM-0
      • CLM-1
      • CLM-2
      • CLM-3
    • Audits
      • Secure3 Audit Contest
  • Protocol specs
    • Overview
    • Meter Payload
    • Contract State
  • AI art by @EarthbasedSoul 💚
  • Farcaster Channel (Warpcast)
  • Discord community server
  • Community Twitter
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Smart Contracts
  2. Claim Logic Modules (CLMs)

CLM-1

Claim Logic Module for minting SLX

PreviousCLM-0NextCLM-2

Last updated 1 year ago

Was this helpful?

This contract provides a simple and secure way for users to convert their xDai revenues on the M3tering protocol to Solaxy tokens.

How it works:

  • Users calls the claim function to send xDAI, along with abi encoded calldata to the contract

  • The contract wraps xDai received from the user using the WXDAI contract.

  • Wrapped xDai is then deposited into the savings-DAI vault (an interest-bearing vault by MakerDAO) for the equivalent in sDAI.

  • Finally, the sDAI is used as collateral to issue new SLX tokens on the Solaxy bonding curve.

Developer:

https://github.com/iChristwin
GitHub - M3tering/CLM-1GitHub
Logo