I'm creating a protocol where I want to encourage external devs to build on top of it. What's best practice for visibility of my outward-facing functions. Is there any downside to making everything public virtual instead of external virtual?
My thought was that I should make them public to be as open/extensible as possible. Would love some feedback
Sep 1, 2022, 12:23 PM
No particular downside. There used to be, but not anymore
Sep 1, 2022, 12:37 PM
External devs meaning external contracts to interact with yours? Or are you wanting to use inheritance? If the former, then what Grim said.
Sep 1, 2022, 12:45 PM