Commit Graph

78 Commits

Author SHA1 Message Date
chriseth
add55fd793 Documentation. 2020-05-26 10:51:13 +02:00
Alexander Arlt
af8bb5fb60 Allow natspec comments on state variables. 2020-05-19 11:01:52 -05:00
chriseth
d33b67b3c2 Add license tags to documentation snippets. 2020-05-13 22:16:34 +02:00
Harikrishnan Mulackal
091abcea8c Updated docs for type(X).min and type(X).max 2020-05-11 16:19:55 +05:30
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
iamdefinitelyahuman
d59706e5f5 docs: fix formatting errors and style inconsistencies 2020-04-20 20:24:31 +04:00
Kamil Śliwak
303345b12c reference-types.rst: Fix incorrectly wrapped line in the array slice section 2020-04-06 10:15:42 +02:00
Kamil Śliwak
1847536d6d reference-types.rst: Minor text correction, itself -> themselves 2020-04-06 10:15:13 +02:00
chriseth
9c4a02db0f Documentation for immutables. 2020-04-01 11:37:11 +02:00
Erik Kundt
50c22f0800 Adds script which compiles docs example with minimum compiler version. 2020-03-18 19:27:38 +01:00
chriseth
435c9dae71
Merge pull request #8290 from gitpusha/docs-update-staticcall-gascounting
added note about gas counting and its effect on staticall.gas(gasLimi…
2020-03-17 10:47:30 +01:00
gitpusha
1b63b8822e Added note recommending to avoid relying on hardcoded gas values 2020-03-16 18:22:32 +01:00
Djordje Mijovic
58c6b90705 Deprecated warning for .value() and .gas() on function and constructror calls 2020-03-04 12:51:49 +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
981ed5f773 Documentation for function call options. 2020-01-23 21:20:01 +01:00
chriseth
588f3aedb3
Merge pull request #8035 from ethereum/updateRef2
[DOC] Update reference types.
2019-12-17 17:27:15 +01:00
chriseth
11b90301b0 Update reference types. 2019-12-17 14:24:18 +01:00
chriseth
cf6f6a51b0
Merge pull request #8029 from ethereum/referenceTypes1
Update reference types (1).
2019-12-17 13:53:01 +01:00
chriseth
d13438eed8
Merge pull request #8023 from ethereum/updateConversionFor060
Update type conversions for 0.6.0.
2019-12-17 12:33:21 +01:00
chriseth
16c2e0ad3e Update type conversions for 0.6.0. 2019-12-16 20:34:48 +01:00
chriseth
a8598a774a Update reference types (1). 2019-12-16 18:30:35 +01:00
chriseth
636a1b0a4a
Merge pull request #8028 from ethereum/docs_value_types
Docs value types
2019-12-16 18:27:44 +01:00
chriseth
4d73864584
Merge pull request #8024 from ethereum/updateMapping06
Update mapping types.
2019-12-16 18:23:06 +01:00
Leonardo Alt
8bd42bd51e Docs value types 2019-12-16 18:22:17 +01:00
chriseth
c85103816c Update mapping types. 2019-12-16 17:09:52 +01:00
chriseth
096dd4f385 Update operators for 0.6.0. 2019-12-16 17:08:13 +01:00
Bhargava Shastry
70840d5411 Address review comments 2019-12-11 17:03:28 +01:00
chriseth
a7f50c5aca Document array slices. 2019-12-11 17:03:28 +01:00
chriseth
b0db64ff5b Merge remote-tracking branch 'origin/develop' into develop_060 2019-11-26 16:19:35 +01:00
Gaith Hallak
4a1e85436b Allow splitting string literals into multiple parts 2019-11-26 14:41:30 +03:00
Daniel Kirchner
2d2fb547e7 Update mapping docs. 2019-11-19 21:11:14 +01:00
Erik Kundt
a69a344d70 Adjusts documentation to read-only array length. 2019-11-19 21:11:14 +01:00
chriseth
21e65076b3
Merge pull request #7650 from ethereum/develop
Merge develop into develop_060
2019-11-06 21:56:55 +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
Daniel Kirchner
3321fc56ea Split fallback function and introduce "fallback()" and "receive()" syntax. 2019-11-04 17:17:58 +01:00
chriseth
f3c4f466f6 Merge remote-tracking branch 'origin/develop' into develop_060
Had to adjust gas costs during merge.
2019-09-24 10:28:22 +02:00
Leonardo Alt
43d6e00b14 Add push() for dynamic storage arrays 2019-09-17 13:47:33 +02:00
chriseth
5b3efee93b
Merge pull request #7442 from ethereum/develop
Merge develop into develop_060
2019-09-17 12:16:27 +02:00
Leonardo Alt
df0b54d7c7 [DOCS] Clearing mappings 2019-09-17 11:58:00 +02:00
Lauri Peltonen
b7e6dc3d05 Fixed code example which utilizes non-existing function 'abs' - the value is stated to be negative so abs(a) is the same as -a 2019-09-13 21:36:43 +03:00
Leonardo Alt
5cfe0b7670 Allow explicit conversion from address to address payable 2019-09-09 23:46:00 +02:00
Daniel Kirchner
6f3341a204 Allow underscores in hex strings. 2019-09-06 17:58:35 +02:00
krk
33f7f960cf Allow exponentials with signed base and unsigned power. 2019-09-04 17:32:47 +02:00
Daniel Kirchner
80199ded79 More documentation updates. 2019-08-19 14:56:04 +02:00
William Entriken
b6cb079157 Failed-checksum addresses are an error 2019-07-02 13:10:28 +02:00
William Entriken
49c79c1894
Update value-types.rst 2019-06-26 20:04:02 -04:00
chriseth
3b0284817e
Merge pull request #6981 from ethereum/docs-purchase-contract
[DOCS] State default value of enum in example
2019-06-24 14:36:35 +02:00
Chris Chinchilla
30e843a217 State what default value of enum in example is
Fix formatting issue and add mention of the enum default type

Other files
2019-06-24 14:32:53 +02:00
Chris Chinchilla
215f41776c Clarify implicit conversion 2019-06-24 12:43:17 +02:00