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