Whoops! 😨 Something unexpected happened...
[Error Code: 1101] cadence runtime error Execution failed:
error: cannot find declaration `Profile` in `ba1132bc08f82fe2.Profile`
--> babc4dcb5f00387e5bfef427c1078eddbdfcd1d2ed32c5e989a2dc259f77b026:2:11
|
2 | import Profile from 0xba1132bc08f82fe2
| ^^^^^^^ available exported declarations are:
error: ambiguous restricted type
--> babc4dcb5f00387e5bfef427c1078eddbdfcd1d2ed32c5e989a2dc259f77b026:6:24
|
6 | account.borrow<&{Profile.Owner}>(from: Profile.privatePath)!.setName(name)
| ^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> babc4dcb5f00387e5bfef427c1078eddbdfcd1d2ed32c5e989a2dc259f77b026:6:8
|
6 | account.borrow<&{Profile.Owner}>(from: Profile.privatePath)!.setName(name)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
could not find import [Error Code: 1101] cadence runtime error Execution failed:
error: cannot find declaration `Profile` in `ba1132bc08f82fe2.Profile`
--> babc4dcb5f00387e5bfef427c1078eddbdfcd1d2ed32c5e989a2dc259f77b026:2:11
|
2 | import Profile from 0xba1132bc08f82fe2
| ^^^^^^^ available exported declarations are:
error: ambiguous restricted type
--> babc4dcb5f00387e5bfef427c1078eddbdfcd1d2ed32c5e989a2dc259f77b026:6:24
|
6 | account.borrow<&{Profile.Owner}>(from: Profile.privatePath)!.setName(name)
| ^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> babc4dcb5f00387e5bfef427c1078eddbdfcd1d2ed32c5e989a2dc259f77b026:6:8
|
6 | account.borrow<&{Profile.Owner}>(from: Profile.privatePath)!.setName(name)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
%!(EXTRA string=No contracts found for identifier=A.ba1132bc08f82fe2.Profile)