From 5e6e9df7dd3878c8b0de54b8ddc33932226eb291 Mon Sep 17 00:00:00 2001 From: Raine Revere Date: Sun, 8 May 2016 13:27:30 -0600 Subject: 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. --- docs/units-and-global-variables.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/units-and-global-variables.rst') 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 -- cgit