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