Simple 3-party escrow contract: partyA (beneficiary), partyB (refund recipient), arbiter (mediator). Either party can pay the other, or the arbiter can settle.
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. 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. Byte-identical sibling: 0x9a508a7f21ad0df65c0cdb4a7dc03421833b531a.
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
DAO Fork Era
The controversial fork to recover funds from The DAO hack.
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