1 2 3 4 5 6 7
abstract contract x { constructor(address foobar) { if (foobar == address(0)) { revert("foobar must a valid address"); } } }