Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fee: buyback and treasury fee factor update behaviour #2360

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions protocol/0029-FEES-fees.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ For example, Ether is 18 decimals (wei). The smallest unit, non divisible is 1 w
- Once total fee is collected, `liquidity_fee = fee_factor[liquidity] * trade_value_for_fee_purposes` is distributed to liquidity providers as described in [this spec](./0042-LIQF-setting_fees_and_rewarding_lps.md).(<a name="0029-FEES-048" href="#0029-FEES-048">0029-FEES-048</a>)
- Once total fee is collected, `treasury_fee = fee_factor[treasury] * trade_value_for_fee_purposes` (with appropriate fraction of `high_volume_maker_fee` deducted) is transferred to the treasury fee pool for that asset, where it will remain until community governance votes for transfers.(<a name="0029-FEES-049" href="#0029-FEES-049">0029-FEES-049</a>)
- Once total fee is collected, `buyback_fee = fee_factor[buyback] * trade_value_for_fee_purposes` (with with appropriate fraction of `high_volume_maker_fee` deducted) is transferred to the buyback fee pool for that asset, where it will remain until community governance votes for transfers or a regular purchase program is set up.(<a name="0029-FEES-050" href="#0029-FEES-050">0029-FEES-050</a>)
- Change of network parameter `market.fee.factors.treasuryFee` will, as soon as the current epoch ends, change the amount of `treasury_fee` that is transferred to the treasury fee pool for that asset. (<a name="0029-FEES-051" href="#0029-FEES-051">0029-FEES-051</a>)
- Change of network parameter `market.fee.factors.buybackFee` will, as soon as the current epoch ends, change the amount of `buyback_fee` that is transferred to the treasury fee pool for that asset. (<a name="0029-FEES-052" href="#0029-FEES-052">0029-FEES-052</a>)
- Once a change to `market.fee.factors.treasuryFee` is enacted, all future trades will apply the updated fee factor and cap high volume maker rebates where necessary using the updated factor. (<a name="0029-FEES-051" href="#0029-FEES-051">0029-FEES-051</a>)
- Once a change to `market.fee.factors.buybackFee` is enacted, all future trades will apply the updated fee factor and cap high volume maker rebates where necessary using the updated factor. (<a name="0029-FEES-052" href="#0029-FEES-052">0029-FEES-052</a>)

### Applying benefit factors

Expand Down
Loading