Closed sk33z3r closed 2 years ago
Same issue. Commenting for visibility on answers to OPs questions.
We had a generous user in Discord volunteer to test my second question, and this is exactly how it works. If you mint something, then transfer to someone else, that other person can pay the gas fees to deploy your entire smart contract.
The update for the Explorer UI was this fallback function, in case a metadata json is not found: https://github.com/Loopring/loopring-explorer/commit/9bbf2e6b1ad0c7ac334c1ed98915dfa15f59bb64#diff-8eb9fcb6584b0eceaacb3bf0e762bebe634f0fe12607d521fad3e9feaeeb4954R21
It's not a full solution, but it allows for old and new NFTs to be displayed in the explorer. I'm leaving this issue open for the time being as we still have some odd behavior in the mobile and web wallet views for the NFTs, the body of this bug is still relevant.
I believe this is all very clear now. We've confirmed many times over now the differences between the Counterfactual NFTs and deployed NFTs. Other display issues are mostly sorted out now, so this is no longer muddying the waters.
Closing.
Background: Members on Discord have been curious about the Deploy Contract button that appears for NFTs after being minted. We received the following information from @odesium on Discord:
The issue is that we see some odd behavior with the NFTs if they are not deployed. Some issues include:
--
for a name if one has not been deployed.Some NFTs that have been created are left undeployed, but some time later it appears that they have been deployed and the user is presented with the Withdraw button. The user did not initiate any actions, and no deployment txs appear in their history.Questions
What exactly is being deployed? Members on Discord have reported that deploying once is all that was needed, now all their NFTs (old and future) are already deployed. What would happen if I minted an NFT, sent it to someone else, and then they clicked the deploy contract button? Would that deploy the contract only for their specific NFT, or would it deploy my entire contract making the other person pay for the fees?Screenshots:
How NFTs appear in my web app. Missing images are not deployed, viewable images are.
How NFTs appear in my mobile wallet.
Unknow NFT
are not deployed, others are.Unknow NFT
s are not viewable in any circumstance, but the named NFTs are viewable if you tap on them.