Token Factory & Manager
StockTokenFactory
Responsible for deploying all stock tokens using CREATE2, ensuring predictable addresses and one-to-one mapping with (ticker, exchange) pairs.
Functions
createStockToken(ticker, exchange)getStockToken(ticker, exchange)remapExitedToken()
Properties
Zero-decimal ERC20 tokens
Supports multiple exchanges (NASDAQ, NYSE, etc.)
Reusable token slots after delisting
StockTokenManager
Acts as the central control hub for token lifecycle and corporate actions.
Responsibilities
Mint/Burn stock tokens for RFQ fulfillment
Trigger corporate actions (splits, dividends, etc.)
Maintain fee configurations and recipients
Manage timelock-protected upgrades
Interface with the Vault for payouts
Token State Machine
Last updated