Commit Graph

201 Commits

Author SHA1 Message Date
chriseth
0e614bf5cb Document encoding of mappings in library calls. 2020-07-27 15:06:55 +02:00
chriseth
0caec9d28b Explain gas implications of constant and immutable variables. 2020-07-27 11:22:58 +02:00
chriseth
d3647b13e4 Disallow public state variables overriding pure functions. 2020-07-20 15:18:23 +02:00
Mathias L. Baumann
69a596b0ff
Merge pull request #9418 from ethereum/stateMutForOverride
Issue state mutability restriction for overriding and not for virtual functions.
2020-07-20 15:01:25 +02:00
Mathias Baumann
dfffecfe2c Allow overrides to have a more strict mutability than super 2020-07-16 17:55:12 +02:00
chriseth
aa3f51ab47 Issue state mutability restriction for overriding and not for virtual functions. 2020-07-16 17:19:35 +02:00
Mathias Baumann
6b37f1c025 Remove visiblity of libraries in inherited contracts. 2020-07-09 16:38:29 +02:00
chriseth
479d7a059f Documentation. 2020-07-07 12:16:18 +02:00
chriseth
6b3171c38b Merge remote-tracking branch 'origin/develop' into breaking 2020-06-10 11:30:50 +02:00
Igor Line
3841b2626b
Fix semantic urls for function and modifier overriding in documentation 2020-06-06 16:57:26 +02:00
chriseth
c8b9d24eba
Merge pull request #9106 from ethereum/develop
Merge develop into breaking.
2020-06-03 13:51:28 +02:00
chriseth
6f75476f52 Fix documentation about return values. 2020-06-02 18:09:50 +02:00
chriseth
257bc6a416 Merge remote-tracking branch 'origin/develop' into breaking 2020-05-14 13:04:46 +02:00
chriseth
d33b67b3c2 Add license tags to documentation snippets. 2020-05-13 22:16:34 +02:00
Harikrishnan Mulackal
a207613f17 Docs, changelog and tests 2020-05-05 21:11:15 +05:30
chriseth
ecbf216354 Merge remote-tracking branch 'origin/develop' into breaking 2020-05-04 18:46:45 +02:00
hrkrshnn
d1fd6782bc Note on abstract contract about overriding implemented functions 2020-04-30 19:41:31 +05:30
chriseth
abee23251b Fix pragma requirement. 2020-04-23 11:52:01 +02:00
chriseth
6728e3ef94 Merge remote-tracking branch 'origin/develop' into breaking 2020-04-22 17:21:32 +02:00
iamdefinitelyahuman
d59706e5f5 docs: fix formatting errors and style inconsistencies 2020-04-20 20:24:31 +04:00
chriseth
51883958ab Merge remote-tracking branch 'origin/develop' into breaking 2020-04-07 11:14:28 +02:00
chriseth
9c4a02db0f Documentation for immutables. 2020-04-01 11:37:11 +02:00
chriseth
7d68f9f6c3 Merge remote-tracking branch 'origin/develop' into breaking 2020-03-24 13:35:41 +01:00
Erik Kundt
50c22f0800 Adds script which compiles docs example with minimum compiler version. 2020-03-18 19:27:38 +01:00
chriseth
06ad5b3200 Merge remote-tracking branch 'origin/develop' into HEAD 2020-02-27 15:06:36 +01:00
Brian L. McMichael
b39814a4f8
Conform constants to style guide
Constants should conform to style guide at https://solidity.readthedocs.io/en/latest/style-guide.html#constants
2020-02-06 16:39:09 -05:00
chriseth
981ed5f773 Documentation for function call options. 2020-01-23 21:20:01 +01:00
Jason Cobb
86145adac8
Update documentation for interface inheritance 2020-01-22 09:40:40 -05:00
chriseth
4d681fb16d Merge remote-tracking branch 'origin/develop' into HEAD 2020-01-14 16:43:48 +01:00
Erik Kundt
fe1676203d Updates documentation to 0.7.0. 2020-01-10 18:56:38 +01:00
chriseth
b68ea243fc Fix comment. 2020-01-08 18:37:46 +01:00
chriseth
7772ee145c Change naming to "destructible". 2020-01-08 09:17:59 +01:00
William Entriken
6d068b6331 Reduce usage of the word "kill" 2020-01-07 11:18:10 +01:00
Chris Chinchilla
f46218cad9 Update pragma versions for 0.6.0 2019-12-16 17:36:44 +01:00
Leonardo Alt
3198f55d24 Docs style guide 2019-12-13 12:40:33 +01:00
chriseth
fc085cb141
Merge pull request #7982 from ethereum/updateVisibility
Update visibility and getters.
2019-12-12 14:02:35 +01:00
chriseth
104a8c59f5
Merge pull request #7974 from ethereum/updateInterfaces
[DOC] Update interfaces
2019-12-12 12:51:00 +01:00
chriseth
9de0b3d7b5 Update visibility and getters. 2019-12-12 12:50:35 +01:00
chriseth
269c3c0c06
Merge pull request #7980 from ethereum/updateLibraries89
Update libraries section for 0.6.0.
2019-12-12 12:48:39 +01:00
chriseth
cb2835663d [DOC] Update interfaces 2019-12-12 12:46:22 +01:00
chriseth
0e796b77e9
Merge pull request #7973 from ethereum/docInheritance2
[DOC] More changes to inheritance.
2019-12-12 12:44:37 +01:00
chriseth
9790e6c044 More changes to inheritance. 2019-12-12 11:05:20 +01:00
chriseth
f4a0546db3 Update "using for". 2019-12-12 10:49:03 +01:00
chriseth
bbb8b88118 Update libraries section for 0.6.0. 2019-12-12 10:31:31 +01:00
chriseth
086b90fc07 Modifier overriding documentation. 2019-12-09 18:41:39 +01:00
chriseth
d6e7202edf
Merge pull request #7909 from ethereum/docsChange4
[DOC] Some changes to functions.
2019-12-09 17:56:13 +01:00
chriseth
fa026aacb4 [DOC] Some changes to functions. 2019-12-09 17:53:09 +01:00
chriseth
175e9d4b5f [DOC] Some updates on functions. 2019-12-09 17:51:39 +01:00
chriseth
6d2f1f3068 Documentation about unique base functions. 2019-12-09 16:04:45 +01:00
chriseth
2de7687c4f
Merge pull request #7906 from ethereum/docsChange2
[DOCS] Some changes to creation, events and modifiers.
2019-12-05 16:06:25 +01:00
chriseth
5816c43df9 Some changes to creation, events and modifiers. 2019-12-05 15:43:26 +01:00
chriseth
766bde2d78 Some changes to "abstract contracts". 2019-12-05 14:55:07 +01:00
Mathias Baumann
b7d5de59c5 Implement overridding of functions by public variables 2019-12-05 12:48:52 +00:00
chriseth
6c0660ac66
Merge pull request #7876 from ethereum/docInheritance
[DOC] Clarification about inhertiance.
2019-12-04 18:14:25 +01:00
chriseth
fc5bbd1963 Clarify documentation with regards to inheritance. 2019-12-04 18:11:04 +01:00
Christian Parpart
7bbdfe070f Make shadowing of inherited state variables an error. 2019-12-03 21:20:03 +01:00
Daniel Kirchner
c33d233d88 Update docs. 2019-12-03 10:50:53 +01:00
Mathias Baumann
7bc6645218 Disallow use of virtual and private together 2019-11-27 18:52:41 +01:00
chriseth
a00f824479
Merge pull request #7773 from ethereum/develop
Merge develop into develop_060
2019-11-21 21:49:22 +01:00
chriseth
6797879128
Merge pull request #7647 from ethereum/virtual-5424
Implement virtual keyword
2019-11-19 13:21:27 +01:00
Daniel Kirchner
9115a0f525 Some documentation. 2019-11-15 16:12:29 +01:00
chriseth
216e1749f4 Merge remote-tracking branch 'origin/develop' into develop_060 2019-11-14 13:42:46 +01:00
Mathias Baumann
5b8ff78176 Implement virtual keyword 2019-11-14 11:49:39 +01:00
Daniel Kirchner
ce7268272d Allow obtaining the address of a library by conversion to `address`. 2019-11-12 17:09:13 +01:00
Daniel Kirchner
3321fc56ea Split fallback function and introduce "fallback()" and "receive()" syntax. 2019-11-04 17:17:58 +01:00
Alexander Arlt
cd3ad73b5a Update tests. 2019-11-01 14:54:47 -05:00
Alexander Arlt
793b906e05 Update docs/contracts/abstract-contracts.rst. 2019-11-01 14:54:47 -05:00
Mathias Baumann
6c6a9054b2 Implement override checking 2019-10-30 17:31:33 +01:00
Erik Kundt
ec53899a10 Fixes source extraction from docs. 2019-10-23 22:13:24 +02:00
chriseth
e735c01b4a
[DOC] Clarify log functions 2019-09-10 16:52:32 +02:00
Chris Smith
d7fe96f81f Add example of constructor inheritance and order
Add an example of how contract inheritance impacts constructor calling
2019-07-09 11:37:37 -04:00
Chris Chinchilla
17e82ee176 Clarify that interfaces only support enum since 0.5.0 2019-06-17 17:14:53 +01:00
Vignesh Karthikeyan
3d40152102 Brought warning to high priority
Update functions.rst

Update for warning over note priority

Updated units-and-global-variables.rst

Updated file for warning over note priority

Updated control-structures.rst

Updated priority of warning over note

Updated assembly.rst

Updated priority of warning over code

Updated introduction-to-smart-contracts.rst

Updated priority of warning over note

Update installing-solidity.rst

Corrected control-structures.rst

Corrected white space error

Corrected whitespace

Corrected whitespace introduction to smart contract
2019-06-04 14:46:26 +05:30
Chris Ward
b015d2cd40 Bring code examples inline with style guide
Remove visibility
2019-05-29 16:17:34 +02:00
chriseth
9d00f21cfb
Merge pull request #6841 from ethereum/style-fixes-inheritance
[DOCS] Bring inheritance doc inline with style guide
2019-05-27 19:11:32 +02:00
Chris Ward
e81e71e879 Make code examples conform to style guide 2019-05-27 16:59:54 +02:00
Chris Ward
3b64a4b955 Bring inheritance doc inline with style guide 2019-05-27 14:23:53 +02:00
Chris Ward
2c705145ae Make Creating contracts code examples match style guide 2019-05-23 14:54:11 +02:00
Guy Lando
ee0cb71959
Clarified inheritance documentation. 2019-05-20 18:30:47 +03:00
chriseth
20f3ab5961 Advantages of anynomous events. 2019-05-20 15:06:53 +02:00
Isaac Ibiapina
074580f743
Update visibility-and-getters.rst
edit private variable description to be more declarative
2019-05-15 18:56:21 -04:00
chriseth
8d401ba936 Update pragmas. 2019-03-05 18:10:09 +01:00
Chris Ward
a1df27ae3d Merge payable FAQ item 2019-01-21 12:37:08 +02:00
Chris Ward
18cceba81f Split functions docs 2019-01-14 16:34:35 +01:00
chriseth
8da3aa14de
Merge pull request #5744 from ethereum/docs-split-func-mod
[DOCS] Split Function modifiers doc into smaller file
2019-01-08 00:07:17 +01:00
chriseth
28c25efc80
Merge pull request #5756 from ethereum/docs-split-libraries
[DOCS] Split libraries into new doc
2019-01-08 00:06:06 +01:00
chriseth
44de865da1
Merge pull request #5753 from ethereum/docs-split-interfaces
[DOCS] Split interfaces into new file
2019-01-08 00:05:24 +01:00
chriseth
cfa1198892
Merge pull request #5755 from ethereum/docs-split-using-for
[DOCS] Split using for into new file
2019-01-08 00:05:00 +01:00
Chris Ward
cc99d63665 Split interfaces into new file 2019-01-08 00:02:32 +01:00
chriseth
cb4e5936fd
Merge pull request #5749 from ethereum/docs-split-abstract
[DOCS] Split Abstract Contracts docs to new file
2019-01-08 00:00:24 +01:00
chriseth
139dd9fb24
Merge pull request #5748 from ethereum/docs-split-inheritance
[DOCS] Split inheritance into new doc
2019-01-07 23:59:14 +01:00
Chris Ward
5ca509a4ea Split inheritance into new doc 2019-01-07 23:57:08 +01:00
Chris Ward
da1d70e939 Split events docs into file 2019-01-07 23:53:44 +01:00
Chris Ward
f69af050cb Split Abstract Contracts docs to new file 2019-01-07 18:20:57 +01:00
Chris Ward
13cd96136a Split libraries into new doc 2019-01-07 18:13:32 +01:00
Chris Ward
c9b2e5da8f Split Function modifiers doc into smaller file 2019-01-07 18:11:23 +01:00
Chris Ward
ee5eac4b3e Split using for into new file 2019-01-07 18:08:00 +01:00
chriseth
a2926cd9dc
Merge pull request #5742 from ethereum/docs-split-vis-and-get
[DOCS] Split Visibility and Getters section
2019-01-07 18:04:54 +01:00
Chris Ward
26d47c7213 Split creating contracts 2019-01-07 17:48:24 +01:00
Chris Ward
1da2c1f7e4 Split Constant State Variables doc 2019-01-07 14:14:26 +01:00
Chris Ward
ae107bde3c Split Visibility and Getters doc 2019-01-07 11:58:11 +01:00