The smart contract for Yo Kitties, the 5k generative cat NFT collection collab between smol farm and Iron Chef Cat Cora. The project launched at 8 PM eastern on March 12th, 2022.
The usage of unchecked {}
blocks enables significant gas savings, particularly around the math performed in the checks in the minting function. This disables integer overflow protections, but we safely establish the quantity must be between 0 and 25 -- the non-negative bound provided by uint256
being unsigned.
This contract makes use of ERC721A, much like our previous profile pic collection, Dastardly Ducks, though we are now using v3.0.0 instead of v1.0.0, offering further improvements and refinements over what was available two months prior to this project.
The comments on promoMint()
says "ducks" instead of "kitties." This reflects an error present in the contract at deployment time, though, fortunately, does not affect functionality.
Contract by Thorne aka existentialenso.eth