Flow price: --
ef5fd1b1412178cddce53f88927bce51f432e7783fbef3f148356b9da854706b

Transaction

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

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

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

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

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

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

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

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

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

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


Hash:
ef5fd1b1412178cddce53f88927bce51f432e7783fbef3f148356b9da854706b
Status:
ERROR
Block height:
211999942
Block id:
75212435568c240f2b6b6d253224b637be9b3f95f3e25619fea5bf6ba81d21c8
Timestamp:
Monday 19 August 2024 at 15:20:47 UTC
()
Proposer:
Authorizers:
Gas used:
0