Verified contractPartial
token
Address0x2ada84514b9955a7c1770bf718d1fbe49e770462
- Balance
0 ETH
- Transactions
39
- Compiler
solc 0.1.4
- Same code
91 more contracts
Details
- Compiler
- solc 0.1.4+commit.5f6c3cdf
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 239,605
- Creation transaction
- 0xdeb1d5e9f4…292a810b24
token.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
contract token {
mapping (address => uint) public coinBalanceOf;
event CoinTransfer(address sender, address receiver, uint amount);
function token(uint supply) {
if (supply == 0) supply = 10000;
coinBalanceOf[msg.sender] = supply;
}
function sendCoin(address receiver, uint amount) returns(bool sufficient) {
if (coinBalanceOf[msg.sender] < amount) return false;
coinBalanceOf[msg.sender] -= amount;
coinBalanceOf[receiver] += amount;
CoinTransfer(msg.sender, receiver, amount);
return true;
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.