Contract Overview
ETH Balance: 0 Ether
No Of Transactions: 1 txn
  Latest 1 txn

TxHash Age From To Value [TxFee]
0xd27704317892f56cecf04c1d5b24f82ed1b2f155042049262abef33132ebed5911 days 18 hrs ago0xe4759025217db0a30ac923e297b8aa73cd4a97c5  IN    Contract Creation0 Ether0.0253532
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The compiled contract might be susceptible to ZeroFunctionSelector (very low-severity) Solidity compiler bugs.

Contract Source Code Verified
Contract Name: ProofOfExistence3
Compiler Version: v0.4.15+commit.bbb8e64f
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
pragma solidity ^0.4.15;
// Proof of Existence contract, version 3
contract ProofOfExistence3 {
	mapping (bytes32 => bool) private proofs;
	// store a proof of existence in the contract state
	function storeProof(bytes32 proof) {
		proofs[proof] = true;
	}
	// calculate and store the proof for a document
	function notarize(string document) {
		var proof = proofFor(document);
		storeProof(proof);
	}
	// helper function to get a document's sha256
	function proofFor(string document) constant returns (bytes32) {
		return sha256(document);
	}
	// check if a document has been notarized
	function checkDocument(string document) constant returns (bool) {
		var proof = proofFor(document);
		return hasProof(proof);
	}
	// returns true if proof is stored
	function hasProof(bytes32 proof) constant returns(bool) {
		return proofs[proof];
	}
}

    Contract ABI  
[{"constant":true,"inputs":[{"name":"document","type":"string"}],"name":"checkDocument","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"document","type":"string"}],"name":"notarize","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"proof","type":"bytes32"}],"name":"storeProof","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"proof","type":"bytes32"}],"name":"hasProof","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"document","type":"string"}],"name":"proofFor","outputs":[{"name":"","type":"bytes32"}],"payable":false,"type":"function"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b5b6102f28061001f6000396000f300606060405263ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166353fb923381146100695780637183616c146100ce5780638952877b14610121578063e3d1e6d614610139578063f6c1acdf14610163575b600080fd5b341561007457600080fd5b6100ba60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101c695505050505050565b604051901515815260200160405180910390f35b34156100d957600080fd5b61011f60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101e695505050505050565b005b341561012c57600080fd5b61011f600435610201565b005b341561014457600080fd5b6100ba60043561021e565b604051901515815260200160405180910390f35b341561016e57600080fd5b6101b460046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061023695505050505050565b60405190815260200160405180910390f35b6000806101d283610236565b90506101dd8161021e565b91505b50919050565b60006101f182610236565b90506101fc81610201565b5b5050565b6000818152602081905260409020805460ff191660011790555b50565b60008181526020819052604090205460ff165b919050565b60006002826000604051602001526040518082805190602001908083835b6020831061027457805182525b601f199092019160209182019101610254565b6001836020036101000a03801982511681845116808217855250505050505090500191505060206040518083038160008661646e5a03f115156102b657600080fd5b505060405180519150505b9190505600a165627a7a723058203babf5d82523542482c3a7f17d79b17d6d8d8a4a802fa746520d3734dfee2da50029

   Swarm Source:
bzzr://3babf5d82523542482c3a7f17d79b17d6d8d8a4a802fa746520d3734dfee2da5
View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward