@returns all artifact names of the EVM object, either for creation or deploy time.
| 258 | |
| 259 | /// @returns all artifact names of the EVM object, either for creation or deploy time. |
| 260 | std::vector<std::string> evmObjectComponents(std::string const& _objectKind) |
| 261 | { |
| 262 | solAssert(_objectKind == "bytecode" || _objectKind == "deployedBytecode", ""); |
| 263 | std::vector<std::string> components{"", ".object", ".opcodes", ".sourceMap", ".functionDebugData", ".generatedSources", ".linkReferences", ".ethdebug"}; |
| 264 | if (_objectKind == "deployedBytecode") |
| 265 | components.push_back(".immutableReferences"); |
| 266 | return util::applyMap(components, [&](auto const& _s) { return "evm." + _objectKind + _s; }); |
| 267 | } |
| 268 | |
| 269 | /// @returns true if any binary was requested, i.e. we actually have to perform compilation. |
| 270 | bool isBinaryRequested(Json const& _outputSelection) |
no test coverage detected