Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: invalid use of interface as type
--> 109c28b62077287d22a87c8d2596e6a51b5d960afe644698b7fa4083b98409c8:6:39
|
6 | let transferToken: @NonFungibleToken.NFT
| ^^^^^^^^^^^^^^^^^^^^^ got `NonFungibleToken.NFT`; consider using `{NonFungibleToken.NFT}`
error: cannot find type in this scope: `AuthAccount`
--> 109c28b62077287d22a87c8d2596e6a51b5d960afe644698b7fa4083b98409c8:7:34
|
7 | prepare(acct: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> 109c28b62077287d22a87c8d2596e6a51b5d960afe644698b7fa4083b98409c8:17:52
|
17 | let receiverRef = recipient.getCapability<&{LNVCT.LNVCTCollectionPublic}>(LNVCT.CollectionPublicPath)
| ^^^^^^^^^^^^^ unknown member