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