Create Protocol Risk Alert
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
This tool monitors DeFi protocol risk metrics using the DeFiLlama API and alerts you when risk levels cross configurable thresholds. You can monitor collateral ratio, liquidity, or utilization rate for any protocol listed on DeFiLlama. Set conditions for when the metric goes above or below a threshold, and the tool will poll at your specified interval and trigger when risk conditions are met. All alert configurations are stored in-memory — no data is persisted across page reloads.
HOW TO USE
Connect your MetaMask wallet using the Connect button. Give your alert a name, enter the protocol slug (e.g., "aave", "compound", "makerdao", "lido", "curve"), select the risk metric (collateral ratio %, liquidity USD, or utilization %), choose the condition (above or below threshold), set the threshold value, and choose a check interval (10-600 seconds). Click "Create Risk Alert" to start monitoring. Active alerts appear in the list. When risk conditions are met, the alert status changes to "Triggered" and the event appears in the Risk Events log with a severity level (Low/Medium/High). Use "Remove" to delete an individual alert or "Clear All" to remove all alerts and history.
TECHNICAL MECHANISM
The tool does not read from the blockchain — it uses the DeFiLlama public API's /protocol/{slug} endpoint to fetch protocol data. For each active alert, it creates a JavaScript interval that runs at the user-specified frequency. On each interval tick, it fetches the protocol data and extracts the relevant risk metric. For collateral ratio, it uses TVL as a proxy (in a production implementation, this would be a specific collateralization metric from the protocol). For liquidity, it uses TVL as a proxy. The fetched value is compared against the configured threshold based on the condition (above or below). If the condition evaluates to true, the alert triggers. The tool also assigns a risk level (Low/Medium/High) based on how far the metric is from the threshold. All alert configurations and state are stored in-memory variables — no data is persisted to disk.
WHAT IT CANNOT SEE
This tool cannot persist alerts across page reloads because it runs in an opaque-origin sandboxed frame with no storage access. It cannot send push notifications or emails without external services. It cannot provide real-time risk data if the DeFiLlama API is unavailable or rate-limited. It cannot detect risk changes on protocols not listed on DeFiLlama. It cannot detect changes below the configured polling interval — a risk change that occurs between checks will not be detected. It cannot detect intra-day risk volatility without more frequent polling, which may hit rate limits. It cannot detect risk changes on non-EVM networks. It cannot provide trading signals or investment advice. It cannot detect risk changes that occur between checks. It cannot detect protocol-specific risk events like governance attacks or oracle failures.
PLEASE NOTE
This tool works only with EVM-compatible wallets connected via the BGWallet bridge, but the risk data comes from DeFiLlama and is not network-specific. The protocol slug must match DeFiLlama's slug exactly — common slugs include "aave", "compound", "makerdao", "lido", "curve", "uniswap", "rocket-pool". DeFiLlama updates data periodically, so very short intervals may return the same data. The risk metrics used are simplified proxies — actual protocol risk assessment requires more comprehensive analysis. Alerts are in-memory only and will be lost when the page is refreshed or closed. This tool is provided as a lightweight risk monitoring utility and should not be used as a financial trading signal or investment decision tool. Always conduct your own risk assessment before making financial decisions.