Serpent ListLogs on-chain log aggregator by Vitalik Buterin (Oct 18, 2015). addLog(str) emits Log(bytes); addBreak()/getLatestBreak() track block-number checkpoints. Sibling of 0xa619c3df. Byte-for-byte cracked (Serpent @ f0b4128).
Key Facts
Description
Deployed by Vitalik Buterin and later self-destructed (historical bytecode preserved by EthereumHistory). This contract has identical bytecode to 0xa619c3df689ecb7ef3b99526a1a7599d2e443f65, which was verified as ListLogs. A minimal on-chain logging contract written in Serpent (canonical source list_logs/main.se in ethereum/dapp-bin): addLog(v) emits a Log(string) event carrying an arbitrary string, addBreak() records the current block number as a section marker, and getLatestBreak() returns it.
Source Verified
Serpent on-chain log aggregator (ListLogs), sibling of 0xa619c3df / 0x8e96a2c6. Compiled with ethereum/serpent @ f0b4128; exact creation match (324-byte deploy). Functions: addLog(str) emits event Log(bytes); addBreak() records block.number; getLatestBreak() returns it. init() seeds the break with the deploy block. Differs from the 0x8e96a2c6 instance only in that the Log event param is declared str (ABI bytes) rather than string.
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 (Serpent)
# Submitted by EthereumHistory (ethereumhistory.com)
event Log(value:str)
data break
def init():
self.break = block.number
def addLog(v:str):
log(type=Log, v)
def addBreak():
self.break = block.number
def const getLatestBreak():
return(self.break)
External Links
Related contracts
SerpentGamble
Same deployerProvably-fair betting game where players choose their own odds. The owner settles bets with a commit-reveal random seed. Includes a 2-day emergency refund.
0x034df8...200e2fSeptember 20, 2015SerpentGamble
Same deployerSibling of 0x034dF870 (SerpentGamble). Provably-fair Serpent betting game; players choose their own odds, owner settles via commit-reveal seed, 2-day refund.
0x9ca7e9...fa8bb4September 21, 2015SerpentGamble
Same deployerSibling of 0x034dF870 (SerpentGamble). Provably-fair Serpent betting game; players choose their own odds, owner settles via commit-reveal seed, 2-day refund.
0x75649a...176028September 21, 2015SerpentGamble
Same deployerIntermediate build of serpent_gamble, a provably-fair betting dapp (Bet/Win/Loss/NewSeed), related to verified sibling 0x59375871. Source not yet reconstructed.
0xe1a99f...0d2457September 21, 2015SerpentGamble
Same deployerIntermediate build of serpent_gamble, a provably-fair betting dapp (Bet/Win/Loss/NewSeed), related to verified sibling 0x59375871. Source not yet reconstructed.
0xdc00a9...15861fSeptember 21, 2015SerpentGamble
Same deployerIntermediate build of serpent_gamble, a provably-fair betting dapp (Bet/Win/Loss/NewSeed), related to verified sibling 0x59375871. Source not yet reconstructed.
0xd0ed09...300b48September 21, 2015