aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-17 03:53:02 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-24 20:46:18 +0800
commit504e6285f3b9f688f4456607980fabc60d5432c2 (patch)
tree12fe81d9f00028c693606ae902db1d251e4b7899 /docs
parent93e6e83093ecd4a31035e7b6a62adabd3cd81c5a (diff)
downloaddexon-solidity-504e6285f3b9f688f4456607980fabc60d5432c2.tar.gz
dexon-solidity-504e6285f3b9f688f4456607980fabc60d5432c2.tar.zst
dexon-solidity-504e6285f3b9f688f4456607980fabc60d5432c2.zip
Add pure to ABI spec
Diffstat (limited to 'docs')
-rw-r--r--docs/abi-spec.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/abi-spec.rst b/docs/abi-spec.rst
index 159bd6c7..036b1ac8 100644
--- a/docs/abi-spec.rst
+++ b/docs/abi-spec.rst
@@ -295,7 +295,7 @@ The JSON format for a contract's interface is given by an array of function and/
- `outputs`: an array of objects similar to `inputs`, can be omitted if function doesn't return anything;
- `constant`: `true` if function is :ref:`specified to not modify blockchain state <view-functions>`);
- `payable`: `true` if function accepts ether, defaults to `false`;
-- `statemutability`: a string with one of the following values: `view` (same as `constant` above), `nonpayable` and `payable` (same as `payable` above).
+- `statemutability`: a string with one of the following values: `pure` (:ref:`specified to not read blockchain state <pure-functions>`), `view` (same as `constant` above), `nonpayable` and `payable` (same as `payable` above).
`type` can be omitted, defaulting to `"function"`.