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

[Do not merge] Showcase example hooks #4

Closed
wants to merge 10 commits into from
Closed

Conversation

ChefMist
Copy link
Collaborator

@ChefMist ChefMist commented Jun 19, 2024

This PR would showcase some of the hooks we'll use in our workshop

Simple

  1. VeCakeSwapDiscountHook: 50% off lpSwapFee if user is veCake holder

Advance

  1. VeCakeMembershipHook
    -> swap for token1() will get 5% more token sponsored by hook (hook return delta feature)
    -> for first hour, 0% swap fee for veCake holder

@ChefMist
Copy link
Collaborator Author

ChefMist commented Sep 5, 2024

close as

1/ outdated

2/ src/pool-cl/VeCakeSwapDiscountHook.sol can be found in #5 instead

3/ src/pool-cl/VeCakeMembershipHook.sol can be in another example hook repository

@ChefMist ChefMist closed this Sep 5, 2024
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.

1 participant