hrkrshnn
88c99a7538
Tests/Docs: changing type of msg.sender and tx.origin into address
...
And also making the type of address(literal) as non-payable address.
2020-12-14 16:55:48 +01:00
hrkrshnn
40244c5469
Tests/Docs after stricter explicit conversion.
2020-12-03 16:51:05 +01:00
chriseth
4bdec8107c
Merge remote-tracking branch 'origin/develop' into HEAD
2020-09-29 09:53:50 +02:00
Harikrishnan Mulackal
8339765509
[DOCS] Change >=0.7.0 to ^0.7.0
2020-09-28 13:02:31 +02:00
Harikrishnan Mulackal
710231e2b1
Docs: change >0.6.99 <0.8.0 to >=0.7.0
2020-09-28 11:14:45 +02:00
Mathias Baumann
b72fb1333b
Adjust docs example to work with v0.8.0
2020-09-08 13:36:16 +02:00
chriseth
479d7a059f
Documentation.
2020-07-07 12:16:18 +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
92cf61d4f9
fixed compilation tests and upgraded ext. tests branch
2020-05-05 21:11:15 +05:30
Erik Kundt
fe1676203d
Updates documentation to 0.7.0.
2020-01-10 18:56:38 +01:00
Leonardo Alt
9d5b0c9d80
Docs common patterns
2019-12-13 16:42:24 +01:00
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