aboutsummaryrefslogtreecommitdiffstats
path: root/docs/miscellaneous.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-22 06:41:46 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-23 01:25:46 +0800
commitb1cdf81506de39502db0fb4a4b55ba8155f853ab (patch)
tree023cefa5a9f00b0e6a5bf84d02745ab8e6666121 /docs/miscellaneous.rst
parent70bb1e74788b7c2938ab15e14ee048cf9a1a7743 (diff)
downloaddexon-solidity-b1cdf81506de39502db0fb4a4b55ba8155f853ab.tar.gz
dexon-solidity-b1cdf81506de39502db0fb4a4b55ba8155f853ab.tar.zst
dexon-solidity-b1cdf81506de39502db0fb4a4b55ba8155f853ab.zip
Document view functions
Diffstat (limited to 'docs/miscellaneous.rst')
-rw-r--r--docs/miscellaneous.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst
index 199182d3..7889fff2 100644
--- a/docs/miscellaneous.rst
+++ b/docs/miscellaneous.rst
@@ -505,11 +505,12 @@ Function Visibility Specifiers
Modifiers
=========
+- ``view`` for functions: Disallow modification of state - this is not enforced yet.
+- ``payable`` for functions: Allows them to receive Ether together with a call.
- ``constant`` for state variables: Disallows assignment (except initialisation), does not occupy storage slot.
-- ``constant`` for functions: Disallows modification of state - this is not enforced yet.
+- ``constant`` for functions: Same as ``view``.
- ``anonymous`` for events: Does not store event signature as topic.
- ``indexed`` for event parameters: Stores the parameter as topic.
-- ``payable`` for functions: Allows them to receive Ether together with a call.
Reserved Keywords
=================