From 3d19def7470a38cb8a36c45a7484d4b05444297f Mon Sep 17 00:00:00 2001 From: cebgcontract <99630598+cebgcontract@users.noreply.github.com> Date: Mon, 21 Feb 2022 19:37:13 +0800 Subject: [PATCH] add comment for contract add timelock --- contracts/BEChip.sol | 2 ++ contracts/BEEquipment.sol | 2 ++ contracts/BEHero.sol | 2 ++ contracts/EvolveProxy.sol | 3 +++ contracts/MarketPlace.sol | 2 ++ 5 files changed, 11 insertions(+) diff --git a/contracts/BEChip.sol b/contracts/BEChip.sol index 02c36a1..d05d85e 100644 --- a/contracts/BEChip.sol +++ b/contracts/BEChip.sol @@ -2,6 +2,8 @@ pragma solidity 0.8.10; import "./BEBase.sol"; +// this contract will transfer ownership to BETimelockController after deployed +// all onlyowner method would add timelock contract BEChip is BEBase{ constructor() ERC721("Crypto Elite's Chip", "CECP") {} } diff --git a/contracts/BEEquipment.sol b/contracts/BEEquipment.sol index ef8f128..5c66c2b 100644 --- a/contracts/BEEquipment.sol +++ b/contracts/BEEquipment.sol @@ -2,6 +2,8 @@ pragma solidity 0.8.10; import "./BEBase.sol"; +// this contract will transfer ownership to BETimelockController after deployed +// all onlyowner method would add timelock contract BEEquipment is BEBase{ constructor() ERC721("Crypto Elite's Equipment", "CEE") {} } diff --git a/contracts/BEHero.sol b/contracts/BEHero.sol index 3add215..60d83e2 100644 --- a/contracts/BEHero.sol +++ b/contracts/BEHero.sol @@ -2,6 +2,8 @@ pragma solidity 0.8.10; import "./BEBase.sol"; +// this contract will transfer ownership to BETimelockController after deployed +// all onlyowner method would add timelock contract BEHero is BEBase{ constructor() ERC721("Crypto Elite's Hero", "CEH") {} } \ No newline at end of file diff --git a/contracts/EvolveProxy.sol b/contracts/EvolveProxy.sol index b121f5a..7fa6fa3 100644 --- a/contracts/EvolveProxy.sol +++ b/contracts/EvolveProxy.sol @@ -5,6 +5,9 @@ import "@openzeppelin/contracts/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "./HasSignature.sol"; +// this contract will transfer ownership to BETimelockController after deployed +// all onlyowner method would add timelock + interface IBurnableERC721 is IERC721 { function burn(address owner, uint256 tokenId) external; } diff --git a/contracts/MarketPlace.sol b/contracts/MarketPlace.sol index 0265ad8..29927dc 100644 --- a/contracts/MarketPlace.sol +++ b/contracts/MarketPlace.sol @@ -10,6 +10,8 @@ import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "./HasSignature.sol"; +// this contract will transfer ownership to BETimelockController after deployed +// all onlyowner method would add timelock contract MarketPlace is Ownable, HasSignature { using SafeERC20 for IERC20; using SafeMath for uint256;