Split Hook
What everyone needs to knowβ
- A project's payout distribution splits or its reserved token distribution splits can be directed at custom hook contracts.
- A split hook can be attached to a project's split during any ruleset configuration to automate the routing of treasury funds and reserved project tokens.
- A split hook's
processSplitWith(...)
transaction is triggered automatically when the split is receiving funds.
What you'll want to know if you're buildingβ
- A split hook contract must adhere to the
IJBSplitHook
interface. - A split hook can be specified in a split through the
JBController.launchProjectFor(...)
,JBController.launchRulesetsFor(...)
,JBController.queueRulesetsOf(...)
, orJBController.setSplitGroupsOf(...)
transactions.