Callable.get_contract()
Returns the parent contract of the function/modifier if exists, otherwise (global functions) returns NoneObject.
Last updated
Returns the parent contract of the function/modifier if exists, otherwise (global functions) returns NoneObject.
Last updated
get_contract() β
Contract
| NoneObject
The function may return NoneObject in cases where it does not belong to any contract and is a global function, as Solidity supports that type of functions.