William Entriken
cb5758aa75
Prefer CapWords style struct names
2018-01-14 13:53:45 -05:00
William Entriken
deeee06bc2
Fix links and JS reference
2018-01-10 20:43:38 -05:00
William Entriken
c7632fc732
No nonsense explanation of compiler options
2018-01-05 10:13:33 -05:00
chriseth
6a9a4e2bb8
Explain the difference to inline assembly.
2018-01-04 17:19:45 +01:00
Federico Bond
be065a1243
grammar.txt: Add optional storage location to parameters
2018-01-04 01:47:07 -03:00
Chuck LeDuc Díaz
efc198d515
Minor syntax and formatting changes ( #3337 )
...
* Copyediting, mostly syntax.
* Use consistent quote chars inside sample code comments
* Revert to put back matching parenthesis
* Use single backticks for comment code quotes
wherever a reserved word, function or variable name is used in a comment
2017-12-20 10:48:22 +01:00
chriseth
a4b886ad3c
Merge pull request #3345 from kevinwucodes/patch-1
...
add clarity to destructuring assignments with leading comma
2017-12-19 12:39:28 +01:00
Steve Waldman
75dd416c6e
[Docs] Note that events can contain both indexed and unindexed arguments for values of dynamic-length types.
2017-12-19 03:09:13 -08:00
Steve Waldman
bae913368a
[Docs] Include explanation of how indexed dynamic-length event args are encoded
2017-12-19 01:51:57 -08:00
Kevin Wu
ddad6a3f80
add clarity to destructuring assignments
2017-12-18 09:55:13 -08:00
Alex Beregszaszi
460c9f3943
Merge pull request #3343 from ethereum/structs-struct
...
Fix grammar: "structs type" into "struct type"
2017-12-18 14:18:06 +00:00
chriseth
2b19bcf609
Link to dev channel
2017-12-18 13:05:08 +00:00
Yoichi Hirai
d6e73b013f
Fix grammar: "structs type" into "struct type"
2017-12-18 13:31:40 +01:00
Jim McDonald
93cf4dee66
Fixes for failing tests
2017-12-13 07:55:46 +00:00
Jim McDonald
6e521d59b0
Fix Solidity warnings
2017-12-12 18:47:30 +00:00
elenadimitrova
c6a4aba9f0
Document function overloads and resolution
2017-12-12 10:26:58 +02:00
Alex Beregszaszi
40e8716926
Merge pull request #3197 from medvedev1088/fix-security-considerations-example
...
Add another example with call to demonstrate Re-Entrancy
2017-12-12 04:22:45 +00:00
Alex Beregszaszi
37b06884b2
Correct that ether transfers _can_ always include code execution in re-entrancy example
2017-12-12 03:31:30 +00:00
Evgeny Medvedev
2f6f81640b
Add another contract with call to demonstrate re-entrancy vulnerability.
...
Add another contract with call to demonstrate re-entrancy vulnerability as send explicitly sets gas to 2300 by default according to this commit 9ca7472
which makes it impossible to "get multiple refunds" because a non-zero CALL costs at least 9700 gas. This issue is discussed on Ethereum StackExchange https://ethereum.stackexchange.com/questions/30371/send-ether-reentrancy-attack-in-reality-how-could-fallback-function-make-a-mes/30616#30616
2017-12-12 03:31:00 +00:00
Zhen Zhang
d50e8abefb
Document JSON I/O error classes
2017-12-12 03:02:30 +00:00
chriseth
eebeb52aed
Merge pull request #3228 from ethereum/docs-tests-struct
...
Enable struct abi example with experimental pragma
2017-12-11 14:26:15 +01:00
chriseth
27f38fb5b3
Merge pull request #3281 from GNSPS/develop
...
Removed manual adjustment of stack of the docs
2017-12-11 12:00:47 +01:00
Kamuela Franco
ef57961711
Update style-guide.rst to include enum style
2017-12-09 14:53:40 +00:00
Gonçalo Sá
ca16099ad0
Removed manual adjustment of stack of the docs
...
Removed the section fo the docs regarding manual adjustment of the stack given the `unbalanced stack` check prevents its use
2017-12-05 03:20:35 +00:00
Ezra Epstein
29b30a95e9
link to wiki for additional info on napspec
2017-12-01 14:00:44 -05:00
Alex Beregszaszi
134cc73e8e
Enable struct abi example with experimental pragma
2017-12-01 16:20:23 +00:00
chriseth
f7538daaf4
Preparation for 0.4.19 release.
2017-11-30 01:23:22 +01:00
Alex Beregszaszi
59bed63dbc
Update standard json documentation
2017-11-29 20:10:18 +00:00
wbt
2ebc9953e4
Minor update in contracts
...
Fix typos and prevent example code from needing horizontal scroll bar
2017-11-29 14:21:21 -05:00
chriseth
a1f59cbb17
Merge pull request #3220 from ethereum/IuliaIf
...
If statement for Iulia / Inline Assembly
2017-11-27 09:02:46 -05:00
chriseth
1d91b65b72
Force condition to be bool in iulia mode.
2017-11-23 18:52:04 +01:00
chriseth
d0be67f6b0
Bugfix in blind auction
2017-11-23 18:43:19 +01:00
Alex Beregszaszi
dcd55c5005
Add exponential notation to numbers in SolidityLexer
2017-11-23 12:13:00 +00:00
Alex Beregszaszi
2c3c5ad7c9
Move reserved keywords from SolidityLexer
2017-11-23 12:12:34 +00:00
chriseth
e15918d8b6
Add if statement to Julia specification.
2017-11-22 16:25:24 +01:00
chriseth
6dbc34e16e
If statement for Iulia / inline assembly.
2017-11-22 16:25:24 +01:00
Alex Beregszaszi
ff229ab05a
Merge pull request #3195 from ethereum/chriseth-patch-1
...
Tone down similarity to JavaScript.
2017-11-22 13:25:04 +00:00
chriseth
88e1b68aaf
More explanation about the packed encoding.
2017-11-22 12:29:16 +00:00
Ezra Epstein
744dea60a4
had "names" when "parameters" was meant
2017-11-22 04:08:35 +00:00
Alex Beregszaszi
23379e1061
Ensure each code snippet in the docs can be extracted for tests
2017-11-22 04:08:35 +00:00
Sami Mäkelä
a4310fec55
avoid reassigning variables
2017-11-22 03:33:08 +00:00
Sami Mäkelä
16f8187166
added Switch specification
2017-11-22 03:33:07 +00:00
chriseth
d4452d8c1f
Small fixes
...
suggested by @mrsmkl
2017-11-22 03:33:07 +00:00
chriseth
c2f2b25064
Some clarifications.
2017-11-22 03:33:07 +00:00
chriseth
5eaef9e87e
Typos and clarifications.
2017-11-22 03:33:07 +00:00
chriseth
a67bd2fb6a
Include JULIA section in the TOC.
2017-11-22 03:33:07 +00:00
Alex Beregszaszi
72f9e45b1a
Add true/false literals
2017-11-22 03:33:07 +00:00
Alex Beregszaszi
980ba42faf
Remove from examples
2017-11-22 03:33:06 +00:00
Alex Beregszaszi
0e0de7b7fd
Switch cases do not require colon
2017-11-22 03:33:06 +00:00
chriseth
d9abe7b712
Require at least one case in switch
2017-11-22 03:33:06 +00:00