From 024e3f40646a19e312dcfb9db95e8d1f3b2de320 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Wed, 19 Oct 2016 14:16:01 +0100 Subject: Mapping-in-mapping can have accessors too --- docs/types.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') 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; -- cgit