跳到主要内容

IJBPayHook

Git Source

Inherits: IERC165

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

Functions

afterPayRecordedWith

This function is called by the terminal's pay(...) function after the payment has been recorded in the terminal store.

Critical business logic should be protected by appropriate access control.

function afterPayRecordedWith(JBAfterPayRecordedContext calldata context) external payable;

Parameters

NameTypeDescription
contextJBAfterPayRecordedContextThe context passed in by the terminal, as a JBAfterPayRecordedContext struct.