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