ditto icon indicating copy to clipboard operation
ditto copied to clipboard

What if the receiver reverts on NFT trade?

Open 0xbok opened this issue 3 years ago • 5 comments

  • Do we revert?: Hurts NFT seller.
  • Do we transfer funds to the seller and keep the NFT in Ditto?

0xbok avatar Oct 14 '22 06:10 0xbok

Potential solution: Create another contract to which ditto sends the nft in this case (along with the record of the clone owner at the time of nft trade). this will start a time period in which the clone owner can claim this nft after which it can be traded via ditto again.

Following question: Where do the funds go?

0xbok avatar Oct 14 '22 08:10 0xbok

some additional notes from our discussion.

  • If the clone owner reverts on the underlying NFT's transfer, the clone should be burned in all cases. Remaining questions is what to do with the NFT and funds from the clone.
  • Options for funds are to refund clone owner or to send funds directly to NFT seller.
  • If funds are refunded the NFT seller should keep the NFT.
  • If funds are sent directly to the NFT seller (personally, I think this is the best option) we then have to decide what ditto will do with the transferred NFT.

I like your idea of putting it in a smart contract for some claimable period. And in this case the funds should be sent to the NFT seller IMO.

calvbore avatar Oct 14 '22 18:10 calvbore

And in this case the funds should be sent to the NFT seller IMO.

The funds I am talking about is when "after which it can be traded via ditto again.". Now since our separate contract is the nft owner, and the clone owner didn't claim it. If we decide to trade it via ditto, who gets the new funds?

0xbok avatar Oct 14 '22 18:10 0xbok

oh the new funds can go into the subsidy

0xbok avatar Oct 14 '22 18:10 0xbok

NFT contract auctions after revert on sale transfer to clone owner reverted transfer to temp smart contract time for claim time delayed until sold back to ditto nft sold to next clone owner through ditto -- options for funds gained throuogh temp smart contract: --- 1. send funds directly to next subsidy ---- incentivizes next sale ---- can be gamed by next clone owner by immediately selling the nft to ditto to regain their funds transferred to the subsidy --- 2. hold funds in temp smart contract for the original nft owner to claim --- 3. hold funds in temp smart contract for original clone owner to claim --- 4. hybrid otions 2 and 3, hold funds in temp smart contract and split between original nft owner and clone owner

calvbore avatar Oct 24 '22 23:10 calvbore

can be gamed by next clone owner by immediately selling the nft to ditto to regain their funds transferred to the subsidy

I would have been fine with since the main goal of ditto is to incentivize trading through ditto, but it can mess with the oracle i think.

hold funds in temp smart contract for original clone owner to claim hybrid otions 2 and 3, hold funds in temp smart contract and split between original nft owner and clone owner

Funds should not go to original clone owner at all imo, as they can be considered a bad actor and should not be futher incentivized.

0xbok avatar Oct 25 '22 08:10 0xbok