token-lifecycle
Source References: Use Doppler deployments as the contract source of truth for deployed addresses and revisions.
Token Lifecycle
When to use
- You are choosing a token factory for a launch
- You need vesting/inflation semantics for Doppler asset tokens
- You are debugging vesting release, pool lock behavior, or mint-rate logic
Prerequisites
- Determine governance posture first:
OpenZeppelin Governor: disabled(default for most launches)OpenZeppelin Governor: enabled(when token-holder governance is required)
- Determine required token capabilities (votes, permit, clone vs full deployment)
- Confirm Airlock-compatible factory interface (
ITokenFactory)
Core workflow
- Pick factory path:
TokenFactory/DERC20TokenFactory80/DERC2080CloneERC20Factory/CloneERC20CloneERC20VotesFactory/CloneERC20VotesCloneDERC20VotesV2Factory/CloneDERC20VotesV2(multi-schedule vesting)
- Validate token data encoding expected by selected factory.
- Validate vesting schedule constraints and per-address/global premint caps.
- Verify pool lock/unlock timing relative to migration and inflation mint start.
Quick facts
| Family | Votes | Vesting model | Deployment style |
|---|---|---|---|
DERC20 / DERC2080 |
Yes | Single-schedule style | Full deployment |
CloneERC20 |
No | Single-schedule style | ERC1167 clone |
CloneERC20Votes |
Yes | Single-schedule style | ERC1167 clone |
CloneDERC20VotesV2 |
Yes | Multi-schedule vesting | ERC1167 clone |
Failure modes
- Mismatched encoded token data vs selected factory ABI
- Invalid vesting schedule arrays or lengths
- Premint caps exceeded per address or globally
- Attempting inflation mint before unlock/initial mint window
References
- FACTORIES.md
- VESTING.md
- Source:
doppler/src/tokens/*.sol(especiallyCloneDERC20VotesV2.sol,CloneDERC20VotesV2Factory.sol)
Related skills
More from rustydotwtf/doppler-skills
fee-architecture
Reference for Doppler fee collection, distribution, and configuration across Airlock, FeesManager, locker contracts, and hook-based fee paths.
9uniswap-fundamentals
Reference for Uniswap V3/V4 concepts used in Doppler development, including tick math, sqrtPriceX96, concentrated liquidity formulas, and V4 hooks/singleton architecture.
9verification
Verify on-chain Doppler behavior with cast, viem, RPC, and explorers for dynamic auctions, multicurve launches, hook initializer state, and migration flows.
8proceeds-split-migration
Configure and verify migration-time proceeds split flows using `ProceedsSplitter`, `TopUpDistributor`, `UniswapV4MigratorSplit`, and `UniswapV4MigratorSplitHook`.
7rehype
Operate, configure, test, and deploy Doppler's Rehype V4 hook for buybacks, beneficiary fees, and airlock-owner fee claims.
4pda-multicurve
Reference for multicurve price discovery auctions with scheduled multicurve as the canonical default; covers shares-based curve allocation, deployment modes, and lifecycle constraints.
4