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: cannot access uninitialized field: `receiver` --> f0d061945243a7b7772985ff79704b79c68e1cf732c0f7347c22f19a8e16b479:24:24 | 24 | assert(self.receiver.borrow() != nil, message: "Missing or mis-typed receiver") | ^^^^^^^^ error: cannot apply binary operation ?? to left-hand type --> f0d061945243a7b7772985ff79704b79c68e1cf732c0f7347c22f19a8e16b479:24:12 | 24 | assert(self.receiver.borrow() != nil, message: "Missing or mis-typed receiver") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `optional`, got `Void` error: mismatched types --> f0d061945243a7b7772985ff79704b79c68e1cf732c0f7347c22f19a8e16b479:31:101 | 31 | 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 --> f0d061945243a7b7772985ff79704b79c68e1cf732c0f7347c22f19a8e16b479:34:23 | 34 | 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 --> f0d061945243a7b7772985ff79704b79c68e1cf732c0f7347c22f19a8e16b479:35:12 | 35 | acct.capabilities.storage.getController(byCapabilityID: provider!.id)!.setTag("CarClubCollectionProviderForNFTSTorefront") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: mismatched types --> f0d061945243a7b7772985ff79704b79c68e1cf732c0f7347c22f19a8e16b479:37:45 | 37 | acct.storage.save(provider!, to: nftProviderPrivatePath) | ^^^^^^^^^^^^^^^^^^^^^^ expected `StoragePath`, got `PrivatePath` error: incorrect argument label --> f0d061945243a7b7772985ff79704b79c68e1cf732c0f7347c22f19a8e16b479:41:57 | 41 | assert(self.CarClubNFTProvider?.borrow() != nil, messasge: "Missing or mis-typed CarClub.Collection provider") | ^^^^^^^^^ expected `message`, got `messasge` error: missing initialization of field `receiver` in type `Transaction` --> f0d061945243a7b7772985ff79704b79c68e1cf732c0f7347c22f19a8e16b479:9:8 | 9 | let receiver: Capability<&{FungibleToken.Receiver}> | ^^^^^^^^ not initialized error: cannot find variable in this scope: `storefrontRef` --> f0d061945243a7b7772985ff79704b79c68e1cf732c0f7347c22f19a8e16b479:49:24 | 49 | let listingID = storefrontRef.createListing( | ^^^^^^^^^^^^^ not found in this scope error: value of type `Transaction` has no member `receiverCap` --> f0d061945243a7b7772985ff79704b79c68e1cf732c0f7347c22f19a8e16b479:53:27 | 53 | receiver: self.receiverCap, | ^^^^^^^^^^^ unknown memberArguments:
nftIDs:
[1949]
price:
0.1
Loading...