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: cannot find type in this scope: `AuthAccount`
--> 63d71c1e863b7508087b02d9e324cafb27ff84d307bdfa2aae374dff5be9e8a7:8:20
|
8 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> 63d71c1e863b7508087b02d9e324cafb27ff84d307bdfa2aae374dff5be9e8a7:18:35
|
18 | let depositRef = recipient.getCapability(KeeprItems.CollectionPublicPath)!.borrow<&{NonFungibleToken.CollectionPublic, MetadataViews.ResolverCollection}>()!
| ^^^^^^^^^^^^^ unknown member