Near-One / near-plugins

Implementation of common patterns used for NEAR smart contracts.
Creative Commons Zero v1.0 Universal
27 stars 12 forks source link

Make calls to trait methods fully qualified in acl plugin #21

Closed mooori closed 1 year ago

mooori commented 1 year ago

Previously contract developers needed to bring traits into scope to allow the code generated for acl to call methods of some traits:

In this PR, calls to above methods are changed to fully qualified syntax. As a result, the traits no longer need to be brought into scope with use statements.