Commit Graph

145 Commits

Author SHA1 Message Date
Chris Ward
4a6d6cb14f Tidy formatting 2019-04-08 11:46:32 +02:00
Chris Ward
26d6305a43 Combine warnings 2019-04-05 14:43:57 +02:00
Chris Ward
f8b126e153 Explain high s value 2019-04-03 12:22:03 +02:00
Chris Ward
f11f6ab9d9 Add mention of high s
Mention OpenZeppelin library

Change wording
2019-03-08 15:11:27 +01:00
Alex Beregszaszi
efe63d4264 Add type(C).name to the documentation 2019-03-04 12:59:14 +01:00
Chris Ward
7d7237e935 Start draft update to ecrecover
First draft of ecrecover clarifications

Further clarify

Correct byte error

Correct resurfaced typo

Small changes from further review
2019-02-25 11:59:52 +01:00
Alex Beregszaszi
d44bf59192
Merge pull request #5862 from ethereum/packedEncoding
[DOC] Specify packed encoding and add warning.
2019-02-05 16:06:50 +00:00
chriseth
4eb48dd6b7 Specify packed encoding and add warning. 2019-02-05 16:49:24 +01:00
Leonardo Alt
61810def3b Fix typo in creationCode docs 2019-01-30 12:54:05 +01:00
chriseth
01ad4bffe7 Documentation. 2019-01-17 20:36:48 +01:00
Erik Kundt
5279f9f03b
Update docs/units-and-global-variables.rst
Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
2019-01-17 10:19:16 +02:00
Chris Ward
eab9e58e7e Add call warning into main docs and remove FAQ item 2019-01-16 17:11:23 +02:00
Nick Barry
12d00d38bd clarify antecedents in deprecation notices 2019-01-03 00:35:06 -06:00
Chris Ward
fa1cb346ae Update syntax used for input and output parameters 2018-11-14 14:20:49 +01:00
chriseth
fc5cad9b7f [DOCS] Update units and globals. 2018-09-20 15:10:14 +02:00
Leonardo Alt
d51cb16ed0 Add a link from ecrecover to address 2018-09-18 11:06:33 +02:00
Daniel Kirchner
12aaca1645 Add payable and non-payable state mutability to AddressType. 2018-09-13 15:15:49 +02:00
Daniel Kirchner
a102f3b783 Remove trailing whitespace for all files in the repository. 2018-09-04 11:30:30 +02:00
chriseth
cc6fa6d61f
Merge pull request #4822 from ethereum/addressStaticCall
Add ``staticcall`` to ``address``.
2018-08-16 00:13:21 +02:00
Franco Victorio
4209953b37
Add missing parentheses in ABI Encoding section 2018-08-15 15:42:46 -03:00
Daniel Kirchner
7ca0aaaf6f Add `staticcall to address`. 2018-08-15 16:06:48 +02:00
chriseth
122cd6517c Documentation. 2018-08-15 10:45:16 +02:00
Nicolás Venturo
3bf8fb741e
Minor doc style fix
An extra newline caused a line to appear in bold.
2018-07-16 14:26:05 -03:00
Leonardo Alt
3ebfcae829 Update external tests and docs 2018-07-12 12:53:49 +02:00
Cryptomental
eb92d5f760 docs: Fix typos.
Used codespell and manual fixes.

Refs: #4442
2018-07-10 22:57:59 +02:00
chriseth
17493e64ed Documentation. 2018-06-25 17:17:18 +02:00
Alex Beregszaszi
72e87423db Disallow the years unit denomination properly 2018-06-21 20:21:02 +02:00
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
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