Solidity, Ethereum.
interface Bar is Foo{} Within the interface, we can declare function headers and events, as well as structures and enumerables. The constructor, state variables and modifiers are not supported. Some rules for interfaces Solidity requires some rules for creating interfaces. The official