Skip to main content

Smart contracts

Onchain reference for 4626 vault infrastructure. For the launch journey, start with Launch a vault.

4626 uses shared infrastructure (batcher, factories, registry) plus a per-creator stack for each launch.

Per-creator stack

ContractDocumentation
CreatorRegistryRegistry — creator coin → vault lookup
CreatorOVaultVault — ERC-4626 · creator coin deposit
CreatorOVaultWrapperWrapper — ▢ → ■ at 1:1
CreatorShareOFTShareOFT — tradable ■ share
CreatorGaugeControllerGauge — fees · jackpot custody
CCA launch strategyAuction — fair-launch auction
CreatorLotteryManagerLottery — instant lottery on buys
CreatorOracleOracle — TWAP pricing

Shared infrastructure

Contract addresses (v1.14.1) — batcher, factories, modules.

Impairment: disclosures · Terminology: Glossary

Deploy phases

PhaseCreator-facing stepOnchain effect
1Deploy contractsPer-creator stack deployed; vault unfunded
2Activate vaultDeposit + wrap + 30/30/30/10 share split
3Automatic (launch bundle)Charm 45% · Ajna 45% · 10% idle
4After activationCCA auction scheduled (Thursday 00:00 UTC) → live → graduate

Launch is complete on Base only after the auction graduates, sweepCurrency() / migrate() succeed, and hook config aligns with the intended fee collector — see After activation.

Source: github.com/wenakita/4626/contracts