Slashing Protection Swap Purchase Tool
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 slashing protection status for DeFi swaps involving validators or staking positions, helping users determine if they are protected from slashing events before executing a swap. Given a slashing protection contract address, a swap contract address, token in and token out addresses, and an amount, it reads the user's protection status, slash penalty amounts, slashed amounts, and protection buffers. It also checks the user's token balance and allowance for the swap contract, and calls the slashing contract's canSwapWithProtection() function to verify all on-chain conditions are met. If a validator address is provided, the tool checks the validator's status—Active, Slashed, or Warning—and displays any associated penalties. The tool then provides a clear protection status—Protected, Warning, or Danger—along with a detailed breakdown of each protection factor (protection active, balance sufficient, allowance sufficient, no active slashing, canSwapWithProtection true). All data is pulled directly from the blockchain in real time, providing a transparent, informed view before any swap transaction is attempted.
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 slashing protection contract address (the contract that manages slashing protection for swaps), the swap contract address, the token in address, and the token out address. Enter the amount to swap in human-readable format. Optionally, provide a validator address to check its slashing status. Click "Check slashing protection." The tool will fetch your token balance, allowance, protection status, slash penalties, slashed amounts, protection buffers, and validator status if provided. It will also call the contract's canSwapWithProtection function. Results appear in the card below with a prominent protection status badge, validator status if checked, detailed breakdown of protection factors with checkmarks or crosses, and all relevant addresses with block explorer links. Use this information to decide whether to proceed with the swap.
SLASHING PROTECTION VERIFICATION WITH MULTI-FACTOR ANALYSIS
The tool provides comprehensive slashing protection verification through multiple on-chain reads. First, it calls the slashing contract's getProtectionStatus() function, which returns a boolean indicating whether the user is protected, the current slash penalty amount, and any slashed amount already applied. Next, it calls getSwapProtection() to retrieve the protected amount and slash buffer for the specific swap. It also calls canSwapWithProtection() to verify that all swap-specific conditions are met. If a validator address is provided, the tool calls getValidatorStatus() to retrieve the validator's status code (0 = active, 1 = slashed, 2 = warning) and any associated penalty amount. The tool then combines all these data points with balance and allowance checks to display a comprehensive protection status. Each protection factor is displayed individually, making it easy to identify why protection might not be active and what action is needed—such as increasing allowance, topping up balance, or addressing slashing penalties.
WHAT IT CANNOT SEE
This tool cannot guarantee protection from slashing events—on-chain conditions may change between the check and the transaction. It cannot predict validator misbehavior or future slashing events. It cannot verify off-chain slashing conditions or ensure that slashing protection parameters are correctly configured. It cannot detect all slashing risks, including those not exposed by the contract's view functions. It cannot assure that the slashing contract is free from vulnerabilities, bugs, or malicious code. It cannot verify that the validator address is correct or that the validator is actually part of the staking system. It cannot detect slashing events that have not yet been recorded on-chain. It cannot provide financial advice or guarantee that a swap is safe or profitable. All data is provided as-is for informational purposes only; any reliance on the tool's output for swap 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, token addresses, or slashing records. All queries are performed directly against the blockchain in real time. The tool does not execute swaps—it only provides read-only information. Slashing protection status is a heuristic based on contract state and does not guarantee protection from slashing. Always verify critical data independently through a block explorer and consult with security professionals before making any decisions involving staking or validator risks.