Flow price: --
929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782

Transaction

Hash: 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782
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`
 --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:9:36
  |
9 |         let darkCountryCollection: &DarkCountry.Collection{NonFungibleToken.Receiver}
  |                                     ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountryMarket`
  --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:10:31
   |
10 |         let marketCollection: &DarkCountryMarket.Collection{DarkCountryMarket.CollectionPublic}
   |                                ^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountryMarket`
  --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:10:60
   |
10 |         let marketCollection: &DarkCountryMarket.Collection{DarkCountryMarket.CollectionPublic}
   |                                                             ^^^^^^^^^^^^^^^^^ not found in this scope

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

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

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

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

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

error: cannot find type in this scope: `DarkCountry`
  --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:24:29
   |
24 |                 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`
  --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:24:87
   |
24 |                 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`
  --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:24:129
   |
24 |                 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`
  --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:24:171
   |
24 |                 signer.link<&DarkCountry.Collection{NonFungibleToken.CollectionPublic, DarkCountry.DarkCountryCollectionPublic}>(DarkCountry.CollectionPublicPath, target: DarkCountry.CollectionStoragePath)
   |                                                                                                                                                                            ^^^^^^^^^^^ not found in this scope

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

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

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

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

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

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

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

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

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

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

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

error: cannot infer type parameter: `T`
  --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:37:16
   |
37 |                 signer.link<&DarkCountryMarket.Collection{DarkCountryMarket.CollectionPublic}>(DarkCountryMarket.CollectionPublicPath, target: DarkCountryMarket.CollectionStoragePath)
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `DarkCountryMarket`
  --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:41:32
   |
41 |                 .getCapability<&DarkCountryMarket.Collection{DarkCountryMarket.CollectionPublic}>(
   |                                 ^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `DarkCountryMarket`
  --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:41:61
   |
41 |                 .getCapability<&DarkCountryMarket.Collection{DarkCountryMarket.CollectionPublic}>(
   |                                                              ^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `DarkCountryMarket`
  --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:42:20
   |
42 |                     DarkCountryMarket.CollectionPublicPath
   |                     ^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:40:36
   |
40 |             self.marketCollection = getAccount(marketCollectionAddress)
   |                                     ^

error: cannot find type in this scope: `DarkCountry`
  --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:56:56
   |
56 |             self.darkCountryCollection = signer.borrow<&DarkCountry.Collection{NonFungibleToken.Receiver}>(
   |                                                         ^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `DarkCountry`
  --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:57:22
   |
57 |                 from: DarkCountry.CollectionStoragePath
   |                       ^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782:56:41
   |
56 |             self.darkCountryCollection = signer.borrow<&DarkCountry.Collection{NonFungibleToken.Receiver}>(
   |                                          ^
Hash:
929c6cc906ab6132e4d12df13d7c365c785440501db13a0567bb374ae64ff782
Status:
ERROR
Block height:
31851435
Block id:
9c8e8dcd6558ebb385eda69535a6fc6ef52be2ab99d3a3f710f22f0f0a362566
Timestamp:
Saturday 18 June 2022 at 00:20:51 UTC
()
Proposer:
Authorizers: