SpookySwap v2 — Liquidity, Routing & Execution on Fantom
A focused guide to SpookySwap v2 on Fantom Opera. Learn how volatile & stable pools work in v2,
how the router chooses paths, and how to set slippage, gas, and MEV protections. We also cover LP math, fees,
and a practical runbook for consistent execution. (Extras: SpookySwap, SpookySwap Bridge, and where v3 fits.)
SpookySwap v2 is Fantom’s battle-tested AMM architecture with two pool families:
volatile (constant-product) for non-correlated pairs, and stable (curve-like) for correlated assets.
The v2 router evaluates one-hop and multi-hop routes (often via wFTM or stables) to minimize price impact
while accounting for gas and your slippage bound.
Pool Types in SpookySwap v2
Volatile pools (x·y=k): Use for FTM/ALT or non-correlated pairs. Depth directly controls slippage.
Stable pools: Designed for correlated assets (USDC/USDT, stables/wrapped stables). Tighter curve near parity → smaller price impact.
Fee tiers: Pool fee is embedded in the math; lower tiers suit majors, higher tiers compensate LP risk on long-tail pairs.
Router Priorities in v2
Net output after gas: More hops can improve price but add gas; v2 scores routes by effective price.
Path quality: Avoid thin or dusty pools; favor deep volatile legs or stable pivots when it improves outcome.
Execution reliability: Honor your min-out; fail fast if quote decays beyond the threshold.
Tip: On Fantom, gas is low but not zero. Small trades → prefer simple one-hop on v2. Large tickets →
check if a stable pivot (ALT → wFTM → USDC) outperforms a direct volatile hop.
Native GasFTM (keep buffer for approvals + swap)SettlementOn-chain, non-custodial to your walletSlippage Controlv2 enforces min-out; transaction reverts if breachedToken SafetyVerify addresses on FTMScan / official links before swapping
Security Posture & MEV Protections in SpookySwap v2
SpookySwap v2 keeps custody in your wallet, but approvals and routing deserve discipline. The checklist below hardens
your flow without adding friction.
Wallet & Approval Hygiene
Use hardware wallets for material balances; confirm target contracts on device.
Approve minimal allowances (avoid unlimited). Revoke stale approvals monthly.
Bookmark official SpookySwap links; ignore unsolicited “support” prompts.
MEV-Aware Flow on Fantom
Tight slippage on deep pairs; widen slightly during high volatility.
Consider private/builder RPC (if supported) and split large orders.
Increase priority fee to shorten mempool time and reduce exposure.
Common Failure Modes (and Fixes)
Impostor tokens: Always match contract addresses from official sources.
Fee-on-transfer tokens: Can break min-out logic; confirm token mechanics before swapping.
Stale quotes: Re-quote if pending too long; volatile legs can move quickly.
Small “canary” swaps validate the path and approval flow before you size up.
Power Features of SpookySwap v2
Smart Routing Across v2 Stable & Volatile Liquidity
The v2 router mixes stable and volatile legs to reduce price impact for your size. Assess both quoted output and hop count,
because gas on additional hops slightly changes effective price even on Fantom.
Liquidity Provisioning on v2
Fee income: Earn proportionally to your pool share; stables often have higher turnover with lower IL.
Impermanent loss (IL): Volatile pairs can underperform fees depending on price path; simulate scenarios before committing size.
Pool selection: Favor durable demand, sensible fee tier, and sustained 24h/7d volume over pure APR.
Where SpookySwap Bridge & v3 Fit
SpookySwap Bridge: Bridge funds to Fantom, verify destination contracts, keep FTM for approvals, then swap locally on v2.
v3 context: Concentrated liquidity can improve fills when in-range; v2 remains a robust default for breadth and simplicity.
Developer Notes
Clear revert reasons on slippage/allowance; expose pool type (stable/volatile) and fee tier in UI.
Emit route hops, min-out, gas used, and realized output for analytics.
Surface stable-pool vs volatile-pool choice hints to help users self-select.
Execution Metrics to Track
Quoted vs realized output (post-settlement delta).
Effective price = received / spent after gas + fees.
Pool TVL & 24h/7d volume as a depth/flow proxy for slippage risk.
Fail/Cancel rate to tune RPC and slippage presets.
Practical Runbook for SpookySwap v2
Before You Trade
Keep FTM for approvals + swap (buffer during volatility).
Run a micro-swap to validate route and min-out behavior.
Slippage & Gas
Majors & stables: 0.1–0.5% slippage.
Mid-caps: 0.5–1.5% depending on depth.
Illiquid: 1.5%+ and consider chunking the order.
For Large Size
Split across time or pools to flatten impact.
Compare a volatile direct hop vs a stable pivot on v2.
Monitor pool health (TVL/volume, fee tier, recent volatility).
Troubleshooting Matrix
INSUFFICIENT_OUTPUT_AMOUNT → Price moved or slippage too tight; re-quote and nudge tolerance.
TRANSFER_FROM_FAILED → Missing/insufficient allowance or non-standard token; re-approve the minimal amount.
Pending forever → RPC congestion/low tip; raise priority fee or try another Fantom RPC.
Unexpected output → Confirm token contracts and pool path; inspect hops in the UI.
KPI Hint: Track effective price (received per unit after gas + pool fees). Comparing routes by effective price
rather than raw quote improves decision quality on SpookySwap v2.
Frequently Asked Questions — SpookySwap v2
Why choose SpookySwap v2 over a generic aggregator?
v2 concentrates on Fantom-native liquidity with predictable stable/volatile pools and low gas.
Aggregators search many venues; for pairs with strong local depth, v2’s simplicity and fee profile often win on
realized execution.
Which pairs should use v2 stable pools?
Correlated assets (e.g., USDC/USDT, wrapped stables). The stable curve reduces slippage around parity.
Always compare to volatile paths; occasionally a deep volatile pool can beat a thin stable pool.
How do I minimize MEV on SpookySwap v2?
Tight but realistic slippage; raise priority fee when markets are jumpy.
Consider private/builder RPC for size; split a large order into chunks.
Avoid peak volatility when possible to reduce inclusion delays.
Can I LP safely on v2 volatile pools?
Volatile pools pay fees but carry impermanent loss. Favor pairs with two-sided organic flow and sensible
fee tiers, and compare fee APR vs. IL projections over different price paths.
Where does SpookySwap Bridge come in?
Bridge funds to Fantom first (test small, verify addresses on FTMScan), keep extra FTM for approvals, then
swap locally on SpookySwap v2 for best control and lower latency.