-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: test 4337 aggregated, and ops validation
- Loading branch information
Showing
11 changed files
with
564 additions
and
198 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
use alloy_sol_types::sol; | ||
|
||
sol! { | ||
#[allow(missing_docs)] | ||
contract IEntryPoint { | ||
#[derive(Default)] | ||
struct PackedUserOperation { | ||
address sender; | ||
uint256 nonce; | ||
bytes initCode; | ||
bytes callData; | ||
bytes32 accountGasLimits; | ||
uint256 preVerificationGas; | ||
bytes32 gasFees; | ||
bytes paymasterAndData; | ||
bytes signature; | ||
} | ||
|
||
#[derive(Default)] | ||
struct UserOpsPerAggregator { | ||
PackedUserOperation[] userOps; | ||
address aggregator; | ||
bytes signature; | ||
} | ||
|
||
function handleOps( | ||
PackedUserOperation[] calldata, | ||
address payable | ||
) external; | ||
|
||
function handleAggregatedOps( | ||
UserOpsPerAggregator[] calldata, | ||
address payable | ||
) public; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
pub mod bindings; | ||
pub mod builder; | ||
pub mod error; | ||
pub mod noop; | ||
|
Oops, something went wrong.