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

Liquidation Protection Subscription Tool

Security · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategorySecurity
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

Liquidation Protection Subscription Tool enables users to purchase on-chain insurance against liquidation events for their lending positions. The tool reads your connected wallet address, protection contract address, user positions (collateral and debt), protection plan details, premium amount, premium token address, protection coverage amount, coverage expiry, current block timestamp, renewal schedule, and claim eligibility. It displays the premium cost, coverage amount, expiry date, renewal schedule, and your token balance before you subscribe. Once you subscribe, your position is protected against liquidation up to the coverage amount for the specified duration.

HOW TO USE

Connect your wallet and select your network. Enter the liquidation protection contract address and the premium token address. Specify the coverage amount you want and the plan duration in days. Click "Fetch plan details" to load the plan information including the premium amount, coverage amount, expiry, renewal schedule, and your current token balance. Review all details carefully—the tool will show you whether you are already subscribed and whether the coverage has expired. If you are eligible, click "Subscribe" to approve premium token spend and execute the subscription. The tool handles the approval and subscription in one flow.

THE REAL MECHANISM — PREMIUM-BASED COVERAGE WITH EXPIRY AND RENEWAL

Unlike simple insurance that only checks a balance, this tool implements a premium-based coverage system with expiry and renewal tracking. The getPlanInfo function returns the premium amount, coverage amount, expiry timestamp, and renewal schedule (in days) as a struct. The isSubscribed function checks whether the user has an active subscription. The subscribe function verifies that the user has sufficient premium token balance, transfers the premium to the protection contract, and records the subscription with the specified coverage amount and expiry. The renewal schedule determines how often the subscription must be renewed to maintain coverage. The tool reads the premium token via getPremiumToken and checks the user's balance before enabling the subscribe button. All arithmetic uses ethers.js BigNumber with the token's decimal precision, and gas costs are reported using receipt.effectiveGasPrice.

WHAT IT CANNOT SEE

Cannot predict liquidation risk—the tool cannot forecast whether the user's position will be liquidated during the coverage period. It cannot ensure protection provider solvency—the tool has no visibility into the protection provider's reserves or ability to pay claims. It cannot guarantee payout execution—the tool cannot guarantee that claims will be processed or paid out. It cannot detect if the protection contract contains vulnerabilities or malicious code—the tool does not audit the protection logic. It cannot recover premium payments if the coverage is not used.

PLEASE NOTE — EVM CHAINS ONLY

This tool exclusively supports EVM-compatible chains where ethers.js can connect via standard JSON-RPC. It does not support non-EVM chains such as Solana, Tron, Starknet, SUI, TON, Aptos, Bitcoin, Cosmos, or XRP. The protection contract must implement the specific interface expected by this tool (getPlanInfo, getPremiumToken, subscribe, isSubscribed). Always review the protection terms, premium costs, and coverage limits before subscribing. This tool is a protection subscription interface, not a financial advisor or insurance broker.

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.