203 Commits
Author SHA1 Message Date
Zacharius af3e6db038 changed interface code example to illustrate working solidity version 2018-12-19 12:22:49 +01:00
Chris Ward 32c3f6c817 Add link between functions in contract structure and more details
Fix missing label
2018-12-03 09:06:19 +01:00
chriseth 2867c2b4dd Clarify "copying bytecode" in inheritance. 2018-11-29 13:33:10 +01:00
chriseth 5e55cb1729 Merge pull request #5277 from ethereum/docs-5175-require-revert
DOCS: Add mention that pure functions can require and revert
2018-11-26 20:10:12 +01:00
Chris Ward ae542176e3 Add that pure functions can use revert and require 2018-11-26 20:07:22 +01:00
Chris Ward 12daec3535 Move function related content to contracts doc 2018-11-26 19:46:31 +01:00
ritzdorf 8258712771 keccak256 does not call an external contract
``keccak256`` will be compiled to the ``SHA3`` opcode and not call an external contract.
2018-11-13 15:54:13 +01:00
Chris Ward 144909dfb8 Clarify creating a contract example as reported in #2661 2018-11-12 15:07:57 +01:00
chriseth 62fb0e29c9 Merge pull request #5163 from ethereum/docDeployment
Explain deployment.
2018-10-10 15:40:37 +02:00
Erik Kundt 8a15058a21 Adds more specific explanation of library view functions calls. 2018-10-10 15:10:25 +02:00
Erik Kundt 4beabf6686 Documents library view functions and adds unit test. 2018-10-10 12:28:24 +02:00
chriseth 08cf304159 Explain deployment. 2018-10-09 14:14:41 +02:00
chriseth 6706f3eb96 Remove non-ascii quotes. 2018-10-05 14:46:02 +02:00
Chris Ward 973d91ec89 Update docs on event data and logs
Updates from comments

Clarify code comments and add an event output example

Clarification from review

Updated with information from @gumb0

Add clarifier

Updates from review

Remove link

Update example code
2018-10-05 11:25:48 +02:00
chriseth 24d1507537 Remove duplicate statement about pure enforcement. 2018-10-01 15:46:49 +02:00
Chris Ward fb7380a92d Fix issues introduced from PR #5043 2018-09-30 17:00:50 +03: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 5cbff19d26 Review comments [to be squashed] 2018-09-24 14:13:25 +02:00
chriseth 535af42405 [DOCS] Update contracts section. 2018-09-24 14:08:44 +02:00
chriseth a32fb75f8f Some cleanup in structure section. 2018-09-17 15:25:25 +02:00
Daniel Kirchner 12aaca1645 Add payable and non-payable state mutability to AddressType. 2018-09-13 15:15:49 +02:00
Daniel Kirchner cf69433f23 Update documentation. 2018-09-04 13:31:10 +02:00
chriseth 2ed793c4d3 Merge pull request #4496 from ethereum/faq-reorg-contracts
Move contract related FAQ points
2018-08-15 15:54:37 +02:00
Chris Ward 5ba2fddb54 Move contract related FAQ points
Updates from feedback

Changes from feedback

Further changes from review

Changes from review

Changes from review

Changes from review
2018-08-15 15:40:35 +02:00
chriseth 2946b7cdc5 Merge pull request #4815 from gftea/develop
multiple inheritance in solidity search from right-to-left, different from python
2018-08-15 10:41:53 +02:00
Simon Chen dd960c3d4f clarify multiple inheritance in solidity and its differences against to python 2018-08-15 09:45:18 +02:00
chriseth 8a06000a30 Update documentation. 2018-08-14 15:50:46 +02:00
chriseth 6cf299bec6 Update documentation examples. 2018-08-14 15:50:46 +02:00
Daniel Kirchner 7d7abeb149 Disallow ambiguous conversions between number literals and bytesXX types. 2018-08-13 14:27:01 +02:00
Alex Beregszaszi 047561f4ec Update enum with lifting the restriction for interfaces 2018-08-07 22:04:21 +01:00
Alex Beregszaszi 1f832e068b Merge pull request #4639 from ethereum/docs-fix-specify-limit
Small clarifications around the 2300 gas stipend from transfer and send
2018-08-01 16:23:06 +01:00
Chris Ward 0ad646635f Small clarifications around the 2300 gas stipend from transfer and send 2018-08-01 16:21:29 +01:00
chriseth c8232d9759 Disallow conversion between unrelated contract types. 2018-08-01 11:04:35 +01:00
Chris Ward 6c3a2f8e9b Clarify what ‘memory type’ is
Use RST links
2018-07-30 15:48:06 +02:00
Erik Kundt b5ecfbe5bc Enforces visibility specifier and updates docs. 2018-07-17 17:44:51 +02:00
chriseth 931794001e Merge pull request #4500 from ethereum/v050-interface-functions-must-be-external
[BREAKING] interface functions must be external
2018-07-16 14:43:56 +02:00
Christian Parpart 396bf11858 enforce interface-functions to be external-declared
- libsolidity: Enforce interface-functions must be external-declared.
- Changelog adapted to reflect changes wrt. functions in interfaces.
- test: Adjustments according to prior interface-function changes.
- tests: Adapting SolidityEndToEndTest to interface-function change.
- docs: Adapted documentation to interface-function change.
2018-07-16 12:15:36 +02:00
Chase McDermott 3267adcd14 Added default data locations to docs and other external tests. 2018-07-14 16:42:43 -05:00
chriseth 31e56f9f99 Merge pull request #4438 from ethereum/address_members_external_tests_docs
Address members used by contracts: update external tests and docs
2018-07-13 01:28:29 +02:00
Leonardo Alt 3ebfcae829 Update external tests and docs 2018-07-12 12:53:49 +02:00
Leonardo Alt 38026d3114 Use STATICCALL for view and pure 2018-07-11 14:45:22 +02:00
Cryptomental eb92d5f760 docs: Fix typos.
Used codespell and manual fixes.

Refs: #4442
2018-07-10 22:57:59 +02:00
Daniel Kirchner d9a8f2aace Update documentation and Changelog. 2018-07-04 10:14:58 +02:00
Daniel Kirchner f7153ee58a Update documentation. 2018-07-03 15:31:34 +02:00
Christian Parpart 133fbdbf18 documentation: adjustments to not use the "var" keyword 2018-07-03 10:53:09 +02:00
Erik Kundt f74a9a346b Fixes semantic versioning. 2018-07-02 17:02:17 +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
Mike 2a9d54af58 Clarify scope of 'using A for B' (#4252)
* Issue 1213: Clarify scope of 'using A for B'

* Typo fix.

* Further restructuring and clarification of contracts doc.

* Revert closer to original wording and formatting.
2018-06-29 12:21:39 +02:00