๐Ÿ›ฐ๏ธPrice Oracles

For accurate trading conditions and reliable price data, the Upscale platform on the TON blockchain uses two leading oracles: Stork and Pyth Network.


โšก Stork

Stork is a next-generation oracle developed for ultra-low latency. It updates price data at intervals of less than 1 millisecond, collecting information from the largest centralized exchanges. All data is protected by a digital signature and transmitted to TON via websockets.

Stork advantages:

  • ๐Ÿ•’ Ultra-low latency โ€” instant data updates.

  • ๐Ÿ“ถ Efficient aggregation โ€” prices are collected off-chain, minimizing delays.

  • ๐ŸŒ Broad coverage โ€” data from top exchanges.

  • ๐Ÿงช Optimized for derivatives โ€” ideal for futures and high-frequency trading.

Learn more: Stork Documentation.


๐Ÿ”— Pyth Network

Pyth Network aggregates data from 65+ sources, including crypto exchanges as well as stock and forex markets. The oracle runs on the Solana infrastructure and transmits data to TON using the Wormhole protocol for secure cross-chain integration.

Pyth advantages:

  • ๐Ÿ“Š Wide range of sources โ€” pricing based on various markets.

  • โš™๏ธ High update frequency โ€” up to 700+ updates per second.

  • ๐Ÿ” Cross-chain compatibility โ€” data delivery via Wormhole.

Learn more: Pyth Documentation.


๐Ÿงฎ How Upscale Prices Are Determined

The Upscale platform uses a single price, based on aggregated liquidity provided by Stork and Pyth oracles:

  • Index Price โ€” calculated from aggregated data including trading volumes on various exchanges. Anomalies are discarded to increase accuracy.

  • Market Price โ€” Market Price always matches Index Price and is provided by the oracle. Trades execute at a price that reflects the combined liquidity of major CEXs, eliminating the impact of large orders and ensuring fair outcomes for traders.


๐Ÿ› ๏ธ Aggregation and Execution Mechanics

  • Liquidity aggregation considers the order book depth on major CEXs and long/short orientation.

  • One chart, one price: users see a single price chart with no hidden slippage, and never encounter two different price types.

  • Minimal slippage: trades execute at a fair price, closely aligned with the real market rate.

  • Closing positions โ€” no spread: traders receive exactly the price they see on the screen, with minimal latency for transactions.


๐ŸŒŸ Key Upscale Oracle Advantages

  • Transparency โ€” no hidden pricing mechanisms.

  • Fairness โ€” execution as close as possible to the real market price.

  • Convenience โ€” traders always see one price and never face confusion between Market and Index Price.

The Upscale platform utilizes aggregated liquidity to guarantee the best conditions for traders and maximum clarity in price formation.

Last updated