Skip to content

Commit ca63710

Browse files
jsy1218freeedevsByteWizardJvgorinblockventurechaincapital-crypto
authored
AI Protocol Swap Fee Hook V1 & Add BVCC Dynamic Fee Hook to allowlist (BSC, Ethereum, Arb, Base) (#1346)
* empty commit * allowlist: add Dory Burn and Mint Power Hook on Arbitrum * Allowlist Basememe hook on Base (#1311) feat: allowlist Basememe hook on Base Co-authored-by: Jukes <zwl@outlook.ie> Co-authored-by: Siyu Jiang (See-You John) <91580504+jsy1218@users.noreply.github.com> * AI Protocol Swap Fee Hook V1 (#1316) Captures 0.5% fee on every swap; the fee is captured in a "fee token", which can be (depending on the pool) ALI or USDC Pools currently using the hook: 1) USDC/MESSIAH https://app.uniswap.org/explore/pools/base/0xaca93c6543498289affeab3b3645b0faa3c660d73d76a3d271c8b92339f88589 2) ALI/MESSIAH https://app.uniswap.org/explore/pools/base/0xbc52aa9764ae1a9d7a55b53ff56f1e10032aeeaa766632c6e34a62b9541c06d5 Co-authored-by: Siyu Jiang (See-You John) <91580504+jsy1218@users.noreply.github.com> * feat: Add BVCC Dynamic Fee Hook to allowlist (BSC, Ethereum, Arb, Base) (#1310) feat: Add BVCC Dynamic Fee Hook to allowlist (BSC, Ethereum, Arbitrum, Base) ## Summary Adding BVCC Dynamic Fee Hook v4.3 to the routing allowlist for 4 networks. ## Hook Details - **Name:** BVCC Dynamic Fee Hook - **Version:** v4.3 - **GitHub:** https://github.com/blockventurechaincapital-crypto/bvcc-dynamic-fee-hook - **Features:** Anti-bot protection, volatility-adaptive pricing, circuit breakers, gas-based emergency fees. ## Addresses | Network | Address | |---------|---------| | BSC | `0x8a36d8408f5285c3f81509947bc187b3c0efd0c4` | | Ethereum | `0xf9ced7d0f5292af02385410eda5b7570b10b50c4` | | Arbitrum | `0x2097d7329389264a1542ad50802bb0de84a650c4` | | Base | `0x2c56c1302b6224b2bb1906c46f554622e12f10c4` | ## Example Pool (BSC) https://app.uniswap.org/explore/pools/bnb/0x085182518e82062e732fcb912becdf7140b42f8da31c7afd850db3c6d4309c8a ## Verification - All contracts verified on respective block explorers - Hook Intake Form submitted Co-authored-by: Siyu Jiang (See-You John) <91580504+jsy1218@users.noreply.github.com> * empty commit * empty commit * add back dory on arb * fix prettier --------- Co-authored-by: Basemem Dev <106291364+freeedevs@users.noreply.github.com> Co-authored-by: Jukes <zwl@outlook.ie> Co-authored-by: Basil Gorin <2195281+vgorin@users.noreply.github.com> Co-authored-by: BlockVentureChainCapital <blockventurechaincapital@gmail.com>
1 parent 75c94b4 commit ca63710

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

lib/util/hooksAddressesAllowlist.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,11 @@ export const RING_FEW_DAI_HOOK_ON_MAINNET = '0x85b648a64aed6307d5d5ce26e6ae086c1
166166
export const RING_FEW_WEETH_HOOK_ON_MAINNET = '0x877323adbf747f85eb8d182d42f01f34a5492888'
167167
// example pool: https://app.uniswap.org/explore/pools/ethereum/0xe7c2f30fd89238331b0e3e6ac6351578d5e3091b7839eff321c29cf88e17274e
168168
export const RING_FEW_WSTETH_HOOK_ON_MAINNET = '0x75ae0292e8ad3ab60b9a1a7b3046d3f4abdfa888'
169+
// example pool BSC: https://app.uniswap.org/explore/pools/bnb/0x085182518e82062e732fcb912becdf7140b42f8da31c7afd850db3c6d4309c8a
170+
export const BVCC_DYNAMIC_FEE_HOOK_ON_BSC = '0x8a36d8408f5285c3f81509947bc187b3c0efd0c4'
171+
export const BVCC_DYNAMIC_FEE_HOOK_ON_MAINNET = '0xf9ced7d0f5292af02385410eda5b7570b10b50c4'
172+
export const BVCC_DYNAMIC_FEE_HOOK_ON_ARBITRUM = '0x2097d7329389264a1542ad50802bb0de84a650c4'
173+
export const BVCC_DYNAMIC_FEE_HOOK_ON_BASE = '0x2c56c1302b6224b2bb1906c46f554622e12f10c4'
169174

170175
// example pool: https://app.uniswap.org/explore/pools/ethereum/0x95caa20ff578db4ceec56162bedc21e31adc70ef717661e11d6d1d74e9b2f844
171176
export const MEME_STRATEGY_HOOK_ON_MAINNET = '0x3ba779bad405d9b68a7a7a86ff6916c806a200cc'
@@ -203,6 +208,9 @@ export const DORY_BURN_AND_MINT_POWER_HOOK_ON_ARBITRUM = '0x6b70fef40d3925881251
203208
// example pool: https://app.uniswap.org/explore/pools/base/0xd2e486be751887088da2f4bf76a5872e0810d1bcaf43efec7d4bea3acbc3135a
204209
export const BASEMEME_HOOK_ADDRESS_ON_BASE = '0x755776c51399f7ee15d47ddaf47347d26f5ca840'
205210

211+
// example pool: https://app.uniswap.org/explore/pools/base/0xaca93c6543498289affeab3b3645b0faa3c660d73d76a3d271c8b92339f88589
212+
export const AI_PROTOCOL_SWAP_FEE_HOOK_V1_ON_BASE = '0x121f94835dab08ebaf084809a97e525b69e400cc'
213+
206214
// we do not allow v4 pools with non-zero hook address to be routed through in the initial v4 launch.
207215
// this is the ultimate safeguard in the routing subgraph pool cron job.
208216
export const HOOKS_ADDRESSES_ALLOWLIST: { [chain in ChainId]: Array<string> } = {
@@ -235,6 +243,7 @@ export const HOOKS_ADDRESSES_ALLOWLIST: { [chain in ChainId]: Array<string> } =
235243
TOKEN_FLOW_TAX_HOOK_ON_MAINNET,
236244
ARRAKIS_PRIVATE_HOOK_ON_MAINNET,
237245
CUSTOM_FEE_MEV_PROTECTION_HOOK_ON_MAINNET,
246+
BVCC_DYNAMIC_FEE_HOOK_ON_MAINNET,
238247
],
239248
[ChainId.GOERLI]: [ADDRESS_ZERO],
240249
[ChainId.SEPOLIA]: [ADDRESS_ZERO, extraHooksAddressesOnSepolia, FEY_ON_SEPOLIA],
@@ -249,6 +258,7 @@ export const HOOKS_ADDRESSES_ALLOWLIST: { [chain in ChainId]: Array<string> } =
249258
WETH_HOOKS_ADDRESS_ON_ARBITRUM,
250259
LIMIT_ORDER_HOOKS_ADDRESS_ON_ARBITRUM,
251260
DORY_BURN_AND_MINT_POWER_HOOK_ON_ARBITRUM,
261+
BVCC_DYNAMIC_FEE_HOOK_ON_ARBITRUM,
252262
],
253263
[ChainId.ARBITRUM_GOERLI]: [ADDRESS_ZERO],
254264
[ChainId.ARBITRUM_SEPOLIA]: [ADDRESS_ZERO],
@@ -258,7 +268,7 @@ export const HOOKS_ADDRESSES_ALLOWLIST: { [chain in ChainId]: Array<string> } =
258268
[ChainId.CELO_ALFAJORES]: [ADDRESS_ZERO],
259269
[ChainId.GNOSIS]: [ADDRESS_ZERO],
260270
[ChainId.MOONBEAM]: [ADDRESS_ZERO],
261-
[ChainId.BNB]: [ADDRESS_ZERO],
271+
[ChainId.BNB]: [ADDRESS_ZERO, BVCC_DYNAMIC_FEE_HOOK_ON_BSC],
262272
[ChainId.AVALANCHE]: [ADDRESS_ZERO, AVAXSTRATEGIES_STATIC_FEE_HOOKS_ADDRESS_ON_AVAX],
263273
[ChainId.BASE_GOERLI]: [ADDRESS_ZERO],
264274
[ChainId.BASE_SEPOLIA]: [ADDRESS_ZERO],
@@ -305,13 +315,16 @@ export const HOOKS_ADDRESSES_ALLOWLIST: { [chain in ChainId]: Array<string> } =
305315
SUPERSTRATEGY_HOOK_ON_BASE,
306316
SIMPLE_SELL_TAX_HOOK_ON_BASE,
307317
WASSBLASTER_HOOK_ON_BASE,
318+
BVCC_DYNAMIC_FEE_HOOK_ON_BASE,
308319
AEGIS_V3,
309320
FARSTR_HOOKS_ADDRESS_ON_BASE,
310321
ARTACLE_INDEX_TOKEN_HOOK_ON_BASE,
311322
GPO_HOOKS,
312323
GPX_HOOKS,
313324
ARRAKIS_PRIVATE_HOOK_ON_BASE,
314325
BASEMEME_HOOK_ADDRESS_ON_BASE,
326+
AI_PROTOCOL_SWAP_FEE_HOOK_V1_ON_BASE,
327+
BVCC_DYNAMIC_FEE_HOOK_ON_BASE,
315328
],
316329
[ChainId.ZORA]: [ADDRESS_ZERO],
317330
[ChainId.ZORA_SEPOLIA]: [ADDRESS_ZERO],

0 commit comments

Comments
 (0)