Flow price: --
9675b719ca14004a919083a92cea7b04943c24cbe81609beb31709fc5a87f4dd

Transaction

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

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


Loading...
0

Loading...

1

Loading...