Skip to content

Commit

Permalink
refactor: remove IERC165 from inheritance of IERC725X and IERC725Y
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ42 committed Sep 20, 2023
1 parent 0c4fe33 commit 73c07a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions implementations/contracts/interfaces/IERC725X.sol
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.0;

// interfaces
import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol";

/**
* @title The interface for the ERC725X sub-standard, a generic executor.
* @dev ERC725X provides the ability to call arbitrary functions on any other smart contract (including itself).
* It allows to use different type of message calls to interact with addresses such as `call`, `staticcall` and `delegatecall`.
* It also allows to deploy and create new contracts via both the `create` and `create2` opcodes.
* This is the basis for a smart contract based account system, but could also be used as a proxy account system.
*/
interface IERC725X is IERC165 {
interface IERC725X {
/**
* @notice Deployed new contract at address `contractAddress` and funded with `value` wei (deployed using opcode: `operationType`).
* @dev Emitted when a new contract was created and deployed.
Expand Down
5 changes: 1 addition & 4 deletions implementations/contracts/interfaces/IERC725Y.sol
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.0;

// interfaces
import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol";

/**
* @title The interface for ERC725Y sub-standard, a generic data key/value store.
* @dev ERC725Y provides the ability to set arbitrary data key/value pairs that can be changed over time.
* It is intended to standardise certain data key/value pairs to allow automated read and writes from/to the contract storage.
*/
interface IERC725Y is IERC165 {
interface IERC725Y {
/**
* @notice The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`.
* @dev Emitted when data at a specific `dataKey` was changed to a new value `dataValue`.
Expand Down

0 comments on commit 73c07a3

Please sign in to comment.