From 9978d56eec7ee12f871e7dcdab8e1921765a5735 Mon Sep 17 00:00:00 2001 From: kevincheng96 Date: Thu, 30 May 2024 12:13:52 -0700 Subject: [PATCH] CS 5.3 - Small interface updates --- src/quark-core/src/interfaces/IQuarkWallet.sol | 1 - src/quark-proxy/src/QuarkMinimalProxy.sol | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/quark-core/src/interfaces/IQuarkWallet.sol b/src/quark-core/src/interfaces/IQuarkWallet.sol index da423761..871c0526 100644 --- a/src/quark-core/src/interfaces/IQuarkWallet.sol +++ b/src/quark-core/src/interfaces/IQuarkWallet.sol @@ -40,7 +40,6 @@ interface IQuarkWallet { function getDigestForQuarkOperation(QuarkOperation calldata op) external view returns (bytes32); function getDigestForMultiQuarkOperation(bytes32[] memory opDigests) external pure returns (bytes32); function getDigestForQuarkMessage(bytes memory message) external view returns (bytes32); - function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4); function executeScriptWithNonceLock(address scriptAddress, bytes memory scriptCalldata) external returns (bytes memory); diff --git a/src/quark-proxy/src/QuarkMinimalProxy.sol b/src/quark-proxy/src/QuarkMinimalProxy.sol index eac7124d..7371a407 100644 --- a/src/quark-proxy/src/QuarkMinimalProxy.sol +++ b/src/quark-proxy/src/QuarkMinimalProxy.sol @@ -1,7 +1,9 @@ // SPDX-License-Identifier: BSD-3-Clause pragma solidity 0.8.23; -contract QuarkMinimalProxy { +import {IHasSignerExecutor} from "quark-core/src/interfaces/IHasSignerExecutor.sol"; + +contract QuarkMinimalProxy is IHasSignerExecutor { /// @notice Address of the EOA signer or the EIP-1271 contract that verifies signed operations for this wallet address public immutable signer;