Skip to content

Commit

Permalink
fix: update initiaerc20 contract name
Browse files Browse the repository at this point in the history
  • Loading branch information
tansawit committed Aug 5, 2024
1 parent edc216d commit e945903
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ERC20Factory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion src/InitiaERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e945903

Please sign in to comment.