We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
31讲中所依赖的IERC20.sol文件只介绍了几个方法名,未展示方法具体写法。小白没法在remix里动手运行
The text was updated successfully, but these errors were encountered:
IERC20是接口合约,没有具体写法的。具体逻辑在ERC20中实现。 你的意思是补充ERC20的具体写法吗?
Sorry, something went wrong.
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.7; import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract LearnContact is ERC20{
constructor(uint _totalSuperNum) ERC20("learn test","LT") { _mint(msg.sender,_totalSuperNum); }
}
remix 直接部署,就看到 一堆函数了
No branches or pull requests
31讲中所依赖的IERC20.sol文件只介绍了几个方法名,未展示方法具体写法。小白没法在remix里动手运行
The text was updated successfully, but these errors were encountered: