Skip to content

question: How get_ownable_mut is resolved? #1

@maciejka

Description

@maciejka

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions