Nuno Santos
02a07fdf46
Changed references to money
2023-05-22 12:54:43 +01:00
Nuno Santos
7974a3cf7c
Consolidated term to reentrancy
2023-03-28 12:28:31 +01:00
Nicolás Acosta
4ff310cc62
style(common-patterns): fix mapping style
2023-02-01 15:50:48 -03:00
Richie
beb51068bb
fix: corrects _ prefixes
2022-03-14 08:03:10 -07:00
Kamil Śliwak
693b88e5f8
docs: Force highlighter to work despite errors on snippets that it cannot parse
2021-07-15 10:14:00 +02:00
iskanderandrews
a8e9d7a80d
docs/
...
Enhancing all the .rst doc files by adding highlighting for the code snippets, including the following langs:
1. Solidity
2. bash
3. javascript
4. assembly
2021-06-25 12:33:55 +02:00
chriseth
786ae2ceec
Use errors in examples.
2021-03-30 23:04:32 +02:00
Greg Stretton
6aa6161881
Fix typo
2020-12-28 11:06:40 +00:00
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