Flow price: --
57f45be1f74d0924f83893c2b4c051b1ba57f7978fba295927fdf85b5b2c32a1

Transaction

Hash: 57f45be1f74d0924f83893c2b4c051b1ba57f7978fba295927fdf85b5b2c32a1
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot find type in this scope: `KARAT.Collection`
  --> 57f45be1f74d0924f83893c2b4c051b1ba57f7978fba295927fdf85b5b2c32a1:14:34
   |
14 |         if signer.storage.borrow<&KARAT.Collection>(from: collectionData.storagePath) != nil {
   |                                   ^^^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 57f45be1f74d0924f83893c2b4c051b1ba57f7978fba295927fdf85b5b2c32a1:14:11
   |
14 |         if signer.storage.borrow<&KARAT.Collection>(from: collectionData.storagePath) != nil {
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: value of type `&KARAT` has no member `createEmptyCollection`
  --> 57f45be1f74d0924f83893c2b4c051b1ba57f7978fba295927fdf85b5b2c32a1:19:32
   |
19 |         let collection <- KARAT.createEmptyCollection(nftType: Type<@KARAT.NFT>())
   |                                 ^^^^^^^^^^^^^^^^^^^^^ unknown member

error: cannot find type in this scope: `KARAT.NFT`
  --> 57f45be1f74d0924f83893c2b4c051b1ba57f7978fba295927fdf85b5b2c32a1:19:69
   |
19 |         let collection <- KARAT.createEmptyCollection(nftType: Type<@KARAT.NFT>())
   |                                                                      ^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 57f45be1f74d0924f83893c2b4c051b1ba57f7978fba295927fdf85b5b2c32a1:19:63
   |
19 |         let collection <- KARAT.createEmptyCollection(nftType: Type<@KARAT.NFT>())
   |                                                                ^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `KARAT.Collection`
  --> 57f45be1f74d0924f83893c2b4c051b1ba57f7978fba295927fdf85b5b2c32a1:26:63
   |
26 |         let collectionCap = signer.capabilities.storage.issue<&KARAT.Collection>(collectionData.storagePath)
   |                                                                ^^^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 57f45be1f74d0924f83893c2b4c051b1ba57f7978fba295927fdf85b5b2c32a1:26:28
   |
26 |         let collectionCap = signer.capabilities.storage.issue<&KARAT.Collection>(collectionData.storagePath)
   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Hash:
57f45be1f74d0924f83893c2b4c051b1ba57f7978fba295927fdf85b5b2c32a1
Status:
ERROR
Block height:
23064749
Block id:
aa8d61108686758d8242ed66a6889a062117579d9a36abde32f2756f0e239926
Timestamp:
Wednesday 17 July 2024 at 16:15:51 UTC
()
Proposer:
Authorizers:
Gas used:
0