AdLicenseValidator

Address: 0xEB850524cb04806673A04F01BA4068740876af3C

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. Verifies if the minter has a valid License

  2. Calculates the amount of DIMO tokens needed to mint all devices requested

  3. Transfers the calculated amount to the Foundation

Last updated