The 1inch Smart Contract is unable to compile in Remix as it appears to be stuck in the Solidity compiling phase.
- Create a new 1inch_38211317.sol smart contract file in Remix.
- Compile the contract.
- Deploy and run the contract on the Ropsten Test Network.
- The 1inch Smart Contract code is copied into a new 1inch_Test.sol file.
- The default compiler version throws an error.
browswer/1inch_38211317.sol:782:1: ParseError: Source file requires different compiler version (current compiler is 0.7.4+commit.3f05b770.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version pragma solidity ^0.6.0
Change the compiler to the latest local version - 0.7.4
The Compile 1inch_38211317.sol button is stuck in the compiling/loading state.