A pay-to-send on-chain email service (Serpent): email(to, subject, body) emits an Email event with the three strings if the caller pays at least 0.007 ETH.
Key Facts
Description
Deployed October 30, 2015 by Vitalik Buterin (0x1db3439a22ee7c4d034e9b26437d3960b5af0517). A pay-to-send on-chain email service written in Serpent. email(a, b, c) takes three strings (recipient, subject, body); if the caller sends at least 0.007 ETH, the contract emits an Email(string, string, string) event carrying the three strings and forwards the fee to the owner address stored at storage[0]. The message content lives entirely in the event log, a whimsical early demonstration of using Ethereum logs as a message bus. The 493-byte runtime reproduces byte-for-byte from the reconstructed Serpent source using ethereum/serpent commit 146cc8a (commit f0b4128 also matches). runtime sha256 ce909f0eea2f7dbe4006ff7359e56bbbab7ccab79bb92600466ee993f62c3404.
Source Verified
Runtime (493 bytes) reproduces byte-for-byte from the reconstructed Serpent source using ethereum/serpent commit 146cc8a (f0b4128 also matches). runtime sha256 ce909f0eea2f7dbe4006ff7359e56bbbab7ccab79bb92600466ee993f62c3404.
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)
# Verified by EthereumHistory (ethereumhistory.com)
event Email(a:string, b:string, c:string)
def email(a:string, b:string, c:string):
if msg.value >= 7000000000000000:
log(type=Email, a, b, c)
send(self.storage[0], self.balance)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