Oracles
Last updated
Last updated
The protocol needs accurate, real-time price information for BTC and/or sBTC relative to USD to calculate collateral ratios, manage liquidations, and process redemptions. Based is currently configured to use one of these two oracles:
Contract:
Price source:
Contract:
Github:
The protocol always checks if the price data received from the oracle is recent. If the price feed is older than a predefined threshold (currently 9 Bitcoin blocks), the protocol will reject the price and halt operations that depend on it (like borrowing, withdrawing, redeeming, or liquidating) until a fresh price is available. This prevents actions based on outdated, potentially inaccurate information.