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/0x903633d861ab705dc6a2ef91b478b9cab00f4044.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"hook": {
"address": "0x903633d861ab705dc6a2ef91b478b9cab00f4044",
"chain": "ethereum",
"chainId": 1,
"name": "OnlyHooksHook",
"description": "Takes a fee (default 1%) on the output token of every swap via afterSwapReturnsDelta, routing 50% to the treasury and 50% split evenly among the trader's active creator beneficiaries per SubscriptionRegistry. Unsubscribed traders send the full creator share to treasury. Trader identity is decoded from hookData if present, otherwise falls back to tx.origin; empty hookData never reverts.",
"deployer": "0xC8e7571512A7D765008c264E89D71151bf89cdeB",
"verifiedSource": true,
"auditUrl": ""
},
"flags": {
"beforeInitialize": false,
"afterInitialize": false,
"beforeAddLiquidity": false,
"afterAddLiquidity": false,
"beforeRemoveLiquidity": false,
"afterRemoveLiquidity": false,
"beforeSwap": false,
"afterSwap": true,
"beforeDonate": false,
"afterDonate": false,
"beforeSwapReturnsDelta": false,
"afterSwapReturnsDelta": true,
"afterAddLiquidityReturnsDelta": false,
"afterRemoveLiquidityReturnsDelta": false
},
"properties": {
"dynamicFee": false,
"upgradeable": false,
"requiresCustomSwapData": false,
"vanillaSwap": false,
"swapAccess": "none"
}
}
Loading