FAQ
Frequently asked questions about AgentLoan.
IS AGENTLOAN SAFE TO USE WITH REAL MONEY?
No. AgentLoan runs on Arc Testnet only. All tokens are testnet assets with no real-world value. Smart contracts have not been professionally audited. Do not use with real funds.
WHY DOES MY SUPPLY APY SHOW 0.00%?
Supply APY = Borrow APY × utilization. When very few people are borrowing relative to the total pool size, utilization is near zero and supply APY is near zero. Supply APY will increase as more borrowers use the pool.
WHY DO I NEED TWO TRANSACTIONS TO SUPPLY OR REPAY?
ERC20 tokens require an 'approve' transaction before a smart contract can spend them. Step 1 sets the approval, Step 2 executes the deposit or repay. This is standard in all DeFi protocols.
I CLEARED MY BROWSER DATA — WILL MY FAUCET COOLDOWN RESET?
No. The faucet cooldown is enforced by the smart contract (stored in lastMintTime[address] on-chain). Clearing cookies, localStorage, or using a different browser does not reset it.
WHAT ORACLE DOES AGENTLOAN USE FOR PRICES?
AgentLoan uses Pyth Network — a real-time pull oracle with data from multiple institutional providers. Prices are submitted on-chain before each transaction and also refreshed every 5 minutes by an automated process. This is the same oracle infrastructure used by major DeFi protocols on mainnet.
WHY DOES THE HEALTH FACTOR SOMETIMES SHOW A DIFFERENT NUMBER BRIEFLY?
The Health Factor is calculated on-chain using the Pyth oracle price. If the on-chain price is slightly different from the real-time display price (updated every 15 seconds), you may see a brief discrepancy. If the prices diverge by more than 1%, a price lag warning appears on the dashboard.
WHY IS MY HEALTH FACTOR SHOWING ∞?
Health Factor is ∞ when you have no active debt. As soon as you borrow, a real HF number appears.
WHAT HAPPENS IF MY HEALTH FACTOR GOES BELOW 1.0?
Your position becomes liquidatable. Any wallet on Arc Testnet can call the liquidate() function to repay up to 50% of your debt in exchange for your collateral at a 5% discount.
WHY IS THE BORROW APY DIFFERENT FROM SUPPLY APY?
Borrow APY is always higher. Supply APY = Borrow APY × utilization rate. The difference accounts for the fact that only a portion of supplied funds are actively borrowed.
CAN I BORROW XEURC OR XCLRBTC?
No. Currently only xUSDC is borrowable. xEURC and xclrBTC can only be supplied as collateral.
WHAT IS THE MAXIMUM I CAN BORROW?
It depends on your collateral: xclrBTC → 70% LTV, xEURC → 80% LTV, xUSDC → 80% LTV. Example: $10,000 in xclrBTC collateral → max $7,000 xUSDC borrow.
DOES AGENTLOAN WORK ON MOBILE?
Yes. The app is fully responsive — all pages including Dashboard, Markets, Profile, Faucet, and Docs are optimized for mobile. On small screens, the navbar collapses into a hamburger menu and tables adjust to show essential columns.
HOW DO I ADD ARC TESTNET TO METAMASK?
Go to MetaMask → Settings → Networks → Add Network → Add manually. Use: RPC: https://rpc.testnet.arc.network, Chain ID: 5042002, Symbol: USDC.
I SUPPLIED TOKENS BUT MY DASHBOARD SHOWS $0. WHAT HAPPENED?
This usually means your browser has cached data from an old contract address. Do a hard refresh (Ctrl+Shift+R), disconnect your wallet, and reconnect. If the issue persists, clear your browser's localStorage and reconnect.
WHY DOES WALLETCONNECT NOT WORK?
WalletConnect is disabled unless a valid project ID is configured. MetaMask injected wallet works fully without WalletConnect.
WHAT IS THE LIQUIDATION BOT AND WHO RUNS IT?
The Liquidation Bot is an autonomous program that monitors all borrower positions every ~15 seconds. When a position's Health Factor drops below 1.0, the bot automatically liquidates it — repaying up to 50% of the debt and receiving collateral + 5% bonus. It runs 24/7 on a dedicated VPS via PM2, and is registered on-chain as an AI agent via Arc ERC-8004 (Agent ID #30907).
CAN THE LIQUIDATION BOT LIQUIDATE ME?
Yes — if your Health Factor drops below 1.0, the bot will liquidate up to 50% of your debt position. You lose some collateral but keep the rest. To avoid this: keep your HF above 1.2 by repaying debt or adding more collateral when prices drop.
HOW DO I KNOW IF THE BOT IS RUNNING?
Go to Dashboard → AGENTS tab. The LIQUIDATION BOT panel shows LIVE status, the bot wallet address, current balances (xUSDC, xEURC, xclrBTC), and a log of recent liquidations in the last 10,000 blocks. The panel refreshes every 30 seconds.
WHY IS SUPPLY APY SHOWING 0.00%?
Supply APY = Borrow APY × utilization rate. When utilization is near zero (few active borrows vs total pool size), supply APY is near zero. As more users borrow, utilization rises and both borrow and supply APY increase.