aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-10-16 05:54:45 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-10-19 21:02:50 +0800
commit607f82ce9e9e8ec34f2c042d31bda869368e889b (patch)
tree24d8790ee872d03749932155e4e0a97ba190a9dd /docs
parentc6e7475f05643cbe65aefdd9f71d6396b1ea7a08 (diff)
downloaddexon-solidity-607f82ce9e9e8ec34f2c042d31bda869368e889b.tar
dexon-solidity-607f82ce9e9e8ec34f2c042d31bda869368e889b.tar.gz
dexon-solidity-607f82ce9e9e8ec34f2c042d31bda869368e889b.tar.bz2
dexon-solidity-607f82ce9e9e8ec34f2c042d31bda869368e889b.tar.lz
dexon-solidity-607f82ce9e9e8ec34f2c042d31bda869368e889b.tar.xz
dexon-solidity-607f82ce9e9e8ec34f2c042d31bda869368e889b.tar.zst
dexon-solidity-607f82ce9e9e8ec34f2c042d31bda869368e889b.zip
FAQ: remove visibility section (already explained elsewhere)
Diffstat (limited to 'docs')
-rw-r--r--docs/frequently-asked-questions.rst23
1 files changed, 0 insertions, 23 deletions
diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst
index c88c86ed..36b211fd 100644
--- a/docs/frequently-asked-questions.rst
+++ b/docs/frequently-asked-questions.rst
@@ -144,29 +144,6 @@ from web3 (inside geth or a web application). The main advantage of events
is that they are stored in a special way on the blockchain so that it
is very easy to search for them.
-What are the different function visibilities?
-=============================================
-
-The visibility specifiers do not only change the visibility but also
-the way functions can be called. In general, functions in the
-same contract can also be called internally (which is cheaper
-and allows for memory types to be passed by reference). This
-is done if you just use ``f(1,2)``. If you use ``this.f(1,2)``
-or ``otherContract.f(1,2)``, the function is called externally.
-
-Internal function calls have the advantage that you can use
-all Solidity types as parameters, but you have to stick to the
-simpler ABI types for external calls.
-
-* ``external``: all, only externally
-
-* ``public``: all (this is the default), externally and internally
-
-* ``internal``: only this contract and contracts deriving from it, only internally
-
-* ``private``: only this contract, only internally
-
-
Do contract constructors have to be publicly visible?
=====================================================