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` --> 83f8350af7208914685c052329561e46d2209675fe2970b4f081bbc0323ba373:7:42 | 7 | transaction(metadata: String, royalties: [RaribleNFT.Royalty]) { | ^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `RaribleNFT` --> 83f8350af7208914685c052329561e46d2209675fe2970b4f081bbc0323ba373:8:28 | 8 | let minter: Capability<&RaribleNFT.Minter> | ^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `RaribleNFT` --> 83f8350af7208914685c052329561e46d2209675fe2970b4f081bbc0323ba373: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` --> 83f8350af7208914685c052329561e46d2209675fe2970b4f081bbc0323ba373:12:53 | 12 | if acct.borrow<&RaribleNFT.Collection>(from: RaribleNFT.collectionStoragePath) == nil { | ^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> 83f8350af7208914685c052329561e46d2209675fe2970b4f081bbc0323ba373:12:11 | 12 | if acct.borrow<&RaribleNFT.Collection>(from: RaribleNFT.collectionStoragePath) == nil { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find type in this scope: `RaribleNFT` --> 83f8350af7208914685c052329561e46d2209675fe2970b4f081bbc0323ba373:13:70 | 13 | let collection <- RaribleNFT.createEmptyCollection() as! @RaribleNFT.Collection | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `RaribleNFT` --> 83f8350af7208914685c052329561e46d2209675fe2970b4f081bbc0323ba373:13:30 | 13 | let collection <- RaribleNFT.createEmptyCollection() as! @RaribleNFT.Collection | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `RaribleNFT` --> 83f8350af7208914685c052329561e46d2209675fe2970b4f081bbc0323ba373:14:41 | 14 | acct.save(<- collection, to: RaribleNFT.collectionStoragePath) | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `RaribleNFT` --> 83f8350af7208914685c052329561e46d2209675fe2970b4f081bbc0323ba373: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` --> 83f8350af7208914685c052329561e46d2209675fe2970b4f081bbc0323ba373: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` --> 83f8350af7208914685c052329561e46d2209675fe2970b4f081bbc0323ba373:18:22 | 18 | self.minter = RaribleNFT.minter() | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `RaribleNFT` --> 83f8350af7208914685c052329561e46d2209675fe2970b4f081bbc0323ba373:19:73 | 19 | self.receiver = acct.getCapability<&{NonFungibleToken.Receiver}>(RaribleNFT.collectionPublicPath) | ^^^^^^^^^^ not found in this sco
Arguments:
metadata:
ipfs://ipfs/QmeGz3MBJV2UrxfWkXVqjURsc5psfusx3nK4AePeuUS5Q2
royalties:
[{"address":"0xabdb2e775ce64035","fee":0.05}]