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

Method retrieveFunctionBySignature

test/libsolidity/AnalysisFramework.cpp:226–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226FunctionTypePointer AnalysisFramework::retrieveFunctionBySignature(
227 ContractDefinition const& _contract,
228 std::string const& _signature
229)
230{
231 return _contract.interfaceFunctions()[util::selectorFromSignatureH32(_signature)];
232}

Callers

nothing calls this directly

Calls 2

selectorFromSignatureH32Function · 0.85
interfaceFunctionsMethod · 0.80

Tested by

no test coverage detected