mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #543 from raineorshine/patch-1
Add this.balance and this.send to units-and-global-variables.rst
This commit is contained in:
commit
902f1458c6
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user