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.

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.

Last updated