Sibling of 0x9b27a230 (Escrow). Simple 3-party escrow: partyA (beneficiary), partyB (refund recipient), and an arbiter who can release or refund.
Context
One of the earliest Solidity escrow contracts on Ethereum, deployed by Vitalik Buterin's early dev address in Sep-Oct 2016. Two identical instances were deployed 12 days apart. Compiled with Solidity 0.4.0-0.4.4 (without optimizer); the bytecode matches exactly across all versions in that range as no CBOR metadata was yet included.
Key Facts
Description
Deployed by Vitalik Buterin. This contract has identical bytecode to 0x9b27a23006b6612b2dfc840d0a25f4e347121d21, which was verified as Escrow. A simple three-party escrow contract: a beneficiary (partyA), a refund recipient (partyB), and an arbiter (mediator). Either party can trigger payment to the other, or the arbiter can settle.
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
Tangerine Whistle Era
Emergency fork to address DoS attacks. Repriced IO-heavy opcodes.
Bytecode Overview
Verified Source Available
This contract has verified source code on Etherscan.
Show source code (Solidity)
contract Escrow {
address partyA;
address partyB;
address arbiter;
function Escrow(address _partyA, address _partyB, address _arbiter) {
partyA = _partyA;
partyB = _partyB;
arbiter = _arbiter;
}
function finalize() {
if (msg.sender == partyB || msg.sender == arbiter) {
partyA.send(this.balance);
}
}
function refund() {
if (msg.sender == partyA || msg.sender == arbiter) {
partyB.send(this.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