CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred: * transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed: error: mismatched types --> 2210d17cefb1cb4399a22bc4274153c0c8867919c96d53e1f755f3c6a92c5bd2:30:101 | 30 | acct.storage.copy<Capability<auth(NonFungibleToken.Withdraw) &CarClub.Collection>>(from: nftProviderPrivatePath) | ^^^^^^^^^^^^^^^^^^^^^^ expected `StoragePath`, got `PrivatePath` error: cannot access `issue`: function requires `Capabilities | StorageCapabilities | IssueStorageCapabilityController` authorization, but reference only has `SaveValue, LoadValue, CopyValue, BorrowValue, Storage` authorization --> 2210d17cefb1cb4399a22bc4274153c0c8867919c96d53e1f755f3c6a92c5bd2:33:23 | 33 | provider = acct.capabilities.storage.issue<auth(NonFungibleToken.Withdraw) &CarClub.Collection>(CarClub.CollectionStoragePath) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot access `getController`: function requires `Capabilities | StorageCapabilities | GetStorageCapabilityController` authorization, but reference only has `SaveValue, LoadValue, CopyValue, BorrowValue, Storage` authorization --> 2210d17cefb1cb4399a22bc4274153c0c8867919c96d53e1f755f3c6a92c5bd2:34:12 | 34 | acct.capabilities.storage.getController(byCapabilityID: provider!.id)!.setTag("CarClubCollectionProviderForNFTSTorefront") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: mismatched types --> 2210d17cefb1cb4399a22bc4274153c0c8867919c96d53e1f755f3c6a92c5bd2:36:45 | 36 | acct.storage.save(provider!, to: nftProviderPrivatePath) | ^^^^^^^^^^^^^^^^^^^^^^ expected `StoragePath`, got `PrivatePath` error: incorrect argument label --> 2210d17cefb1cb4399a22bc4274153c0c8867919c96d53e1f755f3c6a92c5bd2:40:57 | 40 | assert(self.CarClubNFTProvider?.borrow() != nil, messasge: "Missing or mis-typed CarClub.Collection provider") | ^^^^^^^^^ expected `message`, got `messasge` error: cannot find variable in this scope: `storefrontRef` --> 2210d17cefb1cb4399a22bc4274153c0c8867919c96d53e1f755f3c6a92c5bd2:48:24 | 48 | let listingID = storefrontRef.createListing( | ^^^^^^^^^^^^^ not found in this scopeArguments:
nftIDs:
[1949]
price:
0.1
Loading...