SkillIssuerHook
UnichainSkillIssuerHook is a Uniswap v4 hook on Unichain. Live for 2 days. Active: 131 trades in the last week, and 1 new pool this week.
- Contract name
- SkillIssuerHook
How this hook works
Liquidity managerA liquidity manager hook. It manages liquidity for its providers, burns tokens and creates its pools itself.
Manages liquidity for its providers
Liquidity providers deposit through the hook and it runs the pool position for them, tracking each one’s share.
The code that does this (open):function _open(OpenParams memory params, address team) internal returns (uint256 positionId, address share) { require(params.token != address(0) && params.token != _usdc); require(!params.fee.isDynamicFee() && params.fee <= LPFeeLibrary.MAX_LP_FEE); require(params.ranges.length > 0 && params.ranges.length <= MAX_RANGES); require(params.term >= MIN_TERM && params.term <= MAX_TERM); require(params.tokenAmount > 0 && params.usdcAmount > 0); if (params.priceRecord == address(0)) { require(params.ranges.length == 1 && _isFullRange(params.tickSpacing, params.ranges[0].tickLower, params.ranges[0].tickUpper)); require(params.lossCap == 0 && params.curatorFee == 0); } else { require(params.lossCap <= LossBudget.MAX_CAP_BPS); require(params.curatorFee <= MAX_CURATOR_FEE); require(IPersistenceRecord(params.priceRecord).supportsPair(_usdc, params.token)); uint160 feedPrice = PriceGrid.sqrtPriceX96(_getFeed(params.priceRecord, params.token), _usdc < params.token); require(PositionMath.isWithin(params.startPrice, feedPrice, FEED_BAND)); } PoolKey memory key = _getPoolKey(params.token, params.fee, params.tickSpacing); require(_positionIds[key.toId()] == 0); positionId = ++_positionCount; _positionIds[key.toId()] = positionId; Position storage position = _positions[positionId]; position.team = team; position.token = params.token; position.priceRecord = params.priceRecord; position.fee = params.fee; position.tickSpacing = params.tickSpacing; position.lossCap = params.lossCap; // …Burns tokens
It destroys some tokens (or sends them to an address nobody controls), so there are fewer of them.
The code that does this (exit):function _exit(uint256 positionId, uint256 shares, uint256 minUsdc, uint256 minToken, address to, address owner) internal returns (uint256 usdcAmount, uint256 tokenAmount) { Position storage position = _positions[positionId]; require(block.timestamp >= position.termEnd); require(shares > 0); require(to != address(0)); PoolKey memory key = _getPoolKey(position.token, position.fee, position.tickSpacing); uint256 supply = IERC20(position.share).totalSupply(); SkillIssuerShare(position.share).burn(owner, shares); for (uint256 i; i < MAX_RANGES; ++i) { uint256 liquidity = position.ranges[i].liquidity; if (liquidity == 0) continue; uint256 removedLiquidity = liquidity * shares / supply; position.ranges[i].liquidity = (liquidity - removedLiquidity).toUint128(); (int256 usdcDelta, int256 tokenDelta) = _modifyLiquidity(positionId, position, key, i, -int256(removedLiquidity)); usdcAmount += uint256(usdcDelta); tokenAmount += uint256(tokenDelta); } uint256 idleUsdcOut = position.idleUsdc * shares / supply; uint256 idleTokenOut = position.idleToken * shares / supply; position.idleUsdc -= idleUsdcOut; position.idleToken -= idleTokenOut; usdcAmount += idleUsdcOut; tokenAmount += idleTokenOut; require(usdcAmount >= minUsdc && tokenAmount >= minToken); // …Only the hook creates its pools
Nobody can create a pool with this hook directly. Pools are only created through the hook’s own code.
Anyone can trigger payouts
Anyone can collect the fees it has built up, so nobody has to wait on the hook developer.
The code that does this (collect):function _collect(uint256 positionId) internal { Position storage position = _positions[positionId]; PoolKey memory key = _getPoolKey(position.token, position.fee, position.tickSpacing); _collectAll(positionId, position, key); _settle(key); }
Who controls it: Nobody. The hook has no admin functions, and the code cannot be changed.
Based on the hook’s published code.What do these labels mean?
Safety report
Before you build on it. Automated checks, not an auditWhat it can do
Its code executes inside each trade in pools that use it.
It runs when a pool is created, often to lock in that pool’s settings.
It runs when someone donates tokens to the pool’s LPs.
Hook history
Across all its pools, the hook took tokens from trades: $2.38.
- Took tokens from trades 4 times, worth $2.38
Latest transactions
- 0xc19ebed5…28a556 block 64,663,828 · 2 times in this transaction
- 0x6326baf3…ab83d5 block 64,663,815 · 2 times in this transaction
- Took its fee from a trade 5 times
Latest transactions
- 0x6326baf3…ab83d5 block 64,663,815 · 5 times in this transaction
- Moved 1 time
- Added to the pool’s liquidity 1 time
- Opened a pool 1 time
Settings changes: changed the curator wallet (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. Dollar values count the amounts paid in ETH, stablecoins, BNB and BTC, at today’s prices.