Skip to content

[DOCS] Change examples from public to external whenever possible #11768

@hrkrshnn

Description

@hrkrshnn

To start with, https://docs.soliditylang.org/en/latest/solidity-by-example.html contains the most important examples.

Unless a function is called from within the contract, there is no need for it to be public. Changing it to external is clearer and should be recommended to the users.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions