aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-25 00:27:08 +0800
committerGitHub <noreply@github.com>2017-08-25 00:27:08 +0800
commit71294b287210e5ced64a5492c4d950b372296d19 (patch)
tree205a46169a4d26bf50d46339104087f4a848d539 /docs
parent5fbe3af12ecaa0b44f63a9e908c82d24d3ad219f (diff)
parentdeeac7e2e0a1b8ffd0bbc709264d7bf37eb05536 (diff)
downloaddexon-solidity-71294b287210e5ced64a5492c4d950b372296d19.tar.gz
dexon-solidity-71294b287210e5ced64a5492c4d950b372296d19.tar.zst
dexon-solidity-71294b287210e5ced64a5492c4d950b372296d19.zip
Merge pull request #2798 from ethereum/statemutability
Rename statemutability to stateMutability in ABI/AST
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 036b1ac8..c0969cae 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: `pure` (:ref:`specified to not read blockchain state <pure-functions>`), `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"`.