Flow price: --
135777519e96841dae825fded2b9ca9c4ac3924537e38c070c270d0787f2cec7

Transaction

Hash: 135777519e96841dae825fded2b9ca9c4ac3924537e38c070c270d0787f2cec7
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] cadence runtime error Execution failed:
error: mismatched types
  --> 135777519e96841dae825fded2b9ca9c4ac3924537e38c070c270d0787f2cec7:32:11
   |
32 |     return [nftCollectionProviderPrivatePath, RaceDay_NFT.CollectionStoragePath]
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&AnyResource{NonFungibleToken.Receiver}`, got `[Path]`

error: mismatched types
  --> 135777519e96841dae825fded2b9ca9c4ac3924537e38c070c270d0787f2cec7:38:11
   |
38 |     return [nftCollectionProviderPrivatePath, ARTIFACT.collectionStoragePath]
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&AnyResource{NonFungibleToken.Receiver}`, got `[Path]`

error: cannot infer type from array literal:  requires an explicit type annotation
  --> 135777519e96841dae825fded2b9ca9c4ac3924537e38c070c270d0787f2cec7:62:41
   |
62 |         var nftCollectionProvidersPath = []
   |                                          ^

error: missing initialization of field `ftType` in type `Transaction`
  --> 135777519e96841dae825fded2b9ca9c4ac3924537e38c070c270d0787f2cec7:44:8
   |
44 |     var ftType: Type?
   |         ^^^^^^ not initialized

error: missing initialization of field `receiverPath` in type `Transaction`
  --> 135777519e96841dae825fded2b9ca9c4ac3924537e38c070c270d0787f2cec7:45:8
   |
45 |     var receiverPath: PublicPath?
   |         ^^^^^^^^^^^^ not initialized

error: cannot find variable in this scope: `listingID`
  --> 135777519e96841dae825fded2b9ca9c4ac3924537e38c070c270d0787f2cec7:88:31
   |
88 |         if listingIDs.contains(listingID) {
   |                                ^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `listingID`
  --> 135777519e96841dae825fded2b9ca9c4ac3924537e38c070c270d0787f2cec7:89:61
   |
89 |             self.storefront.removeListing(listingResourceID: listingID)
   |                                                              ^^^^^^^^^ not found in this scope
Hash:
135777519e96841dae825fded2b9ca9c4ac3924537e38c070c270d0787f2cec7
Status:
ERROR
Block height:
36723984
Block id:
172a37ea1791abe71919df18d034292b7791b2a44b803a52338a470570c6e60b
Timestamp:
Wednesday 7 September 2022 at 13:06:35 UTC
()
Proposer:
Authorizers:
Gas used:
24