This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Oracle Failure Insurance Purchase Tool

DeFi · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryDeFi
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

This tool evaluates oracle failure insurance coverage for DeFi positions, helping users determine if they are protected against oracle malfunctions before purchasing insurance. Given an insurance contract address, an oracle or price feed address, a token address (the premium currency), and a requested coverage amount, it reads the user's current policy status, coverage amount, premium paid, and policy expiry. It also calculates the premium for the requested coverage amount using the contract's getPremium function, and checks the user's token balance and allowance for the insurance contract. The tool reads oracle health status—Healthy, Degraded, or Unhealthy—by calling the contract's getOracleHealth function or falling back to reading the oracle directly. If a validator address is provided, the tool checks the validator's status and any associated penalties. It then provides a clear insurance status—Active policy, Expired policy, Ready to purchase, or Not purchasable—along with a detailed breakdown of each readiness factor (balance sufficient, allowance sufficient, oracle healthy, canPurchase true). All data is pulled directly from the blockchain in real time, providing a transparent, informed view before any insurance purchase.

HOW TO USE

Connect your wallet using the Connect button in the header. Select the target network from the dropdown—Ethereum Mainnet, Polygon, Optimism, Arbitrum One, Base, or Sepolia testnet. Enter the oracle failure insurance contract address, the oracle or price feed address to insure against, and the token address used for premium payments. Enter the desired coverage amount in human-readable format. Optionally, provide a validator address to check its status. Click "Check insurance." The tool will fetch your current policy, premium for the requested coverage, token balance, allowance, oracle health status, and validator status if provided. Results appear in the card below with a prominent insurance status badge, oracle health indicator, coverage usage bar, premium amount, detailed breakdown of readiness factors with checkmarks or crosses, and all relevant addresses with block explorer links. Use this information to decide whether to purchase oracle failure insurance.

ORACLE HEALTH VERIFICATION WITH MULTI-LAYER DETECTION

The tool provides comprehensive oracle health verification through multiple detection layers. First, it attempts to call the insurance contract's getOracleHealth() function, which returns a status code (0 = healthy, 1 = degraded, 2 = unhealthy), the last update timestamp, and any deviation percentage. This is the most reliable source as it reflects the contract's own view of oracle conditions. If the contract does not implement this function, the tool falls back to reading the oracle directly via latestRoundData() or latestAnswer(). It checks the oracle's response and verifies the update timestamp—if the last update is more than one hour old, the oracle is flagged as Degraded (stale data). If the oracle does not respond, it is flagged as Unhealthy. The tool then calculates the premium for the requested coverage using the contract's getPremium() function, which may vary based on oracle health, coverage amount, and other risk parameters. All factors—balance, allowance, oracle health, and canPurchase—are combined to provide a clear readiness status.

WHAT IT CANNOT SEE

This tool cannot guarantee oracle reliability or predict future oracle failures. It cannot verify off-chain oracle conditions or detect oracle manipulation that may not be reflected in the contract's view functions. It cannot ensure that the insurance contract is solvent or able to pay claims. It cannot detect all oracle manipulation risks, including those not exposed by the contract's health functions. It cannot assure that the insurance contract is free from vulnerabilities, bugs, or malicious code. It cannot verify that the oracle address is correct or that the oracle is actually the one used by the protocol being insured. It cannot detect stale oracle data if the contract's health function does not expose it. It cannot provide financial advice or guarantee that purchasing insurance is profitable or necessary. All data is provided as-is for informational purposes only; any reliance on the tool's output for insurance purchase decisions is the sole responsibility of the user.

PLEASE NOTE

This tool supports EVM-compatible chains only: Ethereum Mainnet (1), Polygon (137), Optimism (10), Arbitrum One (42161), Base (8453), and Sepolia testnet (11155111). Solana, Tron, Starknet, SUI, TON, Aptos, Bitcoin, Cosmos, and XRP are not supported. The tool requires a Web3 provider (MetaMask or WalletConnect) and access to an RPC endpoint for the selected chain. It does not store any wallet data, oracle addresses, or insurance records. All queries are performed directly against the blockchain in real time. The tool does not execute insurance purchases—it only provides read-only information. Oracle health status is a heuristic based on contract state or direct oracle responses and does not guarantee actual oracle reliability. Always verify critical data independently through a block explorer and consult with financial advisors before making any insurance purchase decisions.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.