diff options
author | chriseth <c@ethdev.com> | 2017-01-25 06:10:01 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-01-25 06:37:48 +0800 |
commit | d855eaab13392ef2ee3b75709c84b314d29afab9 (patch) | |
tree | 2a252fd5367b843e587f0c69319dee7a292c26d3 /docs/types.rst | |
parent | 3949624a61b1dd0c32e67d30fe7d46b2511c583f (diff) | |
download | dexon-solidity-d855eaab13392ef2ee3b75709c84b314d29afab9.tar.gz dexon-solidity-d855eaab13392ef2ee3b75709c84b314d29afab9.tar.zst dexon-solidity-d855eaab13392ef2ee3b75709c84b314d29afab9.zip |
Documentation.
Diffstat (limited to 'docs/types.rst')
-rw-r--r-- | docs/types.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/types.rst b/docs/types.rst index 6b67e684..cb14c8ac 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -171,6 +171,19 @@ Fixed Point Numbers **COMING SOON...** +.. index:: address, literal;address + +.. _address_literals: + +Address Literals +---------------- + +Hexadecimal literals that pass the address checksum test, for example +``0xdCad3a6d3569DF655070DEd06cb7A1b2Ccd1D3AF`` are of ``address`` type. +Hexadecimal literals that are 20 bytes long (differ from that in at +most one hexadecimal digit) but do not pass the checksum test produce +a warning and are treated as regular rational number literals. + .. index:: literal, literal;rational .. _rational_literals: |