Chris Ward
22a2f5dd1d
Clarify truncation with addresses
2018-08-03 14:09:42 +01:00
chriseth
b800bfb021
Fix tests regarding contract type conversion.
2018-08-01 11:04:35 +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
c5ff173431
Merge pull request #4512 from chase1745/use-explicit-data-locations-external-tests
...
Added default data locations to docs and other external tests.
2018-07-16 14:04:18 +02:00
Chase McDermott
3267adcd14
Added default data locations to docs and other external tests.
2018-07-14 16:42:43 -05:00
Nicolás Venturo
e3339a9684
Update docs allowed mapping key values
...
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;
}
```
2018-07-12 19:58:06 -03:00
Nicolás Venturo
910fa3cd7c
Removed repeated documentation
...
There is already a paragraph below describing how to call functions in both their internal and external forms (and IMO it's clearer).
2018-07-12 15:25:42 -03: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
chriseth
17493e64ed
Documentation.
2018-06-25 17:17:18 +02:00
Daniel Kirchner
f33dc92cbd
Use proper SAR for signed right shifts and emulate on pre-constantinople.
2018-06-12 09:32:19 +01:00
chriseth
d004948929
Merge pull request #4201 from wjmelements/bytes-complex-type
...
move bytes and string to arrays section
2018-06-04 19:02:00 +02:00
William Morriss
78b8baede7
keep stub in value types section, and move discussion to Arrays section
2018-05-30 10:34:01 -07:00
Erik Kundt
98d52beba3
Adds syntax tests, documentation and changelog entry.
...
Refines comment for array utility function.
2018-05-30 17:43:20 +02:00
William Morriss
7bc36204d3
move bytes and string to complex types section
2018-05-29 16:31:26 -07:00
Arindam Mondal
5187c66a25
Fix bug in documentation.
2018-05-28 23:37:47 +02:00
Daniel Kirchner
f5a49f679a
Adjust tests.
2018-05-16 18:32:47 +02:00
Daniel Kirchner
5c59d56335
Disallow conversions between bytesX and uintY of different size.
2018-05-16 18:32:47 +02:00
chriseth
af18b4deb8
Merge pull request #3885 from LefterisJP/update_solidity_version_where_revert_with_reason
...
Docs: Update solidity version for revert with reason
2018-04-16 19:55:56 +02:00
Lefteris Karapetsas
8a7224683b
Docs: Update solidity version for revert with reason
2018-04-15 23:12:28 +02:00
Daniel Kirchner
05c5ab19fb
Improve documentation and warning about accessing contract members inherited from address.
2018-04-13 18:26:24 +02:00
chriseth
344a388d44
Update documentation.
2018-04-12 13:09:38 +02:00
Jason Cobb
e37b619593
Set default fixed point decimal places to 18
2018-03-31 00:56:36 +01:00
chriseth
66ee9aa2f1
Use 0.4.21 pragma for documentation that uses "emit".
2018-03-02 12:29:48 +01:00
chriseth
f58024b974
Documentation about emitting events.
2018-02-22 15:17:42 +01:00
YuShuangqi
0ef43978fd
update types
...
correct the mistakes in writings
2018-01-27 07:36:25 +08:00
Jim McDonald
93cf4dee66
Fixes for failing tests
2017-12-13 07:55:46 +00:00
Jim McDonald
6e521d59b0
Fix Solidity warnings
2017-12-12 18:47:30 +00:00
Chua Chee Wee
15427dc8d3
Change phrase in type deduction
...
updated phrase in type deduction from "any value of this type" to "the highest value of this type"
2017-11-16 23:18:06 +08:00
Chua Chee Wee
d4db1624b5
Changed limitation to feature
...
Changed the word "limitation" to "feature" for the note where transfer is described.
2017-10-30 15:40:28 +08:00
Alex Beregszaszi
81f9f86ce5
Add reference to EIP-55 in address literals ( #3062 )
2017-10-10 17:54:29 +02:00
Alex Beregszaszi
09276cb9d3
Do not add members of address to contracts in experimental 0.5.0
2017-10-05 11:42:34 +01:00
Alex Beregszaszi
c70ebfd241
Document function selectors
2017-09-13 11:40:57 +01:00
chriseth
152a0e69c4
Merge pull request #2871 from ethereum/fixedpointdocs
...
Explain fixed point types in docs
2017-09-04 19:04:12 +02:00
Alex Beregszaszi
435eeec5e1
Explain the difference between floating and fixed point
2017-09-04 15:57:05 +01:00
Alex Beregszaszi
76bd8c5769
Explain fixed point types
2017-09-04 15:57:05 +01:00
Alex Beregszaszi
c975bf87db
Move fixed after int in docs
2017-09-04 15:19:39 +01:00
Alex Beregszaszi
8e1aae2e1a
Document gas/value modifiers with overloading
2017-09-01 19:09:36 +01:00
Alex Beregszaszi
f787ecae5a
Document byte[] vs bytes
2017-09-01 19:09:36 +01:00
Alex Beregszaszi
8743b2cead
Document call/gas modifiers properly
2017-09-01 19:09:07 +01:00
Alex Beregszaszi
412cc6bc58
Highlight opcodes in docs
2017-08-28 11:59:35 +01:00
Alex Beregszaszi
23c791e4df
Add pure to grammar
2017-08-24 13:46:18 +01:00
Alex Beregszaszi
efe4d68a7b
Introduce view (and keep constant as an alias)
2017-08-22 18:24:22 +01:00
Alex Beregszaszi
47b6aa1f5b
Update grammar to reflect state mutability
2017-08-16 21:19:09 +01:00
Alex Beregszaszi
09ef3d8e72
Add proper warning for fixed point types
2017-08-16 16:47:49 +01:00
chriseth
80f83169b1
Merge pull request #2659 from jamesray1/patch-25
...
Link: members-of-addresses in docs/types.rst
2017-08-15 17:46:21 +02:00
Alex Beregszaszi
ecec557d2b
Merge pull request #2634 from ethereum/chriseth-patch-1
...
Clarify internal function types
2017-08-11 16:59:22 +01:00
James Ray
84e71f061c
Link: members-of-addresses
2017-07-28 15:07:18 +10:00