Question regarding:
|
if self.get_ownable_mut().is_owner(get_caller_address()) { |
How usage of
get_ownable_mut method in line 64 is resolved? It is not clear from Upgradable declaration that
TContractState implements
GetOwnableTrait. Is there any implicit implementation discovery mechanism ?
Question regarding:
component-examples/dependency3/src/upgradable.cairo
Line 64 in fcbc56a
How usage of
get_ownable_mutmethod in line 64 is resolved? It is not clear from Upgradable declaration thatTContractStateimplementsGetOwnableTrait. Is there any implicit implementation discovery mechanism ?