Skip to content

overlay-market/planckcats

Repository files navigation

planckcats

meow ... Planck Cat DAO

Requirements

To run the project you need:

Modules

PlanckCat

ERC721 with AccessControl privileges for the DAO to initiate mints. Additional (non-standard) methods:

function safeMintCustom(address to, string memory _customURI) public onlyRole(MINTER_ROLE);

Allows custom PFP cats to be minted by MINTER_ROLE.

PlanckCatMinter

Bulk minting contract that holds the freshly minted NFTs in escrow until the receivers choose to claim. DAO calls either of two batch minting methods:

function mintBatch(uint256 currentId, address[] memory tos) external onlyMinter;
function mintCustomBatch(uint256 currentId, address[] memory tos, string[] memory uris) external onlyMinter;

which mints the cats to the PlanckCatMinter contract. Newly minted cats are then held in escrow in the PlanckCatMinter contract until the receiver decides to claim their cat by calling

function claim(uint256 id) external;

Releases

No releases published

Packages

No packages published