CryptoAI avatar

Ethereum development - Visibility modifiers - Notes 3

hvonsteemit

Published: 07 Dec 2018 › Updated: 07 Dec 2018Ethereum development - Visibility modifiers - Notes 3

Ethereum development - Visibility modifiers - Notes 3

ethereum-notes.jpeg


Private - it's only callable from other functions inside the contract

Internal - is like private but can also be called by contracts that inherit from this one. You can see it as similar to "protected" in other languages

External - can only be called outside the contract. For example using the web3.js or from another contract

Public - can be called anywhere, both internally and externally.


Leave Ethereum development - Visibility modifiers - Notes 3 to:

Written by

In this place i talk about crypto, blockchain, DLT and AI

Read more #ethereum posts


Best Posts From CryptoAI

We have not curated any of hvonsteemit's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From CryptoAI