aboutsummaryrefslogtreecommitdiffstats
path: root/docs/types.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-03-16 07:50:58 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-03-16 20:37:18 +0800
commit6ece0d6c2f689de2dc82a31cea8625f168346b44 (patch)
tree7b8b33a9737cbfc6bd530581a68300045a908968 /docs/types.rst
parente34a9600f27f7b48fb2473db6bc45377190301b0 (diff)
downloaddexon-solidity-6ece0d6c2f689de2dc82a31cea8625f168346b44.tar.gz
dexon-solidity-6ece0d6c2f689de2dc82a31cea8625f168346b44.tar.zst
dexon-solidity-6ece0d6c2f689de2dc82a31cea8625f168346b44.zip
Document the .value() and .gas() modifiers
Diffstat (limited to 'docs/types.rst')
-rw-r--r--docs/types.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/types.rst b/docs/types.rst
index 6379f01c..60235ad2 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -123,6 +123,8 @@ In a similar way, the function ``delegatecall`` can be used: The difference is t
All three functions ``call``, ``delegatecall`` and ``callcode`` are very low-level functions and should only be used as a *last resort* as they break the type-safety of Solidity.
+The ``.gas()`` option is available on all three methods, while the ``.value()`` option is not supported for ``delegatecall``.
+
.. note::
All contracts inherit the members of address, so it is possible to query the balance of the
current contract using ``this.balance``.