Contract 0x5bc362054afd...1a1b3524dd6c
UtilityElevation storage for a pre release Etheria, sealed when the last column lands
Context
Frontier era deployment by Cyrus Adkisson, the author of Etheria.
Key Facts
Description
Stores the 33 by 33 elevation map Etheria builds its terrain from. initElevations writes one column at a time, marks the column in a uint8[33] done array, then scans all 33 entries and locks the contract only once none is still zero. Compare the MapElevationStorage that shipped with Etheria v0.9, which locks on an explicit call to setLocked instead.
Source Verified
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)
// Submitted by EthereumHistory (ethereumhistory.com)
contract MapElevationStorage
{
uint8[33] elevationsdone;
bool locked;
uint8[33][33] elevations;
function initElevations(uint8 col, uint8[33] _elevations) public
{
if(locked)
return;
elevations[col] = _elevations;
elevationsdone[col] = 1;
for(uint8 i = 0; i < 33; i++)
{
if(elevationsdone[i] == 0)
return;
}
locked = true;
}
function getElevations() constant returns (uint8[33][33])
{
return elevations;
}
function getElevation(uint8 col, uint8 row) constant returns (uint8)
{
return elevations[col][row];
}
}External Links
Related contracts
GetBalance
Same deployerCyrus Adkisson experimental getter (Sep 2015) exposing the ether balance of a hardcoded address via getMyBalance(). Verified byte-for-byte with soljson v0.1.1.
0x759ad4...239a87August 26, 2015Contract 0xddcd64...a08e7b
Same deployerThe greeter tutorial contract: it stores a greeting set at deployment and can be shut down by its owner.
0xddcd64...a08e7bAugust 26, 2015basicInfoGetter
Same deployerA tour of the EVM globals, carrying the constructor of the file it was copied from
0xad826c...d33547August 31, 2015Contract 0x3ea0db...b922e0
Same deployerThe basic info getter from the solidity-baby-steps tutorials, a read only window onto the block and message globals.
0x3ea0db...b922e0August 31, 2015Contract 0xba575c...78733f
Same deployerA contract built to probe what the msg globals actually return, endowed with 5 ETH, deployed 1 September 2015.
0xba575c...78733fSeptember 1, 2015Contract 0x8b180c...c084df
Same deployerA third deployment of the msgExaminer that records its own creation message
0x8b180c...c084dfSeptember 1, 2015