MCPcopy Create free account
hub / github.com/argotorg/solidity / evmObjectComponents

Function evmObjectComponents

libsolidity/interface/StandardCompiler.cpp:260–267  ·  view source on GitHub ↗

@returns all artifact names of the EVM object, either for creation or deploy time.

Source from the content-addressed store, hash-verified

258
259/// @returns all artifact names of the EVM object, either for creation or deploy time.
260std::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.
270bool isBinaryRequested(Json const& _outputSelection)

Callers 5

isBinaryRequestedFunction · 0.85
isEvmBytecodeRequestedFunction · 0.85
importEVMAssemblyMethod · 0.85
compileSolidityMethod · 0.85
compileYulMethod · 0.85

Calls 1

applyMapFunction · 0.85

Tested by

no test coverage detected