// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.4.16; contract TestAddr { function deposit() public payable { } /* 获取余额 */ function getBalance() public constant returns (uint) { return this.balance; } /* 转移以太 */ function transferEther(address towho) public { towho.transfer(10); // send 方法可能会失败 } }