Paymaster
New Interface for Paymaster Validation
The delivery to validation data is almost identical to the behavior of the wallet in validationTransaction. The Paymaster contact must be implemented to forward validation data to AA_ENTRIENT_POINT via the callback function call defined below.
Calls to the AA_ENTRY_POINT approval callbacks have the following meaning:
acceptPaymaster - This callback is called by the paymaster after it verified the transaction and agrees to pay for its execution.
sigFailPaymaster - This callback is called by the paymaster if its paymasterData is expected to contain some kind of signature, but it does not contain a valid one.
New Interface for Paymaster Post-Operation
Additionally, RIP-7560 requires the following interface for Paymaster post-operation:
Paymaster providers need to modify or add to their Paymaster interfaces accordingly. For both functions, msg.sender
is AA_ENTRY_POINT
.
Last updated