Function: _postOp(PostOpMode mode, bytes calldata context, uint256 actualGasCost)
This function executes the Paymaster's payment conditions.
Inputs
modeControl: Not controlled by user.
Constraints: Must be one of these:
opSucceeded,opReverted, orpostOpReverted.Impact: Used to determine the state of the operation.
contextControl: Not controlled by user.
Constraints: N/A.
Impact: This contains the payment conditions signed by the Paymaster.
actualGasCostControl: Not controlled by user.
Constraints: N/A.
Impact: This is the amount to be paid back to the Entrypoint.
Branches and code coverage (including function calls)
Intended branches
Succeeds with mode
opSucceededoropReverted.Succeeds with mode
postOpReverted.Oracle aggregator's exchange rate is used.
UserOp's exchange rate is used.
Negative behavior
Failed
transferFrom()leads to event being emitted.