Hook · III. PLT
PLT.
Programmableliquiditytranchingwithstructuredfeewaterfall.
CDP-style LP tranching — 70% of fees waterfall to Senior, 30% to Junior.
Type
Liquidity
Status
—
Version
v1.0.0
Pools
0
Mechanics
How it works.
- 01
LPs choose SENIOR (fee-priority, impermanent-loss last) or JUNIOR (higher risk, fee residual) on deposit.
- 02
After each swap, 70% of fees flow to the senior tranche, 30% to junior — a fixed structured waterfall.
- 03
Senior bears impermanent loss last; junior absorbs IL first, replicating CDO subordination on-chain.
- 04
hookData = abi.encode(lpAddress, tranche) must be passed on every deposit to bind the position.
Integration
Code sample.
// Add liquidity to senior tranche
bytes memory hookData = abi.encode(msg.sender, PLTHook.Tranche.SENIOR);
modifyLiquidityRouter.modifyLiquidity(
poolKey,
IPoolManager.ModifyLiquidityParams({
tickLower: -887220,
tickUpper: 887220,
liquidityDelta: int256(1000e18),
salt: 0
}),
hookData
);