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
- $added\_collateral_p$ is the amount of FLR tokens that provider $p$ is adding to the pool.
227
227
- $collateral\_in\_pool$ is the amount of FLR tokens in the pool before adding the new tokens.
228
-
- $fees\_in\_pool$ is the amount of FAsset minting fees currently in the pool.
228
+
- $total\_virtual\_fees$ is the sum of all provider's virtual fees.
229
229
230
-
The following formulas are based on the concept of **virtual fees**, which are the fees that a provider would be entitled to if they had no fee debt.
230
+
The following formulas use **total virtual fees**, which are the gross fees accrued to a provider assuming no prior fee withdrawals, slashing, or outstanding fee debt.
231
231
232
232
The **total virtual fees** is the sum of all provider's virtual fees and can be expressed as:
233
233
@@ -269,7 +269,7 @@ The following example shows fee entitlement.
269
269
| An agent creates a new vault. | 0 | 0 | 0 | 0 |
270
270
| Alice deposits 100 FLR and gets 100 CPTs in return. |**100**| 0 | 0 | 0 |
271
271
| 10 FAssets of fees are added to the pool due to a mint. | 100 |**10**| 0 |**10**|
272
-
| Bob deposits 100 FLR and gets 100s CPT in return. |**200**| 10 |**10**|**20**|
272
+
| Bob deposits 100 FLR and gets 100 CPTs in return. |**200**| 10 |**10**|**20**|
273
273
| 10 more FAssets of fees are added to the pool due to another mint. | 200 |**20**| 10 |**30**|
274
274
| Alice withdraws 10 FAssets of fees. | 200 |**10**|**20**| 30 |
275
275
| Bob exits the pool by returning the 100 CPTs and withdrawing 100 FLR. |**100**|**5**|**10**|**15**|
0 commit comments