aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-05-14 01:31:44 +0800
committerchriseth <c@ethdev.com>2016-05-14 01:31:44 +0800
commit902f1458c61c20299d9d29480e2f73bd3125bb81 (patch)
tree7c2c21414a212567a750b0e8dd6cfb21d9ef05ee /docs
parentc06051d38da28dda515e889fe9f565b8b97a68f5 (diff)
parent4bfec4efa968d327e622a20f60bd0f08809ff6ee (diff)
downloaddexon-solidity-902f1458c61c20299d9d29480e2f73bd3125bb81.tar.gz
dexon-solidity-902f1458c61c20299d9d29480e2f73bd3125bb81.tar.zst
dexon-solidity-902f1458c61c20299d9d29480e2f73bd3125bb81.zip
Merge pull request #543 from raineorshine/patch-1
Add this.balance and this.send to units-and-global-variables.rst
Diffstat (limited to 'docs')
-rw-r--r--docs/units-and-global-variables.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst
index a4239a29..141c4a3c 100644
--- a/docs/units-and-global-variables.rst
+++ b/docs/units-and-global-variables.rst
@@ -117,9 +117,10 @@ Contract Related
----------------
`this` (current contract's type):
- the current contract, explicitly convertible to `address`
+ the current contract, explicitly convertible to :ref:`address`
+
`selfdestruct(address)`:
- destroy the current contract, sending its funds to the given address
+ destroy the current contract, sending its funds to the given :ref:`address`
Furthermore, all functions of the current contract are callable directly including the current function.