IUserOperation.defaultUserOp constructor

IUserOperation.defaultUserOp()

Default constructor for the IUserOperation. It initializes all fields with default values.

Implementation

factory IUserOperation.defaultUserOp() => IUserOperation(
      sender: Addresses.AddressZero,
      nonce: BigInt.zero,
      initCode: '0x',
      callData: '0x',
      callGasLimit: BigInt.from(35000),
      verificationGasLimit: BigInt.from(70000),
      preVerificationGas: BigInt.from(21000),
      maxFeePerGas: BigInt.zero,
      maxPriorityFeePerGas: BigInt.zero,
      paymasterAndData: '0x',
      signature: '0x',
    );