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` --> 9d7dc18c4f48e767d15f5c2bee3af5bb0ad10da00d62e3273999f85d4ae5e02b:6:36 | 6 | let minterRef: &TMNFT.NFTMinter | ^^^^^ not found in this scope error: cannot find variable in this scope: `TMNFT` --> 9d7dc18c4f48e767d15f5c2bee3af5bb0ad10da00d62e3273999f85d4ae5e02b:9:100 | 9 | self.receiverRef = acct.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath) | ^^^^^ not found in this scope error: cannot find type in this scope: `TMNFT` --> 9d7dc18c4f48e767d15f5c2bee3af5bb0ad10da00d62e3273999f85d4ae5e02b:13:54 | 13 | self.minterRef = acct.borrow<&TMNFT.NFTMinter>(from: TMNFT.MinterStoragePath) | ^^^^^ not found in this scope error: cannot find variable in this scope: `TMNFT` --> 9d7dc18c4f48e767d15f5c2bee3af5bb0ad10da00d62e3273999f85d4ae5e02b:13:77 | 13 | self.minterRef = acct.borrow<&TMNFT.NFTMinter>(from: TMNFT.MinterStoragePath) | ^^^^^ not found in this scope error: cannot infer type parameter: `T` --> 9d7dc18c4f48e767d15f5c2bee3af5bb0ad10da00d62e3273999f85d4ae5e02b:13:41 | 13 | self.minterRef = acct.borrow<&TMNFT.NFTMinter>(from: TMNFT.MinterStoragePath) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Arguments:
link:
https://api.nft.kred/nft/data/5766543350759425
batch:
1342628
sequence:
1
limit:
1