一键导入
doppler-hooks
Integrate and verify Doppler hook modules, including `DopplerHookInitializer` hook paths, callback flags, and hook-specific runtime behavior.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Integrate and verify Doppler hook modules, including `DopplerHookInitializer` hook paths, callback flags, and hook-specific runtime behavior.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Integrate and verify doppler-sol external hook programs for Initializer curve swaps and CPMM swaps/liquidity actions, including cosigner-hook expiry payloads, CPI return data, and remaining-account behavior.
Canonical reference for doppler-sol launch creation, bonding-curve trading, hook configuration, cosigner-gated launch payloads, migration handoff, authorized no-migrator launches, launch fee state, and initializer PDA semantics.
Use doppler-sol IDLs and the published TypeScript SDK for address derivation, account decoding, launch discovery, hook payload decoding, migrator payload encoding, and RPC lookup patterns.
Configure and verify doppler-sol initializer migrations into CPMM pools, including migrator payloads, state PDAs, migrated pool hook config, recipient distribution, and remaining-account order.
Reference for doppler-sol CPMM pools, positions, swaps, liquidity, protocol fee positions, oracle accounts, hooks, and PDA-based pool addressing.
Reference for doppler-sol launch, CPMM, protocol, and migration fee accounting across Initializer, CPMM, and CPMM migrator flows.
| name | doppler-hooks |
| description | Integrate and verify Doppler hook modules, including `DopplerHookInitializer` hook paths, callback flags, and hook-specific runtime behavior. |
| license | MIT |
| metadata | {"author":"doppler","version":"1.0"} |
Source References: Use Doppler deployments as the contract source of truth for deployed addresses and revisions.
DopplerHookInitializer to register or manage hook callbacksInitData including optional dopplerHook and callback calldata.getState(asset):
ON_INITIALIZATION_FLAGON_SWAP_FLAGON_GRADUATION_FLAGRehypeDopplerHookInitializer) for buybacks, fee routing, and protocol-owner fee claimsScheduledLaunchDopplerHook for start-time gatesSwapRestrictorDopplerHook for per-address amount ceilings| Item | Detail |
|---|---|
| Initializer contract | DopplerHookInitializer |
| Base hook contract | BaseDopplerHook |
| Core callback flags | ON_INITIALIZATION_FLAG, ON_SWAP_FLAG, ON_GRADUATION_FLAG |
| Common module | Rehypothecation hook (RehypeDopplerHookInitializer) |
WrongPoolStatus cases)doppler/src/initializers/DopplerHookInitializer.sol, doppler/src/base/BaseDopplerHook.sol, doppler/docs/DopplerHookInitializer.md