TransactionSEALED
~█#%%░■╲╳&~○■@□◇░@*◇▪$$●^◇╳◇█╲╱◆█▪╲▒■╲╳▪%■■█○□■╲?■▪*◇■○╳%&▪░*▓$!
Transaction ID
Execution Fee
0.00098 FLOWExecution Error
Error Code: 1103
error caused by: 1 error occurred:
Raw Error
[Error Code: 1103] error caused by: 1 error occurred: * storage limit check failed: [Error Code: 1103] The account with address (d394c72f45bd6b9b) uses 103722 bytes of storage which is over its capacity (103706 bytes). Capacity can be increased by adding FLOW tokens to the account.
Transaction Summary
Contract CallCalled LNVCT, NonFungibleToken, ViewResolver +1 more
Script Arguments
0tokenIDUInt64
11142708533985281
1AcAddress
2metadata_nameString
description
3metadata_valueString
Live Nation Digital Ticket Stub for Wiz Khalifa and Logic: Vinyl Verse Tour 2022 at Jiffy Lube Live, Bristow, VA on Friday, August 19 2022
Cadence Script
1import LNVCT from 0x1e3c78c6d580273b
2 import NonFungibleToken from 0x1d7e57aa55817448
3 import ViewResolver from 0x1d7e57aa55817448
4 import MetadataViews from 0x1d7e57aa55817448
5
6 transaction(tokenID: UInt64, Ac: Address, metadata_name: String, metadata_value: String) {
7
8 let currentNFT: &LNVCT.NFT?
9 let modifierRef: &LNVCT.Modifier
10
11 prepare(signer: auth(BorrowValue, IssueStorageCapabilityController) &Account) {
12
13 // Borrow a reference to the modifier resource from the signer's storage
14 self.modifierRef = signer.storage.borrow<&LNVCT.Modifier>(from: /storage/LNVCTModifier)
15 ?? panic("Could not borrow modifier reference")
16
17 let account = getAccount(Ac)
18
19 let collectionData = LNVCT.resolveContractView(resourceType: nil, viewType: Type<MetadataViews.NFTCollectionData>()) as! MetadataViews.NFTCollectionData?
20 ?? panic("ViewResolver does not resolve NFTCollectionData view")
21
22 let collection = account.capabilities.borrow<&LNVCT.Collection>(
23 collectionData.publicPath
24 ) ?? panic("Could not borrow a reference to the collection")
25
26 self.currentNFT = collection.borrowNFT(tokenID) as! &LNVCT.NFT?
27 ?? panic("Could not borrow a reference to an NFT with the given ID")
28 }
29
30 execute {
31 // Set the metadata for the NFT
32 self.modifierRef.setMetadata(currentNFT: self.currentNFT, metadata_name: metadata_name, metadata_value: metadata_value)
33 log("Changed NFT Metadata")
34 }
35 }