-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
214 additions
and
40 deletions.
There are no files selected for viewing
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,23 @@ | ||
// define the same export types as used by export typechain/ethers | ||
import { AddressLike, BigNumberish, BytesLike } from "ethers"; | ||
|
||
export type address = AddressLike; | ||
export type uint256 = BigNumberish; | ||
export type uint = BigNumberish; | ||
export type uint48 = BigNumberish; | ||
export type bytes = BytesLike; | ||
export type bytes32 = BytesLike; | ||
|
||
export interface UserOperation { | ||
sender: address; | ||
nonce: uint256; | ||
initCode: bytes; | ||
callData: bytes; | ||
callGasLimit: uint256; | ||
verificationGasLimit: uint256; | ||
preVerificationGas: uint256; | ||
maxFeePerGas: uint256; | ||
maxPriorityFeePerGas: uint256; | ||
paymasterAndData: bytes; | ||
signature: bytes; | ||
} |
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