Commit Graph

49 Commits

Author SHA1 Message Date
Chris Chinchilla
dd3beeadf1
Rephrase sentence of example explanation 2019-10-02 14:35:08 +02:00
chriseth
dc4a44fb7f
Protection to not lose money. 2019-08-28 17:00:15 +02:00
chriseth
8d401ba936 Update pragmas. 2019-03-05 18:10:09 +01:00
Tomek Kopczynski
369a368a3f Remove unnecessary word 2019-01-17 21:59:31 +01:00
Chris Ward
cefc6c433e Update non-existant pragma 0.4.99 to 0.5.0
Use correct syntax for pragma

Change pragma syntax

One more change to pragma syntax
2019-01-07 14:20:10 +01:00
Alex Beregszaszi
15dbb9cc4e
Merge pull request #5083 from ethereum/updatePatterns
[DOCS] Update common patterns.
2018-09-25 20:26:35 +01:00
Alex Beregszaszi
e3e9ce53d7 Set 0.5.x specific example code to be compilable with >0.4.99 <0.6.0 (e.g. 0.5.x only) 2018-09-25 19:04:34 +01:00
Alex Beregszaszi
3ca00c73f9 Update version pragma in all documentation examples 2018-09-25 19:03:25 +01:00
chriseth
86e4276e24 [DOCS] Update common patterns. 2018-09-25 19:08:16 +02:00
Daniel Kirchner
12aaca1645 Add payable and non-payable state mutability to AddressType. 2018-09-13 15:15:49 +02:00
chriseth
6cf299bec6 Update documentation examples. 2018-08-14 15:50:46 +02:00
Chris Ward
0ad646635f Small clarifications around the 2300 gas stipend from transfer and send 2018-08-01 16:21:29 +01: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
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
Matías A. Ré Medina
6e730df036
Fix: Missing payable at function forceOwnerChange
forceOwnerChange expects ether, and does not have the payable keyword.
2018-03-19 16:38:20 -03:00
Jim McDonald
6e521d59b0 Fix Solidity warnings 2017-12-12 18:47:30 +00:00
Dave Hoover
6de9fc710e Minor edits 2017-10-04 07:35:05 -05:00
chriseth
7e838fd4a8 Cleanup to make the docs more consistent. 2017-05-03 12:03:02 +02:00
Matt Wisniewski
2b4b86aa7f Update common-patterns.rst 2017-05-03 12:03:02 +02:00
Chandan Kumar
66165ff753 Update common-patterns.rst 2017-04-14 09:27:14 +05:30
Alex Beregszaszi
b053b6164e Fix typo (recieve to receive) 2017-03-16 11:20:39 +00:00
Dmitriy Merkurev
a2f92033e7 add payable attribute 2017-02-21 22:44:18 +03:00
chriseth
4f5a95d569 Update documentation to version 0.4.0. 2016-09-06 19:11:41 +02:00
chriseth
453490cb61 Merge pull request #1003 from winsvega/docs
add "pragma solidity ^0.4.0;" to code examples
2016-09-06 15:59:49 +02:00
chriseth
02984b8de1 Require ";" after "_" 2016-09-05 14:54:50 +02:00
Dimitry
183cd70c47 add "pragma solidity ^0.4.0;" to code examples 2016-09-05 14:54:54 +03:00
Denton Liu
532266b89e Use new style for the docs 2016-08-26 13:33:42 -04: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
e27493aa83 Remove throw from withdrawal pattern 2016-08-18 12:56:39 -04:00
gl367
c547f9c24b fix typo in costs modifier (#850) 2016-08-16 16:26:57 +02:00
Denton Liu
0b3ad9262c Fix code 2016-08-12 11:08:53 -04:00
Denton Liu
269a6d1379 Reference inspiration 2016-08-12 11:03:58 -04:00
Denton Liu
0f1fb33d58 Add minor corrections 2016-08-11 14:34:36 -04:00
Denton Liu
058e5f0159 Update contracts and descriptions 2016-08-11 10:45:47 -04:00
Denton Liu
4737100d00 Change withdrawal example
The example is now a "King of the Ether"-esque contract. This is
actually relevant as they suffered an attack because of an almost
identical issue.

See the post-mortem here:
https://www.kingoftheether.com/postmortem.html
2016-08-11 10:35:45 -04:00
Denton Liu
666c46ac29 Use store example 2016-08-10 11:11:13 -04:00
Denton Liu
b688d33055 Change example to auction 2016-08-10 10:42:51 -04:00
Denton Liu
617daa1f00 Fix withdrawal pattern documentation 2016-08-10 10:40:55 -04:00
Denton Liu
82365f21c0 Link to withdraw pattern 2016-08-10 10:40:55 -04:00
Denton Liu
efb48659dd Add section about withdrawal pattern 2016-08-10 10:40:55 -04:00
Weiyang Zhu
b8d75340af Missing '_' in modifier 'timedTransitions' 2016-07-21 14:10:53 +08:00
chriseth
f9c8a9b5ca Removed some problems in documentation examples. 2016-05-31 13:56:16 +02:00
Denton Liu
49f5bc7ce9 Changed inline code syntax
Changed from :code:`<inline>` to ``<inline>``
2016-05-30 09:44:33 -04:00
Denton Liu
d57efc06c4 Modified common-patterns.rst
Now it uses proper inline code syntax
2016-05-30 09:42:30 -04:00
Denton Liu
7c22a387f3 Changed whitespace formatting 2016-05-18 11:35:32 -04:00
Denton Liu
d4ad3231a2 Removed trailing whitespace 2016-05-18 11:35:32 -04:00
chriseth
64fa9ca478 Imported documentation. 2015-12-07 22:35:51 +01:00