-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhook-data.json
288 lines (288 loc) · 15.5 KB
/
hook-data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
[
{
"id": 1,
"title": "Directional Fee Hook Example",
"category": ["Fee"],
"source": "Balancer Examples",
"description": "A hook contract for stable pools which adjusts fees based on how far pool balances will be from equilibrium - larger the difference, larger the fee. The charged fee percentage is: (distance between balances of token in and token out) / (total liquidity of both tokens) ",
"github": "https://github.com/balancer/balancer-v3-monorepo/blob/main/pkg/pool-hooks/contracts/DirectionalFeeHookExample.sol",
"additional_link": "",
"created_by": "Balancer",
"audited": "No"
},
{
"id": 2,
"title": "Exit Fee Hook Example",
"category": ["Fee"],
"source": "Balancer Examples",
"description": "Hook contract that charges an exit fee upon remove liquidity",
"github": "https://github.com/balancer/balancer-v3-monorepo/blob/main/pkg/pool-hooks/contracts/ExitFeeHookExample.sol",
"additional_link": "",
"created_by": "Balancer",
"audited": "No"
},
{
"id": 3,
"title": "Fee Taking Hook Example",
"category": ["Fee"],
"source": "Balancer Examples",
"description": "A hook contract that adds fees for swaps and add/remove liquidity which are sent to the hook contract.",
"github": "https://github.com/balancer/balancer-v3-monorepo/blob/main/pkg/pool-hooks/contracts/FeeTakingHookExample.sol",
"additional_link": "",
"created_by": "Balancer",
"audited": "No"
},
{
"id": 4,
"title": "Lottery Hook Example",
"category": ["Lottery"],
"source": "Balancer Examples",
"description": "In this example, every time a swap is executed in a pool registered with this hook, a 'random' number is drawn. If the drawn number is not equal to the LUCKY_NUMBER, the user will pay fees to the hook contract. But, if the drawn number is equal to LUCKY_NUMBER, the user won't pay hook fees and will receive all fees accrued by the hook.",
"github": "https://github.com/balancer/balancer-v3-monorepo/blob/main/pkg/pool-hooks/contracts/LotteryHookExample.sol",
"additional_link": "",
"created_by": "Balancer",
"audited": "No"
},
{
"id": 5,
"title": "veBAL Fee Discount Hook",
"category": ["Fee","Token Gating"],
"source": "Balancer Examples",
"description": "This example discounts the pool fee based on the sender wallet holding veBAL (ERC20 token)",
"github": "https://github.com/balancer/balancer-v3-monorepo/blob/main/pkg/pool-hooks/contracts/VeBALFeeDiscountHookExample.sol",
"additional_link": "",
"created_by": "Balancer",
"audited": "No"
},
{
"id": 6,
"title": "Prediction Market Hook",
"category": ["Prediction Market"],
"source": "v3 Hookathon - Oct 2024",
"description": "This hook allows any registered pool to permissionlessly host prediction markets. Participants speculate on whether the price of a pair at some point in the future will be above or below the current price. Each side has a corresponding floating market price governed by UniswapV2 math. At expiration the winners split the balance of the deposited liquidity minus fees.",
"github": "https://github.com/shift0x/prediction-market-hook",
"additional_link": "https://dorahacks.io/buidl/17576",
"created_by": "shift0x",
"audited": "No"
},
{
"id": 7,
"title": "VolatilityLoyaltyHook",
"category": ["Fee"],
"source": "v3 Hookathon - Oct 2024",
"description": "The Volatility and Loyalty Hook aims to stimulate trading activity in a newly launched pool on Balancer by rewarding users with discounts on swap fees when they hold project tokens for a longer duration. It simultaneously ensures stability by increasing swap fees during periods of high volatility.",
"github": "https://github.com/dilawari2008/scaffold-balancer-v3/tree/VolatilityLoyaltyHook",
"additional_link": "https://dorahacks.io/buidl/17772",
"created_by": "dilawari2008",
"audited": "No"
},
{
"id": 8,
"title": "MEV Tax Hook",
"category": ["MEV"],
"source": "v3 Hookathon - Oct 2024",
"description": "The MEV Tax Hook allows Balancer pools to capture their own MEV by charging a dynamic swap fee based on the priority fee of transactions interacting with them. The hook calculates the priority fee, then multiplies this by a configurable tax multiplier to determine the tax owed. This dynamic fee is combined with the swap's static base fee, enabling the pool to capture a portion of the MEV generated by high-priority transactions. https://www.youtube.com/watch?v=NCveCLren2U",
"github": "https://github.com/gerrrg/scaffold-balancer-v3/tree/mev-tax-hook",
"additional_link": "https://dorahacks.io/buidl/17711",
"created_by": "gerrrg",
"audited": "No"
},
{
"id": 9,
"title": "Dynamic Fees and Reinvesting",
"category": ["Fee"],
"source": "v3 Hookathon - Oct 2024",
"description": "The Dynamic Fees and Reinvesting Hook contract stabilizes liquidity pools by dynamically adjusting swap fees based on market conditions, while rewarding long-term liquidity providers with additional earnings.",
"github": "https://github.com/balancer/scaffold-balancer-v3/tree/068a8293095bc70d9634a7e71ccdfe72a0a116e9",
"additional_link": "https://dorahacks.io/buidl/17706",
"created_by": "Protofire",
"audited": "No"
},
{
"id": 10,
"title": "ReferralSwapHook",
"category": ["Fee","Referral"],
"source": "v3 Hookathon - Oct 2024",
"description": "ReferralSwapHook enables users to swap tokens on balancer v3 with a referral link and take their chance to win the collected fees. Since it enables referrer to take a share of fee it can help celebrities or charities to benefit from the swap fee.",
"github": "https://github.com/0xEllie/ReferralSwapHook/tree/main/packages/foundry/contracts/hooks",
"additional_link": "https://dorahacks.io/buidl/17769",
"created_by": "0xEllie",
"audited": "No"
},
{
"id": 11,
"title": "Balancer.Fun",
"category": ["meme coin"],
"source": "v3 Hookathon - Oct 2024",
"description": "A Balancer v3 hook which creates a fair launch liquidity pool for memecoins",
"github": "https://github.com/jamesbachini/scaffold-balancer-v3",
"additional_link": "https://dorahacks.io/buidl/17054",
"created_by": "jamesbachini",
"audited": "No"
},
{
"id": 12,
"title": "OrderHook",
"category": ["Order"],
"source": "v3 Hookathon - Oct 2024",
"description": "OrderHook is a custom Balancer V3 hook designed to automate and enhance the management of token swaps in decentralized exchanges. This contract enables users to define conditional orders, such as stop-loss, take-profit, buy-stop and stop-limit orders, directly within a Balancer pool.",
"github": "https://github.com/ExtraCaterpiller/OrderHook-BAL_Hookathon",
"additional_link": "https://dorahacks.io/buidl/17474",
"created_by": "ExtraCaterpiller",
"audited": "No"
},
{
"id": 13,
"title": "Time-Based Fee Hook for Balancer v3",
"category": ["Fee"],
"source": "v3 Hookathon - Oct 2024",
"description": "a Time-Based Fee Hook for Balancer v3",
"github": "https://github.com/arhansuba/time-based-fee-hook/tree/main",
"additional_link": "https://dorahacks.io/buidl/17682",
"created_by": "arhansuba",
"audited": "No"
},
{
"id": 14,
"title": "Insurance Premium Hook",
"category": ["Insurance"],
"source": "v3 Hookathon - Oct 2024",
"description": "Insurance is crucial for new or high-risk protocols in DeFi to provide coverage in the event of failures or other risks. This hook collects a fee when liquidity is added or removed proportionally, and uses it to pay the insurance premium.",
"github": "https://github.com/BlackienBad/scaffold-balancer-v3",
"additional_link": "https://dorahacks.io/buidl/17707",
"created_by": "BlackienBad",
"audited": "No"
},
{
"id": 15,
"title": "Commit (and Reveal) Miner Hook",
"category": ["Randomness"],
"source": "v3 Hookathon - Oct 2024",
"description": "On-chain randomness and additional yield generation powered by crowdsourced event aggregation through a commit and reveal scheme.",
"github": "https://github.com/myevm-dev/scaffold-balancer-v3-",
"additional_link": "https://dorahacks.io/buidl/17751",
"created_by": "myevm-dev",
"audited": "No"
},
{
"id": 16,
"title": "Seren Hook",
"category": ["Incentives"],
"source": "v3 Hookathon - Oct 2024",
"description": "The Serene Hook provide a simple and easy way to incentive in a substainable manner the pools that use this hook. It takes a portion of the trading fees generated by the pools and create Paladin's Quests to reward the liquidity provisioners with BAL emissions to the associoted pools's gauges. This enable bigger APYs for the liquidity providers and a better capital efficiency for the pools as it uses the balancer flywheel.",
"github": "https://github.com/PaladinFinance/scaffold-balancer-v3/tree/main",
"additional_link": "https://dorahacks.io/buidl/17762",
"created_by": "PaladinFinance",
"audited": "No"
},
{
"id": 17,
"title": "GeomeanOracleHook",
"category": ["Oracle"],
"source": "v3 Hookathon - Oct 2024",
"description": "Accurate and reliable price oracles are crucial for maintaining the integrity and functionality of various protocols. GeomeanOracleHook tracks and analyzes price observations and provide reliable geometric mean price data",
"github": "https://github.com/KarthikS373/-Balancerv3-GeomeanOracleHook",
"additional_link": "https://dorahacks.io/buidl/17768",
"created_by": "KarthikS373",
"audited": "No"
},
{
"id": 18,
"title": "DynamicDEX",
"category": ["Fee"],
"source": "v3 Hookathon - Oct 2024",
"description": "Aims on maximising the profitability of Liquidity Providers(LP's) by optimising adjusting the dynamic fees charged for transactions on the weighted liquidity pools provided by balancer. For implementation, a 50 50 weighted balancer liquidity pool is used.",
"github": "https://github.com/adityachopra29/scaffold-balancer-v3/tree/BAL-Hookathon_FluidFi",
"additional_link": "https://dorahacks.io/buidl/17776",
"created_by": "adityachopra29",
"audited": "No"
},
{
"id": 19,
"title": "Swap Bond",
"category": ["NFT"],
"source": "v3 Hookathon - Oct 2024",
"description": "Swap bond hook is a swap discount utility based hook that equips the pools on balancer v3 to create native incentive campaigns on after swap callback. Projects launching their pools can provide incentives to people buying their token through an incentive campaign in which the token buyers will get a bond nft that represents their buy value. The buyers can redeem reward tokens from the discount campaign based on the value of the token bought.",
"github": "https://github.com/a51finance/swap-bond-hook",
"additional_link": "https://dorahacks.io/buidl/16492",
"created_by": "a51finance",
"audited": "No"
},
{
"id": 20,
"title": "Loyalty Hook",
"category": ["Fee","Token Gating"],
"source": "v3 Hookathon - Oct 2024",
"description": "A Balancer V3 hook designed to increase user engagement by rewarding users with loyalty tokens (LOYALTY) and providing dynamic fee adjustments based on their LOYALTY token balance",
"github": "https://github.com/Chainkraft/scaffold-balancer-v3",
"additional_link": "https://dorahacks.io/buidl/16907",
"created_by": "Chainkraft",
"audited": "No"
},
{
"id": 21,
"title": "NFT Escrow Hook",
"category": ["NFT","RWA"],
"source": "v3 Hookathon - Oct 2024",
"description": "NftCheckHook.sol is a Balancer v3 hook to allow a liquidity pool to be backed by an NFT. This is accomplished by staking it into this escrow hook which mints an ERC20 to represent it fractionally. The hook also enables the depositor to settle the pool at the current market rate - in essence this is buying paying for all outstanding NFT-based ERC20 tokens (aka linked or asset tokens) by depositing the required amount of the counterpart (stable) token into the escrow hook contract which then releases the NFT. Then the holders of the linked tokens can redeem their linked tokens for stable tokens using the hook.",
"github": "https://github.com/DAOhaus/rwa-pools",
"additional_link": "https://dorahacks.io/buidl/17050",
"created_by": "DAOhaus",
"audited": "No"
},
{
"id": 22,
"title": "ReBalancer",
"category": ["RWA"],
"source": "v3 Hookathon - Oct 2024",
"description": "ReBalancer is a balancer v3 hook that dynamically rebalances lp positions and fees based on real-time events and market implied volatility.This is escpecially useful for RWAs income generating assets like bonds etc.",
"github": "https://github.com/utkarshdagoat/ReBalancer",
"additional_link": "https://dorahacks.io/buidl/17778",
"created_by": "utkarshdagoat",
"audited": "No"
},
{
"id": 23,
"title": "Volatility Fee Hook",
"category": ["Fee"],
"source": "v3 Hookathon - Oct 2024",
"description": "A dynamic Swap Fee hook based on volatiltiy of the pool. The Hook calculates utilization ratio based on Amount of Token Out and Balance of Token Out in the pool, and charges higher fee when the utilization ratio increases.",
"github": "https://github.com/t-phoenix/scaffold-balancer-v3",
"additional_link": "https://dorahacks.io/buidl/16865",
"created_by": "t-phoenix",
"audited": "No"
},
{
"id": 24,
"title": "SwapReferrer Hooks",
"category": ["Fee","Referral"],
"source": "v3 Hookathon - Oct 2024",
"description": "The SwapReferrer Hook is designed for DeFi protocols that want to incentivize user acquisition through a referral system. It allows liquidity providers and swappers to benefit from discounted swap fees when they either use a referral code or are referrers themselves.",
"github": "https://github.com/Harsh8196/scaffold-balancer-v3",
"additional_link": "https://dorahacks.io/buidl/17761",
"created_by": "Harsh8196",
"audited": "No"
},
{
"id": 25,
"title": "Secret Swap",
"category": ["FHE"],
"source": "v3 Hookathon - Oct 2024",
"description": "SecretSwap allows users to perform confidential token swaps using Balancer V3 hooks and Fully Homomorphic Encryption (FHE)",
"github": "https://github.com/DevSwayam/BAL-Hookathon-SecretSwap/",
"additional_link": "https://dorahacks.io/buidl/17777",
"created_by": "DevSwayam",
"audited": "No"
},
{
"id": 26,
"title": "SafeSwapDiscount",
"category": ["Fee","Token Gating"],
"source": "v3 Hookathon - Oct 2024",
"description": "The SwapDiscountHook contract is a custom Balancer V3 hook that offers users discounted swap fees based on their holdings of a designated discount token (e.g., BAL). This incentivizes liquidity and token participation by rewarding users with fee reductions if they meet a specified token balance threshold.",
"github": "https://github.com/GillHapp/scaffold-balancer-v3/tree/main/packages/foundry/contracts/hooks",
"additional_link": "https://dorahacks.io/buidl/17056",
"created_by": "GillHapp",
"audited": "No"
}
]