aboutsummaryrefslogtreecommitdiffstats
path: root/docs/types.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-09-08 09:18:17 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-23 01:24:22 +0800
commitefe4d68a7bdc55fd79b9e01b863064b27528428a (patch)
tree66fed23805dcf2dffdb2bc8509ddf077ac99e45d /docs/types.rst
parent210b4870a805620329793c8ba2177a3ff6e7b477 (diff)
downloaddexon-solidity-efe4d68a7bdc55fd79b9e01b863064b27528428a.tar.gz
dexon-solidity-efe4d68a7bdc55fd79b9e01b863064b27528428a.tar.zst
dexon-solidity-efe4d68a7bdc55fd79b9e01b863064b27528428a.zip
Introduce view (and keep constant as an alias)
Diffstat (limited to 'docs/types.rst')
-rw-r--r--docs/types.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst
index 13c848c2..9c1c73c6 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -337,7 +337,7 @@ be passed via and returned from external function calls.
Function types are notated as follows::
- function (<parameter types>) {internal|external} [constant|payable] [returns (<return types>)]
+ function (<parameter types>) {internal|external} [constant|view|payable] [returns (<return types>)]
In contrast to the parameter types, the return types cannot be empty - if the
function type should not return anything, the whole ``returns (<return types>)``