aboutsummaryrefslogtreecommitdiffstats
path: root/docs/units-and-global-variables.rst
diff options
context:
space:
mode:
authorRaine Revere <raineorshine@gmail.com>2016-05-09 03:27:30 +0800
committerRaine Revere <raineorshine@gmail.com>2016-05-09 03:27:30 +0800
commit5e6e9df7dd3878c8b0de54b8ddc33932226eb291 (patch)
treeb24e7f9ca1e9d1f0b64a2ddaf429e26c613987f2 /docs/units-and-global-variables.rst
parent9e36bdda8a9552f1885e0a63a85db588623b39b2 (diff)
downloaddexon-solidity-5e6e9df7dd3878c8b0de54b8ddc33932226eb291.tar.gz
dexon-solidity-5e6e9df7dd3878c8b0de54b8ddc33932226eb291.tar.zst
dexon-solidity-5e6e9df7dd3878c8b0de54b8ddc33932226eb291.zip
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.
Diffstat (limited to 'docs/units-and-global-variables.rst')
-rw-r--r--docs/units-and-global-variables.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst
index a4239a29..8ad0da4f 100644
--- a/docs/units-and-global-variables.rst
+++ b/docs/units-and-global-variables.rst
@@ -118,6 +118,10 @@ Contract Related
`this` (current contract's type):
the current contract, explicitly convertible to `address`
+
+ - this.balance: The balance of the current account.
+ - this.send: Send ether to an address.
+
`selfdestruct(address)`:
destroy the current contract, sending its funds to the given address