Skip to content

[Do not merge] Showcase example hooks - #4

Closed
ChefMist wants to merge 10 commits into
mainfrom
feat/add-example-hooks
Closed

[Do not merge] Showcase example hooks#4
ChefMist wants to merge 10 commits into
mainfrom
feat/add-example-hooks

Conversation

@ChefMist

@ChefMist ChefMist commented Jun 19, 2024

Copy link
Copy Markdown
Contributor

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

ChefMist commented Sep 5, 2024

Copy link
Copy Markdown
Contributor Author

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