ditto-lab / ditto

NFT Future protocol
MIT License
60 stars 3 forks source link

Add a function returning the amount underlying NFT seller gets on sale #66

Open 0xbok opened 1 year ago

calvbore commented 1 year ago

So a function that returns the clone's worth at the head of the queue, and the subsidy summed together?

0xbok commented 1 year ago

since we consider floor clone as well, it won't be as simple. We can extract out some code from onTokenReceived in a view function. Will help contracts to make decisions on when to sell via ditto.