PizzaDAO / pizza-smartcontract

Repository for Rare Pizzas smart contracts
GNU General Public License v3.0
17 stars 4 forks source link

Pizza Box Fractionalization #75

Open antron3000 opened 3 years ago

antron3000 commented 3 years ago

I propose to create a new contract to fractionalize pizza boxes. The new contract can gather contributions, buy a pizza box directly from the curve and allow it to be fractionalized. The contract may also accept a pizza box transferred directly to it.

Here is a way it can work:

https://blog.niftex.com/the-buyout-clause-in-depth/

TLDR: Converting a pizza box into an ERC20 token is easy. Allowing the fractionally owned ERC20 token to be converted back into the NFT, and owned by one person, is more difficult. The above link shows a good way, though there are a few parameters we can adjust.

The ERC20 representing fractions should be deployed on L2 so people can buy fractions of boxes using cheap transactions.