KaiYu Feng
15748e871e
fix(docs/mapping-types): fix wrong demo code.
...
get index before push, so the access of this index won't beyond the boundery.
2020-05-01 00:14:45 +08:00
Erik Kundt
50c22f0800
Adds script which compiles docs example with minimum compiler version.
2020-03-18 19:27:38 +01:00
Daniel Kirchner
d3cbfb0c5c
Allow user-defined types as mapping keys in parser and restrict to contracts during type checking.
2020-02-04 17:22:03 +01:00
chriseth
c85103816c
Update mapping types.
2019-12-16 17:09:52 +01:00
Daniel Kirchner
2d2fb547e7
Update mapping docs.
2019-11-19 21:11:14 +01:00
Chris Chinchilla
0c51dcc967
Explain mappings example, and add link to further details
...
Updates from review
Changes from review
Nested example
Update docs/types/mapping-types.rst
Co-Authored-By: chriseth <chris@ethereum.org>
Changes from review
Bring example inline with ERC20
Clarify what maps where
Use OZ contract example
Update docs/types/mapping-types.rst
Co-Authored-By: chriseth <chris@ethereum.org>
update code example
2019-11-06 21:32:24 +01:00
Chris Chinchilla
1a88bc97df
Add updated iterable mapping example
...
Remove unused var
2019-11-05 17:10:27 +01:00
Leonardo Alt
df0b54d7c7
[DOCS] Clearing mappings
2019-09-17 11:58:00 +02:00
Chris Ward
7e4896740d
Clarify that public applies to state variables
2019-06-17 16:55:31 +01:00
chriseth
8d401ba936
Update pragmas.
2019-03-05 18:10:09 +01:00
Chris Ward
29088c4f48
Split mapping types into new file
2019-01-14 10:58:10 +02:00