This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity >0.3.99 <0.6.0; | |
| /** | |
| * @title SafeMath | |
| * @dev Math operations with safety checks that revert on error | |
| */ | |
| library SafeMath { | |
| /** | |
| * @dev Multiplies two numbers, reverts on overflow. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.25; | |
| contract Bank { | |
| // 此合約的擁有者。 | |
| address private _owner; | |
| // 儲存所有會員的 ether 餘額。 | |
| mapping (address => uint256) private _balance; | |
| // 儲存所有會員的 bank coin 餘額。 |
NewerOlder