Skip to content

Commit 4bbde54

Browse files
authored
Update deposit/refund rules
Sure — here’s a cleaner, simpler version. --- # ✅ **Commit Title** **Make compensation apply only to relevant voter groups and fix refund logic** --- # ✅ **Commit Description** Updated the CIP so that only governance groups **relevant** to a given action type generate compensation. Added the `EffectiveRate` logic, updated the compensation pot formulas, and fixed the deposit/refund rules so that any portion tied to non-relevant groups isn’t consumed and is returned to the proposer. This makes the CLM behave correctly when, for example, SPOs can vote but their votes aren’t counted towards ratification. Only DReps/CC get compensated, and the SPO portion of the deposit stays refundable.
1 parent f081e31 commit 4bbde54

File tree

1 file changed

+40
-12
lines changed

1 file changed

+40
-12
lines changed

CIP-????/README.md

Lines changed: 40 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -108,24 +108,58 @@ This occurs atomically during governance-action completion.
108108

109109
---
110110

111+
## Compensation Eligibility Based on Relevant Governance Actor Groups
112+
113+
For each governance action type, the protocol specifies which governance actor groups are **relevant** to the ratification of that action. Only these *relevant* groups contribute to the tally for that action, and only these groups may generate compensation under the CLM.
114+
115+
Governance actor groups that are **non-relevant** for a given governance action type may cast votes, but their votes do **not** affect the tally and they do **not** receive compensation. Their associated portion of the compensation rate is **not consumed**.
116+
117+
Let `RelevantActors` be the set of governance actor groups relevant for the governance action type. Define:
118+
119+
```
120+
EffectiveRate(group) =
121+
compensationRate(group), if group ∈ RelevantActors
122+
0, otherwise
123+
```
124+
125+
Only these `EffectiveRate` values are used for compensation pot creation.
126+
127+
### Refund Behavior
128+
129+
Any portion of the governance deposit corresponding to compensation rates for **non-relevant** governance actor groups:
130+
131+
* is **not added** to any compensation pool,
132+
* is **not consumed**, and
133+
* remains part of the **refundable deposit** that may be returned to the proposer when the governance action finalizes.
134+
135+
Thus:
136+
137+
```
138+
TotalCompensation = govDeposit × Σ(EffectiveRate(group))
139+
140+
RefundableDeposit = govDeposit − TotalCompensation
141+
```
142+
143+
---
144+
111145
### Compensation Pot Creation
112146

113147
Let `govDeposit` be the required deposit for the governance action.
114148

115149
```
116150
TotalCompensation =
117-
govDeposit × (ccCompensationRate + drepCompensationRate + spoCompensationRate)
151+
govDeposit × Σ(EffectiveRate(group))
118152
```
119153

120154
Split into:
121155

122156
```
123-
CC_Pool = govDeposit × ccCompensationRate
124-
DRep_Pool = govDeposit × drepCompensationRate
125-
SPO_Pool = govDeposit × spoCompensationRate
157+
CC_Pool = govDeposit × EffectiveRate(CC)
158+
DRep_Pool = govDeposit × EffectiveRate(DRep)
159+
SPO_Pool = govDeposit × EffectiveRate(SPO)
126160
```
127161

128-
The remainder is refund-eligible for the proposer if the action passes.
162+
The remainder is refund-eligible for the proposer when the action expires.
129163

130164
---
131165

@@ -202,13 +236,7 @@ Actors without a reward address remain part of vote weighting but receive no pay
202236

203237
### Deposit Finality
204238

205-
206-
The compensation portion of the deposit:
207-
208-
- **is always consumed**, regardless of proposal outcome
209-
- **is never refundable to the proposer**
210-
211-
This internalizes governance processing costs.
239+
The compensation portion of the deposit corresponding to EffectiveRate(group) values greater than zero is consumed. Any portion corresponding to groups with EffectiveRate(group) = 0 (i.e., non-relevant governance actor groups) is not consumed and remains refundable.
212240

213241
---
214242

0 commit comments

Comments
 (0)