Commit Graph

111 Commits

Author SHA1 Message Date
Amsavarthan Lv
e3ebcd63cf
Highlighted "revert" command
When reading through the documentation, I found that highlighting was missed for the revert command and added that.
2022-02-13 15:17:37 +05:30
dinah
f0aadcf577 Remove stale link. 2021-12-13 12:04:23 +01:00
Dallon Asnes
ef3c562160
Fix typo 2021-11-22 15:18:43 -06:00
chriseth
f320a95dd9 Update documentation. 2021-11-08 14:58:09 +01:00
Kamil Śliwak
f3a5c27852 docs: Replace a few remaining :: blocks with .. code-block:: 2021-07-15 10:14:00 +02:00
Amid Moeinzadeh
16fdfdc4eb Replace reference to `require by if`. 2021-06-28 15:45:07 +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
QQ喵
38af5180ac
Update docs/introduction-to-smart-contracts.rst
good for me

Co-authored-by: chriseth <chris@ethereum.org>
2021-06-14 17:24:23 +08:00
QQ喵
9a847deaee adopt cameel's version 2021-06-10 09:13:27 +08:00
QQ喵
aa37cc526a
can not prefix with `this.` 2021-06-08 15:09:18 +08:00
Wade Dorrell
9e0c52f621 Removed an overflow check and rely on checked arithmetic
The check `require(amount < 1e60);` was removed because it's rather confusing to reason why it
prevents overflow.

Co-authored-by: Wade Dorrell <wade@dorrells.org>
2021-04-26 09:43:16 +02:00
chriseth
786ae2ceec Use errors in examples. 2021-03-30 23:04:32 +02:00
chriseth
0c1be06cba Documentation for custom errors. 2021-03-30 23:04:32 +02:00
smareasy
e5695448db
Update introduction-to-smart-contracts.rst 2020-12-20 15:16:23 +09:00
chriseth
561280a5cc Merge remote-tracking branch 'origin/develop' into breaking 2020-12-14 11:33:40 +01:00
Kamil Śliwak
0f6f4314b6 Fix code snippets in docs not passing tests on versions matching their pragmas 2020-12-12 04:52:16 +01:00
Mathias Baumann
b72fb1333b Adjust docs example to work with v0.8.0 2020-09-08 13:36:16 +02:00
Kamil Śliwak
26ccb98222 docs: Update old external links to use HTTPS where possible 2020-08-31 12:46:45 +02:00
hactrox
9da3410f1b
Update introduction-to-smart-contracts.rst
Fixed a typo
2020-08-05 12:14:51 +08: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
chriseth
0148525aee Documentation changes. 2020-05-13 22:16:34 +02:00
chriseth
6728e3ef94 Merge remote-tracking branch 'origin/develop' into breaking 2020-04-22 17:21:32 +02:00
iamdefinitelyahuman
d59706e5f5 docs: fix formatting errors and style inconsistencies 2020-04-20 20:24:31 +04:00
chriseth
7d68f9f6c3 Merge remote-tracking branch 'origin/develop' into breaking 2020-03-24 13:35:41 +01:00
Erik Kundt
50c22f0800 Adds script which compiles docs example with minimum compiler version. 2020-03-18 19:27:38 +01:00
Erik Kundt
fe1676203d Updates documentation to 0.7.0. 2020-01-10 18:56:38 +01:00
misterfoxy
1c2a310944 resolved grammatical error in tutorial docs 2019-12-16 00:04:13 -07:00
chriseth
b93591bbbf Update introduction. 2019-12-12 16:05:53 +01:00
Chris Chinchilla
85b6e7508c Clarify what owning means
Updates from review
2019-06-25 08:59:40 +02:00
Mathias Baumann
ee937ea7b3 Fix typo to make CI happy 2019-06-17 13:14:00 +02:00
chriseth
9c5dc63ed2
Merge pull request #6567 from ethereum/docs-intro-subcurrency
[DOCS] Update subcurrency example in introductory section
2019-06-17 10:44:33 +02:00
Vignesh Karthikeyan
3d40152102 Brought warning to high priority
Update functions.rst

Update for warning over note priority

Updated units-and-global-variables.rst

Updated file for warning over note priority

Updated control-structures.rst

Updated priority of warning over note

Updated assembly.rst

Updated priority of warning over code

Updated introduction-to-smart-contracts.rst

Updated priority of warning over note

Update installing-solidity.rst

Corrected control-structures.rst

Corrected white space error

Corrected whitespace

Corrected whitespace introduction to smart contract
2019-06-04 14:46:26 +05:30
Chris Ward
931b93146f Update subcurrency example in introductory section
Further updates

Add line breaks

Changes from review

Updates from review

Changes from review

Fix label
2019-05-28 08:54:54 +02:00
Chris Ward
895d6e58e7 Polish introductory section of introduction to smart contracts
Update docs/introduction-to-smart-contracts.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Clarify pragma version
2019-05-01 14:51:32 +10:00
chriseth
e3fe365488
Merge pull request #6312 from ethereum/wip/docs-populus-storage-costs
[DOCS] Add details to storage costs
2019-03-25 11:49:07 +01:00
Chris Ward
7f8957c9ea Change to US spelling 2019-03-25 10:59:49 +01:00
Chris Ward
7075f158e3 Instead update heading 2019-03-18 16:30:23 +01:00
Chris Ward
855555e941 Add mention of initialisation cost of storage 2019-03-18 14:37:47 +01:00
Chris Ward
61be78b42a Adding populus gotcha covering storage costs 2019-03-18 14:20:47 +01:00
Taariq Levack
cacd271ba6
Update introduction-to-smart-contracts.rst
Looks like this was missed in the bump
2019-03-14 14:51:55 +02:00
chriseth
9193fcb99f
Merge pull request #6130 from ethereum/docs-pragma
[DOCS] Updates to Pragma docs
2019-03-06 12:07:17 +01:00
Chris Ward
6dcc368183 Small polish to prgama docs
Fix issues

Reset non-typo
2019-03-06 12:01:50 +01:00
chriseth
8d401ba936 Update pragmas. 2019-03-05 18:10:09 +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
Chris Ward
2e8114f312 Fix italics formatting issue 2018-12-17 13:30:06 +01:00
David Lozano Jarque
08579818c3
Update introduction-to-smart-contracts.rst
Fix typo
2018-11-25 17:39:02 +01:00
Pritam Roy
95104a088f
Update minor typo in Storage section of docs 2018-10-16 05:04:57 +05:30
Tomasz Drwięga
88d10b37d7
Clarify contract creation transaction
The change clarifies how contracts are deployed. The docs state that it's a transaction sent to `0` address (which is incorrect), the PR changes that to emphasize that the recipient is not set.
2018-10-09 08:58:05 +02:00