Whoops! 😨 Something unexpected happened...
[Error Code: 1101] cadence runtime error Execution failed:
error: value of type `LibraryPass` has no member `CollectionPath`
--> ebd335d2979e036022d283b4d3f002a706a53151f4726a74827177cf09f4d080:8:74
|
8 | if signer.borrow<&LibraryPass.Collection>(from: LibraryPass.CollectionPath) == nil {
| ^^^^^^^^^^^^^^ unknown member
error: value of type `LibraryPass` has no member `CollectionPath`
--> ebd335d2979e036022d283b4d3f002a706a53151f4726a74827177cf09f4d080:14:60
|
14 | signer.save(<-collection, to: LibraryPass.CollectionPath)
| ^^^^^^^^^^^^^^ unknown member
error: cannot find type in this scope: `LibraryPass.CollectionPublic`
--> ebd335d2979e036022d283b4d3f002a706a53151f4726a74827177cf09f4d080:17:117
|
17 | signer.link<&LibraryPass.Collection{NonFungibleToken.CollectionPublic, NonFungibleToken.Receiver, LibraryPass.CollectionPublic}>(LibraryPass.CollectionPublicPath, target: LibraryPass.CollectionPath)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error: value of type `LibraryPass` has no member `CollectionPath`
--> ebd335d2979e036022d283b4d3f002a706a53151f4726a74827177cf09f4d080:17:202
|
17 | signer.link<&LibraryPass.Collection{NonFungibleToken.CollectionPublic, NonFungibleToken.Receiver, LibraryPass.CollectionPublic}>(LibraryPass.CollectionPublicPath, target: LibraryPass.CollectionPath)
| ^^^^^^^^^^^^^^ unknown member