StockDotFunStockFun

Contracts

The onchain architecture. Source lives in /contracts (Foundry). Addresses appear here once deployment is configured.

StockDotFunFactory

Creates meme tokens, registers metadata, wires pools and vaults.

Not deployed

StockAssetRegistry

Admin-controlled list of supported stock-token assets.

Not deployed

RouterAdapter

Configurable interface for converting fees into stock-token assets.

Not deployed

BondingCurvePool (per token)

Handles buy/sell, prices the curve, applies the fee split.

Not deployed

RewardVault (per token)

Holds stock-token rewards; eligible holders claim from it.

Not deployed

CreatorRewardVault

Tracks creator rewards, claimable in ETH or stock token.

Not deployed

Security model

Contracts use OpenZeppelin (Ownable, ReentrancyGuard, SafeERC20), validate supported assets against the registry, enforce fee caps, reject zero addresses, and emit full events for indexing. The foundation is unaudited — an independent audit is required before mainnet deployment.