Skip to content

Commit

Permalink
Re-introduce 'RIP7560AccountDeployed' event
Browse files Browse the repository at this point in the history
  • Loading branch information
forshtat committed Sep 12, 2024
1 parent 4ad2977 commit 838e845
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions contracts/interfaces/IRip7560EntryPoint.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,34 @@ interface IRip7560EntryPoint {
function sigFailPaymaster(uint256 validAfter, uint256 validUntil, bytes calldata context) external;


/***
/**
* An event emitted after each successful request.
* @param sender - The account that generates this request.
* @param paymaster - If non-null, the paymaster that pays for this request.
* @param deployer - If non-null, the deployer that creates the sender contract.
* @param nonceKey - The nonce key value from the request.
* @param nonceSequence - The nonce sequence value from the request.
* @param success - True if the sender transaction succeeded, false if reverted.
* @param actualGasCost - Actual amount paid (by account or paymaster) for this UserOperation.
* @param actualGasUsed - Total gas used by this UserOperation (including preVerification, creation,
* validation and execution).
* @param sender - The account that generates this request.
* @param paymaster - If non-null, the paymaster that pays for this request.
* @param nonceKey - The nonce key value from the request.
* @param nonceSequence - The nonce sequence value from the request.
* @param executionStatus - True if the sender transaction succeeded, false if reverted.
*/
event RIP7560TransactionEvent(
address indexed sender,
address indexed paymaster,
address indexed deployer,
uint256 nonceKey,
uint256 nonceSequence,
uint256 executionStatus
);

/**
* An event emitted after "sender" account has been deployed.
* @param sender - The account that has been deployed.
* @param paymaster - The paymaster used by this transaction.
* @param deployer - The deployer factory contract used to deploy this account.
*/
event RIP7560AccountDeployed(
address indexed sender,
address indexed paymaster,
address indexed deployer
);

/**
* An event emitted if the RIP-7560 transaction "executionData" reverted with non-zero length.
* @param sender - The sender of this request.
Expand Down

0 comments on commit 838e845

Please sign in to comment.