Skip to content

Commit

Permalink
optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
Zcy19980412 committed Nov 29, 2024
1 parent 50cf245 commit 9721cc0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/fat-token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { UUPSUpgradeable } from "@openzeppelin/contracts-upgradeable/proxy/utils
/*
* 游戏筹码token
*/
contract FatToken is Initializable, ERC20Upgradeable, OwnableUpgradeable, UUPSUpgradeable {
contract FatToken is ERC20Upgradeable, OwnableUpgradeable, UUPSUpgradeable {
/******************* errors *****************/
error FatToken_InvalidOperator(address validOperator, address operator);
/********************************************/
Expand Down
2 changes: 1 addition & 1 deletion src/game-factory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { FatToken } from "./fat-token.sol";
import { SoapToken } from "./soap-token.sol";
import { GameInitializeInfo, RootInfo } from "./utils/structs.sol";

contract GameFactory is Initializable, OwnableUpgradeable, UUPSUpgradeable {
contract GameFactory is OwnableUpgradeable, UUPSUpgradeable {
/******************* events *****************/
event FlightClub_GameCreated(address indexed gameCA, address indexed creator, uint256 bet);
/********************************************/
Expand Down
2 changes: 1 addition & 1 deletion src/soap-token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { OwnableUpgradeable } from "@openzeppelin/contracts-upgradeable/access/O
import { UUPSUpgradeable } from "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
import { ERC20Upgradeable } from "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";

contract SoapToken is Initializable, ERC20Upgradeable, OwnableUpgradeable, UUPSUpgradeable {
contract SoapToken is ERC20Upgradeable, OwnableUpgradeable, UUPSUpgradeable {

error SoapToken_InvalidMinter(address operator);
/*
Expand Down

0 comments on commit 9721cc0

Please sign in to comment.