我正在努力解决这个错误,合同是来自著名的Blockchain Dev Youtuber Hashlip,几个月前我使用过它,没有出错,但是现在当我把它放到REMIX中时,它给了我这个错误。
有人能帮我吗?
from solidity:
DeclarationError: Identifier not found or not unique.
--> contracts/YourNftToken.sol:13:9:
|
13 | using Strings for uint256;
| ^^^^^^^发布于 2022-06-24 12:33:10
错误说它找不到声明Strings的位置,我检查了您的repo,您没有从任何地方导入那个库,要解决这个问题,只需导入库Strings。
https://ethereum.stackexchange.com/questions/130670
复制相似问题