Smart contracts
Every launch is made up of a few shared contracts everyone trades through, plus a handful deployed fresh for that one launch. Nothing here is a proxy or upgradeable - once a launch's contracts are deployed, their logic can't change. A new set of numbers (like a higher graduation target) means a whole new factory generation, not an edit to a live contract. Addresses below are read live from the currently active factory, so they always match what's actually deployed right now.
Platform - deployed once, shared by every launch
StocksLaunchFactory
The entry point. Every new launch goes through this contract, which deploys that launch's curve and holds the shared config (graduation target, reward/voting bounds) every curve it spawns inherits.
StocksCurveFactory
Deploys a fresh StocksCurve contract for each new launch. Split out from the main factory to stay under Ethereum's contract size limit.
TokenMetadataRegistry
Maps a token address to an off-chain metadata URI (image/description/socials, pinned to IPFS), written once at launch. Not redeployed per generation like the others here - one registry serves every launch from V6 onward, so any other site can read a token's metadata directly from the chain.
StocksGraduator
A one-time-per-launch job, not a per-launch deployment: it creates the Uniswap v4 pool at graduation and permanently locks in the starting liquidity.
StocksHook
The Uniswap v4 hook every graduated pool trades through. Runs the 10% flywheel on each swap (on a buy the TST side is burned, on a sell the stock side goes to the treasury, with a fixed slice to the protocol either way) and the TWAMM engine that executes governance-approved treasury liquidations gradually.
StocksStakingFactory
Deploys a fresh StocksStaking contract for each launch that graduates. Same contract-size reasoning as StocksCurveFactory.
StocksGovernorFactory
Deploys a fresh StocksGovernor contract for each launch that graduates. Same contract-size reasoning as the two factories above.
Per launch - a fresh copy deployed for every new token
StocksCurve
unique per launchThe bonding curve itself. Handles buying and selling before graduation, and the one-time graduation call that seeds the real pool.
TSTToken
unique per launchThe TST token you're actually holding and trading. A standard ERC-20 with on-chain vote checkpointing built in, so it can be used for governance the moment it graduates.
StocksPoolView
unique per launchA small read-only contract giving one graduated pool a stable address to check price, reserves and flywheel rate from - the pool itself lives inside Uniswap's shared pool manager, not its own contract.
StocksStaking
unique per launchWhere staking, reward streaming, in-kind redemption, and governance-gated treasury liquidation all live for one graduated TST.
StocksGovernor
unique per launchThe on-chain governor that TST holders vote through, built on OpenZeppelin's audited Governor contracts. Named after the TST it governs, e.g. "Tesla Stock Governor".