Verified contractPartial
MUTOCoin
Address0x998f3a4ff98422eec45f22c3a99a8f04add059ad
- Balance
0 ETH
- Transactions
6
- Compiler
solc 0.4.24
- Same code
1 more contract
Details
- Compiler
- solc 0.4.24+commit.e67f0147
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 6,609,589
- Creation transaction
- 0x75d1804ec1…79b9d34750
MUTOCoin.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.4.24;
contract MUTOCoin {
address owner;
// 미스트 브라우저가 토큰을 인식하게 만드는 변수들
string public constant name = "MUTO";
string public constant symbol = "MTC";
uint8 public constant decimals = 8;
// 계좌가 가지고 있는 토큰의 양
mapping (address => uint) public balanceOf;
event Transfer(address from, address to, uint value);
constructor() public {
balanceOf[msg.sender] = 200000000000000000;
}
function transfer(address _to, uint _value) public {
address _from = msg.sender;
// 주소를 입력하지 않은 경우의 예외 처리
require(_to != address(0));
// 잔고가 부족한 경우의 예외 처리
require(balanceOf[_from] >= _value);
balanceOf[_from] -= _value;
balanceOf[_to] += _value;
emit Transfer(_from, _to, _value);
}
function killcontract() public {
if (owner == msg.sender)
selfdestruct(owner);
}
}Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.