Open snackman opened 3 years ago
ERC1155 would be a good solution for the NFT option as you could have a one to one mapping in terms of token ids from pizza box to pizza slices. So for a given pizza box with id 200 you could have erc1155 tokens with id 200. The would probably be most gas efficient too.
Letting people buy 1/8 of a pizza box won't solve much IMO. Boxes will easily become more than 8x more expensive than what is affordable for most people.
I created a new issue to propose a method that would allow any fraction of a box to be owned, no matter how small. (link below)
https://github.com/PizzaDAO/pizza-smartcontract/issues/75
P.S. we can still implement pizza slices
we hit the deadline on this. It's no longer in scope for the core team. Can someone from the community pick this up?
Box Slice Reservations
BoxSliceReservation.sol
create a production-ready example of reserving slices using the box contract without making any changes to the existing box contract logic.
Ownable, not upgradeable
possibly using ERC-1155
Implementation Details
Possible Implementations
Escrow contract to take in 8 payments
What to do with the box
🔥🔥🔥
admin functions