BAL Hookathon - LPIncentive & SwapReferrer Hooks #115
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.
LP Incentivized Hook
The LPIncentive Hook is a smart contract designed to incentivize liquidity providers (LPs) based on both the volume of liquidity they provide and the duration for which they keep their liquidity in the pool. This hook allows protocols to reward LPs with more granular control by using these two factors to calculate rewards, ensuring that long-term and high-volume liquidity providers are appropriately rewarded.
SwapReferrer Hook
The SwapReferrer Hook is a specialized smart contract that integrates a referral-based discount mechanism into a token swap operation on a decentralized finance (DeFi) platform. This hook allows both users and referrers to benefit from reduced swap fees.