From f49089ad77ddf5c43bec8becbf9eb3042aa40a70 Mon Sep 17 00:00:00 2001 From: alvrs Date: Mon, 30 Oct 2023 21:15:29 +0100 Subject: [PATCH] import IERC20Events from module --- packages/world-modules/test/ERC20.t.sol | 3 +-- packages/world-modules/test/IERC20Events.sol | 18 ------------------ 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 packages/world-modules/test/IERC20Events.sol diff --git a/packages/world-modules/test/ERC20.t.sol b/packages/world-modules/test/ERC20.t.sol index 3e3e3b2a95..8b62a34675 100644 --- a/packages/world-modules/test/ERC20.t.sol +++ b/packages/world-modules/test/ERC20.t.sol @@ -22,8 +22,7 @@ import { ERC20_REGISTRY_TABLE_ID } from "../src/modules/erc20-puppet/constants.s import { IERC20Mintable } from "../src/modules/erc20-puppet/IERC20Mintable.sol"; import { registerERC20 } from "../src/modules/erc20-puppet/registerERC20.sol"; import { IERC20Errors } from "../src/modules/erc20-puppet/IERC20Errors.sol"; - -import { IERC20Events } from "./IERC20Events.sol"; +import { IERC20Events } from "../src/modules/erc20-puppet/IERC20Events.sol"; contract ERC20Test is Test, GasReporter, IERC20Events, IERC20Errors { IBaseWorld world; diff --git a/packages/world-modules/test/IERC20Events.sol b/packages/world-modules/test/IERC20Events.sol deleted file mode 100644 index 9494b29fe2..0000000000 --- a/packages/world-modules/test/IERC20Events.sol +++ /dev/null @@ -1,18 +0,0 @@ -// SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; - -interface IERC20Events { - /** - * @dev Emitted when `value` tokens are moved from one account (`from`) to - * another (`to`). - * - * Note that `value` may be zero. - */ - event Transfer(address indexed from, address indexed to, uint256 value); - - /** - * @dev Emitted when the allowance of a `spender` for an `owner` is set by - * a call to {approve}. `value` is the new allowance. - */ - event Approval(address indexed owner, address indexed spender, uint256 value); -}