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

Method usedInterfaceEvents

libsolidity/ast/AST.cpp:240–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240std::vector<EventDefinition const*> const ContractDefinition::usedInterfaceEvents() const
241{
242 solAssert(annotation().creationCallGraph.set(), "");
243
244 return util::convertContainer<std::vector<EventDefinition const*>>(
245 (*annotation().creationCallGraph)->emittedEvents +
246 (*annotation().deployedCallGraph)->emittedEvents
247 );
248}
249
250std::vector<EventDefinition const*> ContractDefinition::interfaceEvents(bool _requireCallGraph) const
251{

Callers 3

matchEventMethod · 0.80
uniqueInterfaceEventsMethod · 0.80
interfaceSymbolsMethod · 0.80

Calls 1

setMethod · 0.80

Tested by 2

matchEventMethod · 0.64
uniqueInterfaceEventsMethod · 0.64