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