我通过混合创建了BEP20令牌,现在我想增加这个令牌数量。我怎样才能制造10万枚代币--20万元?
发布于 2022-10-17 03:52:33
你需要添加一个薄荷功能,就像这个吹风机
function issue(uint amount) public onlyOwner {
require(_totalSupply + amount > _totalSupply);
require(balances[owner] + amount > balances[owner]);
balances[owner] += amount;
_totalSupply += amount;
Issue(amount);
}https://stackoverflow.com/questions/74085869
复制相似问题