Verified contractPartial
Forum
Address0x8d69e4172216d028c14cdcdaa6948dc74bf44ae7
- Balance
0 ETH
- Transactions
2
- Compiler
solc 0.2.0
- Same code
Only this contract
Details
- Compiler
- solc 0.2.0+commit.4dc2445e
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 687,994
- Creation transaction
- 0xd17f4914c1…07f12ae5ef
Forum.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
contract Forum {
address public owner;
string public name;
struct Topic {
string title;
string body;
address author;
}
mapping (uint => Topic) public topics;
uint public numTopics;
function Forum(string _name) {
name = _name;
owner = msg.sender;
numTopics = 0;
}
function addTopic(string title, string body) returns (uint id) {
id = numTopics++;
Topic t = topics[id];
t.title = title;
t.body = body;
t.author = tx.origin;
}
function getTopic(uint id) returns (string title) {
Topic t = topics[id];
title = t.title;
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.