Back to Home

0x9ce8...0607

Unclassified
0x9ce818b623b8...1687e93b0607
FrontierContract #2,599Exact Bytecode MatchEdit this contract
Deployed October 24, 2015 (11 years ago)Block 433,173

Oraclize test from October 2015 that asks ShapeShift, through the oracle, for an ETH-to-BTC deposit address and parses the reply onchain.

Frontier EraVerified Source

Historical Significance

An early form of Oraclize's StopLoss example, which pairs a price feed with an automatic ShapeShift conversion. It shows the oracle making a POST request to an exchange API less than three months after mainnet launch. Source reconstructed from bytecode; exact creation match.

Context

Deployed on 24 October 2015 by the Oraclize operator account. The Oraclize address comes from a resolver contract at 0xda0181a763b533e532248f6ff859e564a470d9aa deployed earlier the same day, and the four-argument POST query was still an overload of query() (later renamed query2). The contract has since self-destructed; the source is proven against its deploy transaction.

Key Facts
Deployment Block
433,173
Deployment Date
Oct 24, 2015, 03:51 PM
Code Size
2.9 KB
Gas at Deploy
598,139
Transactions by Year
20151
20179

Description

On deployment the contract asks Oraclize to POST {"pair": "eth_btc", "amount": "0.2", "withdrawal": "1AAcCo21EUc1jbocjssSQDzLna9Vem2UN5"} to ShapeShift's sendamount endpoint and return success.deposit. __callback() accepts the reply only from the connector's cb_address(), parses the hex deposit address character by character into an address and stores it in shapeshift_address. The fee is paid with a plain send of getPrice("URL") to the connector before the query. kill() self-destructs to the caller.

Source Verified

SolidityExact bytecode match(2,979 bytes)
Compiler: v0.1.6+
Heuristic Analysis

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

Detected Type: Unclassified

Bytecode Overview

Opcodes2,979
Unique Opcodes137
Jump Instructions83
Storage Operations27

External Links

Related contracts