Flow price: --
0af533430cb77f85d4af86f74f848f9f298ab18ed123f2c0e26ecb64996b1e4e

Transaction

Hash: 0af533430cb77f85d4af86f74f848f9f298ab18ed123f2c0e26ecb64996b1e4e
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 variable in this scope: `vaultData`
  --> 0af533430cb77f85d4af86f74f848f9f298ab18ed123f2c0e26ecb64996b1e4e:29:60
   |
29 |         if receiver.storage.borrow<&KRTPREVIEW.Vault>(from: vaultData.storagePath) == nil {
   |                                                             ^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `vaultData`
  --> 0af533430cb77f85d4af86f74f848f9f298ab18ed123f2c0e26ecb64996b1e4e:33:38
   |
33 | 			receiver.storage.save(<-vault, to: vaultData.storagePath)
   | 			                                   ^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `vaultData`
  --> 0af533430cb77f85d4af86f74f848f9f298ab18ed123f2c0e26ecb64996b1e4e:37:4
   |
37 | 				vaultData.storagePath
   | 				^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `vaultData`
  --> 0af533430cb77f85d4af86f74f848f9f298ab18ed123f2c0e26ecb64996b1e4e:39:47
   |
39 | 			receiver.capabilities.publish(vaultCap, at: vaultData.metadataPath)
   | 			                                            ^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `vaultData`
  --> 0af533430cb77f85d4af86f74f848f9f298ab18ed123f2c0e26ecb64996b1e4e:43:4
   |
43 | 				vaultData.storagePath
   | 				^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `vaultData`
  --> 0af533430cb77f85d4af86f74f848f9f298ab18ed123f2c0e26ecb64996b1e4e:45:50
   |
45 | 			receiver.capabilities.publish(receiverCap, at: vaultData.receiverPath)
   | 			                                               ^^^^^^^^^ not found in this scope

error: cannot access `unpublish`: function requires `Capabilities | UnpublishCapability` authorization, but reference only has `BorrowValue, IssueStorageCapabilityController, PublishCapability, SaveValue` authorization
  --> 0af533430cb77f85d4af86f74f848f9f298ab18ed123f2c0e26ecb64996b1e4e:60:3
   |
60 | 			receiver.capabilities.unpublish(collectionData.publicPath)
   | 			^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `vaultData`
  --> 0af533430cb77f85d4af86f74f848f9f298ab18ed123f2c0e26ecb64996b1e4e:68:99
   |
68 | 		self.tokenReceiver = getAccount(receiver.address).capabilities.borrow<&{FungibleToken.Receiver}>(vaultData.receiverPath)
   | 		                                                                                                 ^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `i`
  --> 0af533430cb77f85d4af86f74f848f9f298ab18ed123f2c0e26ecb64996b1e4e:81:157
   |
81 |             let metadata=KARAT2QMAWWSBT.Metadata(name: name, artist: artist, artistAddress: artistAddress, description: description, type: typeID, serialId: i, royalty: royalty)
   |                                                                                                                                                              ^ not found in this scope


Hash:
0af533430cb77f85d4af86f74f848f9f298ab18ed123f2c0e26ecb64996b1e4e
Status:
ERROR
Block height:
27084564
Block id:
0c0106b294e5e831d8820f674248ff7cc83b93dc132dd2a47d94e51623b51ec3
Timestamp:
Monday 12 August 2024 at 09:17:27 UTC
()
Proposer:
Gas used:
0