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