add comment for contract add timelock

This commit is contained in:
cebgcontract 2022-02-21 19:37:13 +08:00
parent 736f5a611f
commit 3d19def747
5 changed files with 11 additions and 0 deletions

View File

@ -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") {}
}

View File

@ -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") {}
}

View File

@ -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") {}
}

View File

@ -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;
}

View File

@ -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;