Flow price: --
951e9ee1f296c48faab52f93d795182455ad8cf260a34f18be64f2a73b3e680f

Transaction

Hash: 951e9ee1f296c48faab52f93d795182455ad8cf260a34f18be64f2a73b3e680f
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1054] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: [Error Code: 1054] location (undefined) is not a valid location: expecting an AddressLocation, but other location types are passed
--> undefined

error: cannot find variable in this scope: `aiSportsMinter`
  --> 951e9ee1f296c48faab52f93d795182455ad8cf260a34f18be64f2a73b3e680f:12:29
   |
12 |         let collectionData = aiSportsMinter.resolveContractView(resourceType: nil, viewType: Type<MetadataViews.NFTCollectionData>()) as! MetadataViews.NFTCollectionData?
   |                              ^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `aiSportsMinter`
  --> 951e9ee1f296c48faab52f93d795182455ad8cf260a34f18be64f2a73b3e680f:16:34
   |
16 |         if signer.storage.borrow<&aiSportsMinter.Collection>(from: collectionData.storagePath) != nil {
   |                                   ^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 951e9ee1f296c48faab52f93d795182455ad8cf260a34f18be64f2a73b3e680f:16:11
   |
16 |         if signer.storage.borrow<&aiSportsMinter.Collection>(from: collectionData.storagePath) != nil {
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `aiSportsMinter`
  --> 951e9ee1f296c48faab52f93d795182455ad8cf260a34f18be64f2a73b3e680f:21:26
   |
21 |         let collection <- aiSportsMinter.createEmptyCollection(nftType: Type<@aiSportsMinter.NFT>())
   |                           ^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `aiSportsMinter`
  --> 951e9ee1f296c48faab52f93d795182455ad8cf260a34f18be64f2a73b3e680f:21:78
   |
21 |         let collection <- aiSportsMinter.createEmptyCollection(nftType: Type<@aiSportsMinter.NFT>())
   |                                                                               ^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 951e9ee1f296c48faab52f93d795182455ad8cf260a34f18be64f2a73b3e680f:21:72
   |
21 |         let collection <- aiSportsMinter.createEmptyCollection(nftType: Type<@aiSportsMinter.NFT>())
   |                                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `aiSportsMinter`
  --> 951e9ee1f296c48faab52f93d795182455ad8cf260a34f18be64f2a73b3e680f:28:63
   |
28 |         let collectionCap = signer.capabilities.storage.issue<&aiSportsMinter.Collection>(collectionData.storagePath)
   |                                                                ^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 951e9ee1f296c48faab52f93d795182455ad8cf260a34f18be64f2a73b3e680f:28:28
   |
28 |         let collectionCap = signer.capabilities.storage.issue<&aiSportsMinter.Collection>(collectionData.storagePath)
   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Hash:
951e9ee1f296c48faab52f93d795182455ad8cf260a34f18be64f2a73b3e680f
Status:
ERROR
Block height:
26527495
Block id:
1fc58f34eb413ac57853c233c4028fcc058b2e53b37cdba143e57fb4c85b7ecc
Timestamp:
Thursday 8 August 2024 at 23:15:17 UTC
()
Proposer:
Authorizers:
Gas used:
0