library-api-design
Installation
SKILL.md
Library API design
This repo is a base library: every contract is inherited downstream. The rules below preserve that inheritability. Most of them are not lint-enforced — they require judgment when adding new contracts.
virtual on overridable functions
Mark every public and internal function virtual — with two specific exceptions:
Alias functions (one function that just forwards to another with no added logic) are NOT virtual. The canonical form is the virtual one. Add a NatSpec NOTE: pointing to it: