Verified contractPartial
greeter
Address0x29fc18dc5036f5b5e153e5063e60428394685a3c
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.1.4
- Same code
751 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
- 66,277
- Creation transaction
- 0xf5f43bebf6…495e976b57
- Main copy (most transactions)
- 0x10142fba…1d64ff82
3 files
- Greeter.solmain350 B
- Contract.sol364 B
- greeter.sol364 B
Greeter.sol
contract mortal {
address owner;
function mortal() { owner = msg.sender; }
function kill() { if (msg.sender == owner) suicide(owner); }
}
contract greeter is mortal {
string greeting;
function greeter(string _greeting) {
greeting = _greeting;
}
function greet() returns (string) {
return greeting;
}
}
Contract.sol
contract mortal {
address owner;
function mortal() { owner = msg.sender; }
function kill() { if (msg.sender == owner) suicide(owner); }
}
contract greeter is mortal {
string greeting;
function greeter(string _greeting) {
greeting = _greeting;
}
function greet() returns (string) {
return greeting;
}
}
greeter.sol
contract mortal {
address owner;
function mortal() { owner = msg.sender; }
function kill() { if (msg.sender == owner) suicide(owner); }
}
contract greeter is mortal {
string greeting;
function greeter(string _greeting) {
greeting = _greeting;
}
function greet() returns (string) {
return greeting;
}
}
Compiler settingsShow
{
"optimizer": {
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.