Karatakos / auction-contract-poc

0 stars 0 forks source link

Royalty fee paid out on winning auction closure #10

Open Karatakos opened 3 years ago

Karatakos commented 3 years ago

This is almost exactly how i had white-boarded it so follow this as it may become the standard.

https://eips.ethereum.org/EIPS/eip-2981

Design

EIP-2981 Essentially the same as my design, except it adds the ability to callback the NFT when the royalty has been paid which in turn fires an event. We don't have a use case in the client for this yet. For example, we could listen for this event and send a notification to the charity to say the royalty was paid. We could also use this to pass back the exact amount paid out when the auction closed, etc.

Karatakos commented 3 years ago

image