Verified contractPartial
Greeter
Address0x21cd21ecc4b7327e000a086b6f5d484d972565ca
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.4.24
- Same code
4 more contracts
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,626,077
- Creation transaction
- 0x6c3f54c4ab…03418483c8
8194df136b53dba129191e5460cd8c6745d150e9_Greeter.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
contract Mortal {
/* Define variable owner of the type address */
address owner;
/* This function is executed at initialization and sets the owner of the contract */
constructor() public { owner = msg.sender; }
/* Function to recover the funds on the contract */
function kill() public { if (msg.sender == owner) selfdestruct(owner); }
}
contract Greeter is Mortal {
/* Define variable greeting of the type string */
string greeting;
/* This runs when the contract is executed */
constructor() public {
greeting = "Well, hello there! I am Gruvin's first Ethereum contract!";
}
/* Main function */
function greet() public constant returns (string) {
return greeting;
}
}Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.