aboutsummaryrefslogtreecommitdiffstats
path: root/docs/types.rst
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5770 from ethereum/docs-split-mapping-typesChris Chinchilla2019-01-141-58/+1
|\ | | | | [DOCS] Split mapping types into new file
| * Split mapping types into new fileChris Ward2019-01-141-58/+1
| |
* | Split conversion sections into new docChris Ward2019-01-141-127/+1
|/
* Merge pull request #5771 from ethereum/docs-split-operatorsChris Chinchilla2019-01-101-47/+1
|\ | | | | [DOCS] Split operators involving LValues into new doc
| * Split operators involving LValues into new docChris Ward2019-01-091-47/+1
| |
* | Merge pull request #5769 from ethereum/docs-split-reference-typesChris Chinchilla2019-01-101-409/+1
|\ \ | | | | | | [DOCS] Split Reference types doc into new file
| * | Split Reference types doc into new fileChris Ward2019-01-091-409/+1
| |/
* / Split Value Types docsChris Ward2019-01-091-708/+1
|/
* Fix examples in type conversion docsLeonardo Alt2018-12-241-2/+2
|
* Updates arrays section to improve order and clarify conceptsChris Ward2018-12-181-25/+37
|
* Clean input and output function typesChris Ward2018-12-181-9/+16
| | | | Updates from review
* Add array item deletion idiosyncracyChris Ward2018-12-171-1/+8
|
* Move String literal and inline array FAQ itemsChris Ward2018-12-031-16/+19
| | | | | | | | | | | | Fix tab Update docs/types.rst Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com> Update docs/types.rst Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
* Merge pull request #5438 from ethereum/docs-faq-types-undefinedchriseth2018-11-261-0/+5
|\ | | | | DOCS: Move undefined FAQ item
| * Update docs/types.rstErik Kundt2018-11-241-1/+1
| | | | | | Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
| * Add default value detailsChris Ward2018-11-231-1/+4
| |
| * Update docs/types.rstchriseth2018-11-231-1/+1
| | | | | | Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
| * Move undefined FAQ itemChris Ward2018-11-151-0/+2
| |
* | Update types.rstDavid Lozano Jarque2018-11-261-1/+1
| | | | | | RST note with incorrect syntax
* | Remove length related FAQ itemChris Ward2018-11-151-1/+3
|/
* Fixed consistent use of `nameReg` Yet another codejunkie2018-11-151-1/+1
| | | Fixed consistent use of `nameReg` instead of `namReg`
* Consistent use of address()Yet another codejunkie2018-11-151-3/+3
| | | First example is with address() and the following examples without. I suggest a consistent use here.
* Update syntax used for input and output parametersChris Ward2018-11-141-1/+1
|
* Integers cannot be implicitly converted to addresschriseth2018-11-061-2/+1
|
* Merge pull request #4843 from ethereum/docs-2177-abi-typechriseth2018-10-151-1/+1
|\ | | | | Link and clarify ABI type
| * Link and clarify ABI typeChris Ward2018-10-151-1/+1
| | | | | | | | | | | | | | | | Remove rogue ’s’ Clarify wording Revert other changes and just add link
* | Add link to string literalsChris Ward2018-10-051-1/+2
|/
* Fix typos.chriseth2018-10-041-2/+2
|
* Merge pull request #5108 from ethereum/payableWithdrawalchriseth2018-09-271-0/+7
|\ | | | | Explain address payable and withdraw.
| * Explain address payable and withdraw.chriseth2018-09-271-0/+7
| |
* | [DOCS] More on reference types.chriseth2018-09-271-38/+78
|/
* [DOCS] Semantics of negation.chriseth2018-09-271-1/+14
|
* Remove unary + from floating point types documentationAlex Beregszaszi2018-09-271-1/+1
|
* Make the exponentiation 0**0 note a real RST noteAlex Beregszaszi2018-09-271-1/+2
|
* Rename remainder to moduloAlex Beregszaszi2018-09-271-2/+2
|
* Merge pull request #5006 from ethereum/modSemanticschriseth2018-09-261-3/+19
|\ | | | | Document modulo semantics
| * Documents modulus semantics.Erik Kundt2018-09-261-3/+19
| |
* | Update version pragma in all documentation examplesAlex Beregszaszi2018-09-261-12/+12
| |
* | Merge pull request #5022 from ethereum/lastValuechriseth2018-09-261-6/+42
|\ \ | | | | | | [DOCS] Last part of value types.
| * | Last part of value types.chriseth2018-09-191-6/+42
| | |
* | | Merge pull request #5025 from ethereum/refTypeschriseth2018-09-241-8/+14
|\ \ \ | | | | | | | | [DOCS] Update reference types.
| * | | [DOCS] Update reference types.chriseth2018-09-211-8/+14
| | | |
* | | | Merge pull request #5035 from ethereum/moreTypesUpdateschriseth2018-09-211-4/+11
|\ \ \ \ | | | | | | | | | | [DOCS] Final updates to types section.
| * | | | [DOCS] Final updates to types section.chriseth2018-09-201-4/+11
| | | | |
* | | | | Document array length changing behaviors, fixes #4802William Entriken2018-09-211-4/+3
| |/ / / |/| | |
* | | | Merge pull request #5021 from ethereum/moreTypeschriseth2018-09-211-22/+32
|\ \ \ \ | |/ / / |/| | | More types.
| * | | More types.chriseth2018-09-211-22/+32
| |/ /
* / / Extend section on addresses.chriseth2018-09-191-24/+41
|/ /
* | Merge pull request #4819 from ethereum/docs-4532-mapping-typechriseth2018-09-181-20/+24
|\ \ | |/ |/| Docs: Clarify mapping type
| * Clarify mapping typeChris Ward2018-09-181-20/+24
| |
* | Some operational semantics.chriseth2018-09-181-5/+44
|/
* Add payable and non-payable state mutability to AddressType.Daniel Kirchner2018-09-131-7/+20
|
* Add some more documentation.Daniel Kirchner2018-08-151-3/+5
|
* Extend documentation about explicit and implicit conversions between ↵Daniel Kirchner2018-08-151-11/+84
| | | | (u)intXX, bytesYY and literals.
* Update documentation.chriseth2018-08-151-12/+10
|
* Merge pull request #4372 from JesseBusman/implicit-convertibility-functionschriseth2018-08-141-2/+20
|\ | | | | Add implicit convertibility to function pointer with higher state mutability
| * Add implicit convertibility to function pointer with higher state mutabilityJesse Busman2018-08-141-2/+20
| |
* | Clarify data representation of enums.chriseth2018-08-141-1/+5
|/
* Update documentation.chriseth2018-08-141-1/+1
|
* Update documentation examples.chriseth2018-08-141-15/+26
|
* Merge pull request #4696 from ethereum/byteLiteralConversionchriseth2018-08-131-1/+1
|\ | | | | Disallow ambiguous implicit and explicit conversions from number literals to bytesXX
| * Disallow ambiguous conversions between number literals and bytesXX types.Daniel Kirchner2018-08-131-1/+1
| |
* | Merge pull request #4618 from ethereum/docs-1211-contract-typechriseth2018-08-131-10/+23
|\ \ | |/ |/| Add contract type to types documentation
| * Update from feedbackChris Ward2018-08-131-3/+6
| |
| * Remove initial sentence.chriseth2018-08-061-8/+5
| |
| * Changes after rebasingChris Ward2018-08-011-12/+18
| |
| * Add contract type to types docChris Ward2018-08-011-0/+7
| |
* | add link for text "fallback function"gftea2018-08-091-1/+1
| |
* | Change note about returning dynamic arrays.chriseth2018-08-091-8/+5
| |
* | Cleanup & polish numbers-with-underscores parsing, also improving tests.Christian Parpart2018-08-081-1/+3
| |
* | Add stricter hex underscore rulesBalajiganapathi S2018-08-081-2/+2
| |
* | Allow underscores in numbers.Balajiganapathi S2018-08-081-0/+3
| |
* | Clarify truncation with addressesChris Ward2018-08-031-0/+8
|/
* Fix tests regarding contract type conversion.chriseth2018-08-011-1/+1
|
* Disallow conversion between unrelated contract types.chriseth2018-08-011-0/+17
|
* Clarify what ‘memory type’ isChris Ward2018-07-301-0/+2
| | | | Use RST links
* Enforces visibility specifier and updates docs.Erik Kundt2018-07-171-2/+1
|
* Merge pull request #4512 from ↵chriseth2018-07-161-10/+10
|\ | | | | | | | | chase1745/use-explicit-data-locations-external-tests Added default data locations to docs and other external tests.
| * Added default data locations to docs and other external tests.Chase McDermott2018-07-151-10/+10
| |
* | Update docs allowed mapping key valuesNicolás Venturo2018-07-131-1/+1
|/ | | | | | | | | | | Functions cannot be used as mapping keys (e.g. the following contract does not compile): ``` pragma solidity ^0.4.24; contract Foo { mapping(function (uint) pure returns (uint) => string) a; } ```
* Removed repeated documentationNicolás Venturo2018-07-131-4/+0
| | | There is already a paragraph below describing how to call functions in both their internal and external forms (and IMO it's clearer).
* Update documentation.Daniel Kirchner2018-07-031-1/+1
|
* documentation: adjustments to not use the "var" keywordChristian Parpart2018-07-031-28/+3
|
* Documentation.chriseth2018-06-251-16/+19
|
* Use proper SAR for signed right shifts and emulate on pre-constantinople.Daniel Kirchner2018-06-121-7/+6
|
* Merge pull request #4201 from wjmelements/bytes-complex-typechriseth2018-06-051-5/+3
|\ | | | | move bytes and string to arrays section
| * keep stub in value types section, and move discussion to Arrays sectionWilliam Morriss2018-05-311-13/+11
| |
| * move bytes and string to complex types sectionWilliam Morriss2018-05-301-12/+12
| |
* | Adds syntax tests, documentation and changelog entry.Erik Kundt2018-05-301-1/+3
|/ | | | Refines comment for array utility function.
* Fix bug in documentation.Arindam Mondal2018-05-291-1/+1
|
* Adjust tests.Daniel Kirchner2018-05-171-1/+1
|
* Disallow conversions between bytesX and uintY of different size.Daniel Kirchner2018-05-171-0/+9
|
* Merge pull request #3885 from ↵chriseth2018-04-171-1/+1
|\ | | | | | | | | 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-1/+1
| |
* | Improve documentation and warning about accessing contract members inherited ↵Daniel Kirchner2018-04-141-2/+2
|/ | | | from address.
* Update documentation.chriseth2018-04-121-1/+4
|
* Set default fixed point decimal places to 18Jason Cobb2018-03-311-1/+1
|
* Use 0.4.21 pragma for documentation that uses "emit".chriseth2018-03-021-1/+1
|
* Documentation about emitting events.chriseth2018-02-221-2/+2
|
* update typesYuShuangqi2018-01-271-1/+1
| | | correct the mistakes in writings
* Fixes for failing testsJim McDonald2017-12-131-1/+1
|
* Fix Solidity warningsJim McDonald2017-12-131-43/+45
|
* Change phrase in type deductionChua Chee Wee2017-11-161-1/+1
| | | updated phrase in type deduction from "any value of this type" to "the highest value of this type"
* Changed limitation to featureChua Chee Wee2017-10-301-1/+1
| | | Changed the word "limitation" to "feature" for the note where transfer is described.
* Add reference to EIP-55 in address literals (#3062)Alex Beregszaszi2017-10-101-0/+3
|
* Do not add members of address to contracts in experimental 0.5.0Alex Beregszaszi2017-10-051-0/+3
|
* Document function selectorsAlex Beregszaszi2017-09-131-0/+11
|
* Merge pull request #2871 from ethereum/fixedpointdocschriseth2017-09-051-9/+24
|\ | | | | Explain fixed point types in docs
| * Explain the difference between floating and fixed pointAlex Beregszaszi2017-09-041-0/+6
| |
| * Explain fixed point typesAlex Beregszaszi2017-09-041-0/+9
| |
| * Move fixed after int in docsAlex Beregszaszi2017-09-041-9/+9
| |
* | Document gas/value modifiers with overloadingAlex Beregszaszi2017-09-021-0/+6
| |
* | Document byte[] vs bytesAlex Beregszaszi2017-09-021-0/+4
| |
* | Document call/gas modifiers properlyAlex Beregszaszi2017-09-021-0/+12
|/
* Highlight opcodes in docsAlex Beregszaszi2017-08-281-4/+4
|
* Add pure to grammarAlex Beregszaszi2017-08-241-1/+1
|
* Introduce view (and keep constant as an alias)Alex Beregszaszi2017-08-231-1/+1
|
* Update grammar to reflect state mutabilityAlex Beregszaszi2017-08-171-1/+1
|
* Add proper warning for fixed point typesAlex Beregszaszi2017-08-161-1/+3
|
* Merge pull request #2659 from jamesray1/patch-25chriseth2017-08-151-0/+2
|\ | | | | Link: members-of-addresses in docs/types.rst
| * Link: members-of-addressesJames Ray2017-07-281-0/+2
| |
* | Merge pull request #2634 from ethereum/chriseth-patch-1Alex Beregszaszi2017-08-111-2/+3
|\ \ | |/ |/| Clarify internal function types
| * Clarify internal function typeschriseth2017-07-261-2/+3
| | | | | | Fixes https://github.com/ethereum/solidity/issues/2617
* | Use the storage keyword in examplesAlex Beregszaszi2017-07-271-2/+2
| |
* | Mention that callcode is deprecatedAlex Beregszaszi2017-07-271-1/+5
| |
* | Merge pull request #2627 from atfornes/patch-2chriseth2017-07-261-2/+3
|\ \ | |/ |/| Change Mapping example to valid (executable) code
| * Change Mapping example to valid (executable) codeAntonio Tenorio-Fornés2017-07-251-2/+3
| | | | | | | | | | Current example will not compile and would need to be compiled in separate files, unlike how it is shown (see https://github.com/ethereum/solidity/pull/2618). The proposed changes provide both a source code that compiles and a easier to understand Contract creation (using new instead of a contract address).
* | Merge pull request #2484 from jamesray1/patch-8chriseth2017-07-251-2/+2
|\ \ | |/ |/| Added links for the getter function.
| * Update types.rstJames Ray2017-07-011-2/+2
| |
| * Changed URL for getter to a refJames Ray2017-06-301-1/+1
| |
| * Used a ref for getter instead of a URL.James Ray2017-06-301-1/+1
| |
| * Added links for the getter function.James Ray2017-06-301-2/+2
| |
* | Fix bugs in example contractsAlex Beregszaszi2017-07-141-2/+6
| |
* | Merge pull request #1477 from ethereum/doc-remove-fixedchriseth2017-07-121-16/+2
|\ \ | | | | | | [WIP] docs: ``var x = 1/4`` is not working, so remove description about it
| * | docs: ``var x = 1/4`` is not working, so remove description about itYoichi Hirai2016-12-021-16/+2
| | |
* | | Update types.srtBen Che2017-06-301-8/+8
| |/ |/| | | Fix minor grammatical/spelling errors.
* | Warn deprecated usage of parameter names in function typesFederico Bond2017-06-271-2/+2
| |
* | Merge pull request #2373 from jamesray1/patch-14chriseth2017-06-161-1/+1
|\ \ | | | | | | Changed to "is compiled" rather than "maps" to the DVM op code to avoid ambiguity
| * | Create types.rstJames Ray2017-06-151-1/+1
| | | | | | | | | "is compiled" avoids ambiguity compared with "maps", especially for those who may not understand what maps may mean and may confuse it with the "mapping" code keyword
| * | Create types.rstJames Ray2017-06-121-1/+1
| | | | | | | | | Maps will be explained later `[here](http://solidity.readthedocs.io/en/develop/types.html#mappings)`_
* | | Merge pull request #2372 from jamesray1/patch-13chriseth2017-06-121-1/+2
|\ \ \ | | | | | | | | Create types.rst
| * | | Added linebreak.chriseth2017-06-121-1/+2
| | | |
| * | | Create types.rstJames Ray2017-06-121-1/+1
| |/ / | | | | | | Note that the following is not a pair of dynamic arrays but a dynamic array of pairs (i.e. of fixed size arrays of length two).
* / / Create types.rstJames Ray2017-06-121-1/+1
|/ / | | | | hash table link
* | Update common-patterns.rstMatt Wisniewski2017-05-031-5/+4
| |
* | Add warning about SAR in docsPaweł Bylica2017-04-281-0/+6
| |
* | Document the .value() and .gas() modifiersAlex Beregszaszi2017-03-161-0/+2
| |
* | Fix inconsistent use of single backticksAlex Beregszaszi2017-03-161-2/+2
| |
* | Document scientific notation in integer literalsAlex Beregszaszi2017-03-151-0/+3
| |
* | Disallow octal literals.chriseth2017-03-071-3/+2
| |
* | Prefer .transfer() over .send() in the documentationAlex Beregszaszi2017-02-241-10/+10
| |
* | Document transfer()Alex Beregszaszi2017-02-241-1/+5
| |
* | Rename accessor to getterAlex Beregszaszi2017-02-031-5/+5
| |
* | Simplify length rule.chriseth2017-01-261-2/+2
| |
* | Documentation.chriseth2017-01-251-0/+13
| |
* | Fix mapping syntax in docsFederico Bond2016-12-221-1/+1
| |
* | Update documentation.chriseth2016-12-131-7/+7
| |
* | Documentation.chriseth2016-12-121-2/+11
|/
* docs: describe the form of number literalsYoichi Hirai2016-12-011-0/+8
| | | | This is a part of #1390
* Update types.rstYoichi Hirai2016-11-251-7/+8
|
* docs: clarify how many number literal types are thereYoichi Hirai2016-11-251-3/+7
|
* docs: a bit more about literalsYoichi Hirai2016-11-251-6/+10
|
* Merge pull request #1408 from ethereum/keytypechriseth2016-11-231-3/+3
|\ | | | | docs: some types cannot be the key type for mappings
| * docs: some types cannot be the key type for mappingsYoichi Hirai2016-11-211-3/+3
| |
* | Fix examples and add explanation.chriseth2016-11-221-1/+5
| |
* | Fix oracle callback exampleAlex Beregszaszi2016-11-211-2/+2
| |
* | Fix function type examplesAlex Beregszaszi2016-11-211-5/+11
|/
* Documentation: Style updatechriseth2016-11-161-5/+5
|
* Update documentation.chriseth2016-11-161-1/+2
|
* Fix documentation formatting.chriseth2016-11-161-2/+2
|
* Mention "payable" in the documentation.chriseth2016-11-161-2/+7
|
* Updates to the documentation.chriseth2016-11-161-8/+12
|
* Documentation examples.chriseth2016-11-161-1/+73
|
* Part of the documentation.chriseth2016-11-161-1/+41
|
* docs: udpate description of enums about #1334Yoichi Hirai2016-11-121-1/+2
|
* Mapping-in-mapping can have accessors tooAlex Beregszaszi2016-10-191-0/+3
|
* Explain accessors on arraysAlex Beregszaszi2016-10-191-0/+3
|
* Merge the documentation about mappingsAlex Beregszaszi2016-10-191-0/+27
|
* Rename sha3 to keccak256 in the documentationAlex Beregszaszi2016-10-061-2/+2
|
* A typo fixAnubhav singh2016-10-051-1/+1
|
* Update documentation to version 0.4.0.chriseth2016-09-071-3/+6
|
* add "pragma solidity ^0.4.0;" to code examplesDimitry2016-09-051-0/+14
|
* Clarify typecastingDenton Liu2016-08-271-2/+7
|
* Throw on division by zero.chriseth2016-08-171-0/+2
|
* Introduce hex literals (#832)Alex Beregszaszi2016-08-161-0/+9
| | | | | | | | | | * Introduce hex keyword token * Support hex literals * Include tests for hex literals * Document hex literals
* Correct all UTF-8 spellingsDenton Liu2016-08-111-1/+1
|
* Mention single-quotesDenton Liu2016-08-111-2/+2
|
* Correct UTF-8 spellingsDenton Liu2016-08-111-3/+3
|
* Document \n, \xNN and \uNNNNAlex Beregszaszi2016-08-051-0/+2
|
* Fix String Literals documentation about implicit conversionsAlex Beregszaszi2016-08-051-1/+1
|
* Merge pull request #764 from Denton-L/make-safechriseth2016-08-011-1/+2
|\ | | | | Throw if send() fails in example code
| * Throw if send() fails in example codeDenton Liu2016-07-301-1/+2
| |
* | Add link to operator tableDenton Liu2016-07-211-0/+3
|/
* Merge pull request #680 from Denton-L/fix-679chriseth2016-07-091-1/+1
|\ | | | | Add section about default values of variables
| * Add reference to default values in mapping sectionDenton Liu2016-07-041-1/+1
| |
* | Security Considerationschriseth2016-07-041-0/+7
|/
* Restore correct inline code samplePi Delport2016-06-201-1/+1
| | | (This appears to have been accidentally broken in a73428b4.)
* Added missing word in sentenceFabio Berger2016-06-181-1/+1
|
* Merge pull request #618 from chriseth/inlineArrayschriseth2016-06-091-0/+38
|\ | | | | Document inline arrays.
| * Fixed typo.chriseth2016-06-031-1/+1
| |
| * Document inline arrays.chriseth2016-05-311-0/+38
| |
* | Changed reference nameDenton Liu2016-06-021-1/+1
| |
* | Documented max stack depth at 1024Denton Liu2016-06-021-1/+1
| |
* | uint20 is not a typeDenton Liu2016-06-021-2/+2
| |
* | Document some pitfalls in connection with "send".chriseth2016-06-021-0/+6
| |
* | Link address-type and address-global methodsDenton Liu2016-06-021-0/+2
| |
* | Corrected typoDenton Liu2016-06-021-1/+1
|/
* Changed inline code syntaxDenton Liu2016-05-301-83/+83
| | | | Changed from :code:`<inline>` to ``<inline>``
* Modified types.rstDenton Liu2016-05-301-83/+83
| | | | Corrected inline code syntax
* Fixed errors introduced by previous commitDenton Liu2016-05-241-1/+2
| | | | #565 introduced some errors in the documentation
* updated docsVoR02202016-05-191-8/+48
| | | | | | types reference
* Corrected errors.chriseth2016-05-191-0/+2
|
* Changed whitespace formattingDenton Liu2016-05-181-121/+137
|
* Removed trailing whitespaceDenton Liu2016-05-181-11/+11
|
* Removed a bad reference to functions-on-addressesDenton Liu2016-05-061-1/+1
|
* Removed bullet characters from typesDenton Liu2016-05-061-2/+2
|
* Extend examplechriseth2016-03-141-0/+2
|
* Clarificationchriseth2016-03-141-1/+3
|
* Fix examples.chriseth2016-03-141-2/+2
|
* Allocating arrays.chriseth2016-03-141-0/+17
|
* Documentation for delegatecall.chriseth2016-03-121-4/+4
|
* Warning about using integer literals in division.chriseth2016-03-111-0/+9
|
* Added in-depth links to function modifiers, structs and enums in structure ↵holgerd772016-02-191-0/+4
| | | | section
* Added in-depth links for further reading to the state variable, function and ↵holgerd772016-02-191-0/+2
| | | | function modifier overview in the structure section
* Documentation.chriseth2016-02-101-0/+5
|
* Added some lost changes.chriseth2015-12-081-0/+6
|
* Imported documentation.chriseth2015-12-081-0/+524