Subscribers
This page describes subscribers in the current FewToken + Uniswap v4 integration environment. It should be read as integration guidance, not as documentation for a separate native v4 AMM.
Subscribers in this v4 integration stack allow liquidity-position owners to opt in to a contract that receives notifications. The design can support external accounting for in-range liquidity positions. Through notification logic, position owners do not need to risk their liquidity position and its underlying assets. Older opt-in designs often required fully transferring the liquidity position to an external contract; that pattern would give the external contract full ownership and control of the liquidity position.
When a position owner subscribes to a contract, the contract will receive notifcations when:
-
The position is initially subscribed
-
The position increases or decreases its liquidity
-
The position is transferred
-
The position is unsubscribed