Commit Graph

126 Commits

Author SHA1 Message Date
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
J Quinn
c20c9163af
Changed pragma explanation to match example 2018-10-02 03:06:37 +01:00
Chris Ward
d51b55c847 Add content from old Solidity wiki 2018-09-26 15:37:34 +02: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
10252bafa1 Blockchain basics part 1 2018-09-19 14:44:39 +02:00
chriseth
6de07e5c10 Blockchain basics part 2 2018-09-13 23:30:51 +02:00
chriseth
8e924fd644 Second part of coin example. 2018-09-13 15:52:43 +02:00
chriseth
2a5997d429 Update first part of example. 2018-09-05 21:39:01 +02:00
Chris Ward
e295e1fcbd Move intro related FAQ points
Changes from feedback

Changes from review
2018-08-06 17:55:35 +02: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
Flash Sheridan
ef1464a13c
Minor changes to make the English more idiomatic 2018-05-22 17:31:05 -04:00
Daniel Kirchner
1a014f83cc Prefer view over constant in the documentation. 2018-05-09 15:06:47 +02:00
chriseth
0f7e18780f
Clarify code state of contracts under construction. 2018-04-04 15:07:29 +02:00
chriseth
66ee9aa2f1 Use 0.4.21 pragma for documentation that uses "emit". 2018-03-02 12:29:48 +01:00
chriseth
f58024b974 Documentation about emitting events. 2018-02-22 15:17:42 +01:00
chriseth
a938e39a9d
Merge pull request #3182 from janat08/patch-2
Update introduction-to-smart-contracts.rst
2018-02-19 16:52:45 +01:00
chriseth
2b23d02c83
Update introduction-to-smart-contracts.rst 2018-02-19 16:52:37 +01:00
Jim McDonald
6e521d59b0 Fix Solidity warnings 2017-12-12 18:47:30 +00:00
janat08
dfac04d139
Update introduction-to-smart-contracts.rst 2017-11-09 05:17:28 +06:00
Matthieu Caneill
7b7cf8faea fix typo: missing word in documentation 2017-09-21 01:14:38 +02:00
Alex Beregszaszi
ac5fd64c23 Mention that different Unicode codepoint can look the same 2017-09-01 19:18:46 +01:00
Alex Beregszaszi
cbd729957b Document character set 2017-09-01 19:13:26 +01:00
Stu West
fdeb94a105 docs typo: remove duplicate period and unnecessary spaces in intro 2017-08-12 15:43:41 -07:00
James Ray
8a19b2f24e :ref:getter function<getter-functions> 2017-07-31 20:26:26 +10:00
James Ray
0c63f271a2 Updated getter-functions ref 2017-07-29 12:05:49 +10:00
James Ray
ba0d277e10 Fixed reference to getter function 2017-07-07 12:07:16 +10:00
James Ray
eb84acbbcb Ref to getter function 2017-06-30 19:51:10 +10:00
Ron Gross
f80fc0f636 Fix space 2017-05-22 15:30:46 +03:00
Ron Gross
459a4a911b Fix link format 2017-05-22 15:25:08 +03:00
jamesray1
139fdb36c7 Update introduction-to-smart-contracts.rst 2017-05-10 15:26:17 +10:00
jamesray1
1d5c0ce9f4 Update introduction-to-smart-contracts.rst
Updated link for pragma.
2017-05-10 15:20:12 +10:00
jamesray1
347a4040e6 Update introduction-to-smart-contracts.rst
Grammar
This sentence was a bit confusing due to changing from it to they: "Contracts cannot access log data after it has been created, but they can be efficiently accessed from outside the blockchain.", however changing it to the following may sound awkward "Contracts cannot access log data after log data has been created, but log data can be efficiently accessed from outside the blockchain."

Also added links to terminology that may not be understood by lay readers.
2017-05-06 20:20:36 +10:00
Abraham Sangha
602ad1e605 small fixes 2017-03-22 12:57:42 -06:00
Alex Beregszaszi
ace583d0a1 Rename accessor to getter 2017-02-03 00:17:21 +00:00
Will White
51a150e82a Other contracts can't write to a public variable
The removed words implied that other contracts can write to a public variable.
2017-02-02 15:19:27 +00:00
Anders Brownworth
5e29b4cde2 Re-word somewhat bumpy sentence to be more clear. 2017-01-11 13:13:11 -05:00
escull638
74ab62de14 Fixed spelling mistake in Logs
Changed 'maps all they way up to the block level' to 'maps all the way up to the block level'.
2016-11-21 11:26:58 +00:00
ethers
04eb6e85f2 Remove named return
Named returns are not explained in this introduction; they also provide little value in these examples.
2016-11-12 20:02:43 -08:00
Alex Beregszaszi
f0f2d5a612 FAQ: remove removal of external accounts 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
c41effd7c8 Merge the selfdestruct sections 2016-10-19 14:02:50 +01:00
Alex Beregszaszi
9521188bde Mention that memory is organised as 256-bit words 2016-10-13 19:00:57 +01:00
Alex Beregszaszi
3d12c2ddc7 Merge the two EVM memory introduction sections 2016-10-12 09:15:06 +01:00
chriseth
4f5a95d569 Update documentation to version 0.4.0. 2016-09-06 19:11:41 +02:00
Dimitry
183cd70c47 add "pragma solidity ^0.4.0;" to code examples 2016-09-05 14:54:54 +03:00
Denton Liu
dd543d4602 Fix selfdestruct documentation 2016-08-29 10:27:14 -04:00
Denton Liu
f55fb808e9 Fix grammar error 2016-08-26 17:02:49 -04:00
Denton Liu
89004edb2f Add comma 2016-08-24 11:43:56 -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
svantetobias
d45f241069 Fixed mix-up of variable names in Sent event
event Sent(address from, address to, uint amount) defines "amount" variable but it is two times referred to as "value", which can be a bit confusing for the reader.
2016-07-06 10:53:08 +02: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
506191b06c Modified introduction-to-smart-contracts.rst
Corrected inline code syntax
2016-05-30 09:44:33 -04:00
chriseth
fad2d4ac01 Update links to browser-solidity. 2016-05-20 16:51:26 +02:00
Denton Liu
ff26ea6c08 Added space to example code 2016-05-18 11:35:32 -04:00
Dave Hoover
66c8c15a7f Tiny fix 2016-04-11 22:53:05 -05:00
chriseth
d0bb87ae88 Documentation for delegatecall. 2016-03-11 17:49:59 +01:00
Lu Guanqun
04eecdc73f [docs]: add an ending period 2015-12-30 12:28:03 +08:00
chriseth
64fa9ca478 Imported documentation. 2015-12-07 22:35:51 +01:00