handle.fi
๐Ÿ’ฑconvert๐Ÿ’นapplication๐Ÿ’ญdiscord
ํ•œ๊ตญ์–ด
ํ•œ๊ตญ์–ด
  • ๐Ÿ‘‹์„œ๋ก 
  • ๐Ÿ› ๏ธhandle.fi ์‚ฌ์šฉ ์‚ฌ๋ก€ ๋ฐ ์ด์ 
  • FOREX
    • ๐Ÿ’ฑFOREX ํ† ํฌ๋…ธ๋ฏน์Šค
    • ๐Ÿ—ณ๏ธ๊ฑฐ๋ฒ„๋„Œ์Šค ์Šคํ…Œ์ดํ‚น (veFOREX)
      • fxUSD/FOREX BPT ํš๋“ ๋ฐ veFOREX๋ฅผ ์œ„ํ•ด ์ž ๊ธˆ
    • ๐Ÿ‘œFOREX๋ฅผ ์–ด๋–ป๊ฒŒ ๊ตฌ์ž…ํ•˜๋‚˜์š”?
  • Platform Functions
    • ๐Ÿ’ฑhandle ์œ ๋™์„ฑ ํ’€ (hLP)
    • โญ์‹œ์ž‘ํ•˜๊ธฐ
    • ๐Ÿ’น๊ฑฐ๋ž˜
      • ์ž์‚ฐ
      • ๐Ÿ“”๋ฌด์—ญ ๋ฐฉ๋ฒ•
    • ๐Ÿ’ตconvert
      • ๐Ÿ“˜how to convert
    • ๐Ÿงborrow
      • ๐Ÿ›๏ธCDP vaults and collateral
      • โš ๏ธCDP liquidations
      • ๐Ÿ›ก๏ธfxKeeper
      • ๐Ÿ’ฒrepay
      • ๐Ÿ“—how to borrow
    • ๐Ÿ’ฐearn
      • ๐Ÿ“šhow to earn
    • ๐ŸŒ‰bridge
    • ๐ŸŒŠliquidity pools
      • ๐ŸŒ™curve handle3pool
      • ๐ŸŒ™curve handleFRAXBP
      • ๐ŸŒŠFOREX pools
        • Balancer (80/20) FOREX/fxUSD (arb)
        • UniV3 FOREX/WETH (main)
      • ๐ŸŒŠfxToken - FX liquidity pools
    • ๐Ÿ’ฐfees & collateral parameters
      • protocol fee distributions
    • ๐Ÿ“–definitions
  • protocol rewards
    • ๐Ÿ”ญoverview
    • ๐Ÿคreferral program
    • ๐Ÿ‘จโ€๐Ÿ’ปquests
      • ๐ŸฅงProtocol Incentive Experiments (PIEs)
        • PIE #1 - retweets
        • PIE #2 - memes
        • PIE #3 - bonus rewards
        • PIE #4 - content production
        • PIE #5 - referrer program
        • PIE #6 - troop participation program
        • PIE #7_b - convert & win
    • ๐Ÿ–ผ๏ธNFT series: t0-Troopers
    • ๐Ÿช™founding trooper - FOREX coin
    • ๐ŸŽกthe FOREX flywheel
    • ๐ŸŽtrader rewards
  • protocol SPECS
    • ๐Ÿ“œcontracts
    • ๐Ÿ”protocol audit - Peckshield
    • ๐Ÿ‘๏ธoracles
    • ๐Ÿ“Šsubgraph
  • How to guides
    • ๐Ÿ”ฉadjusting settings
    • ๐Ÿ‘จโ€๐ŸŽ“how to open an account
    • ๐ŸŒ‰bridge
    • ๐Ÿ dashboard
  • Socials
  • website
  • twitter
  • discord
  • github
  • substack
  • youtube
  • MARKETING
    • branding, assets, images & memes
  • $FOREX data
    • CoinGecko
    • CoinMarketCap
    • Arbiscan
    • Etherscan
Powered by GitBook
On this page
  • chainlink
  • h2SO

Was this helpful?

  1. protocol SPECS

oracles

an overview of oracles used on handle.fi

PreviouscontractsNextsubgraph

Was this helpful?

An Oracle refers to a smart contract that provides readable data on-chain.

handle.fi uses both chainlink oracles and our own high speed oracles. each meeting differing protocol requirements

the protocol uses the for pricing CDP collateral and mint value of fxTokens. (arbitrum oracles can be found ). For perpetual trading, handle uses the H2SO (handle high speed oracles) system which allows the end user to update the price directly on an oracle aggregator contract by submitting a trusted signature along with the quoted price.

chainlink

for pricing CDP collateral and mint value of fxTokens handle uses the

Chainlink is a popular protocol (and also product) that develops oracle smart contracts and workflows. The reason Chainlink is both a protocol and also a product/service, is that someone could use Chainlink's open source oracle smart contracts with a self-managed infrastructure, rather than relying on Chainlink's official feeds or operators.

aggregator contracts

The aggregator smart contract is one of Chainlink's oracle contracts. It is usually structured the following way:

  1. There is an , also called an Aggregator Proxy, which reads data from the Aggregator contract. DApps read the price from the Aggregator Interface, so that the Aggregator Interface could at any time change which Aggregator contract it points to without breaking the DApps.

  2. The is the actual contract with the oracle data submission logic. The example linked is the Flux Aggregator contract, which aggregates data from the oracle operators on-chain. There are newer oracle architectures which aggregate all oracle answers off-chain, submitting a single transaction on-chain and are therefore more gas efficient. The point is that this is the implementation contract, and different architectures are available, but they usually follow the same interface for interoperability.

  3. Oracle operators, which are either individuals or organisations, run software that checks the value of an asset, off-chain, using their own data sources, and submit to the Aggregator contract, either on a schedule or when requested by the oracle system.

h2SO

For perpetual trading, handle uses the H2SO (handle high speed oracles) system which allows the end user to update the price directly on an oracle aggregator contract by submitting a trusted signature along with the quoted price.

๐Ÿ‘๏ธ
official Chainlink data feeds
here
official Chainlink data feeds.
Aggregator Interface contract
Aggregator contract