一键导入
rehypothecation-hook
Operate and configure Doppler's Rehype initializer hook for buybacks, beneficiary fees, fee routing, and protocol-owner fee claims.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Operate and configure Doppler's Rehype initializer hook for buybacks, beneficiary fees, fee routing, and protocol-owner fee claims.
用 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 | rehypothecation-hook |
| description | Operate and configure Doppler's Rehype initializer hook for buybacks, beneficiary fees, fee routing, and protocol-owner fee claims. |
| license | MIT |
| metadata | {"author":"doppler","version":"2.0"} |
Source References: Use Doppler deployments as the contract source of truth for deployed addresses and revisions.
claimAirlockOwnerFeesDopplerHookInitializerDopplerHookInitializer.getState(asset)airlock.owner() for protocol-owner fee claims)poolId.
DopplerHookInitializer.getState(asset)getFeeDistributionInfo(poolId)getHookFees(poolId)getPoolInfo(poolId)getFeeRoutingMode(poolId)getFeeSchedule(poolId)collectFees(asset)claimAirlockOwnerFees(asset) from airlock.owner()| Item | Detail |
|---|---|
| Supported hook | RehypeDopplerHookInitializer |
| Fee model | Decaying fee schedule via getFeeSchedule(poolId) |
| Distribution authority | Configured at initialization |
| Fee routing modes | DirectBuyback, RouteToBeneficiaryFees |
| Airlock owner share | Fixed 5% of the raw hook fee |
| Protocol-owner fee bucket | Claimable via claimAirlockOwnerFees(asset) |
customFee hook instead of a fee-schedule hookWAD (1e18, or 100%)beneficiaryFees with initializer beneficiary-share accounting