diff --git a/src/ERC20Factory.sol b/src/ERC20Factory.sol index 2ddd1de..529b094 100644 --- a/src/ERC20Factory.sol +++ b/src/ERC20Factory.sol @@ -8,7 +8,7 @@ contract ERC20Factory is ERC20Registry { event ERC20Created(address indexed erc20, address indexed owner); function createERC20(string memory name, string memory symbol, uint8 decimals) external returns (address) { - ERC20 erc20 = new ERC20(name, symbol, decimals); + InitiaERC20 erc20 = new InitiaERC20(name, symbol, decimals); // register the ERC20 contract with the ERC20 registry ERC20_REGISTRY_CONTRACT.register_erc20_from_factory(address(erc20)); diff --git a/src/InitiaERC20.sol b/src/InitiaERC20.sol index ae143c1..0cb2f43 100644 --- a/src/InitiaERC20.sol +++ b/src/InitiaERC20.sol @@ -7,7 +7,7 @@ import "./ERC20Registry.sol"; import "./ERC20ACL.sol"; import {ERC165, IERC165} from "./ERC165.sol"; -contract ERC20 is IERC20, Ownable, ERC20Registry, ERC165, ERC20ACL { +contract InitiaERC20 is IERC20, Ownable, ERC20Registry, ERC165, ERC20ACL { event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value);