DeFi Saver Automation
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
DeFi Saver Automation is a non-custodial tool that monitors your DeFi positions and executes automated actions to maintain healthy collateral ratios, repay debt, harvest yields, and rebalance portfolios. It reads real-time position states including collateral ratios, liquidation thresholds, health factors, protocol parameters, and gas prices. When conditions you define are met, it constructs and signs transactions to adjust collateral, repay debt, harvest yields, rebalance positions, or trigger stop-loss and limit orders. The tool works across multiple EVM chains including Ethereum Mainnet, Arbitrum, Optimism, and Polygon.
HOW TO USE
Connect your wallet using the built-in BGWallet bridge. Select your target network, enter the position address you want to monitor, and paste the contract address you are interacting with — you vouch for this contract, not the tool. Choose an action type (adjust collateral, repay debt, harvest yield, rebalance, or stop-loss) and set the amount. For advanced users, extra parameters can be passed as JSON. Review the transaction details on the confirmation card before signing. Once signed, the transaction is broadcast to the network. The tool provides clear feedback on success or failure, with error messages that explain what went wrong rather than generic "call failed" responses.
TECHNICAL MECHANISM
The tool uses ethers.js v5.7.2 to interact with the blockchain. It reads position data by calling view functions on the contract you specify — no hardcoded addresses are used, so you are always in control of which contract you trust. When scanning historical logs (for approval checks or past position changes), the tool walks backwards in chunks and halves the chunk size on failure. This handles public RPC limitations where eth_getLogs may cap block ranges differently; a single refusal does not end the scan. All computed values are guarded against negative numbers — rendering "-6.67%" when a ratio has decreased is replaced with context-aware messaging. Batched transactions are sent sequentially and awaited to prevent nonce conflicts, with concurrency capped at 4-6 operations and visible progress indicators. Transaction costs are calculated using receipt.effectiveGasPrice, not tx.gasPrice, ensuring accurate EIP-1559 fee accounting. Native token sends always deduct the fee from the balance before calculating the send amount, preventing "insufficient funds" failures.
WHAT IT CANNOT SEE
This tool cannot predict market movements or guarantee that automated actions will execute before liquidation. It operates on historical and current on-chain data only. It cannot detect off-chain events, mempool congestion beyond gas price readings, or front-running attempts. Approval events in logs are treated as history — the tool always confirms current allowance or isApprovedForAll status before acting. It cannot recover funds once sent, nor can it reverse transactions. The tool does not store any data persistently due to browser storage limitations in the sandboxed frame; all state is in-memory and resets on reload.
PLEASE NOTE
DeFi Saver Automation works exclusively with EVM-compatible chains. It requires a Web3 wallet (MetaMask or similar) and the BGWallet bridge. Always verify the contract address you are using — the tool does not validate or endorse any contract. Test with small amounts first. This is experimental software; use at your own risk.