Extending Contract Definitions
Contract definition can be extended, in the same sense a class can inherit from another class in Object-oriented programming, by using the extendContract
function:
All common methods between contract definitions are overrided by the methods on the second parameters of the extendContract
function.
Last updated