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

Spender Allowance Exposure Calculator

Risk Analysis · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryRisk Analysis
PlatformAll
Pricing $4.99/mo
Installs0
Free 7-day trial, no card. Or hold 25,000 BOT instead.
Get BotSurf — free
The browser these apps run in. Free on every platform, no account needed to try an app.

About this app

WHAT IT DOES The Spender Allowance Exposure Calculator reads a pending approve() transaction and calculates exactly what percentage of your token balance the spender can access—before you sign. You enter the token address, spender address, and allowance amount—the tool reads your token balance via balanceOf(), checks your current allowance via allowance(), and verifies if the spender is a contract or EOA via eth_getCode. It then calculates the exposure as a percentage of your balance and displays a risk level: LOW (80%), or CRITICAL (unlimited or >200%). An AI-generated explanation helps you understand what this means before you approve. HOW TO USE 1. Connect your EVM wallet (required to read your balance and allowance). 2. Select the chain (Ethereum, Polygon, or Arbitrum). 3. Enter the token contract address, spender address, and allowance amount. 4. Optionally set the token decimals (defaults to 18). 5. Click "Calculate exposure" to fetch data and generate the calculation. 6. Review the exposure percentage, risk level, and AI explanation. 7. The wallet's own signature prompt will still appear—this tool only informs you. THE REAL MECHANISM — balance and allowance comparison with AI‑powered exposure calculation This tool reads from the token contract using standard ERC-20 interfaces: `symbol()` for the token name, `balanceOf()` for your current token balance, and `allowance()` for your current approved amount. It also reads `eth_getCode` on the spender address to determine if it's a contract or EOA and whether it's verified. The tool calculates the exposure as (allowance / balance) × 100, with special handling for unlimited approvals. It classifies the exposure level (LOW/MEDIUM/HIGH/CRITICAL) and builds a structured prompt for the AI bridge (BGAI.generate) with the token symbol, balance, allowance, exposure percentage, and spender type. The AI returns a plain‑language explanation of the exposure and risk level. WHAT IT CANNOT SEE - This tool cannot read the exact intent behind the approval—only the on‑chain parameters. - It cannot determine if the spender contract is malicious with certainty. - It cannot detect approvals that are submitted through a wallet interface without page interaction. - It cannot read off‑chain agreements or promises related to the approval. - It cannot decode custom function signatures that are not in the standard ABI set. - It cannot prevent you from signing a transaction—it only provides information. PLEASE NOTE - This tool works on Ethereum (1), Polygon (137), and Arbitrum (42161). - The exposure percentage is based on your current token balance—if your balance changes, the percentage changes. - Unlimited approvals are always classified as CRITICAL. - The AI explanation is generated from the data you provide and is for guidance only. Always review the actual transaction details in your wallet before signing. - The wallet's own signature prompt is what actually protects you—the AI's read is not a substitute for reviewing what you sign.

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.