INTEGRAHOOK
BaseHookINTEGRAHOOK is a Uniswap v4 hook on Base. Brand new: its first pool went live today. Active: 221 trades in the last week, and 1 new pool this week.
- Contract name
- INTEGRAHOOK
How this hook works
Trading taxANONPEER runs one token's ETH pool with a buy and sell fee in ETH sent to a fee wallet. Its managers can change the fees at any time up to 99%, switch trading off, and keep a blacklist of wallets.
Buy and sell fee in ETH
Buys and sells each pay a fee from the ETH side, forwarded to the fee wallet.
The code that does this (_beforeSwap):function _beforeSwap(address, PoolKey calldata, SwapParams calldata params, bytes calldata) internal view override returns (bytes4, BeforeSwapDelta, uint24) { SwapConfig memory cfg = _config; if (!cfg.enabled) revert TradingNotOpen(); int256 requested = params.amountSpecified; bool exactIn = requested < 0; int128 specifiedLeg; if (params.zeroForOne == exactIn) { specifiedLeg = _asInt128( exactIn ? BpsMath.onGross(uint256(-requested), cfg.buyBps) : BpsMath.onNet(uint256(requested), cfg.sellBps) ); } return (IHooks.beforeSwap.selector, toBeforeSwapDelta(specifiedLeg, 0), 0); }Fees can go up to 99%
Authorised managers can change the buy and sell fees at any time, as high as 99%, which can make trading very costly.
The code that does this (updateFees):function updateFees(uint256 newBuyBps, uint256 newSellBps) external onlyAuthorized { if (newBuyBps > FEE_CAP_BPS || newSellBps > FEE_CAP_BPS) revert FeeAboveCap(); _writeFees(newBuyBps, newSellBps); }Trading switch
Managers can turn trading off, and then every trade is blocked.
The code that does this (setTradingEnabled):function setTradingEnabled(bool enabled) external onlyAuthorized { _config.enabled = enabled; emit TradingStatusUpdated(enabled); }Blacklist
Managers can add wallets to a blacklist kept in the hook. The hook's own swap code does not check it, but other contracts may.
The code that does this (blacklist):function blacklist(address[] calldata accounts) external onlyAuthorized { uint256 count = accounts.length; for (uint256 i; i < count; ++i) { address account = accounts[i]; if (_isProtected(account)) revert ProtectedAccount(account); isBlacklisted[account] = true; emit AddedToBlacklist(account); } }
Who controls it: The hook developer and operator can grant manager access, change the fee wallet, fees, trading switch and blacklist, and pull any tokens or ETH out of the hook. The code cannot be upgraded.
Based on the hook’s published code.What do these labels mean?
Safety report
Before you build on it. Automated checks, not an auditsetTradingEnabledupdateFeesWhat it can do
Its code executes inside each trade in pools that use it.
It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.
It runs when a pool is created, often to lock in that pool’s settings.
Hook history
- Sent a fee to the fee wallet 221 times
Latest transactions
- 0xc3c4000a…3c8fe4 block 65,240,437
- 0x7ccc0da6…5cae25 block 65,240,437
- 0xc01c4bf7…2e5e4e block 65,240,047
- 0x69ad0c72…f52069 block 65,240,047
- 0xa73c7fb7…352abd block 65,240,047
- 0x73fde176…5dfe49 block 65,240,047
- 0x3a1e8d7b…d9c8b8 block 65,239,057
- 0x7c0c9040…62aeb4 block 65,239,027
- 0x0bde53fd…f649a1 block 65,238,996
- 0xa111a3bc…0248e7 block 65,238,993
- Blacklisted a wallet 16 times
Latest transactions
- 0x22f14628…b082db block 65,237,855
- 0x2929ab02…2ac1ce block 65,237,731
- 0x18fa4cde…250970 block 65,237,526 · 2 times in this transaction
- 0xd55cccb3…0c86bd block 65,236,332
- 0xfd5251c9…c41307 block 65,235,235
Settings changes: changed the fees (3 times), turned trading on or off (1 time).
Counted from what the hook recorded on-chain across all its pools, for every action in its published code, plus token transfers in and out of it.