Open moul opened 1 month ago
I think I understand this issue. If permitted, can I create a pull request to resolve it?
https://github.com/gnolang/gno/pull/2198 hey @moul @leohhhn I have implemented the PR for this issue. Can you take a look and provide any feedback? Do we need to add a custom implementation ?
Propose refactoring
p/ownable
from a struct with a specific implementation to a more minimal interface, allowing for custom ownership logic while retaining the current struct as the default implementation.Details
Owner() std.Address
. Enabling read-only usage ofOwnable
everywhere with the possibility of custom ownership logic.Transfer
) in another interface, likeTransferrable
which embedsOwnable
.cc @leohhhn