A contract can receive Ether via payable
functions, selfdestruct(), coinbase
transaction or pre-sent before creation. Contract logic depending on this.balance
can therefore be manipulated. (see here and here)
- Unexpected Ether
- Creation Payable Functions
- Coinbase Tx
selfdestruct()
- Assumptions on
this.balance