Flow price: --
6ccb50456dc345afab40deaed52e54f5064cc0de864100984677742821b47cb1

Transaction

Hash: 6ccb50456dc345afab40deaed52e54f5064cc0de864100984677742821b47cb1
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 access `unpublish`: function requires `Capabilities | UnpublishCapability` authorization, but reference only has `BorrowValue, IssueStorageCapabilityController, PublishCapability, SaveValue` authorization
  --> 6ccb50456dc345afab40deaed52e54f5064cc0de864100984677742821b47cb1:62:3
   |
62 | 			receiver.capabilities.unpublish(collectionData.publicPath)
   | 			^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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


Hash:
6ccb50456dc345afab40deaed52e54f5064cc0de864100984677742821b47cb1
Status:
ERROR
Block height:
27086541
Block id:
7ce19482dd641c1df8f26d07af8c0fd7cb0b790f5a83b984f11d7b19edf951d7
Timestamp:
Monday 12 August 2024 at 09:34:54 UTC
()
Proposer:
Gas used:
0