Flow price: --
71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9

Transaction

Hash: 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9
error
Error

Whoops! 😨 Something unexpected happened...

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

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

error: cannot find type in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:16:17
   |
16 |     let minter: &ItemsWithOrg.NFTMinter
   |                  ^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `ItemsWithOrg`
 --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:9:20
  |
9 |     .getCapability<&ItemsWithOrg.Collection{NonFungibleToken.CollectionPublic, ItemsWithOrg.ItemsWithOrgCollectionPublic}>(ItemsWithOrg.CollectionPublicPath)
  |                     ^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `ItemsWithOrg`
 --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:9:79
  |
9 |     .getCapability<&ItemsWithOrg.Collection{NonFungibleToken.CollectionPublic, ItemsWithOrg.ItemsWithOrgCollectionPublic}>(ItemsWithOrg.CollectionPublicPath)
  |                                                                                ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `ItemsWithOrg`
 --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:9:123
  |
9 |     .getCapability<&ItemsWithOrg.Collection{NonFungibleToken.CollectionPublic, ItemsWithOrg.ItemsWithOrgCollectionPublic}>(ItemsWithOrg.CollectionPublicPath)
  |                                                                                                                            ^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
 --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:8:9
  |
8 |   return getAccount(address)
  |          ^

error: cannot find type in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:22:30
   |
22 |             if signer.borrow<&ItemsWithOrg.Collection>(from: ItemsWithOrg.CollectionStoragePath) == nil {
   |                               ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:22:61
   |
22 |             if signer.borrow<&ItemsWithOrg.Collection>(from: ItemsWithOrg.CollectionStoragePath) == nil {
   |                                                              ^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:22:15
   |
22 |             if signer.borrow<&ItemsWithOrg.Collection>(from: ItemsWithOrg.CollectionStoragePath) == nil {
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:23:30
   |
23 |                 signer.save(<-ItemsWithOrg.createEmptyCollection(), to: ItemsWithOrg.CollectionStoragePath)
   |                               ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:23:72
   |
23 |                 signer.save(<-ItemsWithOrg.createEmptyCollection(), to: ItemsWithOrg.CollectionStoragePath)
   |                                                                         ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:25:26
   |
25 |             signer.unlink(ItemsWithOrg.CollectionPublicPath)
   |                           ^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:26:25
   |
26 |             signer.link<&ItemsWithOrg.Collection{NonFungibleToken.CollectionPublic, ItemsWithOrg.ItemsWithOrgCollectionPublic}>(ItemsWithOrg.CollectionPublicPath, target: ItemsWithOrg.CollectionStoragePath)
   |                          ^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:26:84
   |
26 |             signer.link<&ItemsWithOrg.Collection{NonFungibleToken.CollectionPublic, ItemsWithOrg.ItemsWithOrgCollectionPublic}>(ItemsWithOrg.CollectionPublicPath, target: ItemsWithOrg.CollectionStoragePath)
   |                                                                                     ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:26:128
   |
26 |             signer.link<&ItemsWithOrg.Collection{NonFungibleToken.CollectionPublic, ItemsWithOrg.ItemsWithOrgCollectionPublic}>(ItemsWithOrg.CollectionPublicPath, target: ItemsWithOrg.CollectionStoragePath)
   |                                                                                                                                 ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:26:171
   |
26 |             signer.link<&ItemsWithOrg.Collection{NonFungibleToken.CollectionPublic, ItemsWithOrg.ItemsWithOrgCollectionPublic}>(ItemsWithOrg.CollectionPublicPath, target: ItemsWithOrg.CollectionStoragePath)
   |                                                                                                                                                                            ^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:26:12
   |
26 |             signer.link<&ItemsWithOrg.Collection{NonFungibleToken.CollectionPublic, ItemsWithOrg.ItemsWithOrgCollectionPublic}>(ItemsWithOrg.CollectionPublicPath, target: ItemsWithOrg.CollectionStoragePath)
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:30:37
   |
30 |         let _minter = signer.borrow<&ItemsWithOrg.NFTMinter>(from: ItemsWithOrg.MinterStoragePath)
   |                                      ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:30:67
   |
30 |         let _minter = signer.borrow<&ItemsWithOrg.NFTMinter>(from: ItemsWithOrg.MinterStoragePath)
   |                                                                    ^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:30:22
   |
30 |         let _minter = signer.borrow<&ItemsWithOrg.NFTMinter>(from: ItemsWithOrg.MinterStoragePath)
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:32:29
   |
32 |             let nftMinter <- ItemsWithOrg.createNFTMinter(orgAccount: orgSigner.address)
   |                              ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:33:41
   |
33 |             signer.save(<-nftMinter, to: ItemsWithOrg.MinterStoragePath)
   |                                          ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:34:26
   |
34 |             signer.unlink(ItemsWithOrg.MinterPublicPath)
   |                           ^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:35:25
   |
35 |             signer.link<&ItemsWithOrg.NFTMinter{ItemsWithOrg.NFTMinterPublic}>(ItemsWithOrg.MinterPublicPath, target: ItemsWithOrg.MinterStoragePath)
   |                          ^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:35:48
   |
35 |             signer.link<&ItemsWithOrg.NFTMinter{ItemsWithOrg.NFTMinterPublic}>(ItemsWithOrg.MinterPublicPath, target: ItemsWithOrg.MinterStoragePath)
   |                                                 ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:35:79
   |
35 |             signer.link<&ItemsWithOrg.NFTMinter{ItemsWithOrg.NFTMinterPublic}>(ItemsWithOrg.MinterPublicPath, target: ItemsWithOrg.MinterStoragePath)
   |                                                                                ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:35:118
   |
35 |             signer.link<&ItemsWithOrg.NFTMinter{ItemsWithOrg.NFTMinterPublic}>(ItemsWithOrg.MinterPublicPath, target: ItemsWithOrg.MinterStoragePath)
   |                                                                                                                       ^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:35:12
   |
35 |             signer.link<&ItemsWithOrg.NFTMinter{ItemsWithOrg.NFTMinterPublic}>(ItemsWithOrg.MinterPublicPath, target: ItemsWithOrg.MinterStoragePath)
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:37:41
   |
37 |             self.minter = signer.borrow<&ItemsWithOrg.NFTMinter>(from: ItemsWithOrg.MinterStoragePath)
   |                                          ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:37:71
   |
37 |             self.minter = signer.borrow<&ItemsWithOrg.NFTMinter>(from: ItemsWithOrg.MinterStoragePath)
   |                                                                        ^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:37:26
   |
37 |             self.minter = signer.borrow<&ItemsWithOrg.NFTMinter>(from: ItemsWithOrg.MinterStoragePath)
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `ItemsWithOrg`
  --> 71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9:51:27
   |
51 |             .getCapability(ItemsWithOrg.CollectionPublicPath)!
   |                            ^^^^^^^^^^^^ not found in this scope
Hash:
71fe1f2cc1e7cf48b684371fab1d94dbb2b3fad4c8aa1f02cb3ba80eb9317ed9
Status:
ERROR
Block height:
33832752
Block id:
f200cd52d69e97e8cb2fe00190618caa65b98172fe9bdcf864226300255b268b
Timestamp:
Friday 22 July 2022 at 11:45:52 UTC
()
Proposer: