[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 --> 2a5dff047122ed9a0f759632191306af4dfb144db894c2e81f1f1448d2bf37bb:4:3 | 4 | signer.contracts.add(name: name, code: code.utf8 ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: value of type `auth(Storage) &Account` has no member `getLinkTarget` --> 30a71a4767f0e14f.FDNZ:16:39 | 16 | "target" : account.getLinkTarget(path) | ^^^^^^^^^^^^^ unknown member error: value of type `auth(SaveValue, LoadValue, CopyValue, BorrowValue, Storage) &Account.Storage` has no member `forEachPrivate` --> 30a71a4767f0e14f.FDNZ:23:32 | 23 | account.storage.forEachPrivate(fun (path: PrivatePath, type: Type): Bool { | ^^^^^^^^^^^^^^ unknown member error: value of type `auth(Storage) &Account` has no member `getLinkTarget` --> 30a71a4767f0e14f.FDNZ:27:39 | 27 | "target" : account.getLinkTarget(path) | ^^^^^^^^^^^^^ unknown member error: cannot find type in this scope: `MetadataViews.ResolverCollection` --> 30a71a4767f0e14f.FDNZ:38:29 | 38 | var meta = obj as? &{MetadataViews.ResolverCollection} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error: ambiguous intersection type --> 30a71a4767f0e14f.FDNZ:38:28 | 38 | var meta = obj as? &{MetadataViews.ResolverCollection} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find type in this scope: `MetadataViews.ResolverCollection` --> 30a71a4767f0e14f.FDNZ:61:29 | 61 | var meta = obj as? &{MetadataViews.ResolverCollection} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error: ambiguous intersection type --> 30a71a4767f0e14f.FDNZ:61:28 | 61 | var meta = obj as? &{MetadataViews.ResolverCollection} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: value of type `auth(Storage) &Account` has no member `forEachStored` --> 30a71a4767f0e14f.FDNZ:87:20 | 87 | account.forEachStored(fun (path: StoragePath, type: Type): Bool { | ^^^^^^^^^^^^^ unknown member error: value of type `auth(Storage) &Account` has no member `forEachPublic` --> 30a71a4767f0e14f.FDNZ:102:20 | 102 | account.forEachPublic(fun (path: PublicPath, type: Type): Bool { | ^^^^^^^^^^^^^ unknown member error: value of type `auth(Storage) &Account` has no member `forEachPrivate` --> 30a71a4767f0e14f.FDNZ:107:20 | 107 | account.forEachPrivate(fun (path: PrivatePath, type: Type): Bool { | ^^^^^^^^^^^^^^ unknown member
Loading...
Loading...
Happy diving into the flow Remember to upgrade your contracts to 1.0!