CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] cadence runtime error Execution failed: error: mismatched types --> 01ab36aaf654a13e.RaribleNFT:84:20 | 84 | return &self.ownedNFTs[id] as &NonFungibleToken.NFT | ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?` error: mismatched types --> 01ab36aaf654a13e.RaribleNFT:88:23 | 88 | let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT | ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?` error: mismatched types --> 01ab36aaf654a13e.RaribleNFT:93:23 | 93 | let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT | ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?` error: cannot find type in this scope: `RaribleNFT` --> 8d0fdaacb203acec8f7212932d3c5a9465d611685c36c21385e2e57aa344a328:7:42 | 7 | transaction(metadata: String, royalties: [RaribleNFT.Royalty]) { | ^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `RaribleNFT` --> 8d0fdaacb203acec8f7212932d3c5a9465d611685c36c21385e2e57aa344a328:8:28 | 8 | let minter: Capability<&RaribleNFT.Minter> | ^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `RaribleNFT` --> 8d0fdaacb203acec8f7212932d3c5a9465d611685c36c21385e2e57aa344a328:12:24 | 12 | if acct.borrow<&RaribleNFT.Collection>(from: RaribleNFT.collectionStoragePath) == nil { | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `RaribleNFT` --> 8d0fdaacb203acec8f7212932d3c5a9465d611685c36c21385e2e57aa344a328:12:53 | 12 | if acct.borrow<&RaribleNFT.Collection>(from: RaribleNFT.collectionStoragePath) == nil { | ^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> 8d0fdaacb203acec8f7212932d3c5a9465d611685c36c21385e2e57aa344a328:12:11 | 12 | if acct.borrow<&RaribleNFT.Collection>(from: RaribleNFT.collectionStoragePath) == nil { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find type in this scope: `RaribleNFT` --> 8d0fdaacb203acec8f7212932d3c5a9465d611685c36c21385e2e57aa344a328:13:70 | 13 | let collection <- RaribleNFT.createEmptyCollection() as! @RaribleNFT.Collection | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `RaribleNFT` --> 8d0fdaacb203acec8f7212932d3c5a9465d611685c36c21385e2e57aa344a328:13:30 | 13 | let collection <- RaribleNFT.createEmptyCollection() as! @RaribleNFT.Collection | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `RaribleNFT` --> 8d0fdaacb203acec8f7212932d3c5a9465d611685c36c21385e2e57aa344a328:14:41 | 14 | acct.save(<- collection, to: RaribleNFT.collectionStoragePath) | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `RaribleNFT` --> 8d0fdaacb203acec8f7212932d3c5a9465d611685c36c21385e2e57aa344a328:15:86 | 15 | acct.link<&{NonFungibleToken.CollectionPublic,NonFungibleToken.Receiver}>(RaribleNFT.collectionPublicPath, target: RaribleNFT.collectionStoragePath) | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `RaribleNFT` --> 8d0fdaacb203acec8f7212932d3c5a9465d611685c36c21385e2e57aa344a328:15:127 | 15 | acct.link<&{NonFungibleToken.CollectionPublic,NonFungibleToken.Receiver}>(RaribleNFT.collectionPublicPath, target: RaribleNFT.collectionStoragePath) | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `RaribleNFT` --> 8d0fdaacb203acec8f7212932d3c5a9465d611685c36c21385e2e57aa344a328:18:22 | 18 | self.minter = RaribleNFT.minter() | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `RaribleNFT` --> 8d0fdaacb203acec8f7212932d3c5a9465d611685c36c21385e2e57aa344a328:19:73 | 19 | self.receiver = acct.getCapability<&{NonFungibleToken.Receiver}>(RaribleNFT.collectionPublicPath) | ^^^^^^^^^^ not found in this sco
Arguments:
metadata:
ipfs://ipfs/QmYdnsnKFDdAqbuAZV7y511iBxLdjnrf7zvgWMz6w1fMn9
royalties:
[{"address":"0xb5ffc9ebd66a8938","fee":0.12}]