Callables.contracts()
Returns Contracts object for the contracts of the functions/modifiers.
Last updated
Returns Contracts object for the contracts of the functions/modifiers.
Last updated
contracts() →
Contracts
Returns the Contracts object for the contracts of the callables. This method can be called on all Callables child classes: Functions and Modifiers.
The function will account for the inheritance of the contracts, thus, even one callable can have multiple contracts where it is accessible.
Output:
Output: