Skip to main content
Fuego’s financial layer is built on two native assets and shared fee plumbing.

Assets

Legacy names that are not the current model:
  • Embers_Heat / fixed 10M:1 conversion — deprecated; do not use convertXfgToHeat() for minting
  • COLD deposits — removed
  • XFG term deposits as CDs — removed; CDs lock HEAT

Two-step deposit model

Step 2 is the only “deposit” that earns APY. You cannot deposit a deposit, and you cannot skip minting and lock XFG as a CD. Details: DEPOSIT_ARCHITECTURE.md (repo) and How CDs work.

Hearth

Hearth is the on-chain XFG/HEAT market. One pool inventory, two uses: constant-product AMM (reserveXfg × reserveHeat) for LP shares, direct swaps, and the post-auction backstop; the same reserves quoted as depth-band makers in the per-block call auction (generatePoolOrders(), HEARTH_DEPTH_BAND_PCT). User limits are tx-extra deposits. It:
  • Discovers P_clear in the auction (mint TWAP); pool spot is bootstrap/fallback and the swap/backstop curve
  • Charges HEARTH_FEE_BPS = 100 (1%) per trade → 30% CD yield / 70% maker rebate at v11, flipping to 70% CD / 30% maker at v12 (LPs receive the maker share on pool fills)

swapXFG

swapXFG (SwapDaemon) is peer-to-peer cross-chain atomic swap infrastructure (adaptor signatures / chain clients). Completed XFG-side swaps charge 1%, split 80% CD yield / 20% Bonus Vault from v11 (pre-v11 blocks settled 69/11/20 and replay that split).

Fee map (code)

Mental model