Hi,
I am using this very simple example from your posts. I cannot get rid of the Parse error : source file requires different compiler version, etc… in remix. I have tried all kinds of different versions of compiler , still get this error, please advise, below is the sample code.
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.0-solc-0.7/contracts/token/ERC20/ERC20.sol";
contract Token is ERC20 {
constructor () ERC20("Token", "TKN") {
_mint(msg.sender, 1000000 * (10 ** uint256(decimals())));
}
}