Commit Graph

147 Commits

Author SHA1 Message Date
Alex Beregszaszi
412cc6bc58 Highlight opcodes in docs 2017-08-28 11:59:35 +01:00
Alex Beregszaszi
dd2cc899bb Fix lists and links 2017-08-28 11:59:35 +01:00
Alex Beregszaszi
93e6e83093 Document pure functions 2017-08-24 13:46:18 +01:00
Alex Beregszaszi
b1cdf81506 Document view functions 2017-08-22 18:25:46 +01:00
chriseth
5b26e2bcee Merge pull request #2486 from jamesray1/patch-22
Ref to getter function in docs/miscellaneous.rst
2017-08-11 18:26:46 +02:00
James Ray
0da46f259f :ref:getter function<getter-functions> 2017-07-31 20:35:29 +10:00
James Ray
c03a85aa7b ref getter-functions 2017-07-28 11:50:20 +10:00
James Ray
89551d9968 Updated reference to getter-functions 2017-07-28 11:34:22 +10:00
Alex Beregszaszi
bf10cd6c95 Mention all global aliases 2017-07-26 23:05:09 +01:00
Alex Beregszaszi
15689506c5 Remove interface keyword from reserved list 2017-07-26 23:05:09 +01:00
Alex Beregszaszi
b2fcd59ee6 Add version pragma to docs examples 2017-07-13 17:10:37 +02:00
James Ray
221a013042 Fixed reference to getter function 2017-07-07 12:07:25 +10:00
James Ray
433039f105 Ref to getter function 2017-06-30 19:47:35 +10:00
chriseth
7f05ef8aca Clarify exceptions. 2017-06-23 19:29:11 +02:00
Federico Bond
9fc4c877d3 Fix and improve grammar.txt 2017-06-22 13:55:08 -03:00
Jonathan Brown
8595bc7122 for free => automatically
Getters still use gas when called from another contract, so they are not free.
2017-06-03 14:12:33 +07:00
Alex Beregszaszi
8a5feb8c49 Explain that bytecode depends on metadata 2017-04-25 18:29:51 +01:00
Alex Beregszaszi
6c9dcaf7ac Mention the order of the ABI in metadata 2017-04-25 18:29:50 +01:00
chriseth
47cd8964b8 Require and Assert. 2017-03-14 14:21:33 +01:00
Yoichi Hirai
cfbbd89daf Merge pull request #1702 from ethereum/assertError
Change effect of assert to invalid opcode.
2017-03-03 18:25:50 +01:00
Alex Beregszaszi
a36e2ce0cb Document transfer() 2017-02-24 00:18:18 +00:00
chriseth
4b1e8111cc Remove assert for now. 2017-02-23 19:43:40 +01:00
chriseth
811bb770c5 Change effect of assert to invalid opcode. 2017-02-16 15:54:17 +01:00
Alex Beregszaszi
28a7b1e019 Document revert() 2017-02-10 22:42:33 +00:00
Alex Beregszaszi
fd7ffedead Use different wording for assert 2017-02-10 21:41:40 +00:00
Alex Beregszaszi
7f726de1cb Document assert() 2017-02-10 13:29:17 +00:00
chriseth
4fccb5fdac Document input description and metadata output. 2017-02-08 21:53:07 +00:00
Alex Beregszaszi
9f9807f95d Remove obsolete esoteric features section 2017-02-03 01:52:18 +00:00
Alex Beregszaszi
ace583d0a1 Rename accessor to getter 2017-02-03 00:17:21 +00:00
Federico Bond
6955b8f7b9 Remove wrong syntax highlighting in docs 2016-12-28 17:32:10 -03:00
chriseth
56a027bedc Use multiple URLs for metadata. 2016-12-13 16:37:48 +01:00
chriseth
84443eb560 Merge pull request #1351 from ethereum/truncate_bit
Truncate a boolean from calldata into one bit
2016-12-08 16:15:35 +01:00
Yoichi Hirai
43b56a61aa
parsing: default and null are reserved keywords 2016-12-02 11:52:11 +01:00
Alex Beregszaszi
ea7a6520b2 Fix documentation errors
Subheadings must use consistent format across a file.

The metadata with comments cannot be parsed as JSON.
2016-12-01 16:03:59 +01:00
Alex Beregszaszi
35325ee7c3 Update metadata documentation 2016-12-01 16:03:59 +01:00
chriseth
6a7ff039df Use CBOR encoding. 2016-12-01 16:03:59 +01:00
chriseth
1316c0c872 Fix documentation error. 2016-12-01 16:03:59 +01:00
chriseth
91ecc4533d Add swarm hash to the end of the bytecode. 2016-12-01 16:03:59 +01:00
chriseth
9b46752cc2 Documentation. 2016-12-01 16:03:59 +01:00
Alex Beregszaszi
e7760417e8 docs: rename overflow to variable cleanup 2016-12-01 12:14:21 +00:00
Alex Beregszaszi
868a8a8fa0
docs: update overflow cleanup wording 2016-11-30 17:42:45 +01:00
Yoichi Hirai
5d7a1fda39
docs: remove the word overflow when we are talking about invalid values 2016-11-30 17:42:16 +01:00
Yoichi Hirai
547deec4be
codegen: clean any data from the input 2016-11-30 17:42:03 +01:00
Yoichi Hirai
7959ee49be
docs: describe when and how overflown values are cleaned 2016-11-30 17:41:58 +01:00
Alex Beregszaszi
2962426d53 Include the grammar verbatim in the documentation 2016-11-30 12:20:13 +00:00
Yoichi Hirai
452dbef3dc
docs: add a section about calldata layout
Part of #1390
2016-11-23 13:55:37 +01:00
Alex Beregszaszi
76c856397a Minor documentation fixes 2016-10-19 14:02:50 +01:00
chriseth
0635b6e008 Merge pull request #1195 from ethereum/memory-doc
Document memory layout
2016-10-14 11:13:36 +02:00
Alex Beregszaszi
66c6c74699 Explain how scratch space affects the free memory pointer 2016-10-12 09:15:06 +01:00
Alex Beregszaszi
3d12c2ddc7 Merge the two EVM memory introduction sections 2016-10-12 09:15:06 +01:00
Alex Beregszaszi
3f70e4879f Add link to grammar.txt in the documentation 2016-10-11 13:46:14 +01:00
Alex Beregszaszi
f0524ed45a Document memory layout 2016-10-11 13:20:58 +01:00
Alex Beregszaszi
70201e9273 Document the reserved keywords 2016-10-06 22:37:57 +01:00
Alex Beregszaszi
111d33d7ac Rename sha3 to keccak256 in the documentation 2016-10-06 16:34:41 +02:00
chriseth
4f5a95d569 Update documentation to version 0.4.0. 2016-09-06 19:11:41 +02:00
Denton Liu
d905f0e85b Write about struct members as well 2016-08-26 13:28:44 -04:00
Denton Liu
2d834f723a Write about multiple reads and writes 2016-08-26 13:25:57 -04:00
Denton Liu
89489da4cc Fix typo 2016-08-26 13:25:22 -04:00
Denton Liu
0268cbddc7 Document use of smaller storage variables 2016-08-25 13:20:54 -04:00
Denton Liu
02a72871d2 Change capitalisation 2016-08-24 11:43:55 -04:00
chriseth
d731225d02 Actually better to return zero on error. 2016-08-16 14:53:01 +02:00
Denton Liu
1ff7ba0b06 Remove after keyword from documentation 2016-08-11 10:15:59 -04:00
chriseth
23a4d07821 Merge pull request #750 from ethereum/chriseth-patch-2
Correct source map definition.
2016-08-01 12:44:38 +02:00
chriseth
66133469e9 Merge pull request #732 from Denton-L/document-precedence
Document precedence
2016-08-01 12:40:24 +02:00
Denton Liu
5687beb424 Add unary operations to the table 2016-07-28 15:25:58 -04:00
Denton Liu
8bf96b1c43 Remove >>> and >>>= operators 2016-07-27 10:30:20 -04:00
Denton Liu
71438157ce Revert "Remove comma operator"
This reverts commit 1ec74f8cc4.
2016-07-27 10:26:39 -04:00
chriseth
c8aa39e587 Correct source map definition. 2016-07-27 16:06:04 +02:00
Denton Liu
ca5e6a6bd4 Fix assignment operators 2016-07-26 14:01:01 -04:00
Denton Liu
1ec74f8cc4 Remove comma operator 2016-07-26 13:54:17 -04:00
Denton Liu
5d09211d50 Add link to operator table 2016-07-20 15:48:55 -04:00
Denton Liu
dfe55a929d Create order of precedence table 2016-07-20 15:48:54 -04:00
chriseth
9f7a55d2b2 Source mapping documentation. 2016-07-20 19:45:45 +02:00
Denton Liu
5d113600aa Fix typos 2016-07-12 17:06:49 -04:00
chriseth
2df142c496 Security Considerations 2016-07-04 15:27:53 +02:00
Fabio Berger
4139eddb1d Fix mis-typed word. The recipient will run out of gas, not go out of gas 2016-06-19 02:19:57 +01:00
chriseth
3150ab2bcf Allow remappings to change depending on the context. 2016-06-08 18:16:46 +02:00
Denton Liu
c2bb2d2a72 Added newlines to fix build error 2016-06-02 09:22:24 -04:00
Denton Liu
f03d315bad Updated incorrect list number 2016-06-01 13:25:36 -04:00
chriseth
84a8c0c008 Document some pitfalls in connection with "send". 2016-06-01 13:22:15 -04:00
Denton Liu
2d32041552 Named the global function parameters 2016-05-30 13:18:30 -04:00
Denton Liu
e72f819111 Corrected descriptions of hashes 2016-05-30 13:18:30 -04:00
Denton Liu
aafc65a275 Made explicit that we use KECCAK-256 2016-05-30 13:18:29 -04:00
Denton Liu
2667874587 Removed ending periods for consistency 2016-05-30 13:18:29 -04:00
Denton Liu
c0e10b1cf0 Added the type of .balance 2016-05-30 13:18:29 -04:00
Denton Liu
a6785113b5 Sorted block attributes alphabetically 2016-05-30 13:18:28 -04:00
Denton Liu
bc3e17192f Made it apparent that block.blockhash is function 2016-05-30 13:18:28 -04:00
Denton Liu
49f5bc7ce9 Changed inline code syntax
Changed from :code:`<inline>` to ``<inline>``
2016-05-30 09:44:33 -04:00
Denton Liu
d87627e6ee Modified miscellaneous.rst
Corrected inline code syntax
2016-05-30 09:44:33 -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
a8164eb5d7 Corrected documentation for ecrecover 2016-05-18 17:17:05 -04:00
Denton Liu
7c22a387f3 Changed whitespace formatting 2016-05-18 11:35:32 -04:00
chriseth
02161b29b8 documentation 2016-01-29 23:17:43 +01:00
chriseth
92e8c9aec9 Document remappings 2016-01-25 21:02:06 +01:00
chriseth
8fe89455b3 Fixes in the misc section. 2015-12-21 16:54:32 +01:00
chriseth
64fa9ca478 Imported documentation. 2015-12-07 22:35:51 +01:00