Flow price: --
35579959f35c57c91473c739ff619d8df62b7e0083f4b35d2ec9f1c81dfa6d4a

Transaction

Hash: 35579959f35c57c91473c739ff619d8df62b7e0083f4b35d2ec9f1c81dfa6d4a
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 76b16134ac31e14c.aiSportsMinter: failed to derive value: load program failed: Checking failed:
error: cannot find type in this scope: `NonFungibleToken.Owner`
   --> 76b16134ac31e14c.aiSportsMinter:193:39

error: resource `aiSportsMinter.Collection` does not conform to resource interface `NonFungibleToken.Collection`
   --> 76b16134ac31e14c.aiSportsMinter:168:25

--> 76b16134ac31e14c.aiSportsMinter

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

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

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

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

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

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

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


Hash:
35579959f35c57c91473c739ff619d8df62b7e0083f4b35d2ec9f1c81dfa6d4a
Status:
ERROR
Block height:
26534277
Block id:
b33eb0bc00803c611bc0af6a0e2bd29c30cadd7b358ba3de279172f2e55f4ed7
Timestamp:
Friday 9 August 2024 at 00:15:13 UTC
()
Proposer:
Authorizers:
Gas used:
0