Flow price: --
db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d

Transaction

Hash: db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d
error
Error

Whoops! 😨 Something unexpected happened...

[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`
 --> db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d:7:42
  |
7 | transaction(metadata: String, royalties: [RaribleNFT.Royalty]) {
  |                                           ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `RaribleNFT`
 --> db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d:8:28
  |
8 |     let minter: Capability<&RaribleNFT.Minter>
  |                             ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `RaribleNFT`
  --> db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d: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`
  --> db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d:12:53
   |
12 |         if acct.borrow<&RaribleNFT.Collection>(from: RaribleNFT.collectionStoragePath) == nil {
   |                                                      ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d:12:11
   |
12 |         if acct.borrow<&RaribleNFT.Collection>(from: RaribleNFT.collectionStoragePath) == nil {
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `RaribleNFT`
  --> db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d:13:70
   |
13 |             let collection <- RaribleNFT.createEmptyCollection() as! @RaribleNFT.Collection
   |                                                                       ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `RaribleNFT`
  --> db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d:13:30
   |
13 |             let collection <- RaribleNFT.createEmptyCollection() as! @RaribleNFT.Collection
   |                               ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `RaribleNFT`
  --> db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d:14:41
   |
14 |             acct.save(<- collection, to: RaribleNFT.collectionStoragePath)
   |                                          ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `RaribleNFT`
  --> db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d: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`
  --> db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d: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`
  --> db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d:18:22
   |
18 |         self.minter = RaribleNFT.minter()
   |                       ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `RaribleNFT`
  --> db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d:19:73
   |
19 |         self.receiver = acct.getCapability<&{NonFungibleToken.Receiver}>(RaribleNFT.collectionPublicPath)
   |                                                                          ^^^^^^^^^^ not found in this scope
Hash:
db997c4620c5bfe6557d29dd4a95dac7ee5c0b45ffd71a8accec95395052d36d
Status:
ERROR
Block height:
31761220
Block id:
855e54067c37efd22fced4001771e9adde561dd0d81b0eff99d0a16b9846dffb
Timestamp:
Thursday 16 June 2022 at 03:49:34 UTC
()
Proposer:
Authorizers: