Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/verifier/UserOpWebAuthnCosignVerifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ import {WebAuthn} from "solady/utils/WebAuthn.sol";
import {IVerifier} from "../interface/IVerifier.sol";
import {OnlyKeystore} from "../lib/OnlyKeystore.sol";

/**
* @dev This contract depends on the Solady P256.sol library which itself has a
* dependency on a VERIFIER and CANARY contract to properly handle the case where
* the RIP-7212 precompile might or might not be present.
* See https://github.com/Vectorized/solady/blob/v0.1.19/src/utils/P256.sol for details.
*/
contract UserOpWebAuthnCosignVerifier is IVerifier, OnlyKeystore {
bytes1 public constant SIGNATURES_ONLY_TAG = 0xff;

Expand Down
6 changes: 6 additions & 0 deletions src/verifier/UserOpWebAuthnVerifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ import {WebAuthn} from "solady/utils/WebAuthn.sol";
import {IVerifier} from "../interface/IVerifier.sol";
import {OnlyKeystore} from "../lib/OnlyKeystore.sol";

/**
* @dev This contract depends on the Solady P256.sol library which itself has a
* dependency on a VERIFIER and CANARY contract to properly handle the case where
* the RIP-7212 precompile might or might not be present.
* See https://github.com/Vectorized/solady/blob/v0.1.19/src/utils/P256.sol for details.
*/
contract UserOpWebAuthnVerifier is IVerifier, OnlyKeystore {
constructor(address aKeystore) OnlyKeystore(aKeystore) {}

Expand Down