Hi,
I deployed a contract with openzeppelin and now to verify and publish it I need the flattened version. I tried to use the flattener in remix but I still get any errors.
Can I get any help in flattening the contract?
This is the version with the imports:
// SPDX-License-Identifier: MIT
// Compatible with OpenZeppelin Contracts ^5.0.0
pragma solidity ^0.8.22;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {ERC20Permit} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol";
/// @custom:security-contact
contract DUBAICOIN is ERC20, ERC20Permit {
constructor(address recipient) ERC20("DUBAICOIN", "DBI") ERC20Permit("DUBAICOIN") {
_mint(recipient, 33000000000 * 10 ** decimals());
}
}