System Architecture
Omni.fun is a hub-and-spoke architecture with Base as the home chain and 7 remote chains connected via LayerZero V2 messaging and Across Protocol bridging. Every cross-chain operation ultimately settles on Base, where the bonding curves and Uniswap V3 pools live.High-Level Topology
LayerZero Integration Points
Omni.fun uses LayerZero V2 through four distinct integration patterns. Each one uses_lzReceive() or lzCompose() as the entry point on Base.
1. Cross-Chain Buy (LZ OApp)
A user on any remote chain initiates a buy. The adapter encodes the buy parameters and sends an LZ message to CCBuyerV3 on Base.send(). The buyer receives tokens on their home chain — not on Base.
2. Cross-Chain Sell (LZ OApp + Across)
A user burns their OFT tokens on a remote chain. The LZ message triggers a sell on Base, and USDC returns via Across Protocol.3. Cross-Chain Launch (LZ OApp)
A user on BSC, Ethereum, or Solana launches a token that deploys on Base.4. OFT Factory Deployment (LZ OApp)
A single Base transaction deploys an OFTAdapter locally and sends LZ messages to 6 remote OFTFactoryRemote contracts, each of which CREATE2-deploys an OmniOFT.LZ Configuration
All Omni.fun OFT deployments use the following LayerZero V2 configuration:Cross-Chain Routing Summary
Every row with “LayerZero V2” generates LZ messages that flow through LayerZero’s DVN and executor infrastructure.