# AdLicenseValidator

> *Address:* [*0xEB850524cb04806673A04F01BA4068740876af3C*](https://polygonscan.com/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`](https://docs.dimo.org/protocol/identity-protocol/nodes-and-nfts/deviceid) contract. The actions listed below are carried out by the function `_validateMintRequest` during minting:

1. Verifies if the minter has a valid [`License`](https://docs.dimo.org/protocol/identity-protocol/nodes-and-nfts/license)
2. Calculates the amount of `DIMO tokens` needed to mint all devices requested
3. Transfers the calculated amount to the [Foundation](https://polygonscan.com/address/0xced3c922200559128930180d3f0bffd4d9f4f123)
