Skip to content
Verified contractExactMIT

EMT

Address0xeb7a9ad524ca0bcad732e971339990d112c2002c
Balance

0 ETH

 

Transactions

1,026

 

Compiler

solc 0.8.30

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.30+commit.73712a01
Language
solidity
Optimization
Yes, 200 runs
EVM version
prague
License
MIT
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
25,725,711
Creation transaction
0x44ec0ba3fa…345c4412fc

107 files

The source code is large: one file is shown at a time. Choose a file in the list.

project/contracts/token/EMT.sol

// SPDX-License-Identifier: MIT
pragma solidity 0.8.30;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {ERC20Permit} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol";
import {ERC20Votes} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Votes.sol";
import {Nonces} from "@openzeppelin/contracts/utils/Nonces.sol";

/// @title EMT — EarthMeta token (Ethereum L1).
/// @author EarthMeta 2026.
/// @notice Immutable, fixed-supply ERC-20 that mirrors the original Polygon EMT
///         (2,100,000,000 supply, 18 decimals) and adds EIP-2612 permit (gasless
///         approvals) and ERC20Votes (so an on-chain Governor can be added later
///         WITHOUT redeploying the token). There is no owner, no minter, no pause,
///         and no upgrade path — the token is the trust anchor of the ecosystem.
/// @dev The entire supply is minted once, at construction, to `recipient`
///      (the migration distributor / treasury). No further tokens can ever exist.
contract EMT is ERC20, ERC20Permit, ERC20Votes {
    /// @notice The fixed total supply: 2.1 billion EMT with 18 decimals.
    uint256 public constant MAX_SUPPLY = 2_100_000_000 ether;

    /// @notice The initial-supply recipient was the zero address.
    error ZeroRecipient();

    /// @param recipient The address that receives the full initial supply
    ///        (the migration distributor or treasury multisig).
    constructor(address recipient) ERC20("EarthMeta", "EMT") ERC20Permit("EarthMeta") {
        if (recipient == address(0)) revert ZeroRecipient();
        _mint(recipient, MAX_SUPPLY);
    }

    // ─────────────────────────────────────────────────────────────────────────
    // Multiple-inheritance overrides (OpenZeppelin 5.x)
    // ─────────────────────────────────────────────────────────────────────────

    /// @inheritdoc ERC20
    function _update(address from, address to, uint256 value) internal override(ERC20, ERC20Votes) {
        super._update(from, to, value);
    }

    /// @inheritdoc Nonces
    function nonces(address owner) public view override(ERC20Permit, Nonces) returns (uint256) {
        return super.nonces(owner);
    }
}
Compiler settingsShow
{
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": true
  },
  "evmVersion": "prague",
  "remappings": [
    "npm/@openzeppelin/[email protected]/:@openzeppelin/contracts/=npm/@openzeppelin/[email protected]/",
    "project/:@openzeppelin/contracts-upgradeable/=npm/@openzeppelin/[email protected]/",
    "project/:@openzeppelin/contracts/=npm/@openzeppelin/[email protected]/"
  ]
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.