// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract MyToken { string public name = "MyToken"; string public symbol = "MTK"; uint8 public decimals = 18; uint256 public totalSupply; mapping(address => uint256) public balanceOf; event Transfer(address indexed from, address indexed to, uint256 value); constructor(uint256 initialSupply) { totalSupply = initialSupply * (10 ** uint256(decimals)); balanceOf[msg.sender] = totalSupply; // منح جميع الرموز للمنشئ } function transfer(address _to, uint256 _value) public return
0.4.18