Paymaster addresses
You can access the permissionless paymaster contracts at the following addresses on supported blockchains:Paymaster events
This section explains the events from the Circle Paymaster and when they are emitted. You can use these events to debug or track the state after submitting a user operation (user op) to a bundler.TokenPaymasterV07.sol and TokenPaymasterV08.sol
These files are the main contract of the Circle Paymaster that support EntryPoint v0.7 and v0.8. The primary functions they integrate are:_validatePaymasterUserOp: validates the user op and charges the prefund token from the sender before execution._postOp: refunds the token back to the sender when the actual amount of tokens needed is known after execution.
UserOperationSponsored
The contract emits this event after the_postOp is executed and the prefund
token (if any) is refunded.
Attributes
Example
Using
this transaction
as an example, the
userOperationSponsored event contains the following data: