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

feat: omnipool dynamic fee adjustments #987

Draft
wants to merge 54 commits into
base: master
Choose a base branch
from

Conversation

enthusiastmartin
Copy link
Contributor

@enthusiastmartin enthusiastmartin commented Jan 10, 2025

This PR implements changes to dynamic fee and other omnipool fee adjustments:

  • Multiblock dynamic fee
  • Mint H20 for asset fee
  • Use part of protocol fee to buy HDX or transfer to treasury ( now we transfer, when buyback implemented, it will go there instead)
  • Remove imbalance

Note that PR is based on #910 PR, so that should be merged first.

  • Rebenchmark

@enthusiastmartin enthusiastmartin linked an issue Jan 10, 2025 that may be closed by this pull request
Copy link

github-actions bot commented Jan 10, 2025

Crate versions that have not been updated:

  • pallet-broadcast: v1.0.0
  • pallet-circuit-breaker: v1.1.28
  • pallet-dca: v1.7.0
  • pallet-dynamic-fees: v1.0.5
  • pallet-lbp: v4.10.0
  • pallet-liquidation: v1.0.2
  • pallet-otc: v2.1.0
  • pallet-otc-settlements: v1.1.1
  • pallet-route-executor: v2.7.0
  • pallet-xyk: v6.7.0
  • hydradx-adapters: v1.3.10

Crate versions that have been updated:

  • hydra-dx-math: v8.3.0 -> v10.0.0
  • pallet-omnipool: v4.5.0 -> v5.0.0

Crate versions that have been downgraded:

  • runtime-integration-tests: v1.28.0 -> v1.27.0
  • pallet-omnipool-liquidity-mining: v2.6.1 -> v2.5.1
  • pallet-stableswap: v4.2.0 -> v4.1.2
  • pallet-staking: v4.1.0 -> v4.0.2
  • runtime-mock: v1.0.3 -> v1.0.2
  • hydradx-runtime: v279.0.0 -> v278.0.0
  • hydradx-traits: v3.12.0 -> v3.11.0

Runtime version has been increased.

Base automatically changed from unified_trade_events to master January 10, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Omnipool dynamic fee adjustments
1 participant