Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions hooks/ethereum/0x3a9f9e9fcb1377de2c2f88ea0d8166e92bbf60c0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"hook": {
"address": "0x3a9f9e9fcb1377de2c2f88ea0d8166e92bbf60c0",
"chain": "ethereum",
"chainId": 1,
"name": "PriceImpactDynamicFeeHook",
"description": "A 2-state dynamic fee hook pinned to a single pool. In the DOWN state, non-owner swaps pay a base LP fee (default 2%); if a swap moves the sqrtPrice beyond a configurable threshold, the crank flips ON and subsequent non-owner swaps pay a fee cap (default 10%). Fee is applied as a beforeSwap LP fee override; the owner (tx.origin) pays 0% and can reset the crank via hookData.",
"deployer": "",
"verifiedSource": true,
"auditUrl": ""
},
"flags": {
"beforeInitialize": true,
"afterInitialize": false,
"beforeAddLiquidity": false,
"afterAddLiquidity": false,
"beforeRemoveLiquidity": false,
"afterRemoveLiquidity": false,
"beforeSwap": true,
"afterSwap": true,
"beforeDonate": false,
"afterDonate": false,
"beforeSwapReturnsDelta": false,
"afterSwapReturnsDelta": false,
"afterAddLiquidityReturnsDelta": false,
"afterRemoveLiquidityReturnsDelta": false
},
"properties": {
"dynamicFee": true,
"upgradeable": false,
"requiresCustomSwapData": false,
"vanillaSwap": false,
"swapAccess": "none"
}
}
Loading