EatTheBlocks Forum

Interface functions must be implemented?

Hi All,
Does a contract inheriting an interface have to implement all the function templates in the interface?
I come from C# background. In C#, yes, a class inheriting an interface has to implement all the function signatures in the interface.
I want to confirm if in Solidity the case is the same.


It depends on the version of Solidity. Older versions, Solidity 0.8 yes.

1 Like