Verified contractPartial
Money
Address0x1d067bf0be2cfe71b00c9195f9d0d908889dce23
- Balance
0 ETH
- Transactions
0
- Compiler
solc 0.3.2
- Same code
89 more contracts
Details
- Compiler
- solc 0.3.2+commit.81ae2a78
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 1,465,913
- Creation transaction
- 0x8c84944ca1…77b30536f4
Money.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
contract User {
function validate(address addr) returns (bool);
}
contract Money { function destroyContract(address user) {
if (!validate(user, msg.sender)) throw;
owner = 0;
}
string public denomination;
address public owner;
function Money(address user, string _denomination, address _owner) {
if (!validate(user, msg.sender)) throw;
denomination = _denomination;
owner = _owner;
}
function validate(address user, address sender) returns (bool) {
return User(user).validate(sender);
}
function transfer(address user, address to) {
if (!validate(user, msg.sender)) throw;
owner = to;
}
function getContractAddress() returns (address) {
return this;
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.