Back to Home

YoutubeViews

Unknown
0xcd88e9f1dfa8...0b800a34f61d
FrontierContract #7,141Exact Bytecode MatchEdit this contract
Deployed January 25, 2016 (10 years ago)Block 904,395

One of the earliest Oraclize-powered smart contracts on Ethereum — a YouTube views sponsorship bounty deployed January 25, 2016.

Frontier EraVerified Source

Historical Significance

One of the earliest surviving examples of an Oraclize oracle integration on Ethereum mainnet, predating Homestead by approximately two months. Demonstrates early experimentation with decentralized oracle services to connect smart contract logic to real-world web data — a concept that would later become foundational to DeFi through Chainlink and similar projects.

Context

Deployed in January 2016, two months before Ethereum Homestead (block 1,150,000). Oraclize had launched its oracle service in late 2015 as one of the first solutions for connecting Ethereum smart contracts to external data. This period saw rapid experimentation with what smart contracts could do beyond simple token transfers — betting markets, prediction systems, and oracle-based conditions were being actively explored by early Ethereum developers.

Key Facts
Deployment Block
904,395
Deployment Date
Jan 25, 2016, 11:06 PM
Code Size
4.1 KB
Gas at Deploy
1,155,588
Transactions by Year
20166
20174
20241

Description

The YoutubeViews contract is one of the earliest known Oraclize integrations on Ethereum mainnet, deployed on January 25, 2016 (block 904,395) during the Frontier era.

The contract implements a YouTube views sponsorship bounty: sponsors deposit ETH, and the contract uses the Oraclize oracle service to fetch the view count of a specified YouTube video via XPath query. If the video reaches a set threshold by a deadline (the expiry date), the contract owner receives the accumulated funds minus a 25% sponsor refund. If the threshold is not met, the sponsors receive 25% of their deposits back.

The Oraclize XPath query used: html(https://www.youtube.com/watch?v=VIDEO_ID).xpath(//*[contains(@class, "watch-view-count")]/text())

Oraclize (later rebranded as Provable) was one of the first oracle infrastructure projects for Ethereum, allowing smart contracts to make authenticated HTTP requests to real-world data sources. This contract represents an early experiment combining decentralized finance mechanics with social media metrics.

The contract holds 33.5 ETH, locked since January 2016. With Oraclize's infrastructure no longer operational and no admin drain function in the contract, these funds are permanently inaccessible.

Source Verified

SolidityExact bytecode match(4,223 bytes)

Source fully reconstructed. All 13 function selectors resolved. Contract: YoutubeViews is usingOraclize, Oraclize API commit f352e3ac (Jan 2016), compiler soljson v0.2.0 nightly with optimizer ON. Compiled output matches on-chain runtime (4127 bytes) with one exception: parseInt(1-arg) return epilogue (7 bytes) placed at offset 0x099e on-chain vs 0x0d05 in compiled — a code generation scheduling artifact in the JS compiler tag queue. All function implementations, dispatch table, and jump targets are otherwise identical.

Heuristic Analysis

The following characteristics were detected through bytecode analysis and may not be accurate.

Detected Type: Unknown

Bytecode Overview

Opcodes4,223
Unique Opcodes207
Jump Instructions214
Storage Operations102

External Links