- We will have a moving average that is average of gas fees
- This moving average will be updated every tx on pool(swap, modifing liquidity etc.)
- If network fee be more than 10 % above of this moving average, then fees conducted from user will be 50 % of base fee
- If network fee be more than 10% below of this moving average, then fees conducted from user will be 200% of base fee
- Otherwise just contract will conduct base fee from user(normal network fee)
-
Notifications
You must be signed in to change notification settings - Fork 0
ismailmoazami/dynamic-fee-hook-contracts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published