智能合约 solidity-MyToken.sol
pragma solidity >0.8.0;import "http://47.99.87.207:8080/token/ERC20/ERC20.sol";contract MyToken is ERC20{constructor (string memory name,string memory symbol)ERC20(name,symbol){_mint(msg.sender,100
·
pragma solidity >0.8.0;
import "http://47.99.87.207:8080/token/ERC20/ERC20.sol";
contract MyToken is ERC20{
constructor (string memory name,string memory symbol)ERC20(name,symbol){
_mint(msg.sender,100*10**uint(decimals()));
}
}
更多推荐
已为社区贡献3条内容
所有评论(0)