CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] cadence runtime error Execution failed: error: mismatched types --> a8d1a60acba12a20.TMNFT:91:20 | 91 | return &self.ownedNFTs[id] as &NonFungibleToken.NFT | ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?` error: mismatched types --> a8d1a60acba12a20.TMNFT:108:27 | 108 | let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT | ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?` error: cannot find type in this scope: `TMNFT` --> b206cd2a29f137e5248b8a15fda85c09e6a1f75bc1f162bb508576fe673474b7:9:57 | 9 | let collectionRef = acct.borrow<&TMNFT.Collection>(from: TMNFT.CollectionStoragePath) | ^^^^^ not found in this scope error: cannot find variable in this scope: `TMNFT` --> b206cd2a29f137e5248b8a15fda85c09e6a1f75bc1f162bb508576fe673474b7:9:81 | 9 | let collectionRef = acct.borrow<&TMNFT.Collection>(from: TMNFT.CollectionStoragePath) | ^^^^^ not found in this scope error: cannot infer type parameter: `T` --> b206cd2a29f137e5248b8a15fda85c09e6a1f75bc1f162bb508576fe673474b7:9:44 | 9 | let collectionRef = acct.borrow<&TMNFT.Collection>(from: TMNFT.CollectionStoragePath) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find variable in this scope: `TMNFT` --> b206cd2a29f137e5248b8a15fda85c09e6a1f75bc1f162bb508576fe673474b7:17:104 | 17 | let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath) | ^^^^^ not found in this scopeArguments:
reciever:
0x000d8b0c300c0dc2
tokenID:
5373188770955265
Loading...