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