require函数用于:
确认有效条件,例如输入,
确认合约声明变量是一致的
从调用到外部合约返回有效值
revert函数用于 :处理与 require() 同样的类型,但是需要更复杂处理逻辑的场景
使用本地solc模块 部署合约过程中data数据格式 为0x... 否则会出现错误
Error: invalid argument 0: json: cannot unmarshal hex string without 0x prefix into Go struct field CallArgs.data of type hexutil.Bytes