Automated Debt Repayment Bot Trigger
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 evaluates debt repayment trigger conditions for DeFi lending positions, helping users determine if their debt should be repaid based on health factors, interest rates, and market conditions. Given a lending contract address, a position ID or user address, a debt token address, an optional repayment token address, and an optional oracle address, it reads the position's debt balance, collateral balance, health factor, liquidation threshold, interest rate, debt price, borrow rate, and repayment amount. It also reads the user's repayment token balance if provided. The tool then determines trigger status—Urgent (liquidation risk), Repayment recommended (health factor low or high interest), or Healthy (no repayment needed)—and displays a visual debt balance bar showing the current debt relative to a reference level. All data is pulled directly from the blockchain in real time, providing a transparent, timely view of debt conditions for automated bot triggering.
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 lending contract address, the position ID or user address (position ID is a number, user address is an Ethereum address starting with 0x), and the debt token address. Optionally, provide a repayment token address to check your repayment token balance, and an oracle address for additional price verification. Click "Check trigger." The tool will fetch the position's debt balance, collateral balance, health factor, interest rate, prices, repayment amount, and trigger conditions. Results appear in the card below with a prominent trigger status badge, a visual debt balance bar, detailed position information including debt and collateral balances, health factor, interest rate, repayment amount, prices, and a breakdown of trigger factors with checkmarks or crosses. Use this information to determine if a debt repayment is needed and to configure automated bot triggers.
DEBT REPAYMENT TRIGGER VERIFICATION WITH HEALTH FACTOR AND INTEREST RATE ANALYSIS
The tool provides comprehensive debt repayment trigger verification through multiple on-chain reads. First, it calls getPosition() or getPositionByUser() to retrieve the position's collateral balance, debt balance, health factor, and liquidation threshold. The health factor is a critical metric—when it falls below 1.0, the position becomes liquidatable. The tool also reads getDebtInterestRate() to check the current interest rate on the debt, getRepaymentAmount() to calculate the exact amount needed to repay the debt, getDebtPrice() and getBorrowRate() for additional market context. If a repayment token address is provided, the tool reads the user's balance of that token using balanceOf and decimals. The trigger status is determined by multiple factors—Urgent if the health factor is below 1.1, Repayment recommended if the health factor is below 1.5 or interest rate exceeds 10%, and Healthy otherwise. All factors are combined to provide a clear, actionable view of debt repayment trigger conditions with detailed health, interest, and balance analysis.
WHAT IT CANNOT SEE
This tool cannot guarantee repayment execution—on-chain conditions may change between the check and the transaction. It cannot predict interest rate changes or ensure that the rate will remain stable. It cannot verify off-chain repayment conditions or ensure that the repayment transaction will succeed. It cannot ensure debt settlement success—the transaction may fail due to gas, slippage, or contract errors. It cannot detect oracle manipulation or ensure that the price feeds are accurate. It cannot assure that the lending contract is free from vulnerabilities, bugs, or malicious code. It cannot verify that the position ID or user address is correct. It cannot detect front-running or other execution risks. It cannot provide financial advice or guarantee that a repayment will reduce risk. All data is provided as-is for informational purposes only; any reliance on the tool's output for repayment 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, position IDs, or trigger records. All queries are performed directly against the blockchain in real time. The tool only provides read-only information and does not execute any transactions. Health factors, interest rates, and repayment amounts are contract-defined values and do not guarantee actual risk levels. Always verify critical data independently through a block explorer and consult with financial advisors before making any repayment decisions.