| 238 | } |
| 239 | |
| 240 | std::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 | |
| 250 | std::vector<EventDefinition const*> ContractDefinition::interfaceEvents(bool _requireCallGraph) const |
| 251 | { |