Introduce view (and keep constant as an alias)

This commit is contained in:
Alex Beregszaszi
2017-08-22 18:24:22 +01:00
parent 210b4870a8
commit efe4d68a7b
8 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -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>)``