Single view function returning `sha3(blockhash(n))`.
Key Facts
Description
Single view function returning sha3(blockhash(n)). Functions include sha(uint256). Verified with soljson-v0.1.1+commit.6ff4cd6 and optimizer OFF.
Source Verified
Backfilled from awesome-ethereum-proofs PR #31.
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
Frontier Era
The initial release of Ethereum. A bare-bones implementation for technical users.
Bytecode Overview
Verified Source Available
Source verified through compiler archaeology and exact bytecode matching.
View Verification ProofShow source code (Solidity)
// Reconstructed source for 0x6837afb9e9fc1a908f9ce54756d3dba55a87ea27
// Compiler: solc 0.1.0 (no optimization)
// Match: 100% bytecode match against creation_bytecode.bin
contract C {
function sha(uint256 amount) returns (bytes32 r) {
r = sha3(block.blockhash(amount));
}
}External Links
Related contracts
Lottery
Same deployerThe first draft of the EarlyLottery commit-reveal lottery, deployed on 8 August 2015 a few hours before its rewrite.
0xf6bf0e...ec3b5cAugust 8, 2015EarlyLottery
Same deployerCommit-reveal lottery prototype deployed on 8 August 2015, the earlier draft of the EarlyLottery contract by the same developer.
0x7573ac...ad9fb4August 8, 2015Sha3
Same deployerA tiny utility contract that returns the SHA3 hash of a uint256 input.
0xb179a8...4bf09dAugust 9, 2015Sha3
Same deployerA tiny utility contract that returns the SHA3 hash of a uint256 input.
0x82000e...b0690aAugust 9, 2015Sha3
Same deployerA tiny utility contract that returns the SHA3 hash of a uint256 input.
0x627a6e...25bce8August 9, 2015LotteryPrototype
Same deployerThe first lottery contract deployed on Ethereum mainnet, created August 9, 2015 by one of the earliest recorded Ethereum users. Built, tested with two participa
0xcdd192...1b622cAugust 9, 2015