xWIN Finance
  • What is xWIN Finance?
  • Mission and Vision
  • Challenges and Solutions
  • Why use xWIN Finance?
  • Roadmap
  • Product Overview
    • Supported Native Token
      • Arbitrum
      • BSC
      • Polygon
    • Robo-Advisor
    • Vaults
      • xWIN Vault
        • Allocation (Index Fund)
        • Technical Analysis
        • Stable Coin Alpha (SCA)
        • Dollar Cost Average
        • Reverse Dollar Cost Average (RDCA)
        • Lending
      • xWin Partner Vaults
      • Private Vault
  • Fees
    • Book Cost vs High Water Mark
    • Current Fees
      • Arbitrum Vault Fees
      • BSC Vault Fees
      • Polygon Vault Fees
    • Calculating fees
    • Fee Discount
  • User Guide
    • How to Connect Wallet
    • Robo-Advisor
    • Deposit
    • Withdraw
    • Rebalance
    • Referral
    • My Menu
  • Documentation
  • XWIN Token
    • Tokenomics
    • Burn Program
    • xWIN Staking
      • xWin Auto Compound Lock
      • xWIN Master Farm
  • Audit Reports
  • xWIN Finance (one pager)
  • v1.0 Docs
    • Fund Unit Price
    • Fund Token Distribution
    • Audit Reports
    • How to Use?
      • For Users
        • How to use MetaMask on xWIN
        • xWIN Dashboard
        • Browse the Details of Vaults
        • Deposit
        • Withdrawal
      • For Vault Owners
        • Setup Target %
        • Rebalance
    • White Paper
    • Core Features
      • xWIN Sector Index Vaults
      • xWin Trading Vaults
      • Fixed Rate Staking Vaults
      • Private/Business Vaults
    • Extra features
      • XWIN Farming
      • Lucky Draw
      • xWIN Liquidity Pool Farming Vaults
      • Get XWIN-BNB LP Token
      • Buy / Sell XWIN
      • Claim Tokens and Bonus $XWIN
      • Yield Optimizer Vaults(Deprecated)
    • Farming Rewards
    • Platform Fee
  • v1.1 Docs
    • Roadmap
    • Overview
    • Intro
    • Mission & Vision
    • Challenges & Solutions
    • General
      • Dashboard
      • Markets
      • Leaderboard
    • My Menu
      • My Vaults
      • My Deposit
      • My Referral
    • Robo Advisor
    • Vaults
      • xWin Vaults
        • Public Vaults
      • Partner Vault
        • Single Asset Vault
        • Auto Trading Vault
          • Dollar-Cost-Average Vault
          • Interest Rate Trading Vault
          • BBMA Trading
          • Stable Alpha
    • Recent Vaults
    • Documents & Whitepaper
    • xWIN Staking
      • xWIN Auto
      • Master Farm
    • Fee Structure
      • Fee of User's Perspective
      • Strategy Fee
      • Platform Fee
      • Performance Fee
    • XWIN Token
      • Tokenomics
      • Burn Program
    • Technical
      • API related docs
      • xWIN Swap Engine
      • xWIN Price Oracle
      • GitHub
  • Our Team
  • Contact us
Powered by GitBook
On this page
  • What is xWIN Price Oracle?
  • Why does xWIN v2 Need Price Oracle?
  • How does xWIN Price Oracle Achieve it?
  • What is Chainlink Price Feed?

Was this helpful?

  1. v1.1 Docs
  2. Technical

xWIN Price Oracle

What is xWIN Price Oracle?

xWIN Price Oracle acts as a middleman to retrieve all the token prices including native tokens such as BTC or ETH, Liquidity Pool tokens, as well as the xWIN strategies, xWIN public and private vaults unit price created in xWIN protocol.

Why does xWIN v2 Need Price Oracle?

xWIN v2 vaults need a price of each underlying token each time to calculate the unit price of the fund. Those token’s price must be fetched on-chain real time in all activities such as deposit or withdrawal from the vault.

How does xWIN Price Oracle Achieve it?

xWIN Price Oracle is integrated into the world-famous price feed protocol, Chainlink as our default price feed into xWIN v2 protocol. In addition to the token price feed provided by Chainlink, xWIN Price Oracle was built to provide xWIN v2 public and private funds unit price on-chain. We are also supporting TWAP price as a proxy if the oracle price is not supported in Chainlink.

What is Chainlink Price Feed?

Chainlink is a decentralized network of nodes that provide data and information from offblockchain sources to on-blockchain smart contracts via oracles. Chainlink Data Feeds are the quickest way to connect our xWIN v2 vault to the real-world market prices of assets particularly in xWIN investment universes.

PreviousxWIN Swap EngineNextGitHub

Last updated 2 years ago

Was this helpful?