Flow price: --
036a57b12f636d25f104a9a3f215bf5f3a4b2a45bda79d99f2b14f409c4d40bf

Transaction

Hash: 036a57b12f636d25f104a9a3f215bf5f3a4b2a45bda79d99f2b14f409c4d40bf
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: error getting program cd4eab2ffc5cfde4.aiSportsMinter: failed to derive value: load program failed: Checking failed:
error: cannot find type in this scope: `NonFungibleToken.Owner`
   --> cd4eab2ffc5cfde4.aiSportsMinter:191:39

error: resource `aiSportsMinter.Collection` does not conform to resource interface `NonFungibleToken.Collection`
   --> cd4eab2ffc5cfde4.aiSportsMinter:157:23

error: resource `aiSportsMinter.Collection` does not conform to resource interface `NonFungibleToken.Collection`
   --> cd4eab2ffc5cfde4.aiSportsMinter:157:23

--> cd4eab2ffc5cfde4.aiSportsMinter

error: cannot find variable in this scope: `aiSportsMinter`
  --> 036a57b12f636d25f104a9a3f215bf5f3a4b2a45bda79d99f2b14f409c4d40bf: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`
  --> 036a57b12f636d25f104a9a3f215bf5f3a4b2a45bda79d99f2b14f409c4d40bf:16:34
   |
16 |         if signer.storage.borrow<&aiSportsMinter.Collection>(from: collectionData.storagePath) != nil {
   |                                   ^^^^^^^^^^^^^^ not found in this scope

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

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

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

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

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

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


Hash:
036a57b12f636d25f104a9a3f215bf5f3a4b2a45bda79d99f2b14f409c4d40bf
Status:
ERROR
Block height:
26477751
Block id:
987cbae653380c8e6cf61ff2d38a4b60a0391fb8584bc42fde542ef9ad94c7eb
Timestamp:
Thursday 8 August 2024 at 15:55:21 UTC
()
Proposer:
Authorizers:
Gas used:
0