Daniel Kirchner
f7153ee58a
Update documentation.
2018-07-03 15:31:34 +02:00
Christian Parpart
133fbdbf18
documentation: adjustments to not use the "var" keyword
2018-07-03 10:53:09 +02:00
Erik Kundt
f74a9a346b
Fixes semantic versioning.
2018-07-02 17:02:17 +02:00
Erik Kundt
2031e8e0c1
Adds review suggestions.
2018-07-02 16:46:54 +02:00
Erik Kundt
e16e37f507
Updates docs to new constructor syntax.
2018-07-02 16:25:54 +02:00
Mike
2a9d54af58
Clarify scope of 'using A for B' ( #4252 )
...
* Issue 1213: Clarify scope of 'using A for B'
* Typo fix.
* Further restructuring and clarification of contracts doc.
* Revert closer to original wording and formatting.
2018-06-29 12:21:39 +02:00
chriseth
eeef82b2d7
Fallback function has to be external: backwards-compatible changes.
2018-06-29 00:23:52 +02:00
chriseth
17493e64ed
Documentation.
2018-06-25 17:17:18 +02:00
Leonardo Alt
8862b3092b
C99 scoping rules by default
2018-06-20 12:53:38 +02:00
chriseth
3eebba1087
Clarify documentation about events (mostly topics).
2018-06-19 19:53:02 +02:00
Harry Moreno
20a5a9b15f
Update Event emit docs pragma
...
Event's `emit` usage was introduced in 0.4.21+
2018-06-07 15:07:07 -04:00
chriseth
c2e4c4651a
Merge pull request #4216 from kronosapiens/patch-2
...
Update function visibility example
2018-06-04 19:33:54 +02:00
Daniel Kronovet
1a603625d4
Denote getData
as view
2018-06-04 15:00:55 +03:00
Daniel Kronovet
a217cd05c9
Fix typo
2018-06-03 15:36:54 +03:00
Daniel Kronovet
0d4adc44c9
Update function visibility example
...
Two functions don't access state and should be `pure`. Also, inconsistent spacing when using arithmetic.
2018-06-03 12:25:52 +03:00
William Morriss
648bb484ac
consistency: unordered list for restrictions
2018-05-29 16:56:45 -07:00
João Vítor
899bd5f39a
clarify warnings in contracts.rst
...
closes #4117
2018-05-27 21:58:58 -03:00
Daniel Kirchner
f5a49f679a
Adjust tests.
2018-05-16 18:32:47 +02:00
chriseth
54839fdffb
Merge pull request #4101 from mesqueeb/patch-2
...
Extra line of explanation on Abstract contracts.
2018-05-16 10:21:33 +02:00
Luca Ban
e670004b1f
fixed capitalisation and contractions
2018-05-16 17:03:53 +09:00
Daniel Kirchner
1a014f83cc
Prefer view over constant in the documentation.
2018-05-09 15:06:47 +02:00
Luca Ban
bb7a393756
Extra line of explanation on Abstract contracts.
...
And why they're useful.
2018-05-09 19:28:55 +09:00
chriseth
1e95335589
Merge pull request #4074 from elopio/docs/implicit-constructor
...
docs: document the implicit call of base constructor without arguments
2018-05-09 11:08:34 +02:00
Leo Arias
114a0cf953
document that all the base constructors are called
2018-05-08 17:26:37 +00:00
Leo Arias
a9f2936f27
docs: update the explanation of constructor
2018-05-05 21:45:14 +00:00
Leo Arias
4259c0d036
docs: document the implicit call of base constructor without arguments
2018-05-05 21:41:47 +00:00
chriseth
8782508e0b
Update documentation about C3 linearization.
2018-04-30 16:15:41 +02:00
Matthew Ludwig
cf347745bd
Updated constructors and pragma solidity lines.
...
Updated the Inheritance section of the docs in order to correct old constructor formats and update them to the new constructor() format.
2018-04-20 16:50:00 -04:00
chriseth
af18b4deb8
Merge pull request #3885 from LefterisJP/update_solidity_version_where_revert_with_reason
...
Docs: Update solidity version for revert with reason
2018-04-16 19:55:56 +02:00
chriseth
8be4cba570
Merge pull request #3865 from ethereum/updateConstructorVersionPragmas
...
[MERGE WITH RELEASE 0.4.22] Update version pragmas in constructor documentation.
2018-04-16 19:55:34 +02:00
Lefteris Karapetsas
8a7224683b
Docs: Update solidity version for revert with reason
2018-04-15 23:12:28 +02:00
chriseth
344a388d44
Update documentation.
2018-04-12 13:09:38 +02:00
Daniel Kirchner
2192e4035a
Update version pragmas from >0.4.21 to ^0.4.22.
2018-04-12 10:43:00 +02:00
Federico Bond
4e037281ac
Error on duplicated super constructor calls
2018-04-09 11:22:35 +02:00
Roman
86c5d6aaad
hash256 -> bytes32 fix in misleading note
...
As it was described here: https://ethereum.stackexchange.com/questions/44628/understanding-low-level-interface-to-logs/44629?noredirect=1#comment52316_44629
2018-04-04 09:02:58 +03:00
Daniel Kirchner
3ae326139a
Document absence of constructors.
2018-04-03 18:21:55 +02:00
Daniel Kirchner
f855c78a08
Update version pragma and use new constructor syntax in std/ contracts.
2018-04-03 18:21:55 +02:00
bitshift
07c74ef924
Updates docs to new constructor syntax.
2018-04-03 18:21:55 +02:00
Haoliang Yu
826de65e2d
fix a wrong number
2018-04-02 22:22:38 -04:00
chriseth
3057aeece4
Document STATICCALL usage in experimental 0.5.0.
2018-03-06 15:32:45 +01:00
Oleksii Matiiasevych
5d486b741f
Revert warning update about view
modifier
2018-03-06 14:19:59 +07:00
chriseth
3793aa405b
Merge pull request #3643 from ethereum/gasleft
...
Move msg.gas to global function gasleft(). Closes #2971 .
2018-03-05 20:11:37 +01:00
Daniel Kirchner
b8589fbe0f
Use msg.value and gasleft() as an example in the docs.
2018-03-05 16:59:33 +01:00
Daniel Kirchner
c633c0eacb
Move msg.gas to global function gasleft(). Closes #2971 .
2018-03-05 11:18:04 +01:00
Furkan Ayhan
c2730a4893
Correct warning message in Pure Functions doc
...
wrong commit that caused this: (64eaff6420 (diff-754689a291c0a19b500c31eb6c1d30c7R506)
)
2018-03-04 13:23:07 +03:00
bernard peh
cde4e3172b
change the language so that it doesn't sound like send and transfer is providing the stipend
2018-03-02 23:40:17 +11:00
bernard peh
2c086cb90b
clarify 2300 gas stipend in fallback function section
2018-03-02 16:25:52 +11:00
Elena Dimitrova
c9840c98f4
Documentation updates for internal constructors and function signature ( #3365 )
...
* Add a note explaining return values not included in function signature
* Add section on Constructors in documentation
* Improve documented definition for abstract contract
* Add benefits of abstraction to documentation
2018-03-01 16:59:47 +01:00
wbt
92fe9e621e
Note deprecation of constant keyword on functions
2018-02-27 00:08:17 +01:00
Alex Beregszaszi
64eaff6420
Random documentation updates (assembly, faq)
2018-02-26 20:19:26 +01:00