Merge pull request #4843 from ethereum/docs-2177-abi-type

Link and clarify ABI type
This commit is contained in:
chriseth 2018-10-15 14:40:07 +02:00 committed by GitHub
commit 88b1558862
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -802,7 +802,7 @@ Arrays can have a compile-time fixed size or they can be dynamic.
The are few restrictions for the element, it can also be The are few restrictions for the element, it can also be
another array, a mapping or a struct. The general restrictions for another array, a mapping or a struct. The general restrictions for
types apply, though, in that mappings can only be used in storage types apply, though, in that mappings can only be used in storage
and publicly-visible functions need parameters that are ABI types. and publicly-visible functions need parameters that are :ref:`ABI types <ABI>`.
An array of fixed size ``k`` and element type ``T`` is written as ``T[k]``, An array of fixed size ``k`` and element type ``T`` is written as ``T[k]``,
an array of dynamic size as ``T[]``. As an example, an array of 5 dynamic an array of dynamic size as ``T[]``. As an example, an array of 5 dynamic