Flow price: --
4a5bf1f3b9628b0170ee9e44762916447bbbf50c50f13d9ab278c1df27f89f2a

Transaction

Hash: 4a5bf1f3b9628b0170ee9e44762916447bbbf50c50f13d9ab278c1df27f89f2a
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
 --> 4a5bf1f3b9628b0170ee9e44762916447bbbf50c50f13d9ab278c1df27f89f2a:4:3
  |
4 | 			signer.contracts.add(name: name, code: code.utf8 )
  | 			^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot infer type parameter: `T`
  --> 30a71a4767f0e14f.FDNZ:16:31
   |
16 |                     "target" : account.capabilities.get(path)
   |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MetadataViews.ResolverCollection`
  --> 30a71a4767f0e14f.FDNZ:28:29
   |
28 |         var meta = obj as? &{MetadataViews.ResolverCollection}
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error: ambiguous intersection type
  --> 30a71a4767f0e14f.FDNZ:28:28
   |
28 |         var meta = obj as? &{MetadataViews.ResolverCollection}
   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MetadataViews.ResolverCollection`
  --> 30a71a4767f0e14f.FDNZ:51:29
   |
51 |         var meta = obj as? &{MetadataViews.ResolverCollection}
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error: ambiguous intersection type
  --> 30a71a4767f0e14f.FDNZ:51:28
   |
51 |         var meta = obj as? &{MetadataViews.ResolverCollection}
   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: value of type `auth(Storage) &Account` has no member `forEachStored`
  --> 30a71a4767f0e14f.FDNZ:77:20
   |
77 |             account.forEachStored(fun (path: StoragePath, type: Type): Bool {
   |                     ^^^^^^^^^^^^^ unknown member

error: value of type `auth(Storage) &Account` has no member `forEachPublic`
  --> 30a71a4767f0e14f.FDNZ:92:20
   |
92 |             account.forEachPublic(fun (path: PublicPath, type: Type): Bool {
   |                     ^^^^^^^^^^^^^ unknown member

error: value of type `auth(Storage) &Account` has no member `forEachPrivate`
  --> 30a71a4767f0e14f.FDNZ:97:20
   |
97 |             account.forEachPrivate(fun (path: PrivatePath, type: Type): Bool {
   |                     ^^^^^^^^^^^^^^ unknown member


Hash:
4a5bf1f3b9628b0170ee9e44762916447bbbf50c50f13d9ab278c1df27f89f2a
Status:
ERROR
Block height:
2872517
Block id:
a8070c5e60adfccd8c13b65c3b8bc6558b984f181733908971e2c5bd5f9368ba
Timestamp:
Tuesday, 19 March 2024 at 16:08:32 UTC
()
Proposer:
Authorizers:
Gas used:
0