Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommonFlags ¶
AddCommonFlags adds common flags to the provided Cobra command.
func GetUserOps ¶
func GetUserOps(cmd *cobra.Command) *model.UserOperation
GetUserOps parses the 'userop' JSON string or file provided in the command flags and returns a UserOperation object. It panics if the JSON string is empty, the file can't be read, or the JSON can't be parsed.
func PrintSignature ¶
func PrintSignature(userOp *model.UserOperation)
PrintSignature prints the signature + hex encoded intent JSON (calldata).
func ProcessCallDataUsingBigInt ¶
ProcessCallDataUsingBigInt convert the int to ProtoBigInt.
func UpdateUserOp ¶
func UpdateUserOp(userOp *model.UserOperation, nonce *big.Int) *model.UserOperation
UpdateUserOp sets the nonce value and 4337 default gas limits if they are zero.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.