Flow price: --
f8c965e6aef1445b22cf360633970a4c44b883b3528a7e6d4f775b8975e82963

Transaction

Hash: f8c965e6aef1445b22cf360633970a4c44b883b3528a7e6d4f775b8975e82963
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot deploy invalid contract
 --> f8c965e6aef1445b22cf360633970a4c44b883b3528a7e6d4f775b8975e82963:4:3
  |
4 | 			signer.contracts.add(name: name, code: code.utf8 )
  | 			^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:249:43
    |
249 |     access(all) fun updateStatus(userNft: &aiSportsMinter.NFT, status: String) {
    |                                            ^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:335:8
    |
335 |     ): @aiSportsMinter.NFT {
    |         ^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:382:65
    |
382 |     let collectionCap = self.account.capabilities.storage.issue<&aiSportsMinter.Collection>(self.CollectionStoragePath)
    |                                                                  ^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
   --> cd4eab2ffc5cfde4.aiSportsSminter:382:24
    |
382 |     let collectionCap = self.account.capabilities.storage.issue<&aiSportsMinter.Collection>(self.CollectionStoragePath)
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:278:42
    |
278 |                   publicCollection: Type<&aiSportsMinter.Collection>(),
    |                                           ^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
   --> cd4eab2ffc5cfde4.aiSportsSminter:278:36
    |
278 |                   publicCollection: Type<&aiSportsMinter.Collection>(),
    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:279:42
    |
279 |                   publicLinkedType: Type<&aiSportsMinter.Collection>(),
    |                                           ^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
   --> cd4eab2ffc5cfde4.aiSportsSminter:279:36
    |
279 |                   publicLinkedType: Type<&aiSportsMinter.Collection>(),
    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:281:31
    |
281 |                       return <-aiSportsMinter.createEmptyCollection(nftType: Type<@aiSportsMinter.NFT>())
    |                                ^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:281:83
    |
281 |                       return <-aiSportsMinter.createEmptyCollection(nftType: Type<@aiSportsMinter.NFT>())
    |                                                                                    ^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
   --> cd4eab2ffc5cfde4.aiSportsSminter:281:77
    |
281 |                       return <-aiSportsMinter.createEmptyCollection(nftType: Type<@aiSportsMinter.NFT>())
    |                                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `aiSportsMinter`
  --> cd4eab2ffc5cfde4.aiSportsSminter:69:17
   |
69 |         return <-aiSportsMinter.createEmptyCollection(nftType: Type<@aiSportsMinter.NFT>())
   |                  ^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `aiSportsMinter`
  --> cd4eab2ffc5cfde4.aiSportsSminter:69:69
   |
69 |         return <-aiSportsMinter.createEmptyCollection(nftType: Type<@aiSportsMinter.NFT>())
   |                                                                      ^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> cd4eab2ffc5cfde4.aiSportsSminter:69:63
   |
69 |         return <-aiSportsMinter.createEmptyCollection(nftType: Type<@aiSportsMinter.NFT>())
   |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:123:23
    |
123 |                 return aiSportsMinter.resolveContractView(resourceType: Type<@aiSportsMinter.NFT>(), viewType: Type<MetadataViews.NFTCollectionData>())
    |                        ^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:123:78
    |
123 |                 return aiSportsMinter.resolveContractView(resourceType: Type<@aiSportsMinter.NFT>(), viewType: Type<MetadataViews.NFTCollectionData>())
    |                                                                               ^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
   --> cd4eab2ffc5cfde4.aiSportsSminter:123:72
    |
123 |                 return aiSportsMinter.resolveContractView(resourceType: Type<@aiSportsMinter.NFT>(), viewType: Type<MetadataViews.NFTCollectionData>())
    |                                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:125:23
    |
125 |                 return aiSportsMinter.resolveContractView(resourceType: Type<@aiSportsMinter.NFT>(), viewType: Type<MetadataViews.NFTCollectionDisplay>())
    |                        ^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:125:78
    |
125 |                 return aiSportsMinter.resolveContractView(resourceType: Type<@aiSportsMinter.NFT>(), viewType: Type<MetadataViews.NFTCollectionDisplay>())
    |                                                                               ^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
   --> cd4eab2ffc5cfde4.aiSportsSminter:125:72
    |
125 |                 return aiSportsMinter.resolveContractView(resourceType: Type<@aiSportsMinter.NFT>(), viewType: Type<MetadataViews.NFTCollectionDisplay>())
    |                                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:182:29
    |
182 |         supportedTypes[Type<@aiSportsMinter.NFT>()] = true
    |                              ^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
   --> cd4eab2ffc5cfde4.aiSportsSminter:182:23
    |
182 |         supportedTypes[Type<@aiSportsMinter.NFT>()] = true
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:189:29
    |
189 |         return type == Type<@aiSportsMinter.NFT>()
    |                              ^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
   --> cd4eab2ffc5cfde4.aiSportsSminter:189:23
    |
189 |         return type == Type<@aiSportsMinter.NFT>()
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:203:32
    |
203 |         let token <- token as! @aiSportsMinter.NFT
    |                                 ^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:237:17
    |
237 |         return <-aiSportsMinter.createEmptyCollection(nftType: Type<@aiSportsMinter.NFT>())
    |                  ^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:237:69
    |
237 |         return <-aiSportsMinter.createEmptyCollection(nftType: Type<@aiSportsMinter.NFT>())
    |                                                                      ^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
   --> cd4eab2ffc5cfde4.aiSportsSminter:237:63
    |
237 |         return <-aiSportsMinter.createEmptyCollection(nftType: Type<@aiSportsMinter.NFT>())
    |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:353:12
    |
353 |         id: aiSportsMinter.totalSupply,
    |             ^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:362:6
    |
362 |       aiSportsMinter.totalSupply = aiSportsMinter.totalSupply + UInt64(1)
    |       ^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `aiSportsMinter`
   --> cd4eab2ffc5cfde4.aiSportsSminter:362:35
    |
362 |       aiSportsMinter.totalSupply = aiSportsMinter.totalSupply + UInt64(1)
    |                                    ^^^^^^^^^^^^^^ not found in this scope


Hash:
f8c965e6aef1445b22cf360633970a4c44b883b3528a7e6d4f775b8975e82963
Status:
ERROR
Block height:
8115154
Block id:
7a52288fdae044826bbcef83d1c965469b59636ac18923e5ccb1e342c65476ef
Timestamp:
Tuesday 23 April 2024 at 21:47:55 UTC
()
Proposer:
Authorizers:
Gas used:
0