Flow price: --
6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e

Transaction

Hash: 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] cadence runtime error Execution failed:
error: mismatched types
   --> c8c340cebd11f690.DarkCountry:267:20
    |
267 |             return &self.ownedNFTs[id] as &NonFungibleToken.NFT
    |                     ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
   --> c8c340cebd11f690.DarkCountry:277:27
    |
277 |                 let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                            ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
   --> c8c340cebd11f690.DarkCountry:267:20
    |
267 |             return &self.ownedNFTs[id] as &NonFungibleToken.NFT
    |                     ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
   --> c8c340cebd11f690.DarkCountry:277:27
    |
277 |                 let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                            ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: cannot find type in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:285:30
    |
285 |             buyerCollection: &DarkCountry.Collection{NonFungibleToken.Receiver},
    |                               ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:298:30
    |
298 |             buyerCollection: &DarkCountry.Collection{NonFungibleToken.Receiver},
    |                               ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:205:44
    |
205 |             sellerItemProvider: Capability<&DarkCountry.Collection{NonFungibleToken.Provider}>,
    |                                             ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:137:57
    |
137 |         access(self) let sellerItemProvider: Capability<&DarkCountry.Collection{NonFungibleToken.Provider}>
    |                                                          ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:149:30
    |
149 |             buyerCollection: &DarkCountry.Collection{NonFungibleToken.Receiver},
    |                               ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:350:30
    |
350 |             buyerCollection: &DarkCountry.Collection{NonFungibleToken.Receiver},
    |                               ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:447:44
    |
447 |             sellerItemProvider: Capability<&DarkCountry.Collection{NonFungibleToken.Provider}>,
    |                                             ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:254:40
    |
254 |         sellerItemProvider: Capability<&DarkCountry.Collection{NonFungibleToken.Provider}>,
    |                                         ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:254:40
    |
254 |         sellerItemProvider: Capability<&DarkCountry.Collection{NonFungibleToken.Provider}>,
    |                                         ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:285:30
    |
285 |             buyerCollection: &DarkCountry.Collection{NonFungibleToken.Receiver},
    |                               ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:298:30
    |
298 |             buyerCollection: &DarkCountry.Collection{NonFungibleToken.Receiver},
    |                               ^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:218:59
    |
218 |             let collectionBorrow = saleOwner.getCapability(DarkCountry.CollectionPublicPath)!
    |                                                            ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:149:30
    |
149 |             buyerCollection: &DarkCountry.Collection{NonFungibleToken.Receiver},
    |                               ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:350:30
    |
350 |             buyerCollection: &DarkCountry.Collection{NonFungibleToken.Receiver},
    |                               ^^^^^^^^^^^ not found in this scope

error: mismatched types
   --> c8c340cebd11f690.DarkCountryMarket:377:24
    |
377 |                 return &self.saleOffers[itemID] as &SaleOffer{SaleOfferPublicView}
    |                         ^^^^^^^^^^^^^^^^^^^^^^^ expected `DarkCountryMarket.SaleOffer{DarkCountryMarket.SaleOfferPublicView}`, got `DarkCountryMarket.SaleOffer?`

error: cannot find type in this scope: `DarkCountry`
   --> c8c340cebd11f690.DarkCountryMarket:447:44
    |
447 |             sellerItemProvider: Capability<&DarkCountry.Collection{NonFungibleToken.Provider}>,
    |                                             ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
 --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:8:30
  |
8 |             if signer.borrow<&DarkCountry.Collection>(from: DarkCountry.CollectionStoragePath) == nil {
  |                               ^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `DarkCountry`
 --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:8:60
  |
8 |             if signer.borrow<&DarkCountry.Collection>(from: DarkCountry.CollectionStoragePath) == nil {
  |                                                             ^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
 --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:8:15
  |
8 |             if signer.borrow<&DarkCountry.Collection>(from: DarkCountry.CollectionStoragePath) == nil {
  |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `DarkCountry`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:11:34
   |
11 |                 let collection <- DarkCountry.createEmptyCollection()
   |                                   ^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `DarkCountry`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:14:46
   |
14 |                 signer.save(<-collection, to: DarkCountry.CollectionStoragePath)
   |                                               ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:17:29
   |
17 |                 signer.link<&DarkCountry.Collection{NonFungibleToken.CollectionPublic, DarkCountry.DarkCountryCollectionPublic}>(DarkCountry.CollectionPublicPath, target: DarkCountry.CollectionStoragePath)
   |                              ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountry`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:17:87
   |
17 |                 signer.link<&DarkCountry.Collection{NonFungibleToken.CollectionPublic, DarkCountry.DarkCountryCollectionPublic}>(DarkCountry.CollectionPublicPath, target: DarkCountry.CollectionStoragePath)
   |                                                                                        ^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `DarkCountry`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:17:129
   |
17 |                 signer.link<&DarkCountry.Collection{NonFungibleToken.CollectionPublic, DarkCountry.DarkCountryCollectionPublic}>(DarkCountry.CollectionPublicPath, target: DarkCountry.CollectionStoragePath)
   |                                                                                                                                  ^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `DarkCountry`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:17:171
   |
17 |                 signer.link<&DarkCountry.Collection{NonFungibleToken.CollectionPublic, DarkCountry.DarkCountryCollectionPublic}>(DarkCountry.CollectionPublicPath, target: DarkCountry.CollectionStoragePath)
   |                                                                                                                                                                            ^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:17:16
   |
17 |                 signer.link<&DarkCountry.Collection{NonFungibleToken.CollectionPublic, DarkCountry.DarkCountryCollectionPublic}>(DarkCountry.CollectionPublicPath, target: DarkCountry.CollectionStoragePath)
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `DarkCountryMarket`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:21:30
   |
21 |             if signer.borrow<&DarkCountryMarket.Collection>(from: DarkCountryMarket.CollectionStoragePath) == nil {
   |                               ^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `DarkCountryMarket`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:21:66
   |
21 |             if signer.borrow<&DarkCountryMarket.Collection>(from: DarkCountryMarket.CollectionStoragePath) == nil {
   |                                                                   ^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:21:15
   |
21 |             if signer.borrow<&DarkCountryMarket.Collection>(from: DarkCountryMarket.CollectionStoragePath) == nil {
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `DarkCountryMarket`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:24:81
   |
24 |                 let collection <- DarkCountryMarket.createEmptyCollection() as! @DarkCountryMarket.Collection
   |                                                                                  ^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `DarkCountryMarket`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:24:34
   |
24 |                 let collection <- DarkCountryMarket.createEmptyCollection() as! @DarkCountryMarket.Collection
   |                                   ^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `DarkCountryMarket`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:27:46
   |
27 |                 signer.save(<-collection, to: DarkCountryMarket.CollectionStoragePath)
   |                                               ^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountryMarket`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:30:29
   |
30 |                 signer.link<&DarkCountryMarket.Collection{DarkCountryMarket.CollectionPublic}>(DarkCountryMarket.CollectionPublicPath, target: DarkCountryMarket.CollectionStoragePath)
   |                              ^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountryMarket`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:30:58
   |
30 |                 signer.link<&DarkCountryMarket.Collection{DarkCountryMarket.CollectionPublic}>(DarkCountryMarket.CollectionPublicPath, target: DarkCountryMarket.CollectionStoragePath)
   |                                                           ^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `DarkCountryMarket`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:30:95
   |
30 |                 signer.link<&DarkCountryMarket.Collection{DarkCountryMarket.CollectionPublic}>(DarkCountryMarket.CollectionPublicPath, target: DarkCountryMarket.CollectionStoragePath)
   |                                                                                                ^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `DarkCountryMarket`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:30:143
   |
30 |                 signer.link<&DarkCountryMarket.Collection{DarkCountryMarket.CollectionPublic}>(DarkCountryMarket.CollectionPublicPath, target: DarkCountryMarket.CollectionStoragePath)
   |                                                                                                                                                ^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e:30:16
   |
30 |                 signer.link<&DarkCountryMarket.Collection{DarkCountryMarket.CollectionPublic}>(DarkCountryMarket.CollectionPublicPath, target: DarkCountryMarket.CollectionStoragePath)
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
6e643731b561d36ae224a0fccfd768e95c727bdbd2f57264137b28b03c13788e
Status:
ERROR
Block height:
31969173
Block id:
a7fcaa7d53c534cc1744bc3718fdf3d4e3cfb4aec5c512a5658eb9bfe6301168
Timestamp:
Tuesday 21 June 2022 at 17:14:42 UTC
()
Proposer:
Authorizers: