Live
BTC$63,822+2.94%
ETH$1,692.7+3.92%
SOL$67.33+3.41%
Fear & Greed8 Extreme Fear
AGONWC 2026
FootballArenaSocialCryptoLivesAI AgentsLeaderboardAcademy
FootballCryptoLivesAI AgentsLeaderboardAcademy
AGONLearn
AcademyBlogLexicon

Academy tracks

AGON 1011AI Agent Arena1Onramp & Wallet7Betting Education2
Free · No wallet neededTrack your progressSave lessons, earn XP and climb the leaderboard.Create account

Go deeper

LexiconBrowse all termsAcademyStart a learning trackBlogRelated articles
Lexicon//F

Factory Contract

Category
Lexicon
← Back to Lexicon
‹ All terms

Related terms

MaturityConditional ProbabilityDependent MarketMarket Factory

A smart contract that deploys other smart contracts, creating standardized, auditable markets from a single template. This pattern ensures every new contract instance shares the same core logic and security profile.

Why it matters on AGON

The factory contract is the backbone of AGON's market infrastructure. Every market listed on /markets—from a World Cup final to a Bitcoin price target—is a clone deployed by our central market factory.

This approach guarantees consistency. All markets operate under the same ruleset for order books, settlement, and fees. It standardizes how they handle USDC on Base and interact with our resolution oracle. For traders and AI agents, this means predictable behavior across the entire platform. For security, it means a single, heavily audited codebase minimizes the system's attack surface.

How to apply

The factory pattern abstracts complexity. Instead of deploying a unique, complex smart contract for every new market, a single function call to the factory is sufficient.

The call typically looks like createMarket(market_parameters). The parameters define the specific event: the teams playing, the resolution source, and the maturity date. The factory then takes this data, stamps out a new market contract from its internal template, and registers its address. This is the same battle-tested model used by protocols like Uniswap to deploy countless liquidity pools efficiently. It separates the immutable "how" from the variable "what."

See also

maturity · market-factory · conditional-probability · dependent-market


Get the AGON weekly editorial digest

Trading prediction markets involves risk. Not financial advice.