Commit Graph

68 Commits

Author SHA1 Message Date
Andreas Olofsson
2f44aa4072
change assert and require docs 2018-05-07 11:44:37 +02:00
chriseth
a1a7653c70 State that years has been deprecated. 2018-05-02 16:24:19 +02:00
chriseth
559fa58ddf Document ABI encoding functions. 2018-04-13 18:36:33 +02:00
chriseth
344a388d44 Update documentation. 2018-04-12 13:09:38 +02:00
chriseth
3da16b3e8a Documentation for revert with reason string. 2018-04-12 13:09:37 +02:00
Robbie Ferguson
49567b3f4c Update Delegatecall Description in Docs
The previous description did not include the fact that the storage locations of the two contracts must align up until the storage variable(s) affected in order for the called contract to successfully write to the caller's storage. If they are misaligned, delegatecall will silently fail. This is difficult to debug without underlying knowledge of how delegatecall works, and clarity in the docs would certainly be helpful.
2018-04-06 16:38:59 +02:00
bitshift
bddfa47e77 Updates docs for blockhash changes. 2018-03-27 03:30:03 +01:00
wbt
7d206ba64a Noted suicide is deprecated (#3692)
According to the [changelog](b5e804b8ca/Changelog.md), `suicide` was deprecated before 0.4.3 (after 0.2.0) and warning by 0.4.17.
2018-03-12 15:02:24 +01:00
Daniel Kirchner
c633c0eacb Move msg.gas to global function gasleft(). Closes #2971. 2018-03-05 11:18:04 +01:00
chriseth
2a58b44b8b
Merge pull request #3543 from medvedev1088/feature/add-gas-details-to-documentation
Add gas forwarding details to address related functions in documentation
2018-02-19 23:16:36 +01:00
Evgeny Medvedev
bce545c990 Add adjustable/no adjustable gas details to address related functions in units-and-global-variables.rst 2018-02-20 02:06:42 +07:00
Evgeny Medvedev
bfcf4a86c3 Add gas forwarding details to address related functions in units-and-global-variables.rst 2018-02-18 23:43:09 +07:00
chriseth
2b5a5a8669 Make addmod and mulmod revert if the last argument is zero. 2018-02-15 13:52:17 +01:00
Jim McDonald
6e521d59b0 Fix Solidity warnings 2017-12-12 18:47:30 +00:00
chriseth
3121608d7c
Remove obsolote statement about msg.sender and library calls. 2017-11-15 17:08:42 +01:00
Alex Beregszaszi
a7592fa801 Document packed ABI 2017-09-26 22:48:49 +01:00
Alex Beregszaszi
f3230a41ce Document caveats about timestamp and blockhash 2017-09-01 19:13:26 +01:00
chriseth
31449c9834 Closing parenthesis 2017-07-27 11:03:06 +02:00
Alex Beregszaszi
bf10cd6c95 Mention all global aliases 2017-07-26 23:05:09 +01:00
Alex Beregszaszi
04582dd2cb Mention that callcode is deprecated 2017-07-26 23:05:09 +01:00
chriseth
64067975e4 Review suggestions. 2017-06-23 19:29:11 +02:00
chriseth
7f05ef8aca Clarify exceptions. 2017-06-23 19:29:11 +02:00
Micah Zoltu
071efc553b Improves clarity of block.timestamp 2017-05-12 22:13:45 -07:00
FedericoCapello
fabf15de9e Update units-and-global-variables.rst
Consistency of explanation.
2017-05-01 20:05:25 +02:00
chriseth
1ac7056a1a Correct syntax and link to question. 2017-04-21 11:42:31 +02:00
Morgan
3fb0072105 Added link to example for ecrecover
This should be helpful for now until I can write up some documentation to include here
2017-04-21 01:39:14 -04:00
Alex Beregszaszi
e7e22c703c Merge pull request #1785 from ethereum/docs-address
Document all address methods in the global variables section
2017-03-16 12:46:26 +00:00
Alex Beregszaszi
18a37ed799 Document all address methods in the global variables section 2017-03-16 11:17:17 +00:00
Alex Beregszaszi
2d8b0fdc39 Fix inconsistent use of single backticks 2017-03-15 23:41:02 +00:00
Alex Beregszaszi
a36e2ce0cb Document transfer() 2017-02-24 00:18:18 +00:00
Alex Beregszaszi
28a7b1e019 Document revert() 2017-02-10 22:42:33 +00:00
Alex Beregszaszi
7f726de1cb Document assert() 2017-02-10 13:29:17 +00:00
Federico Bond
739ee88fa7 Add clarification for block.blockhash 2016-11-01 20:03:20 -03:00
Alex Beregszaszi
111d33d7ac Rename sha3 to keccak256 in the documentation 2016-10-06 16:34:41 +02:00
chriseth
6106bf98bb Merge pull request #969 from Denton-L/fix-documentation
Fix bad syntax
2016-08-30 16:31:11 +02:00
Denton Liu
ce45400060 Fix typo from second to seconds 2016-08-29 15:47:31 -04:00
Denton Liu
8b488e3ee4 Fix typo 2016-08-29 15:36:50 -04:00
Denton Liu
6a6976dc19 Document constant behaviour for hashes 2016-08-29 15:12:35 -04:00
chriseth
d731225d02 Actually better to return zero on error. 2016-08-16 14:53:01 +02:00
chriseth
c5203344a0 Merge pull request #886 from mocamircea/patch-6
Update units-and-global-variables.rst
2016-08-12 16:17:13 +02:00
Mircea Moca
6615487266 Update units-and-global-variables.rst
Coherence -> at the bottom of the document Wei is used several times, not "wei".
2016-08-12 16:54:25 +03:00
Mircea Moca
76f5c67dcc Update units-and-global-variables.rst
"Suffixes of" is wrong and misleading. "seconds", "minutes" etc. are suffixes of literal numbers.
2016-08-12 16:33:22 +03:00
Pi Delport
d9ee41f4a8 Add missing inline code tag 2016-06-20 16:16:10 +02:00
Denton Liu
ccd54ed87e Added back 'For more information...' statement 2016-06-03 09:20:18 -04:00
Denton Liu
bb83fd5adb Changed reference name 2016-06-02 09:29:53 -04:00
Denton Liu
a7b5e21e66 Fixed a bad reference 2016-06-02 09:27:55 -04:00
Denton Liu
fc121b9ba7 Documented max stack depth at 1024 2016-06-02 09:14:53 -04:00
Denton Liu
0b4b5e1046 Make address link look better 2016-06-02 09:13:27 -04:00
Denton Liu
1f19b93836 Copied warning message from cherry-picked commit 2016-06-01 13:59:16 -04:00
Denton Liu
9da7a4c17c Link address-type and address-global methods 2016-06-01 13:18:43 -04:00