Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 859 Bytes

File metadata and controls

8 lines (6 loc) · 859 Bytes

contracts

contracts for the MINI project

token/auctions

  • MiniToken.sol - the ERC721 Token. tokenURI serves base64 encoded json metadata containing the svg wrapped image data.
  • MiniDataRepository.sol - data repository for on chain artwork. Artwork is stored using SSTORE2 pattern, where each json metadata blob (including image) is deployed as a data only contract. This contract will store a mapping of sequential token IDs to data contract addresses. Note that this means the image selection is deterministic, and each mint of a token will be associated with a predefined id -> address mapping. Data will be inserted by curators (address whitelist). Construction of the encoded json blob should happen off-chain.
  • MiniAuctionHouse.sol - Modified Zora/Nouns rolling automated auctions. Requires user settlement to trigger next auction.