As of now, DegensBet supports 16 pairs and new hot pairs are added each week. DegensBet relies on Pyth to acquire accurate and timely data for its price feed. Pyth, a decentralized oracle network, plays a crucial role in delivering real-time price information.
DegensBet leverages the updatePrice contract to fetch the price feed.
Within DegensBet smart contracts, the price data generated by Pyth through the internal updatePrice function is dynamically updated by transmitting it to the Pyth smart contracts when opening, closing a position, or during liquidation. Following this, DegensBet contracts read and incorporate the updated price data from the Pyth Network to execute these actions.