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
--> 139c88c2d16e2361b0ab239a0e2bf06355c75db28591c3ec7ad8e62a2bf3835f:6:39
|
6 | let transferToken: @NonFungibleToken.NFT
| ^^^^^^^^^^^^^^^^^^^^^ got `NonFungibleToken.NFT`; consider using `{NonFungibleToken.NFT}`
error: cannot find type in this scope: `AuthAccount`
--> 139c88c2d16e2361b0ab239a0e2bf06355c75db28591c3ec7ad8e62a2bf3835f:7:34
|
7 | prepare(acct: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> 139c88c2d16e2361b0ab239a0e2bf06355c75db28591c3ec7ad8e62a2bf3835f:17:52
|
17 | let receiverRef = recipient.getCapability<&{LNVCT.LNVCTCollectionPublic}>(LNVCT.CollectionPublicPath)
| ^^^^^^^^^^^^^ unknown member