I'm hoping someone can help me. I'm attempting to verify the sourcecode of my token contract on etherscan. To do this, I am attempting to compile the contract on remix IDE and in the attempt of doing so it returns a ParseError. Below is the contract contract segment where the error is concerned. The error appears above 'emappings'. returning a message saying ParserError: Expected pragma, import directive or contract/interface/library/struct/enum/constant/function definition. I feel/hope it is a simple fix though I have been stuck on this for over a week now. Any help greatly appreciated.
function approve(address spender, uint value) external returns (bool);
function transfer(address to, uint value) external returns (bool);
function transferFrom(address from, address to, uint value) external returns (bool);
}
{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "london",
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}
My attempts have been limited as I am close to completely stuck on this and cannot see what I am to do.