Comment on page


This contract contains information and serves as a tool for minting aftermarket devices. It contains the following details:
  • Foundation address
  • DIMO token address
  • License contract address
  • Aftermarket device mint cost
Additionally, it is in charge of approving minting requests made via the AftermarketDevice contract. The actions listed below are carried out by the function _validateMintRequest during minting:
  1. 1.
    Verifies if the minter has a valid License
  2. 2.
    Calculates the amount of DIMO tokens needed to mint all devices requested
  3. 3.
    Transfers the calculated amount to the Foundation