Flow price: --
fc259adc5d91732cdf7d49ca30048265105da316ac375d40195589c868039532

Transaction

Hash: fc259adc5d91732cdf7d49ca30048265105da316ac375d40195589c868039532
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] cadence runtime error Execution failed:
error: mismatched types
   --> 67af7ecf76556cd3.ABD:486:20
    |
486 |             return &ABD.sets[setID] as &Set
    |                     ^^^^^^^^^^^^^^^ expected `ABD.Set`, got `ABD.Set?`

error: mismatched types
   --> 67af7ecf76556cd3.ABD:639:20
    |
639 |             return &self.ownedNFTs[id] as &NonFungibleToken.NFT
    |                     ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
   --> 67af7ecf76556cd3.ABD:654:27
    |
654 |                 let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                            ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: cannot find type in this scope: `ABD`
  --> fc259adc5d91732cdf7d49ca30048265105da316ac375d40195589c868039532:11:32
   |
11 |                 if acct.borrow<&ABD.Collection>(from: /storage/MomentCollection) == nil {
   |                                 ^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> fc259adc5d91732cdf7d49ca30048265105da316ac375d40195589c868039532:11:19
   |
11 |                 if acct.borrow<&ABD.Collection>(from: /storage/MomentCollection) == nil {
   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `ABD`
  --> fc259adc5d91732cdf7d49ca30048265105da316ac375d40195589c868039532:14:71
   |
14 |                     let collection <- ABD.createEmptyCollection() as! @ABD.Collection
   |                                                                        ^^^ not found in this scope

error: cannot find variable in this scope: `ABD`
  --> fc259adc5d91732cdf7d49ca30048265105da316ac375d40195589c868039532:14:38
   |
14 |                     let collection <- ABD.createEmptyCollection() as! @ABD.Collection
   |                                       ^^^ not found in this scope

error: cannot find type in this scope: `ABD`
  --> fc259adc5d91732cdf7d49ca30048265105da316ac375d40195589c868039532:20:32
   |
20 |                     acct.link<&{ABD.MomentCollectionPublic}>(/public/MomentCollection, target: /storage/MomentCollection)
   |                                 ^^^ not found in this scope

error: ambiguous restricted type
  --> fc259adc5d91732cdf7d49ca30048265105da316ac375d40195589c868039532:20:31
   |
20 |                     acct.link<&{ABD.MomentCollectionPublic}>(/public/MomentCollection, target: /storage/MomentCollection)
   |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot infer type parameter: `T`
  --> fc259adc5d91732cdf7d49ca30048265105da316ac375d40195589c868039532:20:20
   |
20 |                     acct.link<&{ABD.MomentCollectionPublic}>(/public/MomentCollection, target: /storage/MomentCollection)
   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
fc259adc5d91732cdf7d49ca30048265105da316ac375d40195589c868039532
Status:
ERROR
Block height:
31766039
Block id:
12c18f6615d1faab1af8b40fdc203df498fb412949fedd4d67e3836c1a21111c
Timestamp:
Thursday 16 June 2022 at 05:41:22 UTC
()
Proposer:
Authorizers: