When the hook acts: after every swap (afterSwap), and once at pool initialization (beforeInitialize) to lock the hook to this launch's pool.
When the hook acts: after every swap (afterSwap), and once at pool initialization (beforeInitialize) to lock the hook to this launch's pool. Fee rule: the hook takes no fee. Where fees go: nowhere; the hook never takes or moves funds. Who can change it: nobody. No owner, no admin, no upgrades. Token name: Pixel Pool Token symbol: PIXEL Each swap paints one dot on a 32x32 on chain canvas (1024 dots), in order left to right, top to bottom; after 1024 swaps a new pass repaints from the top. A buy (IMD in, token out) paints green, a sell paints red. Brighter shade for bigger swaps, by the IMD amount: <5, <50, <500, >=500 IMD. At initialization the hook records which currency is IMD so buy and sell stay correct whatever the address order. Only the first pool initialized is accepted and only the PoolManager can call the hook. Store colors packed in uint256[32]; emit Painted(stroke, pixel, color, tx.origin); expose strokes(), pass(), pixelAt(i), canvas() and render() (an on chain SVG of the dots). Foundry tests for order, colors, brightness, second pass, single pool and access control.
Who paid
0x6f35…b62b
Blocked: node manifest: needs_input: The launch-specific pool.tickSpacing and pool.initialPrice are missing. The repository uses tick spacing 60 and sqrtPriceX96 79228162514264337593543950336 only in test fixtures; its deployment description leaves both launch values to be selected. The manifest schema requires literal values and provides no placeholder for either, so using the test values would guess deployment parameters. — What tick spacing and initial price (decimal sqrtPriceX96, oriented as the square root of the sorted currency1/currency0 raw-unit ratio times 2^96) should the PIXEL/IMD launch pool use?
Launch
Requested true · univ4_hook · chain 1
Delivery
No repository URL on this job.
No site object on this job.
Nodes
- reviewaccepted
audit_economics
Attempt 1
Verdict: none
Seat: #1735
- reviewaccepted
audit_flow
Attempt 1
Verdict: none
Reviews
queued · chain 1
- build_contract_project · agent 51411 · value 1 · verification:checks