aboutsummaryrefslogtreecommitdiffstats
path: root/docs/types.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-10-19 21:16:01 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-10-19 21:16:01 +0800
commit024e3f40646a19e312dcfb9db95e8d1f3b2de320 (patch)
tree69419c545885d25324c1f94f16ab792dfeb36515 /docs/types.rst
parentd4ad814bf31e3e5435b47d58b358c1ad21f16b9c (diff)
downloaddexon-solidity-024e3f40646a19e312dcfb9db95e8d1f3b2de320.tar.gz
dexon-solidity-024e3f40646a19e312dcfb9db95e8d1f3b2de320.tar.zst
dexon-solidity-024e3f40646a19e312dcfb9db95e8d1f3b2de320.zip
Mapping-in-mapping can have accessors too
Diffstat (limited to 'docs/types.rst')
-rw-r--r--docs/types.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/types.rst b/docs/types.rst
index e042a98c..9e7d9b4a 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -624,6 +624,9 @@ It is possible to mark mappings ``public`` and have Solidity create an accessor.
The ``_KeyType`` will become a required parameter for the accessor and it will
return ``_ValueType``.
+The ``_ValueType`` can be a mapping too. The accessor will have one parameter
+for each ``_KeyType``, recursively.
+
::
pragma solidity ^0.4.0;