You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* format changelogs
* Improve coins changelog formatting and update rewards documentation
- Enhanced coins changelog with clear before/after fee structure tables
- Updated rewards documentation to reflect unified 2.2.0 fee structure
- Added comparison tables showing pre-2.2.0 vs current reward distribution
- Updated terminology from "Create Referral" to "Platform Referral" throughout
- Consolidated reward information to single source of truth in rewards.mdx
- Removed duplicate and outdated percentage information from hook.mdx, earning-referral-rewards.mdx, and architecture.mdx
- Added changelog management documentation to CLAUDE.md
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* Add clarification about fee structure migration for existing coins
- Added warning callout explaining that existing coins keep original fee structure
- Clarified that migration to 2.2.0+ hooks adopts new unified fee structure
- Added reference to liquidity migration documentation
- Ensures users understand fee changes only apply after voluntary migration
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>
Copy file name to clipboardExpand all lines: docs/pages/changelogs/coins.mdx
+24-32Lines changed: 24 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,42 +17,34 @@
17
17
18
18
-[adf98059](https://github.com/ourzora/zora-protocol/commit/adf98059): Adds platform referral and trade referral functionality to creator coins, and unifies the fee structure between content and creator coins with a simplified 1% total fee.
19
19
20
-
**New Features:**
20
+
## New Features:
21
21
22
22
- Platform referral and trade referral functionality for creator coins (previously only supported on content coins)
23
23
- Unified fee structure: Both content and creator coins use identical 1% fee distribution
24
24
25
-
**Fee Structure Changes:**
26
-
27
-
**Before (Content Coins - 3% total fee):**
28
-
| Recipient | % of Market Rewards | % of Total Fees |
Both Content Coins and Creator Coins now offer the same referral reward structure (as of version 2.2.0):
37
30
38
-
#### Creator Coins - No Developer Rewards Available
31
+
-**Platform Referral**: 20% of total fees (25% of market rewards)
32
+
-**Trade Referral**: 4% of total fees (5% of market rewards)
39
33
40
-
**Creator Coins do not offer referral rewards to developers.**
34
+
This unified structure means developers can earn referral rewards from **both coin types**.
41
35
42
36
## Technical Implementation
43
37
44
-
### Create Referral Setup
38
+
### Platform Referral Setup
45
39
46
40
Set the `platformReferrer` parameter when creating coins to earn from all future trades. This address is permanently set for the coin's entire lifespan:
47
41
@@ -54,7 +48,7 @@ address coin = factory.deploy(
54
48
name,
55
49
symbol,
56
50
poolConfig,
57
-
YOUR_PLATFORM_ADDRESS, // 🎯 This address earns create referral rewards
51
+
YOUR_PLATFORM_ADDRESS, // 🎯 This address earns platform referral rewards
Copy file name to clipboardExpand all lines: docs/pages/coins/contracts/hook.mdx
+10-22Lines changed: 10 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,28 +107,16 @@ On every swap, the hooks automatically:
107
107
108
108
## Reward Distribution
109
109
110
-
The hooks automatically implement different reward distribution logic for different coin types:
110
+
The hooks automatically implement different reward distribution logic for different coin types.
111
111
112
-
### Content Coins
112
+
**For detailed reward percentages and distribution breakdown, see [Coin Rewards](/coins/contracts/rewards).**
113
113
114
-
**Total Fee Split**: 33.33% reminted as LP rewards, 66.67% distributed as market rewards
114
+
### Key Differences
115
115
116
-
**Market Rewards Distribution**:
117
-
-**Creator**: 50% (5000 BPS)
118
-
-**Create Referral**: 15% (1500 BPS)
119
-
-**Trade Referral**: 15% (1500 BPS)
120
-
-**Doppler**: 5% (500 BPS)
121
-
-**Protocol**: ~15% (remaining)
116
+
-**Content Coins**: Support platform referral, trade referral, and Doppler rewards in addition to creator and protocol rewards
117
+
-**Creator Coins**: Unified structure with the same reward distribution as Content Coins (as of version 2.2.0)
122
118
123
-
### Creator Coins
124
-
125
-
**Total Fee Split**: 33.33% reminted as LP rewards, 66.67% distributed as market rewards
126
-
127
-
**Market Rewards Distribution**:
128
-
-**Creator**: 50% (5000 BPS)
129
-
-**Protocol**: 50% (remaining)
130
-
131
-
*Note: Creator Coins do not have referral or Doppler rewards*
119
+
**Fee Split**: A portion of collected fees is reminted as LP rewards to maintain liquidity, while the remainder is distributed as market rewards to stakeholders.
132
120
133
121
## Multi-Hop Reward Swapping
134
122
@@ -227,10 +215,10 @@ Emitted when market rewards are distributed from collected fees, showing exact a
227
215
-**coin**: The coin contract that generated the rewards
228
216
-**currency**: The currency in which rewards are paid out
229
217
-**payoutRecipient**: The creator's reward recipient address
Copy file name to clipboardExpand all lines: docs/pages/coins/contracts/rewards.mdx
+44-19Lines changed: 44 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,30 +48,55 @@ These positions are essentially **locked and burned** - they don't earn future f
48
48
49
49
### Market Reward Distribution
50
50
51
-
The remaining 66.67% of collected fees becomes "market rewards" and is distributed differently based on coin type.
51
+
The remaining portion of collected fees becomes "market rewards" and is distributed to stakeholders.
52
52
53
-
### V4 Market Reward Distribution
53
+
### V4 Market Reward Distribution (Current - Since 2.2.0)
54
54
55
-
The market rewards (66.67% of total fees) are distributed differently based on coin type:
55
+
<Callouttype="info">
56
+
As of version 2.2.0, the fee structure has been unified with a total fee of 1% on pools (was 3% previously) and consistent distribution across both coin types.
57
+
All coins with hooks on version 2.2.0 or higher use the unified fee structure.
58
+
</Callout>
59
+
60
+
<Callouttype="warning">
61
+
**Existing Coins**: Coins deployed before version 2.2.0 continue to use their original fee structure unless the coin owner migrates their liquidity to a 2.2.0+ hook. Migration to newer hooks adopts the new unified fee structure automatically.
62
+
63
+
For information on liquidity migration, see [Liquidity Migration](/coins/contracts/liquidity-migration).
64
+
</Callout>
65
+
66
+
#### Content Coins & Creator Coins (1% total fee on pools)
67
+
| Recipient | % of Market Rewards | % of Total Fees |
@@ -110,7 +135,7 @@ Content Coin Trading → Fees Collected → Multi-hop Swap → All Recipients Re
110
135
111
136
**Trade Referral**: The platform or address that referred a specific trade/swap of a coin. In V4, this is passed through hook data and can trigger referral rewards.
112
137
113
-
**Create Referral**: The platform that referred the creator to deploy the coin. This is set at coin creation time and earns a percentage of all trading fees.
138
+
**Platform Referral**: The platform that referred the creator to deploy the coin. This is set at coin creation time and earns a percentage of all trading fees. (Previously called "Create Referral" in versions prior to 2.2.0)
114
139
115
140
**Creator/Payout Recipient**: The address designated to receive creator rewards from trading activity. This can be updated by coin owners.
Copy file name to clipboardExpand all lines: packages/coins/CHANGELOG.md
+24-32Lines changed: 24 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,42 +16,34 @@
16
16
17
17
- adf98059: Adds platform referral and trade referral functionality to creator coins, and unifies the fee structure between content and creator coins with a simplified 1% total fee.
18
18
19
-
**New Features:**
19
+
## New Features:
20
20
21
21
- Platform referral and trade referral functionality for creator coins (previously only supported on content coins)
22
22
- Unified fee structure: Both content and creator coins use identical 1% fee distribution
23
23
24
-
**Fee Structure Changes:**
25
-
26
-
**Before (Content Coins - 3% total fee):**
27
-
| Recipient | % of Market Rewards | % of Total Fees |
0 commit comments