Flow price: --
186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a

Transaction

Hash: 186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1054] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: [Error Code: 1054] location (Cryptoys) is not a valid location: expecting an AddressLocation, but other location types are passed
--> Cryptoys

error: [Error Code: 1054] location (NonFungibleToken) is not a valid location: expecting an AddressLocation, but other location types are passed
--> NonFungibleToken

error: [Error Code: 1054] location (MetadataViews) is not a valid location: expecting an AddressLocation, but other location types are passed
--> MetadataViews

error: cannot find type in this scope: `NonFungibleToken`
 --> 186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a:8:31
  |
8 |     let receiver: Capability<&{NonFungibleToken.CollectionPublic}>
  |                                ^^^^^^^^^^^^^^^^ not found in this scope

error: ambiguous intersection type
 --> 186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a:8:30
  |
8 |     let receiver: Capability<&{NonFungibleToken.CollectionPublic}>
  |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `NonFungibleToken`
 --> 186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a:9:28
  |
9 |     let collectionRef: auth(NonFungibleToken.Withdraw) &Cryptoys.Collection
  |                             ^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `Cryptoys`
 --> 186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a:9:56
  |
9 |     let collectionRef: auth(NonFungibleToken.Withdraw) &Cryptoys.Collection
  |                                                         ^^^^^^^^ not found in this scope

error: cannot find type in this scope: `NonFungibleToken`
  --> 186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a:12:66
   |
12 |         self.receiver =  getAccount(recipient).capabilities.get<&{NonFungibleToken.CollectionPublic}>(Cryptoys.CollectionPublicPath)!
   |                                                                   ^^^^^^^^^^^^^^^^ not found in this scope

error: ambiguous intersection type
  --> 186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a:12:65
   |
12 |         self.receiver =  getAccount(recipient).capabilities.get<&{NonFungibleToken.CollectionPublic}>(Cryptoys.CollectionPublicPath)!
   |                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `Cryptoys`
  --> 186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a:12:102
   |
12 |         self.receiver =  getAccount(recipient).capabilities.get<&{NonFungibleToken.CollectionPublic}>(Cryptoys.CollectionPublicPath)!
   |                                                                                                       ^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a:12:25
   |
12 |         self.receiver =  getAccount(recipient).capabilities.get<&{NonFungibleToken.CollectionPublic}>(Cryptoys.CollectionPublicPath)!
   |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `NonFungibleToken`
  --> 186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a:14:56
   |
14 |         self.collectionRef = signer.storage.borrow<auth(NonFungibleToken.Withdraw) &Cryptoys.Collection>(from: Cryptoys.CollectionStoragePath)!
   |                                                         ^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `Cryptoys`
  --> 186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a:14:84
   |
14 |         self.collectionRef = signer.storage.borrow<auth(NonFungibleToken.Withdraw) &Cryptoys.Collection>(from: Cryptoys.CollectionStoragePath)!
   |                                                                                     ^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `Cryptoys`
  --> 186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a:14:111
   |
14 |         self.collectionRef = signer.storage.borrow<auth(NonFungibleToken.Withdraw) &Cryptoys.Collection>(from: Cryptoys.CollectionStoragePath)!
   |                                                                                                                ^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a:14:29
   |
14 |         self.collectionRef = signer.storage.borrow<auth(NonFungibleToken.Withdraw) &Cryptoys.Collection>(from: Cryptoys.CollectionStoragePath)!
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `Cryptoys`
  --> 186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a:18:76
   |
18 |         let nft <- self.collectionRef.withdraw(withdrawID: withdrawID) as! @Cryptoys.NFT
   |                                                                             ^^^^^^^^ not found in this scope


Hash:
186258f8649b557994742c821430077c261e4cfc2e6fbdadd0c7903b6ec4933a
Status:
ERROR
Block height:
211999939
Block id:
697d8704121b2bb84ad18af2b7eede81d6ef130d3f476cbee9aa08803bfb04f5
Timestamp:
Monday 19 August 2024 at 15:20:45 UTC
()
Proposer:
Authorizers:
Gas used:
0