mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
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.
This commit is contained in:
parent
9e36bdda8a
commit
5e6e9df7dd
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user