Pay Hook
What everyone needs to know
- A pay hook contract provides extensions to a project that augments the default
JBMultiTerminal
behavior.
- Pay hooks include a custom
afterPayRecordedWith(...)
hook that executes after all default protocol pay logic has successfully executed in the terminal contract. The hook is passed contextual information via a JBAfterPayRecordedContext
data structure.
- Each
IJBTerminal
fork can leverage pay hooks in unique ways.
What you'll want to know if you're building
Get started building pay hooks.