The core of the wrapperfi infrastructure.
The NFT collection is completely onchain and interactive using SVGs. Incorporated bitpacking for random attributes that aren't known in advance, but prepared in the deployment script and constructor.
npx hardhat compile
Compiling CandyWrapper.sol requires the yulDetails: { optimizerSteps: "u" },setting enabled in hardhat.config.ts, otherwise the normal solidity compiler will return Stack Too Deep. Requires viaIR: true
TODO:
-
maybe a switch from vector mode to raster mode, for an individual tokenID
-
daoRegistery map, settable by onlyOwner. imports and updates how many referrals have been accomplished.
-
dutch auction contracts, and reserved whitelist at half of initial dutch auction price
-
do deployment scripts
-
do test deployment scripts in hardhat
-
add events and check for existing ones in the imports
-
'"image": "', true ? super.tokenURI(tokenId) : make toggle
-
configure Candy struct related to auction and increased authorization, put baseUri in there