摘要: oraclize result以string格式返回,solidity没有uint(string)这样的强制转换功能,如果要解析其中的数字,可以用oraclize提供的parseInt方法: pragma solidity ^0.4.21; import "github.com/oraclize/e 阅读全文
posted @ 2022-03-06 09:03 专注于区块链开发 阅读(209) 评论(0) 推荐(0) 编辑