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`
--> 6b90ed056dcd9378aac9f9bac5a9d3c2e0d875c4a5420d647d69a62a5a70c266:3:20
|
3 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `AuthAccount`
--> 6b90ed056dcd9378aac9f9bac5a9d3c2e0d875c4a5420d647d69a62a5a70c266:9:22
|
9 | let account = AuthAccount(payer: signer)
| ^^^^^^^^^^^ not found in this scope