https://zhuanlan.zhihu.com/p/105471579 用openzepplin的库safemath库 尽可能使用高版本的solidity . 0.4 的版本有溢出问题,0.8的solidity版本已经解决了