我们创建了一份代理合同,该合同最初提供了 参数,因此在现有合同上造成了NFT。
但是,一切都很好,但是,一旦完成,NFT在Crossmint上显示,我们无法将NFT转移到另一个钱包中。显示以下错误:
成功的薄荷交易是: https: //rinkeby.etherscan.io/tx/0x700CD7572303770232587AD04C65BB8B8B8B8B8B8B8D56F33E00CCD6D8DF0980710380BD60BD60
代理合同是这样的合同:
任何想法?
We have created a proxy contract that mints an NFT on our existing contract, as no to
parameter was originally provided.
Everything works fine, however, once done and the NFT is shown on Crossmint we cannot transfer the NFT into another wallet. The following error is shown: 
The successful mint transaction was this one: https://rinkeby.etherscan.io/tx/0x700cd7572303770232587ad04c65bb8b8d56f33e00ccd6d8df0980710380bd60
The proxy contract is this one:
https://rinkeby.etherscan.io/address/0xC36DB9076D0F662c9945fbd005Ea260B5259521c
Any idea what is going wrong here?
发布评论
评论(1)
可能值得研究的是您的
crossmint
方法,因为我认为在此处如何布置逻辑可能存在问题。您可能会看到的一件事是您尝试转移令牌的行。您的来自参数的是
地址(this)
,实际上是指您的代理地址,而不是您的oefbcontract
地址。我会将其更改为您的原始合同地址,看看是否有所作为。Something that might be worth looking into is your
crossmint
method as I think there may be an issue with how the logic is layed out in here.One thing you might look at is the line where you attempt to transfer your token. Your from parameter is using
address(this)
which is actually referring to your proxy address and not youroefbContract
address. I would change this to your original contract address and see if this makes a difference.