跳到主要内容

IJBCashOutHook

Git Source

Inherits: IERC165

Hook called after a terminal's cashOutTokensOf(...) logic completes (if passed by the ruleset's data hook).

Functions

afterCashOutRecordedWith

This function is called by the terminal's cashOutTokensOf(...) function after the cash out has been recorded in the terminal store.

Critical business logic should be protected by appropriate access control.

function afterCashOutRecordedWith(JBAfterCashOutRecordedContext calldata context) external payable;

Parameters

NameTypeDescription
contextJBAfterCashOutRecordedContextThe context passed in by the terminal, as a JBAfterCashOutRecordedContext struct.