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`
--> 43ff4b4933b1f92b6f438f3dece925ea67cdec0a17293e3fcf918d07ffde6462:4:17
|
4 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `AuthAccount`
--> 43ff4b4933b1f92b6f438f3dece925ea67cdec0a17293e3fcf918d07ffde6462:5:16
|
5 | let account = AuthAccount(payer: signer)
| ^^^^^^^^^^^ not found in this scope