Need help verifying contract on BscScan and Etherscan

Hi,

I am trying to verify and publish my contract on BscScan and I keep getting errors. I've managed to flatten the file - which I know isn't recommended for verification but I was pulling from GitHub.

No errors occured on deloyment and the Remix compiler isn't throwing errors.

The contract is: 0x1ddB84C3e48d8A57CB845bB1b5e3C94A448c0bb1


This is my unflattened Remix .sol file:

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract Copium is ERC20 {

   constructor(uint256 initialSupply) ERC20("Copium", "CPM") {

     _mint(msg.sender, initialSupply);

    }

}

which throws this error:


After flattening the file in Remix, I get this error:


Would someone help me get this contract verified not only on BscScan but also on Etherscan?

Please refer to our guide on verification: