lagrangedao / smart-contract

Lagrange DAO Computing Contracts
MIT License
4 stars 3 forks source link

Scanner for transfers #14

Open TokyoSwan opened 1 year ago

TokyoSwan commented 1 year ago

Develop a scanner that identifies whether the data NFT is still being owned by the same user, so it will display the settings page only to the owner.

Rishabh42 commented 1 year ago

@rykci 's comment: I think the scanner should scan for any Transfer events from the NFT contract. When a transfer occurs on chain, we need to change the dataset owner in our db

I own data1 (according to lagrange db) I mint data1 as dataNFT I send the nft to you, but I still own data1 (according to lagrange db)

so we need the scanner to change ownership of data1 to you (in lagrange db) when it scans the Transfer event