aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contracts.rst
Commit message (Collapse)AuthorAgeFilesLines
* Fix typoDaniel Kronovet2018-06-031-1/+1
|
* consistency: unordered list for restrictionsWilliam Morriss2018-05-301-5/+5
|
* clarify warnings in contracts.rstJoão Vítor2018-05-281-0/+5
| | | closes #4117
* Adjust tests.Daniel Kirchner2018-05-171-1/+1
|
* Merge pull request #4101 from mesqueeb/patch-2chriseth2018-05-161-0/+2
|\ | | | | Extra line of explanation on Abstract contracts.
| * fixed capitalisation and contractionsLuca Ban2018-05-161-1/+1
| |
| * Extra line of explanation on Abstract contracts.Luca Ban2018-05-091-0/+2
| | | | | | And why they're useful.
* | Prefer view over constant in the documentation.Daniel Kirchner2018-05-091-1/+1
|/
* Merge pull request #4074 from elopio/docs/implicit-constructorchriseth2018-05-091-2/+6
|\ | | | | docs: document the implicit call of base constructor without arguments
| * document that all the base constructors are calledLeo Arias2018-05-091-4/+5
| |
| * docs: document the implicit call of base constructor without argumentsLeo Arias2018-05-061-2/+5
| |
* | docs: update the explanation of constructorLeo Arias2018-05-061-4/+4
|/
* Update documentation about C3 linearization.chriseth2018-04-301-5/+5
|
* Updated constructors and pragma solidity lines.Matthew Ludwig2018-04-211-8/+8
| | | | Updated the Inheritance section of the docs in order to correct old constructor formats and update them to the new constructor() format.
* Merge pull request #3885 from ↵chriseth2018-04-171-2/+2
|\ | | | | | | | | LefterisJP/update_solidity_version_where_revert_with_reason Docs: Update solidity version for revert with reason
| * Docs: Update solidity version for revert with reasonLefteris Karapetsas2018-04-161-2/+2
| |
* | Merge pull request #3865 from ethereum/updateConstructorVersionPragmaschriseth2018-04-171-2/+2
|\ \ | |/ |/| [MERGE WITH RELEASE 0.4.22] Update version pragmas in constructor documentation.
| * Update version pragmas from >0.4.21 to ^0.4.22.Daniel Kirchner2018-04-121-2/+2
| |
* | Update documentation.chriseth2018-04-121-2/+8
|/
* Error on duplicated super constructor callsFederico Bond2018-04-091-5/+9
|
* hash256 -> bytes32 fix in misleading noteRoman2018-04-041-1/+1
| | | As it was described here: https://ethereum.stackexchange.com/questions/44628/understanding-low-level-interface-to-logs/44629?noredirect=1#comment52316_44629
* Document absence of constructors.Daniel Kirchner2018-04-041-1/+3
|
* Update version pragma and use new constructor syntax in std/ contracts.Daniel Kirchner2018-04-041-3/+3
|
* Updates docs to new constructor syntax.bitshift2018-04-041-6/+26
|
* fix a wrong numberHaoliang Yu2018-04-031-1/+1
|
* Document STATICCALL usage in experimental 0.5.0.chriseth2018-03-061-0/+19
|
* Revert warning update about `view` modifierOleksii Matiiasevych2018-03-061-1/+1
|
* Merge pull request #3643 from ethereum/gasleftchriseth2018-03-061-1/+1
|\ | | | | Move msg.gas to global function gasleft(). Closes #2971.
| * Use msg.value and gasleft() as an example in the docs.Daniel Kirchner2018-03-051-1/+1
| |
| * Move msg.gas to global function gasleft(). Closes #2971.Daniel Kirchner2018-03-051-1/+1
| |
* | Correct warning message in Pure Functions docFurkan Ayhan2018-03-041-1/+1
| | | | | | wrong commit that caused this: (https://github.com/ethereum/solidity/commit/64eaff64200d166bdd48f81bceefec9bc83db72f#diff-754689a291c0a19b500c31eb6c1d30c7R506)
* | change the language so that it doesn't sound like send and transfer is ↵bernard peh2018-03-021-1/+6
| | | | | | | | providing the stipend
* | clarify 2300 gas stipend in fallback function sectionbernard peh2018-03-021-9/+2
|/
* Documentation updates for internal constructors and function signature (#3365)Elena Dimitrova2018-03-011-4/+31
| | | | | | | | | | * Add a note explaining return values not included in function signature * Add section on Constructors in documentation * Improve documented definition for abstract contract * Add benefits of abstraction to documentation
* Note deprecation of constant keyword on functionswbt2018-02-271-1/+1
|
* Random documentation updates (assembly, faq)Alex Beregszaszi2018-02-271-3/+3
|
* Documentation about emitting events.chriseth2018-02-221-4/+6
|
* Merge pull request #3427 from duaraghav8/patch-3chriseth2018-02-221-0/+11
|\ | | | | Abstract Contracts: Add note about function type
| * Fix link.chriseth2018-02-201-5/+3
| |
| * correct terminologyRaghav Dua2018-01-241-2/+2
| |
| * Abstract Contracts: Add note about function typeRaghav Dua2018-01-241-0/+13
| |
* | fixes ethereum/solidity#1209hyperfekt2018-01-261-1/+1
| | | | | | | | This clears up a common and easy misunderstanding which seems to occur rather often. (https://ethereum.stackexchange.com/questions/8263/trying-to-understand-libraries)
* | Merge pull request #3203 from ethereum/nocallchriseth2018-01-251-1/+29
|\ \ | | | | | | Prevent libraries from being called.
| * | Document call protector.chriseth2018-01-191-1/+29
| | |
* | | Inheritance, "super" and DDDZoOgY-DoOgY2018-01-241-3/+3
| |/ |/| | | As explained in "Multiple Inheritance and Linearization" part, "a simple rule to remember is to specify the base classes in the order from “most base-like” to “most derived”". So "contract Final is Base1, Base2" means Final is derived from Base2, derived from Base1, so the final inheritance sequence should be, starting with the most derived contract : Final, Base2, Base1, mortal, owned.
* | Add comment to clarify example (#3415)Maurelian2018-01-241-1/+1
|/ | | | | | * Add comment to clarify example * Reverse bases.
* Minor syntax and formatting changes (#3337)Chuck LeDuc Díaz2017-12-201-22/+22
| | | | | | | | | | | | * Copyediting, mostly syntax. * Use consistent quote chars inside sample code comments * Revert to put back matching parenthesis * Use single backticks for comment code quotes wherever a reserved word, function or variable name is used in a comment
* Fix Solidity warningsJim McDonald2017-12-131-68/+82
|
* Document function overloads and resolutionelenadimitrova2017-12-121-7/+94
|
* Minor update in contractswbt2017-11-301-1/+1
| | | Fix typos and prevent example code from needing horizontal scroll bar
* Ensure each code snippet in the docs can be extracted for testsAlex Beregszaszi2017-11-221-27/+13
|
* Update contracts.rstMartín Triay2017-09-281-1/+1
| | | Fixed web3 URL
* docs: Specify gas fallback function from callLefteris Karapetsas2017-09-211-2/+1
| | | | | Specify that also 21k gas is needed for fallback functions originating from external function calls.
* Overhaul contract creation section in the documentation (add reference to ↵Alex Beregszaszi2017-09-131-38/+10
| | | | remix and web3.js)
* Clarify some subtleties of the fallback functionAlex Beregszaszi2017-09-021-3/+18
|
* Highlight opcodes in docsAlex Beregszaszi2017-08-281-1/+1
|
* Fix lists and linksAlex Beregszaszi2017-08-281-0/+1
|
* Explain the limitations of view and pureAlex Beregszaszi2017-08-251-0/+18
|
* Require 0.4.16 for view/pure in docs examplesAlex Beregszaszi2017-08-251-2/+2
|
* Document pure functionsAlex Beregszaszi2017-08-241-1/+22
|
* Document view functionsAlex Beregszaszi2017-08-231-8/+11
|
* Update contracts.rstchriseth2017-08-161-1/+1
|
* Specify address as string on events documentationIsaac Ibiapina2017-08-161-1/+1
|
* Merge pull request #2660 from jamesray1/patch-26chriseth2017-08-151-1/+1
|\ | | | | Constructor index in docs/contracts.rst
| * Constructor is not a solidity keywordJames Ray2017-07-281-1/+1
| | | | | | Removed backticks
| * Constructor indexJames Ray2017-07-281-2/+2
| | | | | | For referencing, especially when it hasn't been mentioned but not discussed in detail previously e.g. here and here.
* | Updated link for getter-functionsJames Ray2017-07-281-1/+1
|/
* Fix typo in contracts.rstNathan Hernandez2017-07-271-1/+1
| | | Changed `internall` to `internally`.
* Enable more examples in the documentation for testingAlex Beregszaszi2017-07-191-0/+2
|
* Fix bugs in example contractsAlex Beregszaszi2017-07-141-5/+26
|
* Added ref for Getter functionsJames Ray2017-07-011-0/+1
|
* Merge pull request #2364 from VoR0220/abiSpecchriseth2017-06-141-0/+2
|\ | | | | Bring ABI Spec Into Solidity Documentation
| * Include abi specs in index and fix styling.chriseth2017-06-131-0/+2
| |
* | Clarify statement about receiving etherchriseth2017-06-141-1/+2
|/ | | Fixes #2377
* Merge pull request #2278 from ethereum/chriseth-patch-2chriseth2017-05-171-1/+1
|\ | | | | Fix bug in example contract.
| * Fix bug in example contract.chriseth2017-05-171-1/+1
| |
* | remove extraneous 's'greggdourgarian2017-05-041-1/+1
| |
* | minor punctuation, typo and clarity changesgreggdourgarian2017-05-041-28/+27
|/
* Cleanup to make the docs more consistent.chriseth2017-05-031-1/+1
|
* Update common-patterns.rstMatt Wisniewski2017-05-031-11/+8
|
* Update contracts.rstMorgan2017-04-181-1/+1
|
* Fix typoMatt Searle2017-03-271-1/+1
|
* Disallow constructor in interfacesAlex Beregszaszi2017-03-181-0/+1
|
* Disallow enums in interfacesAlex Beregszaszi2017-03-181-0/+1
|
* Document interfacesAlex Beregszaszi2017-03-181-0/+27
|
* Fix typo (recieve to receive)Alex Beregszaszi2017-03-161-1/+1
|
* Documentation update.chriseth2017-03-131-8/+13
|
* Extend documentation for constant state variables.chriseth2017-03-131-2/+9
|
* Disallow constants that are neither value types nor strings.chriseth2017-03-131-0/+3
|
* Documentation.chriseth2017-03-131-6/+5
|
* Rename accessor to getterAlex Beregszaszi2017-02-031-12/+12
|
* docs: document the resriction about a function and an event of the same ↵Yoichi Hirai2017-01-121-0/+7
| | | | name, and so on
* docs: add a description about the types of parameters of overriding functionsYoichi Hirai2016-11-231-2/+4
|
* Merge the constructor sectionsAlex Beregszaszi2016-10-191-0/+3
|
* Mention why Homestead was different for librariesAlex Beregszaszi2016-10-191-1/+1
|
* Document constant functionsAlex Beregszaszi2016-10-191-3/+24
|
* Rename sha3 to keccak256 in the documentationAlex Beregszaszi2016-10-061-3/+3
|
* Update documentation to version 0.4.0.chriseth2016-09-071-17/+51
|
* Merge pull request #1003 from winsvega/docschriseth2016-09-061-0/+26
|\ | | | | add "pragma solidity ^0.4.0;" to code examples
| * add "pragma solidity ^0.4.0;" to code examplesDimitry2016-09-051-0/+26
| |
* | Require ";" after "_"chriseth2016-09-051-3/+3
|/
* Clarify warning.chriseth2016-08-301-2/+3
|
* Documentation.chriseth2016-08-301-0/+5
|
* Clean up contracts.rstDenton Liu2016-08-271-14/+17
|
* Merge pull request #953 from Denton-L/fallback-stuffchriseth2016-08-261-18/+27
|\ | | | | Write about what fallback functions cannot do
| * Add "Sending Ether"Denton Liu2016-08-261-0/+1
| |
| * Correct spacingDenton Liu2016-08-261-18/+18
| |
| * Write about what fallback functions cannot doDenton Liu2016-08-261-0/+8
| |
* | Disallow fallback function to return values.chriseth2016-08-261-1/+2
|/
* Merge pull request #925 from mocamircea/patch-10chriseth2016-08-261-11/+56
|\ | | | | Update contracts.rst
| * Update contracts.rstMircea Moca2016-08-251-9/+47
| | | | | | | | | | | | | | | | | | 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.
| * Update contracts.rstMircea Moca2016-08-191-4/+4
| | | | | | I think it's more clear now and without the risk of mentioning the yet discussed accessor concept
| * Update contracts.rstMircea Moca2016-08-181-7/+14
| | | | | | Extended example according to the discussed stuff, clarification & typos
* | Update contracts.rstDenton Liu2016-08-241-3/+4
| |
* | Remove trailing whitespacesDenton Liu2016-08-241-1/+1
| |
* | Small documentation updateDave Hoover2016-08-241-1/+1
|/
* BREAKING: return only exits current function/modifierchriseth2016-08-171-7/+33
|
* Made snippet work as is.chriseth2016-08-011-3/+3
|
* Update contracts.rstcseberino2016-08-011-2/+6
|
* Update contracts.rstManidos2016-07-271-1/+1
| | | | | | | 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) ^-------------------^
* Security Considerationschriseth2016-07-041-1/+1
|
* Fixing library examples that don't compile.Dave Hoover2016-06-251-5/+5
| | | Addressing https://github.com/ethereum/solidity/issues/684
* Merge pull request #658 from graup/graup-patch-1chriseth2016-06-211-1/+1
|\ | | | | Fix typo in Libraries section
| * Fix typo in Libraries sectionPaul Grau2016-06-181-2/+2
| |
* | Fix two documentation typosFabio Berger2016-06-201-2/+2
|/
* Changed inline code syntaxDenton Liu2016-05-301-60/+60
| | | | Changed from :code:`<inline>` to ``<inline>``
* Modified contracts.rstDenton Liu2016-05-301-60/+60
| | | | Changed inline code syntax
* Changed link from markdown to rstDenton Liu2016-05-191-2/+2
| | | | Added labels for the links to point to
* Corrected capitalisation of symbol namesDenton Liu2016-05-191-11/+12
|
* Changed whitespace formattingDenton Liu2016-05-181-23/+24
|
* Replaced all tabs with spacesDenton Liu2016-05-181-50/+50
|
* More code-style correctionsDenton Liu2016-05-181-5/+21
|
* fix example solidity contract code by adding argument to constructorAlex Melville2016-05-161-1/+1
|
* Reformatted according to style guideDenton Liu2016-05-061-3/+53
|
* Update contracts.rstDenton Liu2016-05-061-1/+1
| | | | Corrected grammar error
* Documentation.chriseth2016-05-051-0/+66
|
* Documentation for delegatecall.chriseth2016-03-121-35/+8
|
* Update contracts.rstuberlaufer2016-03-111-4/+3
|
* shortened lines to 79uberlaufer2016-03-111-1/+5
|
* Update contracts.rstuberlaufer2016-03-111-5/+1
| | | minor grammar and spelling corrections
* Added in-depth links to function modifiers, structs and enums in structure ↵holgerd772016-02-191-0/+2
| | | | section
* docs: code sytleu22015-12-301-192/+192
|
* Fixes in the misc section.chriseth2015-12-211-0/+4
|
* Note about private note being invisible.chriseth2015-12-141-0/+7
|
* Imported documentation.chriseth2015-12-081-0/+899