Back to Home

PriceTicker

Oracle
0x6293c0740e68...342ccbce952a
FrontierContract #4,965Exact Bytecode MatchEdit this contract
Deployed December 11, 2015 (10 years ago)Block 675,854

The Kraken price ticker from the Oraclize examples, put up by Oraclize's own deployment account.

Frontier EraVerified Source

Context

Deployed 11 December 2015, during the Frontier era.

Key Facts
Deployment Block
675,854
Deployment Date
Dec 11, 2015, 03:51 PM
Code Size
2.6 KB
Gas at Deploy
627,277
Transactions by Year
20151

Description

The KrakenPriceTicker example from oraclize/ethereum-examples, deployed by 0x0047a8033cc6d6ca2ed5044674fd421f44884de8, the account Oraclize used for its own contracts. The constructor records the deployer as owner and immediately fires the first query. update asks Oraclize for the URL datasource with the argument json(https://api.kraken.com/0/public/Ticker?pair=ETHXBT).result.XETHXXBT.c.0, which is the last traded ether price against bitcoin on Kraken. __callback throws unless the caller is the Oraclize callback address and otherwise writes the returned string into the public ETHXBT variable, so the price is stored as text rather than as a number. update is callable by anyone and pays for the query out of the contract balance. kill lets the owner self destruct it. The Oraclize contract itself is looked up through the address resolver at 0x1d11e5eae3112dbd44f99266872ff1d07c77dce8 on every call.

Source Verified

Exact bytecode match(2,711 bytes)
Compiler: v0.1.6+
Heuristic Analysis

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

Detected Type: Oracle
Contains SELFDESTRUCT opcode

Bytecode Overview

Opcodes2,711
Unique Opcodes143
Jump Instructions90
Storage Operations42

External Links

Related contracts