[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`
--> daa1e3a35211da294c0478d74e94784ce52a8bdf50a4ace66cbcd7c70ea4c705:9:18
|
9 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> daa1e3a35211da294c0478d74e94784ce52a8bdf50a4ace66cbcd7c70ea4c705:15:5
|
15 | .getCapability(/public/flowTokenReceiver)!
| ^^^^^^^^^^^^^ unknown member