How to check if an NTF is sold from another contract not managed by me?

Viewed 20

Scenario

My Smart contract (SM-A) can be used only if you own a specific NFT created and managed by another contract (SM-B). If so, it stores additional information inside a mapping property :

  • msg.sender address
  • account name

and other properties to cover the SM-A business requirements.

Constraints

  • I'm the owner of SM-A.
  • I'm NOT the owner of SM-B and I don't have chance to change anything about it.

Questions

  • Is there a way for having information if and when the msg.sender sells his NFT from SM-B in order to remove his data from my mapping property stored in SM-A?
  • If so, how it works the cost of the delete transaction operation?
  • Will my contract pay for it?
0 Answers
Related