「🏗️」 wip(wallet): seemingly working
This commit is contained in:
@ -42,9 +42,9 @@ contract Kanel42_token {
|
||||
}
|
||||
|
||||
function mint(uint256 _value) public {
|
||||
if ((totalSupply / 16) <= _value) {
|
||||
revert("can't mint more than 1/16 of the supply at a time");
|
||||
}
|
||||
if ((totalSupply / 16) <= _value) {
|
||||
revert("can't mint more than 1/16 of the supply at a time");
|
||||
}
|
||||
|
||||
balanceOf[msg.sender] += _value;
|
||||
totalMinted += _value;
|
||||
@ -52,7 +52,7 @@ contract Kanel42_token {
|
||||
emit Transfer(address(0), msg.sender, _value);
|
||||
}
|
||||
|
||||
event Transfer(address indexed _from, address indexed _to, uint256 _value);
|
||||
event Transfer(address indexed _from, address indexed _to, uint256 _value);
|
||||
event Approval(
|
||||
address indexed _owner, address indexed _spender, uint256 _value
|
||||
);
|
||||
|
Reference in New Issue
Block a user