This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.0; | |
| import "@openzeppelin/contracts/interfaces/IERC20.sol"; | |
| import "@openzeppelin/contracts/interfaces/IERC721.sol"; | |
| import "@openzeppelin/contracts/interfaces/IERC721Receiver.sol"; | |
| import "@openzeppelin/contracts/interfaces/IERC1155.sol"; | |
| import "@openzeppelin/contracts/interfaces/IERC1155Receiver.sol"; | |
| import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: MIT | |
| // t11s god himself | |
| // โ make mintPrice constant | |
| // ๐ด consider removing creators | |
| // ๐ด consider removing ourMessage | |
| // โ make heartURIs a mapping of uint256s | |
| // โ don't use OZ counters | |
| // โ dont use a uint8 for the loop counter (its gonna get cast to 256 bits as thats the evm wordsize) | |
| // โ dont cast to a uint8 for digit | |
| // ๐ด the "slow down" ratelimit in mint is basically useless, consider removing |