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

Method interfaceId

libsolidity/ast/AST.cpp:315–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315uint32_t ContractDefinition::interfaceId() const
316{
317 uint32_t result{0};
318 for (auto const& function: interfaceFunctionList(false))
319 result ^= fromBigEndian<uint32_t>(function.first.ref());
320 return result;
321}
322
323Type const* ContractDefinition::type() const
324{

Callers 3

visitMethod · 0.80
visitMethod · 0.80
endVisitMethod · 0.80

Calls 1

refMethod · 0.80

Tested by

no test coverage detected