I managed to create an upgradable contract and deploy it to ropsten with zos. I’m now trying to verify it manually on etherscan, I’m using truffle-flattener to generate a flatten version of the contract but when I try to verify it etherscan says:
Sorry! The Compiled Contract ByteCode for ' **Gateway** ' does **NOT** match the Contract Creation Code for Address [0x9afb3cec8889cac85110f5732e0d9d22eeb4889d](https://ropsten.etherscan.io/address/0x9afb3cec8889cac85110f5732e0d9d22eeb4889d). Found the following ContractName(s) in source code: DexI, Gateway, GlobalVar, IERC20, Initializable, Ownable. Unable to Verify Contract Source Code.
What am I missing?