Commit Graph

43 Commits

Author SHA1 Message Date
chriseth
eb241ff1b3 Documentation. 2016-08-30 15:32:28 +02:00
Denton Liu
f125b2813e Clean up contracts.rst 2016-08-26 17:13:45 -04:00
chriseth
83160d56f3 Merge pull request #953 from Denton-L/fallback-stuff
Write about what fallback functions cannot do
2016-08-26 17:01:38 +02:00
Denton Liu
8c3b1334ae Add "Sending Ether" 2016-08-26 10:31:57 -04:00
chriseth
21b6aa92ff Disallow fallback function to return values. 2016-08-26 00:07:50 +02:00
Denton Liu
f5989fb5e0 Correct spacing 2016-08-25 15:44:16 -04:00
Denton Liu
c276086f3f Write about what fallback functions cannot do 2016-08-25 15:43:04 -04:00
chriseth
f329d5e772 Merge pull request #925 from mocamircea/patch-10
Update contracts.rst
2016-08-25 18:06:30 +02:00
Mircea Moca
55be44dd5f Update contracts.rst
I left the example with contract C only, showing the access specifiers discussed at 186-188. The specifier of data is left public since nothing is related to accessor functions now.

Added a separate example with contracts C, D and E to show specifier's effect. 

Added a separate example to prove the synthesizing of accessor functions.

Added a new example to show the internal/external call of the accessor, according to existent discussion.
2016-08-25 11:43:17 +03:00
Denton Liu
1655f3b7bf Update contracts.rst 2016-08-24 11:43:55 -04:00
Denton Liu
ac799aff0e Remove trailing whitespaces 2016-08-24 11:43:55 -04:00
Dave Hoover
1bb53ad3e7 Small documentation update 2016-08-23 22:53:30 -05:00
Mircea Moca
01dc055d42 Update contracts.rst
I think it's more clear now and without the risk of mentioning the yet discussed accessor concept
2016-08-19 17:47:57 +03:00
Mircea Moca
ee51894e73 Update contracts.rst
Extended example according to the discussed stuff, clarification & typos
2016-08-18 14:16:01 +03:00
chriseth
9c83109549 BREAKING: return only exits current function/modifier 2016-08-17 11:29:31 +02:00
chriseth
d5e536a4fb Made snippet work as is. 2016-08-01 12:14:17 +02:00
cseberino
a20e03135b Update contracts.rst 2016-08-01 12:12:06 +02:00
Manidos
fe45221952 Update contracts.rst
I've changed line 88, because **if (msg.sender == creator)** threw an exception in solidity browser compier.

Untitled:25:13: Error: Operator == not compatible with types address and contract TokenCreator
        if (msg.sender == creator)
            ^-------------------^
2016-07-27 13:27:56 +06:00
chriseth
2df142c496 Security Considerations 2016-07-04 15:27:53 +02:00
Dave Hoover
b31bd4a2e4 Fixing library examples that don't compile.
Addressing https://github.com/ethereum/solidity/issues/684
2016-06-25 07:11:45 -05:00
chriseth
b23c300792 Merge pull request #658 from graup/graup-patch-1
Fix typo in Libraries section
2016-06-21 17:52:35 +02:00
Fabio Berger
9272c8ab32 Fix two documentation typos 2016-06-20 01:41:46 +01:00
Paul Grau
6aa069403a Fix typo in Libraries section 2016-06-17 23:13:03 +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
c8e4ba4b52 Modified contracts.rst
Changed inline code syntax
2016-05-30 09:42:30 -04:00
Denton Liu
d29b9b986e Changed link from markdown to rst
Added labels for the links to point to
2016-05-18 17:17:05 -04:00
Denton Liu
c851cd0481 Corrected capitalisation of symbol names 2016-05-18 17:17:05 -04:00
Denton Liu
7c22a387f3 Changed whitespace formatting 2016-05-18 11:35:32 -04:00
Denton Liu
bb62a8b3fd Replaced all tabs with spaces 2016-05-18 11:23:47 -04:00
Denton Liu
8bbe99ad11 More code-style corrections 2016-05-18 11:23:47 -04:00
Alex Melville
38940ddfa5 fix example solidity contract code by adding argument to constructor 2016-05-15 17:16:44 -07:00
Denton Liu
565866dd87 Reformatted according to style guide 2016-05-05 14:58:02 -04:00
Denton Liu
768b778615 Update contracts.rst
Corrected grammar error
2016-05-05 14:01:50 -04:00
chriseth
7e0a1863de Documentation. 2016-05-05 13:36:32 +02:00
chriseth
d0bb87ae88 Documentation for delegatecall. 2016-03-11 17:49:59 +01:00
uberlaufer
770d509af6 Update contracts.rst 2016-03-10 20:55:53 +01:00
uberlaufer
ec3800b28e shortened lines to 79 2016-03-10 20:53:13 +01:00
uberlaufer
ac03a08bec Update contracts.rst
minor grammar and spelling corrections
2016-03-10 19:12:16 +01:00
holgerd77
aec2f4879a Added in-depth links to function modifiers, structs and enums in structure section 2016-02-19 12:05:56 +01:00
u2
af2e4c0673 docs: code sytle 2015-12-30 20:56:46 +08:00
chriseth
8fe89455b3 Fixes in the misc section. 2015-12-21 16:54:32 +01:00
chriseth
5622011bc5 Note about private note being invisible. 2015-12-14 16:22:52 +01:00
chriseth
64fa9ca478 Imported documentation. 2015-12-07 22:35:51 +01:00