Flow price: --
c22634fba23c80aa2ee291d3dc3f8151c80fc528f6f63cca0d8834315d128674

Transaction

Hash: c22634fba23c80aa2ee291d3dc3f8151c80fc528f6f63cca0d8834315d128674
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`
 --> c22634fba23c80aa2ee291d3dc3f8151c80fc528f6f63cca0d8834315d128674:8:31
  |
8 |     let receiver: Capability<&{NonFungibleToken.CollectionPublic}>
  |                                ^^^^^^^^^^^^^^^^ not found in this scope

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

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

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

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

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

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

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

error: cannot find type in this scope: `NonFungibleToken`
  --> c22634fba23c80aa2ee291d3dc3f8151c80fc528f6f63cca0d8834315d128674: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`
  --> c22634fba23c80aa2ee291d3dc3f8151c80fc528f6f63cca0d8834315d128674: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`
  --> c22634fba23c80aa2ee291d3dc3f8151c80fc528f6f63cca0d8834315d128674: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`
  --> c22634fba23c80aa2ee291d3dc3f8151c80fc528f6f63cca0d8834315d128674:14:29
   |
14 |         self.collectionRef = signer.storage.borrow<auth(NonFungibleToken.Withdraw) &Cryptoys.Collection>(from: Cryptoys.CollectionStoragePath)!
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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


Hash:
c22634fba23c80aa2ee291d3dc3f8151c80fc528f6f63cca0d8834315d128674
Status:
ERROR
Block height:
211999955
Block id:
e5c16f78c66b9029edebb7c9339bf507b2ff91d970b1f198b91392fb355dab2d
Timestamp:
Monday 19 August 2024 at 15:20:53 UTC
()
Proposer:
Authorizers:
Gas used:
0