Balancer V3 Hooks

Community

Extend Balancer V3 pools with custom hooks.

Authorcyotee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Hooks provide a safe, extensible way to customize Balancer V3 pool behavior by injecting custom logic into swap and liquidity events.

Core Features & Use Cases

  • Event hooks such as onBeforeInitialize, onAfterInitialize, onBeforeAddLiquidity, onAfterAddLiquidity, onBeforeRemoveLiquidity, onAfterRemoveLiquidity, onBeforeSwap, and onAfterSwap enable validations, state updates, and adaptive behavior.
  • Dynamic fee control to adjust swap fees based on market conditions or pool risk profiles.
  • Extensibility patterns for access control, oracle integration, and fee distribution within vault-secured hooks.

Quick Start

Register a custom hook with your Balancer V3 pool and implement the IHooks interface to begin handling swap and liquidity events.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Balancer V3 Hooks
Download link: https://github.com/cyotee/crane/archive/main.zip#balancer-v3-hooks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.