Please someone help me to verify my smart contract or verify my smart contract?

i tired to verify this smart contract i spend almost 2 hours on it.but fail.

Please someone verify this smart contract

I use everything to verify faltten and but always i get some errors.

I'm really thankful.

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Snapshot.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Votes.sol";

/// @custom:security-contact
contract MetaWheel is ERC20, ERC20Burnable, ERC20Snapshot, AccessControl, Pausable, ERC20Permit, ERC20Votes {
    bytes32 public constant SNAPSHOT_ROLE = keccak256("SNAPSHOT_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    constructor() ERC20("MetaWheel", "MV") ERC20Permit("MetaWheel") {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(SNAPSHOT_ROLE, msg.sender);
        _grantRole(PAUSER_ROLE, msg.sender);
        _mint(msg.sender, 500000000 * 10 ** decimals());
        _grantRole(MINTER_ROLE, msg.sender);

    function snapshot() public onlyRole(SNAPSHOT_ROLE) {

    function pause() public onlyRole(PAUSER_ROLE) {

    function unpause() public onlyRole(PAUSER_ROLE) {

    function mint(address to, uint256 amount) public onlyRole(MINTER_ROLE) {
        _mint(to, amount);

    function _beforeTokenTransfer(address from, address to, uint256 amount)
        override(ERC20, ERC20Snapshot)
        super._beforeTokenTransfer(from, to, amount);

    // The following functions are overrides required by Solidity.

    function _afterTokenTransfer(address from, address to, uint256 amount)
        override(ERC20, ERC20Votes)
        super._afterTokenTransfer(from, to, amount);

    function _mint(address to, uint256 amount)
        override(ERC20, ERC20Votes)
        super._mint(to, amount);

    function _burn(address account, uint256 amount)
        override(ERC20, ERC20Votes)
        super._burn(account, amount);

Hi, we can't help if you don't know the exact setting you used to deploy like optimization

I don't change any settings i just copy code from openzepplin wazird and paste in remix and deploy.
Please give a try to this.

You code is not flatten. You must do it to be able to verify

I tried your codes on testnet, and it was deployed and verified successfully.

Please verify this smart contract for me.