Commit Graph

5735 Commits

Author SHA1 Message Date
Denton Liu
0268cbddc7 Document use of smaller storage variables 2016-08-25 13:20:54 -04:00
chriseth
f329d5e772 Merge pull request #925 from mocamircea/patch-10
Update contracts.rst
2016-08-25 18:06:30 +02:00
Mircea Moca
55be44dd5f Update contracts.rst
I left the example with contract C only, showing the access specifiers discussed at 186-188. The specifier of data is left public since nothing is related to accessor functions now.

Added a separate example with contracts C, D and E to show specifier's effect. 

Added a separate example to prove the synthesizing of accessor functions.

Added a new example to show the internal/external call of the accessor, according to existent discussion.
2016-08-25 11:43:17 +03:00
chriseth
c2665dc2fe Merge pull request #913 from chriseth/auction
Updated the function withdraw() in the SimpleAuction and BlindAuction…
2016-08-24 23:17:04 +02:00
Bob Summerwill
d49cfebbf7 Updated Solidity documentation's "building from source" section.
It now references install_deps.sh/.bat, and also adds instructions for Windows.
Cherry picked some further tweaks from Denton-L.  Thanks :-)
2016-08-24 14:06:36 -07:00
Denton Liu
56558c0db2 Check for overflow 2016-08-24 15:16:57 -04:00
chriseth
9fc1bcb2be Merge pull request #945 from Denton-L/fix-documentation
Minor corrections to documentation
2016-08-24 21:15:07 +02:00
chriseth
d5e4b7492e Merge pull request #928 from winsvega/solremove
remove sha256 and rmd160 hash
2016-08-24 19:41:12 +02:00
Dimitry
23acb383d5 remove sha256 and rmd160 hash 2016-08-24 19:52:49 +04:00
Denton Liu
ef117c2902 Fix creating contracts section 2016-08-24 11:43:56 -04:00
Denton Liu
2716d01f2c Rename "call data" to "calldata" 2016-08-24 11:43:56 -04:00
Denton Liu
89004edb2f Add comma 2016-08-24 11:43:56 -04:00
Denton Liu
41ad2110c2 Fix control-structures 2016-08-24 11:43:56 -04:00
Denton Liu
1655f3b7bf Update contracts.rst 2016-08-24 11:43:55 -04:00
Denton Liu
4bd96d9382 Fix description about how blocks work 2016-08-24 11:43:55 -04:00
Denton Liu
c65735fc19 Change XXX bit to XXX-bit 2016-08-24 11:43:55 -04:00
Denton Liu
72f2799556 Fix typo 2016-08-24 11:43:55 -04:00
Denton Liu
c58e460ba2 Change example code formatting 2016-08-24 11:43:55 -04:00
Denton Liu
02a72871d2 Change capitalisation 2016-08-24 11:43:55 -04:00
Denton Liu
ac799aff0e Remove trailing whitespaces 2016-08-24 11:43:55 -04:00
chriseth
e20afc71ce Merge pull request #942 from redsquirrel/patch-1
Small documentation update
2016-08-24 11:52:59 +02:00
Dave Hoover
1bb53ad3e7 Small documentation update 2016-08-23 22:53:30 -05:00
chriseth
cab0f5448f Merge pull request #921 from chriseth/astjsoncleanup
JSON AST: Some attribute cleanup. Add linearized base contracts.
2016-08-23 17:14:13 +02:00
chriseth
9a2d1a737f Merge pull request #936 from chriseth/fixFormalExp
Fix crash when using json compiler with exponentiation.
2016-08-23 17:03:46 +02:00
chriseth
de535a74cf Merge pull request #940 from chriseth/publishViaNode
Use the new update script.
2016-08-23 14:45:19 +02:00
chriseth
9db9d3b12b Use the new update script. 2016-08-23 14:22:53 +02:00
chriseth
7183658c16 Merge pull request #926 from chriseth/pushasm
Explicitly specify length of push data for assembly output.
2016-08-22 21:25:08 +02:00
chriseth
345c0f36fb Fix crash when using json compiler with exponentiation. 2016-08-20 03:45:39 +02:00
chriseth
0d736fde6d Merge pull request #706 from Denton-L/withdrawal-pattern
Add Withdrawal Pattern Example
2016-08-20 02:57:07 +02:00
Denton Liu
876b39e8e5 Fix StandardToken 2016-08-19 11:21:54 -04:00
Denton Liu
9ca4948d6a CoinAdd .sol prefix to files 2016-08-19 11:13:24 -04:00
Denton Liu
e25fcecaf4 Rename to StandardToken 2016-08-19 11:03:14 -04:00
Denton Liu
e91e945933 Remove unnecessary contracts 2016-08-19 11:02:54 -04:00
Mircea Moca
01dc055d42 Update contracts.rst
I think it's more clear now and without the risk of mentioning the yet discussed accessor concept
2016-08-19 17:47:57 +03:00
Denton Liu
74545e70a4 Update std imports 2016-08-19 10:34:50 -04:00
Denton Liu
04ffff3cac Add ExampleToken 2016-08-19 10:34:50 -04:00
Denton Liu
fd578f0ed5 Add Token contract 2016-08-19 10:34:50 -04:00
Denton Liu
0cd2fc310b Change imports 2016-08-19 10:34:50 -04:00
Denton Liu
bf430709d5 Add back standard contracts 2016-08-19 10:34:50 -04:00
Denton Liu
e00f802f72 Remove standard contracts 2016-08-19 10:34:50 -04:00
chriseth
35276d99e0 JSON AST: Some attribute cleanup. Add linearized base contracts. 2016-08-19 13:05:12 +02:00
chriseth
64cec9793a Merge pull request #919 from asinyagin/develop
Add the missing AST-JSON converters
2016-08-19 12:55:24 +02:00
chriseth
32c93cf9c9 Merge pull request #920 from Denton-L/document-throwing
Add documentation about throwing
2016-08-19 11:43:33 +02:00
Denton Liu
e27493aa83 Remove throw from withdrawal pattern 2016-08-18 12:56:39 -04:00
Denton Liu
bbe7c493ad Document throwing on contract-creation fail 2016-08-18 12:47:41 -04:00
Alex Darby
41eaf3a0cc Updated the function withdraw() in the SimpleAuction and BlindAuction contracts to not use a 'throw' if a address send() fails. 2016-08-18 18:00:30 +02:00
Alex Sinyagin
4b9eb299d0 Rename root AST JSON node to SourceUnit 2016-08-18 15:38:20 +00:00
chriseth
cc0bc9b908 Explicitly specify length of push data for assembly output. 2016-08-18 16:37:42 +02:00
Alex Sinyagin
4387d8bbe3 Do not add children to EnumValue and PlaceholderStatement elements in JSON AST 2016-08-18 13:29:44 +00:00
Alex Sinyagin
9139d763d3 Use the full names for JSON AST nodes 2016-08-18 13:12:15 +00:00