Flow price: --
531a478d98b687612e3ecf1322845a99419b637bea1a3fef7843a71a205fae8c

Transaction

Hash: 531a478d98b687612e3ecf1322845a99419b637bea1a3fef7843a71a205fae8c
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 type in this scope: `MetadataViews`
  --> 531a478d98b687612e3ecf1322845a99419b637bea1a3fef7843a71a205fae8c:22:136
   |
22 |         let collectionData = viewResolver.resolveContractView(resourceType: nil, viewType: Type<MetadataViews.NFTCollectionData>()) as! MetadataViews.NFTCollectionData?
   |                                                                                                                                         ^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MetadataViews`
  --> 531a478d98b687612e3ecf1322845a99419b637bea1a3fef7843a71a205fae8c:22:96
   |
22 |         let collectionData = viewResolver.resolveContractView(resourceType: nil, viewType: Type<MetadataViews.NFTCollectionData>()) as! MetadataViews.NFTCollectionData?
   |                                                                                                 ^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 531a478d98b687612e3ecf1322845a99419b637bea1a3fef7843a71a205fae8c:22:91
   |
22 |         let collectionData = viewResolver.resolveContractView(resourceType: nil, viewType: Type<MetadataViews.NFTCollectionData>()) as! MetadataViews.NFTCollectionData?
   |                                                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Hash:
531a478d98b687612e3ecf1322845a99419b637bea1a3fef7843a71a205fae8c
Status:
ERROR
Block height:
23794646
Block id:
bf56822c76c222689456af85920ddbc513ebb7b7b8a2ff4d516b48516abb36e3
Timestamp:
Monday, 22 July 2024 at 03:45:05 UTC
()
Proposer:
Authorizers:
Gas used:
0