Allowlist LaunchlyBNBHooks on BNB Chain #1251
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This hook charges a 2% swap fee on every buy and sell involving native assets (e.g., ETH/WBNB) in the pool. It works at the beforeSwap and afterSwap hook stages to detect incoming and outgoing swap amounts. The calculated 2% fee is automatically deducted and sent to a fixed, immutable fee recipient address.
It does not modify pool state beyond fee collection, does not require custom input data, has no admin functions, and is fully non-upgradeable. The contract cannot withdraw or manage pool liquidity, cannot pause trading, and holds no privileged roles. Its only purpose is to take a fixed 2% fee on native asset swaps for revenue-sharing purposes.
https://app.uniswap.org/explore/pools/bnb/0xe2aa3053e7bacabab466bf2977aac7f31cf59f4c371b575f4e953aa8b21fb12d