add comment for contract add timelock
This commit is contained in:
parent
736f5a611f
commit
3d19def747
@ -2,6 +2,8 @@
|
|||||||
pragma solidity 0.8.10;
|
pragma solidity 0.8.10;
|
||||||
import "./BEBase.sol";
|
import "./BEBase.sol";
|
||||||
|
|
||||||
|
// this contract will transfer ownership to BETimelockController after deployed
|
||||||
|
// all onlyowner method would add timelock
|
||||||
contract BEChip is BEBase{
|
contract BEChip is BEBase{
|
||||||
constructor() ERC721("Crypto Elite's Chip", "CECP") {}
|
constructor() ERC721("Crypto Elite's Chip", "CECP") {}
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
pragma solidity 0.8.10;
|
pragma solidity 0.8.10;
|
||||||
import "./BEBase.sol";
|
import "./BEBase.sol";
|
||||||
|
|
||||||
|
// this contract will transfer ownership to BETimelockController after deployed
|
||||||
|
// all onlyowner method would add timelock
|
||||||
contract BEEquipment is BEBase{
|
contract BEEquipment is BEBase{
|
||||||
constructor() ERC721("Crypto Elite's Equipment", "CEE") {}
|
constructor() ERC721("Crypto Elite's Equipment", "CEE") {}
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
pragma solidity 0.8.10;
|
pragma solidity 0.8.10;
|
||||||
import "./BEBase.sol";
|
import "./BEBase.sol";
|
||||||
|
|
||||||
|
// this contract will transfer ownership to BETimelockController after deployed
|
||||||
|
// all onlyowner method would add timelock
|
||||||
contract BEHero is BEBase{
|
contract BEHero is BEBase{
|
||||||
constructor() ERC721("Crypto Elite's Hero", "CEH") {}
|
constructor() ERC721("Crypto Elite's Hero", "CEH") {}
|
||||||
}
|
}
|
@ -5,6 +5,9 @@ import "@openzeppelin/contracts/proxy/utils/Initializable.sol";
|
|||||||
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
|
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
|
||||||
import "./HasSignature.sol";
|
import "./HasSignature.sol";
|
||||||
|
|
||||||
|
// this contract will transfer ownership to BETimelockController after deployed
|
||||||
|
// all onlyowner method would add timelock
|
||||||
|
|
||||||
interface IBurnableERC721 is IERC721 {
|
interface IBurnableERC721 is IERC721 {
|
||||||
function burn(address owner, uint256 tokenId) external;
|
function burn(address owner, uint256 tokenId) external;
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,8 @@ import "@openzeppelin/contracts/access/Ownable.sol";
|
|||||||
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
|
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
|
||||||
import "./HasSignature.sol";
|
import "./HasSignature.sol";
|
||||||
|
|
||||||
|
// this contract will transfer ownership to BETimelockController after deployed
|
||||||
|
// all onlyowner method would add timelock
|
||||||
contract MarketPlace is Ownable, HasSignature {
|
contract MarketPlace is Ownable, HasSignature {
|
||||||
using SafeERC20 for IERC20;
|
using SafeERC20 for IERC20;
|
||||||
using SafeMath for uint256;
|
using SafeMath for uint256;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user