The following smart contract code is only an example and is NOT to be used in Production systems. pragma solidity ^0.4.11; /** * Math operations with safety checks */ library SafeMath { function mul(uint a, uint b) internal pure returns (uint) { uint
ERC165: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md 就是一种发布并能检测到一个智能合约实现了什么接口的标准 这么做的原因: it is sometimes useful to query whether a contract supports the interface and if yes, which version of the interface, in order to adapt the way i