Flow price: --
5db2f9c33d14fa5fd380c9e4a7bca34deb65d447cd1b3dde4ef4668eeb23bd40

Transaction

Hash: 5db2f9c33d14fa5fd380c9e4a7bca34deb65d447cd1b3dde4ef4668eeb23bd40
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot deploy invalid contract
 --> 5db2f9c33d14fa5fd380c9e4a7bca34deb65d447cd1b3dde4ef4668eeb23bd40:3:2
  |
3 | 		signer.contracts.update(name: name, code: code.decodeHex())
  | 		^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `MetadataViews`
  --> 7e3499582a06616f.FUSD:42:28
   |
42 |                 let media = MetadataViews.Media(
   |                             ^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MetadataViews`
  --> 7e3499582a06616f.FUSD:43:30
   |
43 |                         file: MetadataViews.HTTPFile(
   |                               ^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MetadataViews`
  --> 7e3499582a06616f.FUSD:48:29
   |
48 |                 let medias = MetadataViews.Medias([media])
   |                              ^^^^^^^^^^^^^ not found in this scope

error: cannot infer type from array literal: requires an explicit type annotation
  --> 7e3499582a06616f.FUSD:48:50
   |
48 |                 let medias = MetadataViews.Medias([media])
   |                                                   ^

error: cannot find variable in this scope: `MetadataViews`
  --> 7e3499582a06616f.FUSD:53:33
   |
53 |                     externalURL: MetadataViews.ExternalURL(""),
   |                                  ^^^^^^^^^^^^^ not found in this scope


Loading...
0

Loading...

1

Loading...