1
0

🏗️」 wip(wallet): seemingly working

This commit is contained in:
2025-08-10 20:03:08 +02:00
parent c52bfff536
commit 164f8b80c8
6 changed files with 196 additions and 37 deletions

View File

@ -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
);