Flow price: --
ab9154c7084b8b8431a83200d10010ca785387471ebb0cb1f0bdb174cd7994da

Transaction

Hash: ab9154c7084b8b8431a83200d10010ca785387471ebb0cb1f0bdb174cd7994da
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] cadence runtime error Execution failed:
error: mismatched types
  --> 60ef868de35f9728.ALYPHS:87:20
   |
87 |             return &self.ownedNFTs[id] as &NonFungibleToken.NFT
   |                     ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
  --> 60ef868de35f9728.ALYPHS:94:27
   |
94 |                 let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
   |                            ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: cannot find type in this scope: `ALYPHS`
 --> ab9154c7084b8b8431a83200d10010ca785387471ebb0cb1f0bdb174cd7994da:5:30
  |
5 |               if acct.borrow<&ALYPHS.Collection>(from: /storage/NFTCollection) != nil {
  |                               ^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
 --> ab9154c7084b8b8431a83200d10010ca785387471ebb0cb1f0bdb174cd7994da:5:17
  |
5 |               if acct.borrow<&ALYPHS.Collection>(from: /storage/NFTCollection) != nil {
  |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `ALYPHS`
 --> ab9154c7084b8b8431a83200d10010ca785387471ebb0cb1f0bdb174cd7994da:8:32
  |
8 |               let collection <- ALYPHS.createEmptyCollection()
  |                                 ^^^^^^ not found in this scope

error: cannot find type in this scope: `ALYPHS`
  --> ab9154c7084b8b8431a83200d10010ca785387471ebb0cb1f0bdb174cd7994da:11:26
   |
11 |               acct.link<&{ALYPHS.NonFungibleTokenCollectionPublic, NonFungibleToken.CollectionPublic}>(
   |                           ^^^^^^ not found in this scope

error: cannot find type in this scope: `ALYPHS`
  --> ab9154c7084b8b8431a83200d10010ca785387471ebb0cb1f0bdb174cd7994da:15:55
   |
15 |               let collectionRef = acct.getCapability<&{ALYPHS.NonFungibleTokenCollectionPublic, NonFungibleToken.CollectionPublic}>(/public/NFTCollection)
   |                                                        ^^^^^^ not found in this scope
Hash:
ab9154c7084b8b8431a83200d10010ca785387471ebb0cb1f0bdb174cd7994da
Status:
ERROR
Block height:
32228378
Block id:
15830da3ce5a3d0e2160125ef7ed1a5e97470c035ef056c865c44b07e5ff5d1a
Timestamp:
Sunday 26 June 2022 at 09:38:45 UTC
()
Proposer:
Authorizers: