aboutsummaryrefslogtreecommitdiffstats
path: root/docs/types.rst
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-06-28 23:29:08 +0800
committerchriseth <c@ethdev.com>2016-07-04 21:27:53 +0800
commit2df142c49618138ba7f38f32a76022caecc68abb (patch)
tree0d67461efc8993c9eeca5573b46f6ff6c5055d94 /docs/types.rst
parent48238c9f1452b1326851af053c782734d0f67101 (diff)
downloaddexon-solidity-2df142c49618138ba7f38f32a76022caecc68abb.tar.gz
dexon-solidity-2df142c49618138ba7f38f32a76022caecc68abb.tar.zst
dexon-solidity-2df142c49618138ba7f38f32a76022caecc68abb.zip
Security Considerations
Diffstat (limited to 'docs/types.rst')
-rw-r--r--docs/types.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/types.rst b/docs/types.rst
index dbbd84d3..1a0de358 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -113,6 +113,13 @@ All three functions ``call``, ``delegatecall`` and ``callcode`` are very low-lev
All contracts inherit the members of address, so it is possible to query the balance of the
current contract using ``this.balance``.
+.. warning::
+ All these functions are low-level functions and should be used with care.
+ Specifically, any unknown contract might be malicious and if you call it, you
+ hand over control to that contract which could in turn call back into
+ your contract, so be prepared for changes to your state variables
+ when the call returns.
+
.. index:: byte array, bytes32