becrypto/contracts/tokens/erc1155/BEChip1155.sol
2022-08-18 10:54:42 +08:00

17 lines
315 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
import "./BEBase1155.sol";
contract BEChip1155 is BEBase1155 {
mapping(uint256 => uint256) public tokenLevels;
constructor() {
maxSupply = 1;
}
function canMint(uint256 id) external view override returns (bool) {
return !exists(id);
}
}