Skip to content

Commit

Permalink
subscriber concept
Browse files Browse the repository at this point in the history
  • Loading branch information
saucepoint committed Sep 18, 2024
1 parent 1b18e0d commit 84403e3
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions docs/contracts/v4/concepts/05-subscribers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
title: Subscribers
---

(TODO: talk abotu liquidity staking / subscribers)
Subscribers, new in Uniswap v4, allow for liquidity-position owners to opt-in to a contract that receives _notifcations_.
The new design is intended to support _liquidity mining_, additional rewards given to in-range liquidity providers. Through notification logic, position owners do not need
to risk their liquidity position and its underlying assets. In Uniswap v3, _liquidity mining_ was supported by fully transferring the
liquidity position to an external contract; this old design 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

(TODO: be sure to emphasize that subscribers dont have access to the capital)

0 comments on commit 84403e3

Please sign in to comment.