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