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?
   |                                                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Loading...
0

Loading...

1

Loading...