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
Denton Liu
2d32041552
Named the global function parameters
2016-05-30 13:18:30 -04:00
Denton Liu
a29aaa3776
Added section on address-related constants
2016-05-30 13:18:30 -04:00
Denton Liu
0c03577ade
Removed leading space
2016-05-30 13:18:29 -04:00
Denton Liu
aafc65a275
Made explicit that we use KECCAK-256
2016-05-30 13:18:29 -04:00
Denton Liu
a6785113b5
Sorted block attributes alphabetically
2016-05-30 13:18:28 -04:00
Denton Liu
bc3e17192f
Made it apparent that block.blockhash is function
2016-05-30 13:18:28 -04:00
Denton Liu
91459ffc76
Corrected underline length
2016-05-30 13:18:28 -04:00
Denton Liu
49f5bc7ce9
Changed inline code syntax
...
Changed from :code:`<inline>` to ``<inline>``
2016-05-30 09:44:33 -04:00
Denton Liu
652bb0e8c1
Modified units-and-global-variables.rst
...
Corrected syntax for inline code
2016-05-30 09:44:33 -04:00
Denton Liu
8bd1115255
Corrected typo
2016-05-18 18:04:15 -04:00
Denton Liu
a8164eb5d7
Corrected documentation for ecrecover
2016-05-18 17:17:05 -04:00
Denton Liu
7c22a387f3
Changed whitespace formatting
2016-05-18 11:35:32 -04:00
Denton Liu
18fb63167b
Removed trailing whitespace
2016-05-18 11:35:28 -04:00
Raine Revere
4bfec4efa9
Update units-and-global-variables.rst with link to address ref
2016-05-09 10:15:58 -06:00
Raine Revere
5e6e9df7dd
Add this.balance and this.send to units-and-global-variables.rst
...
I looked here for this information and didn't initially find it. Hoping to help out others who think the same way as me and look here.
2016-05-08 13:27:30 -06:00
Georgios Paralykidis
858274cb19
Typo fix.
2016-03-08 23:13:34 +01:00
MrChico
3dbb8ad92a
ecrecover takes uint8, not byte
2016-03-02 14:57:09 +01:00
chriseth
64fa9ca478
Imported documentation.
2015-12-07 22:35:51 +01:00