Flow price: --
afd253124edaaffeef59afe755efb00c523452fad7ec9fa76bbce1a893a4e9aa

Transaction

Hash: afd253124edaaffeef59afe755efb00c523452fad7ec9fa76bbce1a893a4e9aa
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`
 --> afd253124edaaffeef59afe755efb00c523452fad7ec9fa76bbce1a893a4e9aa:5:30
  |
5 |               if acct.borrow<&ALYPHS.Collection>(from: /storage/NFTCollection) != nil {
  |                               ^^^^^^ not found in this scope

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

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

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

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